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

.page-index__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-index__highlight {
    color: #FFCC00; /* Auxiliary color for highlights */
}

.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;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-index__btn--primary {
    background-color: #FFCC00; /* Auxiliary color for primary action */
    color: #003366; /* Main color for text on primary button */
}

.page-index__btn--primary:hover {
    background-color: #e6b800; /* Slightly darker gold on hover */
    color: #002244;
}

.page-index__btn--secondary {
    background-color: #003366; /* Main color for secondary action */
    color: #FFCC00; /* Auxiliary color for text on secondary button */
    border: 2px solid #FFCC00;
}

.page-index__btn--secondary:hover {
    background-color: #002244; /* Slightly darker blue on hover */
    color: #FFCC00;
}

.page-index__btn--readmore {
    background-color: #003366;
    color: #FFCC00;
    border: 1px solid #FFCC00;
    margin-top: 20px;
}

.page-index__btn--readmore:hover {
    background-color: #FFCC00;
    color: #003366;
}

.page-index__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: #003366;
    color: #FFCC00;
    border: 1px solid #FFCC00;
}

.page-index__btn--small:hover {
    background-color: #FFCC00;
    color: #003366;
}

.page-index__btn--promo {
    background-color: #FFCC00;
    color: #003366;
    margin-top: 15px;
}

.page-index__btn--promo:hover {
    background-color: #e6b800;
    color: #002244;
}

.page-index__btn--detail {
    background-color: #003366;
    color: #FFCC00;
    border: 1px solid #FFCC00;
    font-size: 0.9em;
    padding: 10px 20px;
    margin-top: 20px;
}

.page-index__btn--detail:hover {
    background-color: #FFCC00;
    color: #003366;
}

/* Hero Section */
.page-index__hero {
    background: linear-gradient(135deg, #003366 0%, #002244 100%); /* Dark blue gradient */
    color: #f4f7f6;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.page-index__hero-content {
    max-width: 800px;
    z-index: 1;
    padding: 20px;
}

.page-index__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-index__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.page-index__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
}

.page-index__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Allowed for aesthetic, not color change */
}

/* General Section Styling */
.page-index__section-title {
    font-size: 2.5em;
    color: #003366; /* Main color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.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__about {
    padding: 60px 0;
    background-color: #fff;
}

.page-index__about-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #444;
}

/* Games Section */
.page-index__games {
    background-color: #f0f2f5;
    padding: 60px 0;
}

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

.page-index__game-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.page-index__game-card:hover {
    transform: translateY(-5px);
}

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

.page-index__game-title {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-index__game-desc {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Promotions Section */
.page-index__promotions {
    padding: 60px 0;
    background-color: #003366;
    color: #f4f7f6;
}

.page-index__promotions .page-index__section-title {
    color: #FFCC00;
}

.page-index__promotions .page-index__section-description {
    color: #e0e0e0;
}

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

.page-index__promo-card {
    background-color: #002244;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index__promo-card:hover {
    transform: translateY(-5px);
}

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

.page-index__promo-title {
    font-size: 1.8em;
    color: #FFCC00;
    margin: 20px 15px 10px;
    font-weight: 600;
}

.page-index__promo-desc {
    font-size: 1em;
    color: #ccc;
    margin: 0 15px 20px;
}

.page-index__promo-footer-text {
    margin-top: 40px;
    font-size: 1em;
    color: #b0b0b0;
}

/* Why Choose Section */
.page-index__why-choose {
    padding: 60px 0;
    background-color: #fff;
}

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

.page-index__feature-item {
    text-align: center;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fdfdfd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    object-fit: contain;
}

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

.page-index__feature-desc {
    font-size: 0.95em;
    color: #666;
}

/* Detail Pages Section */
.page-index__detail-pages {
    padding: 60px 0;
    background-color: #f0f2f5;
}

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

.page-index__detail-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.page-index__detail-card:hover {
    transform: translateY(-5px);
}

.page-index__detail-title {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-index__detail-title a:hover {
    color: #FFCC00;
    text-decoration: underline;
}

.page-index__detail-desc {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Call to Action Bottom */
.page-index__cta-bottom {
    background-color: #003366;
    color: #f4f7f6;
    padding: 80px 0;
    text-align: center;
}

.page-index__cta-title {
    font-size: 2.8em;
    color: #FFCC00;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-index__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index__hero-title {
        font-size: 2.5em;
    }
    .page-index__hero-description {
        font-size: 1.1em;
    }
    .page-index__section-title {
        font-size: 2em;
    }
    .page-index__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-index__hero {
        padding: 60px 0;
    }
    .page-index__hero-title {
        font-size: 2em;
    }
    .page-index__hero-description {
        font-size: 1em;
    }
    .page-index__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-index__game-grid, .page-index__promo-grid, .page-index__features-grid, .page-index__detail-grid {
        grid-template-columns: 1fr;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__cta-title {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .page-index__hero-title {
        font-size: 1.8em;
    }
    .page-index__hero-description {
        font-size: 0.9em;
    }
    .page-index__btn {
        padding: 10px 20px;
        font-size: 0.9em;
        width: 90%;
    }
    .page-index__game-card, .page-index__promo-card, .page-index__feature-item, .page-index__detail-card {
        padding: 20px;
    }
    .page-index__game-title, .page-index__promo-title, .page-index__feature-title, .page-index__detail-title {
        font-size: 1.4em;
    }
}