/* style/index-featured-games.css */
.page-index-featured-games {
    font-family: 'Arial', sans-serif;
    color: #F8F8F8; /* Light text for dark background */
    background-color: #0A2239; /* Main background color */
}

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

/* Hero Section */
.page-index-featured-games__hero {
    background: linear-gradient(135deg, #0A2239, #1a3a5a); /* Dark blue gradient */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-featured-games__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for emphasis */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-featured-games__hero-subtitle {
    font-size: 1.3em;
    color: #E0E0E0;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

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

.page-index-featured-games__btn {
    display: inline-block;
    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;
    cursor: pointer;
    white-space: nowrap;
}

.page-index-featured-games__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A2239; /* Dark text on gold */
    border: 2px solid #FFD700;
}

.page-index-featured-games__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-index-featured-games__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text on dark background */
    border: 2px solid #FFD700;
}

.page-index-featured-games__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A2239;
    transform: translateY(-3px);
}

/* General Section Styling */
.page-index-featured-games__section {
    padding: 80px 0;
    position: relative;
}

.page-index-featured-games__section--intro {
    background-color: #0F2D4A; /* Slightly lighter dark blue */
    text-align: center;
}

.page-index-featured-games__section-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-index-featured-games__text-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #E0E0E0;
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-index-featured-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.page-index-featured-games__image:hover {
    transform: scale(1.02);
}

/* Game Categories Section */
.page-index-featured-games__section--games {
    background-color: #0A2239;
}

.page-index-featured-games__game-category {
    background-color: #0F2D4A; /* Dark blue background for categories */
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-index-featured-games__category-title {
    font-size: 2.2em;
    color: #FFD700;
    margin-bottom: 25px;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid rgba(255, 215, 0, 0.5);
    padding-bottom: 15px;
}

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

.page-index-featured-games__category-text {
    flex: 1;
}

.page-index-featured-games__image-wrapper--right, .page-index-featured-games__image-wrapper--left {
    flex: 1;
    min-width: 300px; /* Ensure image wrapper has minimum width */
}

/* CTA App Section */
.page-index-featured-games__section--cta-app {
    background-color: #1a3a5a; /* A medium dark blue */
    padding: 100px 0;
}

.page-index-featured-games__cta-app-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.page-index-featured-games__cta-app-text {
    flex: 2;
}

/* Final CTA Section */
.page-index-featured-games__section--final-cta {
    background-color: #0A2239;
    text-align: center;
    padding: 80px 0 100px;
}

.page-index-featured-games__final-cta-actions {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-featured-games__hero-title {
        font-size: 2.8em;
    }
    .page-index-featured-games__section-title {
        font-size: 2.2em;
    }
    .page-index-featured-games__category-title {
        font-size: 1.8em;
    }
    .page-index-featured-games__category-content,
    .page-index-featured-games__cta-app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-index-featured-games__image-wrapper--left,
    .page-index-featured-games__image-wrapper--right {
        order: -1; /* Image appears above text on smaller screens */
        margin-bottom: 30px;
    }
    .page-index-featured-games__hero-actions,
    .page-index-featured-games__final-cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-featured-games__btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-index-featured-games__hero {
        padding: 80px 0;
    }
    .page-index-featured-games__hero-title {
        font-size: 2.2em;
    }
    .page-index-featured-games__hero-subtitle {
        font-size: 1em;
    }
    .page-index-featured-games__section {
        padding: 60px 0;
    }
    .page-index-featured-games__section-title {
        font-size: 1.8em;
    }
    .page-index-featured-games__category-title {
        font-size: 1.5em;
    }
    .page-index-featured-games__game-category {
        padding: 30px;
    }
    .page-index-featured-games__text-content {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-index-featured-games__hero {
        padding: 60px 0;
    }
    .page-index-featured-games__hero-title {
        font-size: 1.8em;
    }
    .page-index-featured-games__hero-subtitle {
        font-size: 0.9em;
    }
    .page-index-featured-games__section-title {
        font-size: 1.5em;
    }
    .page-index-featured-games__category-title {
        font-size: 1.3em;
    }
    .page-index-featured-games__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
}