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

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

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

.page-index-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.page-index-section:nth-of-type(even) {
    background-color: #fff;
}

.page-index-section-title {
    font-size: 2.5em;
    color: #003366;
    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;
}

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #003366 0%, #001a33 100%); /* Darker blue gradient */
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

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

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFCC00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-index-hero-ctas .page-index-btn {
    margin: 0 10px;
}

/* Buttons */
.page-index-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-index-btn-primary {
    background-color: #FFCC00;
    color: #003366;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.page-index-btn-primary:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
}

.page-index-btn-secondary {
    background-color: transparent;
    color: #FFCC00;
    border: 2px solid #FFCC00;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

.page-index-btn-secondary:hover {
    background-color: #FFCC00;
    color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
}

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

.page-index-btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

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

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

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

.page-index-feature-item:hover {
    transform: translateY(-5px);
}

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

.page-index-feature-title {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 10px;
    font-weight: bold;
}

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

/* Game Categories Section */
.page-index-game-categories {
    background-color: #e9f5ff; /* Lighter blue for contrast */
}

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

.page-index-game-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-index-game-item:hover {
    transform: translateY(-5px);
}

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

.page-index-game-item h3,
.page-index-game-item p {
    padding: 0 20px;
}

.page-index-game-title {
    font-size: 1.4em;
    color: #003366;
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: bold;
}

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

/* Promotions Section */
.page-index-promotions {
    background-color: #fcf8e3; /* Light yellow background */
}

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

.page-index-promo-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.page-index-promo-item:hover {
    transform: translateY(-5px);
}

.page-index-promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-index-promo-title {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 10px;
    font-weight: bold;
    padding: 0 20px;
}

.page-index-promo-description {
    color: #666;
    font-size: 0.95em;
    padding: 0 20px;
}

/* Mobile App Section */
.page-index-mobile-app {
    background-color: #f0f7ff;
    padding: 80px 0;
}

.page-index-flex-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-index-mobile-content {
    flex: 1;
    min-width: 300px;
}

.page-index-mobile-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-index-mobile-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-index-app-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
    font-size: 1.1em;
    color: #333;
}

.page-index-app-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-index-app-features li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #FFCC00;
}

/* Deep Content Section */
.page-index-deep-content {
    padding: 80px 0;
    background-color: #fff;
}

.page-index-deep-content h2 {
    color: #003366;
    font-size: 2.2em;
    margin-bottom: 25px;
    text-align: center;
}

.page-index-deep-content h3 {
    color: #003366;
    font-size: 1.8em;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 2px solid #FFCC00;
    padding-bottom: 5px;
    display: inline-block;
}

.page-index-deep-content h4 {
    color: #003366;
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
}

.page-index-deep-content p {
    margin-bottom: 1em;
    color: #444;
    font-size: 1.05em;
    line-height: 1.8;
}

.page-index-deep-content strong {
    color: #003366;
}

/* Detail Pages Section */
.page-index-detail-pages {
    background-color: #f8f8f8;
    padding: 80px 0;
}

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

.page-index-detail-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: transform 0.3s ease;
}

.page-index-detail-item:hover {
    transform: translateY(-5px);
}

.page-index-detail-title {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 10px;
    font-weight: bold;
}

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

/* Final CTA Section */
.page-index-cta-final {
    background: linear-gradient(90deg, #003366, #FFCC00); /* Gradient from main to accent */
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.page-index-cta-title {
    font-size: 3em;
    color: #fff;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-cta-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

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

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

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

    .page-index-flex-container {
        flex-direction: column;
    }

    .page-index-mobile-image-wrapper {
        order: -1; /* Image appears above content on mobile */
        margin-bottom: 30px;
    }

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

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

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

    .page-index-hero-ctas .page-index-btn {
        display: block;
        margin: 15px auto;
        width: 80%;
    }

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

    .page-index-btn-large {
        width: 90%;
    }

    .page-index-deep-content h3 {
        font-size: 1.5em;
    }
}