/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

.page-index-section-title {
    font-size: 2.5em;
    color: #0A2342;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.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-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.page-index-btn-primary {
    background-color: #FFD700;
    color: #0A2342;
    border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
    background-color: #e6c200;
    color: #0A2342;
}

.page-index-btn-secondary {
    background-color: #0A2342;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-index-btn-secondary:hover {
    background-color: #1a3a5e;
    color: #FFD700;
}

.page-index-btn-outline {
    background-color: transparent;
    color: #0A2342;
    border: 2px solid #0A2342;
}

.page-index-btn-outline:hover {
    background-color: #0A2342;
    color: #FFD700;
}

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

.page-index-image-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-index-center-text {
    text-align: center;
    margin-top: 40px;
}

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #0A2342, #1a3a5e);
    color: #fff;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700;
    text-align: center;
}

.page-index-hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
    background-size: cover;
    background-position: center;
    filter: grayscale(50%) blur(3px);
}

.page-index-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-index-hero > .page-index-container {
    position: relative;
    z-index: 1;
}

/* About Us Section */
.page-index-about-us {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-index-about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-index-about-text,
.page-index-about-image {
    flex: 1;
    min-width: 300px;
}

.page-index-about-text p {
    margin-bottom: 15px;
    color: #444;
}

/* Game Categories Section */
.page-index-game-categories {
    padding: 80px 0;
    background-color: #fff;
}

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

.page-index-game-item {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-game-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-index-game-item h3 {
    font-size: 1.5em;
    color: #0A2342;
    margin-bottom: 10px;
}

.page-index-game-item p {
    color: #666;
    margin-bottom: 20px;
}

/* Why Choose Us Section */
.page-index-why-choose-us {
    background-color: #0A2342;
    padding: 80px 0;
    color: #f0f0f0;
}

.page-index-why-choose-us .page-index-section-title {
    color: #FFD700;
}

.page-index-why-choose-us .page-index-section-description {
    color: #ccc;
}

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

.page-index-advantage-item {
    background-color: #1a3a5e;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-advantage-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    object-fit: contain;
    filter: invert(80%) sepia(100%) saturate(500%) hue-rotate(300deg) brightness(1.2);
}

.page-index-advantage-item h3 {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index-advantage-item p {
    color: #ccc;
}

/* Promotions Section */
.page-index-promotions {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.page-index-promo-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.page-index-promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-index-promo-item h3 {
    font-size: 1.4em;
    color: #0A2342;
    margin: 20px 15px 10px;
}

.page-index-promo-item p {
    color: #666;
    padding: 0 15px 20px;
}

.page-index-promo-item .page-index-btn {
    margin-bottom: 20px;
}

/* App Download Section */
.page-index-app-download {
    padding: 80px 0;
    background-color: #0A2342;
    color: #fff;
}

.page-index-app-download .page-index-section-title {
    color: #FFD700;
}

.page-index-app-download .page-index-section-description {
    color: #ccc;
}

.page-index-download-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-index-download-item {
    text-align: center;
    background-color: #1a3a5e;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 250px;
}

.page-index-download-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    object-fit: contain;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%); /* White icons */
}

.page-index-download-item h3 {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index-download-item p {
    color: #ccc;
    margin-bottom: 20px;
}

.page-index-qr-code {
    text-align: center;
    margin-top: 50px;
}

.page-index-qr-image {
    width: 150px;
    height: 150px;
    border: 5px solid #FFD700;
    border-radius: 5px;
    margin-bottom: 15px;
}

.page-index-qr-code p {
    font-size: 1.1em;
    color: #f0f0f0;
}

/* Latest News Section */
.page-index-latest-news {
    padding: 80px 0;
    background-color: #fff;
}

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

.page-index-news-item {
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
}

.page-index-news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-index-news-item h3 {
    font-size: 1.4em;
    color: #0A2342;
    margin: 20px 15px 10px;
}

.page-index-news-item p {
    color: #666;
    padding: 0 15px 20px;
}

.page-index-news-item .page-index-btn {
    margin: 0 15px 20px;
}

/* CTA Bottom Section */
.page-index-cta-bottom {
    background: linear-gradient(90deg, #0A2342, #FFD700);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.page-index-cta-bottom .page-index-section-title {
    color: #fff;
}

.page-index-cta-bottom .page-index-section-description {
    color: #f0f0f0;
}

.page-index-cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Internal Links Section */
.page-index-internal-links {
    padding: 80px 0;
    background-color: #fff;
}

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

.page-index-detail-item {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-index-detail-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-index-detail-item h3 a {
    color: #0A2342;
    text-decoration: none;
}

.page-index-detail-item h3 a:hover {
    color: #FFD700;
}

.page-index-detail-item p {
    color: #666;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .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-section-title {
        font-size: 2em;
    }

    .page-index-about-content {
        flex-direction: column;
    }

    .page-index-about-image {
        order: -1; /* Image first on mobile */
    }

    .page-index-game-grid, .page-index-advantages-grid, .page-index-promo-grid, .page-index-news-grid, .page-index-detail-pages-grid {
        grid-template-columns: 1fr;
    }

    .page-index-download-grid {
        flex-direction: column;
        gap: 20px;
    }

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

@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: 0.9em;
    }

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

    .page-index-section-description {
        font-size: 0.95em;
    }

    .page-index-qr-image {
        width: 120px;
        height: 120px;
    }
}