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

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

.page-index-section-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-index-section-title .highlight {
    color: #FFCC00;
}

.page-index-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFCC00;
    border-radius: 2px;
}

.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;
    text-align: center;
    white-space: nowrap;
}

.page-index-btn-primary {
    background-color: #FFCC00;
    color: #003366;
    border: 2px solid #FFCC00;
}

.page-index-btn-primary:hover {
    background-color: #e6b800;
    color: #002244;
    border-color: #e6b800;
}

.page-index-btn-secondary {
    background-color: transparent;
    color: #003366;
    border: 2px solid #003366;
}

.page-index-btn-secondary:hover {
    background-color: #003366;
    color: #FFCC00;
}

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

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #003366, #004488);
    color: #fff;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-index-hero-content {
    max-width: 600px;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #fff;
}

.page-index-hero-title .highlight {
    color: #FFCC00;
}

.page-index-hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #ccc;
}

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

.page-index-hero-image-wrapper {
    max-width: 500px;
    flex-shrink: 0;
}

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

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

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

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

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

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

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

.page-index-feature-text {
    color: #555;
}

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

.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);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-promo-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-promo-title {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 10px;
}

.page-index-promo-text {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-all-promos-btn {
    margin-top: 50px;
}

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

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

.page-index-game-category-item {
    background-color: #f0f5fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-game-category-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

.page-index-game-category-text {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-all-games-btn {
    margin-top: 50px;
}

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

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

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

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

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

.page-index-download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #FFCC00;
    color: #003366;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-download-btn:hover {
    background-color: #e6b800;
    transform: translateY(-5px);
}

.page-index-download-icon {
    width: 30px;
    height: 30px;
}

.page-index-app-mockup {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-top: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
}

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

.page-index-deep-content p {
    margin-bottom: 20px;
    color: #444;
    text-align: justify;
}

.page-index-deep-content h3 {
    font-size: 1.8em;
    color: #003366;
    margin-top: 40px;
    margin-bottom: 15px;
}

.page-index-deep-content ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #444;
}

.page-index-deep-content ul li {
    margin-bottom: 10px;
}

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

.page-index-cta-bottom {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

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

.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;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-index-detail-title a {
    color: #003366;
    text-decoration: none;
}

.page-index-detail-title a:hover {
    text-decoration: underline;
    color: #004488;
}

.page-index-detail-description {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-index-hero {
        flex-direction: column;
        text-align: center;
    }

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

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

    .page-index-hero-image-wrapper {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }

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

@media (max-width: 768px) {
    .page-index-hero {
        padding: 60px 20px;
    }

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

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

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

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

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

    .page-index-download-btn {
        width: 80%;
        margin: 0 auto;
    }
}

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

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

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