/* style/index.css */

:root {
    --page-index-primary-color: #1A2E44;
    --page-index-accent-color: #FFD700;
    --page-index-text-light: #F0F2F5;
    --page-index-text-dark: #1A2E44;
    --page-index-background-dark: #1A2E44;
    --page-index-background-light: #F8F8F8;
    --page-index-button-hover-primary: #0f1d2b;
    --page-index-button-hover-accent: #e6c200;
}

.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-index-text-dark);
    background-color: var(--page-index-background-light);
}

.page-index-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-section-title {
    font-size: 2.5em;
    color: var(--page-index-primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-index-section-description {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index .highlight {
    color: var(--page-index-accent-color);
}

.page-index-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.05em;
    text-align: center;
    white-space: nowrap;
}

.page-index-btn-primary {
    background-color: var(--page-index-accent-color);
    color: var(--page-index-primary-color);
    border: 2px solid var(--page-index-accent-color);
}

.page-index-btn-primary:hover {
    background-color: var(--page-index-button-hover-accent);
    border-color: var(--page-index-button-hover-accent);
    transform: translateY(-2px);
}

.page-index-btn-secondary {
    background-color: transparent;
    color: var(--page-index-text-light);
    border: 2px solid var(--page-index-text-light);
}

.page-index-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.page-index-btn-tertiary {
    background-color: var(--page-index-primary-color);
    color: var(--page-index-text-light);
    border: 2px solid var(--page-index-primary-color);
}

.page-index-btn-tertiary:hover {
    background-color: var(--page-index-button-hover-primary);
    border-color: var(--page-index-button-hover-primary);
    transform: translateY(-2px);
}

.page-index-btn-small {
    padding: 8px 18px;
    font-size: 0.95em;
}

.page-index-btn-link {
    background-color: transparent;
    color: var(--page-index-primary-color);
    border: none;
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-index-btn-link:hover {
    color: var(--page-index-accent-color);
    text-decoration: none;
}

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, var(--page-index-primary-color) 0%, #3a5c80 100%);
    color: var(--page-index-text-light);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.page-index-hero-content {
    z-index: 10;
    max-width: 900px;
}

.page-index-hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
}

.page-index-hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-index-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-index-hero-image-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0.3;
    z-index: 5;
}

.page-index-hero-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transform: translateY(10%);
}

/* About Section */
.page-index-about {
    padding: 80px 0;
    background-color: var(--page-index-background-light);
}

.page-index-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index-feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.page-index-feature-title {
    font-size: 1.5em;
    color: var(--page-index-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-feature-text {
    color: #666;
    font-size: 1em;
}

/* Games Overview Section */
.page-index-games-overview {
    padding: 80px 0;
    background-color: #f0f4f8;
}

.page-index-game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-game-category-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-game-category-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.page-index-game-category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-index-game-category-item h3 {
    font-size: 1.6em;
    color: var(--page-index-primary-color);
    margin: 20px 0 10px;
    font-weight: bold;
}

.page-index-game-category-text {
    color: #777;
    padding: 0 25px 20px;
    font-size: 0.95em;
}

.page-index-game-category-item .page-index-btn {
    margin-bottom: 25px;
    background-color: var(--page-index-primary-color);
    color: var(--page-index-text-light);
    border: none;
}

.page-index-game-category-item .page-index-btn:hover {
    background-color: var(--page-index-button-hover-primary);
}

/* Promotions Section */
.page-index-promotions {
    padding: 80px 0;
    background-color: var(--page-index-background-dark);
    color: var(--page-index-text-light);
}

.page-index-promotions .page-index-section-title {
    color: var(--page-index-text-light);
}

.page-index-promotions .page-index-section-description {
    color: rgba(255, 255, 255, 0.8);
}

.page-index-promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-promotion-card {
    background-color: #2a4461;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-promotion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-index-promotion-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #3a5c80;
}

.page-index-promotion-title {
    font-size: 1.5em;
    color: var(--page-index-accent-color);
    margin: 20px 0 10px;
    font-weight: bold;
}

.page-index-promotion-text {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 25px 20px;
    font-size: 0.95em;
}

.page-index-promotion-card .page-index-btn-link {
    color: var(--page-index-accent-color);
    text-decoration: none;
    margin-bottom: 25px;
    display: inline-block;
}

.page-index-promotion-card .page-index-btn-link:hover {
    text-decoration: underline;
}

/* App Download Section */
.page-index-app-download {
    padding: 80px 0;
    background-color: var(--page-index-background-light);
}

.page-index-app-download-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-index-app-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-index-app-text .page-index-section-title {
    text-align: left;
}

.page-index-app-text .page-index-section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-index-download-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-index-small-text {
    font-size: 0.9em;
    color: #888;
    margin-top: 20px;
}

.page-index-app-image {
    flex-shrink: 0;
    text-align: center;
}

.page-index-qr-code-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: 5px solid var(--page-index-primary-color);
    border-radius: 10px;
}

/* Why Us / Commitment Section */
.page-index-why-us {
    padding: 80px 0;
    background-color: #e6eef5;
}

.page-index-commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-commitment-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.page-index-commitment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index-commitment-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.1));
}

.page-index-commitment-title {
    font-size: 1.4em;
    color: var(--page-index-primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index-commitment-text {
    color: #666;
    font-size: 0.95em;
}

.page-index-cta-bottom {
    text-align: center;
    margin-top: 60px;
}

/* Detail Pages Section */
.page-index-detail-pages {
    padding: 80px 0;
    background-color: var(--page-index-background-light);
}

.page-index-detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-detail-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index-detail-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index-detail-title a {
    color: var(--page-index-primary-color);
    text-decoration: none;
}

.page-index-detail-title a:hover {
    color: var(--page-index-accent-color);
    text-decoration: underline;
}

.page-index-detail-description {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.page-index-detail-item .page-index-btn-link {
    color: var(--page-index-primary-color);
}

.page-index-detail-item .page-index-btn-link:hover {
    color: var(--page-index-accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero-title {
        font-size: 3em;
    }

    .page-index-hero-subtitle {
        font-size: 1.3em;
    }

    .page-index-section-title {
        font-size: 2em;
    }

    .page-index-app-download-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .page-index-app-text {
        text-align: center;
    }

    .page-index-app-text .page-index-section-title,
    .page-index-app-text .page-index-section-description {
        text-align: center;
    }

    .page-index-download-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-index-hero {
        padding: 60px 15px;
        min-height: 500px;
    }

    .page-index-hero-title {
        font-size: 2.5em;
    }

    .page-index-hero-subtitle {
        font-size: 1.1em;
    }

    .page-index-hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-btn {
        width: 80%;
        max-width: 300px;
    }

    .page-index-section-title {
        font-size: 1.8em;
    }

    .page-index-section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-index-about, .page-index-games-overview, .page-index-promotions, .page-index-app-download, .page-index-why-us, .page-index-detail-pages {
        padding: 60px 0;
    }

    .page-index-features-grid, .page-index-game-categories, .page-index-promotion-cards, .page-index-commitment-grid, .page-index-detail-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-index-hero-title {
        font-size: 2em;
    }

    .page-index-hero-subtitle {
        font-size: 1em;
    }

    .page-index-btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-index-section-title {
        font-size: 1.5em;
    }

    .page-index-feature-icon, .page-index-commitment-icon {
        width: 50px;
        height: 50px;
    }
}