/* style/index-featured-games.css */

/* Variables */
:root {
    --page-index-featured-games-primary-color: #1A2E44;
    --page-index-featured-games-secondary-color: #E7C200;
    --page-index-featured-games-text-light: #FFFFFF;
    --page-index-featured-games-text-dark: #1A2E44;
    --page-index-featured-games-background-light: #F8F9FA;
    --page-index-featured-games-background-dark: #1A2E44;
    --page-index-featured-games-accent-gold-darker: #a28800; /* Darker variant for contrast */
    --page-index-featured-games-text-on-gold: #1A2E44; /* Dark text on gold for contrast */
}

.page-index-featured-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-index-featured-games-text-dark);
    background-color: var(--page-index-featured-games-background-light);
}

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

.page-index-featured-games-hero-section {
    background-color: var(--page-index-featured-games-primary-color);
    color: var(--page-index-featured-games-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-featured-games-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 46, 68, 0.9), rgba(231, 194, 0, 0.3));
    z-index: 1;
}

.page-index-featured-games-hero-section > .page-index-featured-games-container {
    position: relative;
    z-index: 2;
}

.page-index-featured-games-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-index-featured-games-text-light);
}

.page-index-featured-games-hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-index-featured-games-hero-buttons .page-index-featured-games-btn {
    margin: 0 10px;
}

.page-index-featured-games-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
}

.page-index-featured-games-btn-primary {
    background-color: var(--page-index-featured-games-secondary-color);
    color: var(--page-index-featured-games-text-on-gold);
}

.page-index-featured-games-btn-primary:hover {
    background-color: var(--page-index-featured-games-accent-gold-darker);
    transform: translateY(-2px);
}

.page-index-featured-games-btn-secondary {
    background-color: transparent;
    color: var(--page-index-featured-games-secondary-color);
    border: 2px solid var(--page-index-featured-games-secondary-color);
}

.page-index-featured-games-btn-secondary:hover {
    background-color: var(--page-index-featured-games-secondary-color);
    color: var(--page-index-featured-games-text-on-gold);
    transform: translateY(-2px);
}

.page-index-featured-games-btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-index-featured-games-section-title {
    font-size: 2.5em;
    color: var(--page-index-featured-games-primary-color);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-index-featured-games-section-description {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.page-index-featured-games-intro-section {
    padding: 60px 0;
    background-color: var(--page-index-featured-games-background-light);
}

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

.page-index-featured-games-intro-text {
    flex: 1;
    min-width: 300px;
    font-size: 1.1em;
}

.page-index-featured-games-intro-text p {
    margin-bottom: 15px;
}

.page-index-featured-games-intro-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-index-featured-games-intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-index-featured-games-game-categories {
    padding: 80px 0;
    background-color: var(--page-index-featured-games-primary-color);
    color: var(--page-index-featured-games-text-light);
}

.page-index-featured-games-game-categories .page-index-featured-games-section-title {
    color: var(--page-index-featured-games-secondary-color);
}

.page-index-featured-games-game-categories .page-index-featured-games-section-description {
    color: rgba(255, 255, 255, 0.8);
}

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

.page-index-featured-games-game-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-featured-games-game-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-index-featured-games-game-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-index-featured-games-card-title {
    font-size: 1.6em;
    color: var(--page-index-featured-games-secondary-color);
    margin-bottom: 15px;
}

.page-index-featured-games-card-text {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.page-index-featured-games-why-choose-us {
    padding: 80px 0;
    background-color: var(--page-index-featured-games-background-light);
}

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

.page-index-featured-games-feature-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-index-featured-games-feature-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.page-index-featured-games-feature-title {
    font-size: 1.5em;
    color: var(--page-index-featured-games-primary-color);
    margin-bottom: 10px;
}

.page-index-featured-games-feature-item p {
    color: #666;
    font-size: 1em;
}

.page-index-featured-games-call-to-action-section {
    background-color: var(--page-index-featured-games-primary-color);
    color: var(--page-index-featured-games-text-light);
    padding: 80px 0;
    text-align: center;
}

.page-index-featured-games-call-to-action-section .page-index-featured-games-section-title {
    color: var(--page-index-featured-games-secondary-color);
}

.page-index-featured-games-call-to-action-section .page-index-featured-games-section-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.page-index-featured-games-cta-buttons .page-index-featured-games-btn {
    margin: 0 15px;
}

.page-index-featured-games-note {
    margin-top: 30px;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

.page-index-featured-games-note a {
    color: var(--page-index-featured-games-secondary-color);
    text-decoration: none;
}

.page-index-featured-games-note a:hover {
    text-decoration: underline;
}

.page-index-featured-games-responsible-gaming {
    padding: 60px 0;
    background-color: var(--page-index-featured-games-background-light);
    text-align: center;
}

.page-index-featured-games-responsible-gaming p {
    max-width: 800px;
    margin: 20px auto 30px auto;
    font-size: 1.05em;
    color: #444;
}

.page-index-featured-games-btn-link {
    color: var(--page-index-featured-games-primary-color);
    text-decoration: underline;
    background: none;
    padding: 0;
    font-size: 1em;
}

.page-index-featured-games-btn-link:hover {
    color: var(--page-index-featured-games-secondary-color);
    text-decoration: none;
    transform: none;
}

.page-index-featured-games-faq-section {
    padding: 80px 0;
    background-color: #f0f2f5;
}

.page-index-featured-games-faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-featured-games-faq-question {
    font-size: 1.3em;
    color: var(--page-index-featured-games-primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-index-featured-games-faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-index-featured-games-secondary-color);
}

.page-index-featured-games-faq-question.active::after {
    content: '-';
}

.page-index-featured-games-faq-answer {
    font-size: 1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-top: 0;
}

.page-index-featured-games-faq-answer.active {
    max-height: 200px; /* Adjust based on expected content length */
    padding-top: 10px;
}

.page-index-featured-games-faq-answer a {
    color: var(--page-index-featured-games-primary-color);
    text-decoration: underline;
}

.page-index-featured-games-faq-answer a:hover {
    color: var(--page-index-featured-games-secondary-color);
}

.highlight {
    color: var(--page-index-featured-games-secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-featured-games-hero-title {
        font-size: 2.8em;
    }
    .page-index-featured-games-hero-subtitle {
        font-size: 1.1em;
    }
    .page-index-featured-games-section-title {
        font-size: 2em;
    }
    .page-index-featured-games-intro-content {
        flex-direction: column;
    }
    .page-index-featured-games-intro-text, .page-index-featured-games-intro-image {
        min-width: unset;
        width: 100%;
    }
    .page-index-featured-games-game-grid, .page-index-featured-games-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-index-featured-games-hero-section {
        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-hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .page-index-featured-games-btn {
        width: 100%;
        margin: 0;
    }
    .page-index-featured-games-section-title {
        font-size: 1.8em;
    }
    .page-index-featured-games-section-description {
        font-size: 0.95em;
    }
    .page-index-featured-games-game-card {
        padding: 20px;
    }
    .page-index-featured-games-card-title {
        font-size: 1.4em;
    }
    .page-index-featured-games-feature-title {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .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-game-grid, .page-index-featured-games-features-grid {
        grid-template-columns: 1fr;
    }
    .page-index-featured-games-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-featured-games-cta-buttons .page-index-featured-games-btn {
        width: 100%;
    }
}