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

:root {
    --primary-color: #FFD700;
    --secondary-color: #1A1A1A;
    --text-on-primary: #1A1A1A;
    --text-on-secondary: #FFD700;
    --dark-text: #1A1A1A;
    --light-text: #F0F0F0;
    --background-light: #F8F8F8;
    --background-dark: #2C2C2C;
    --border-color: #444;
    --hover-color: #e6c200;
}

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

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

.page-index-featured-games__section-title {
    font-size: 2.8em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
    font-weight: bold;
}

.page-index-featured-games__section-title .highlight,
.page-index-featured-games__hero-title .highlight,
.page-index-featured-games__text-block .highlight,
.page-index-featured-games__promo-description .highlight,
.page-index-featured-games__feature-description .highlight,
.page-index-featured-games__accordion-content .highlight {
    color: var(--primary-color);
}

.page-index-featured-games__section-subtitle {
    font-size: 1.3em;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 50px;
    opacity: 0.9;
}

.page-index-featured-games__text-block {
    font-size: 1.1em;
    margin-bottom: 1.5em;
    color: var(--dark-text);
    text-align: justify;
}

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

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

.page-index-featured-games__btn--primary {
    background-color: var(--primary-color);
    color: var(--text-on-primary);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-featured-games__btn--primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-featured-games__btn--secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    margin-left: 20px;
}

.page-index-featured-games__btn--secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.3);
}

.page-index-featured-games__btn--small {
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 6px;
}

.page-index-featured-games__btn--large {
    padding: 18px 40px;
    font-size: 1.2em;
    min-width: 250px;
}

/* Hero Section */
.page-index-featured-games__hero {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.page-index-featured-games__hero-content {
    max-width: 600px;
    text-align: left;
    z-index: 2;
    padding-left: 20px;
}

.page-index-featured-games__hero-title {
    font-size: 4em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: var(--light-text);
}

.page-index-featured-games__hero-title .highlight {
    color: var(--primary-color);
}

.page-index-featured-games__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    opacity: 0.9;
    color: var(--light-text);
}

.page-index-featured-games__hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-index-featured-games__hero-image-wrapper {
    position: relative;
    width: 50%;
    max-width: 700px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index-featured-games__hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease-in-out;
}

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

/* Intro Section */
.page-index-featured-games__intro {
    padding: 80px 0;
    background-color: var(--background-light);
}

/* Game Categories Section */
.page-index-featured-games__game-categories {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--light-text);
}

.page-index-featured-games__game-categories .page-index-featured-games__section-title {
    color: var(--primary-color);
}

.page-index-featured-games__game-categories .page-index-featured-games__section-subtitle {
    color: var(--light-text);
}

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

.page-index-featured-games__game-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--light-text);
}

.page-index-featured-games__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-index-featured-games__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--primary-color);
}

.page-index-featured-games__game-card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-index-featured-games__game-card-description {
    font-size: 1em;
    padding: 0 20px 20px;
    flex-grow: 1;
    opacity: 0.85;
}

.page-index-featured-games__game-card .page-index-featured-games__btn--small {
    margin: 0 20px 20px;
    align-self: flex-start;
    background-color: var(--primary-color);
    color: var(--text-on-primary);
}

.page-index-featured-games__game-card .page-index-featured-games__btn--small:hover {
    background-color: var(--hover-color);
}

/* Promotions Section */
.page-index-featured-games__promotions {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.page-index-featured-games__promo-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-index-featured-games__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-index-featured-games__promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--primary-color);
}

.page-index-featured-games__promo-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-index-featured-games__promo-description {
    font-size: 0.95em;
    padding: 0 20px 20px;
    flex-grow: 1;
    color: var(--dark-text);
    opacity: 0.85;
}

.page-index-featured-games__promo-card .page-index-featured-games__btn--small {
    margin: 0 20px 20px;
    align-self: flex-start;
}

/* Why Choose Section */
.page-index-featured-games__why-choose {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--light-text);
}

.page-index-featured-games__why-choose .page-index-featured-games__section-title {
    color: var(--primary-color);
    margin-bottom: 60px;
}

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

.page-index-featured-games__feature-item {
    text-align: center;
    padding: 25px;
    border-radius: 10px;
    background-color: var(--secondary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-featured-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index-featured-games__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.page-index-featured-games__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-featured-games__feature-description {
    font-size: 1em;
    color: var(--light-text);
    opacity: 0.9;
}

/* CTA Download Section */
.page-index-featured-games__cta-download {
    background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
    padding: 80px 0;
    color: var(--dark-text);
    text-align: center;
}

.page-index-featured-games__cta-download-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-index-featured-games__cta-text {
    max-width: 600px;
    text-align: left;
}

.page-index-featured-games__cta-download .page-index-featured-games__section-title {
    color: var(--secondary-color);
    padding-top: 0;
    margin-bottom: 20px;
    text-align: left;
}

.page-index-featured-games__cta-download .page-index-featured-games__subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    text-align: left;
    color: var(--dark-text);
}

.page-index-featured-games__cta-download .page-index-featured-games__btn--primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.4);
}

.page-index-featured-games__cta-download .page-index-featured-games__btn--primary:hover {
    background-color: #000;
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.page-index-featured-games__cta-image-wrapper {
    flex-shrink: 0;
}

.page-index-featured-games__cta-image {
    width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-index-featured-games__faq {
    padding: 80px 0;
    background-color: var(--background-light);
}

.page-index-featured-games__accordion {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-featured-games__accordion-item {
    background-color: #fff;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-index-featured-games__accordion-header {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    font-size: 1.25em;
    font-weight: bold;
    color: var(--secondary-color);
    background-color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-index-featured-games__accordion-header:hover {
    background-color: #f0f0f0;
}

.page-index-featured-games__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-index-featured-games__accordion-item.active .page-index-featured-games__accordion-header::after {
    content: '-';
    transform: rotate(0deg);
}

.page-index-featured-games__accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-index-featured-games__accordion-item.active .page-index-featured-games__accordion-content {
    max-height: 500px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-index-featured-games__accordion-content p {
    margin: 0 0 1em;
    color: var(--dark-text);
    font-size: 1.05em;
}

.page-index-featured-games__accordion-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-featured-games__hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px;
        gap: 20px;
    }

    .page-index-featured-games__hero-content {
        padding-left: 0;
        max-width: 100%;
        text-align: center;
    }

    .page-index-featured-games__hero-title {
        font-size: 3em;
    }

    .page-index-featured-games__hero-subtitle {
        font-size: 1.3em;
    }

    .page-index-featured-games__hero-image-wrapper {
        width: 80%;
        max-width: 500px;
    }

    .page-index-featured-games__hero-actions {
        justify-content: center;
    }

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

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

    .page-index-featured-games__category-grid,
    .page-index-featured-games__promo-grid,
    .page-index-featured-games__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-index-featured-games__cta-download-content {
        flex-direction: column;
        text-align: center;
    }

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

    .page-index-featured-games__cta-download .page-index-featured-games__section-title,
    .page-index-featured-games__cta-download .page-index-featured-games__subtitle {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-index-featured-games__hero-title {
        font-size: 2.5em;
    }

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

    .page-index-featured-games__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }

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

    .page-index-featured-games__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-index-featured-games__accordion-content {
        padding: 15px 20px;
    }
}

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

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

    .page-index-featured-games__btn {
        padding: 12px 25px;
        font-size: 0.95em;
    }

    .page-index-featured-games__btn--large {
        min-width: unset;
        width: 100%;
    }

    .page-index-featured-games__hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .page-index-featured-games__hero-image-wrapper {
        width: 100%;
    }

    .page-index-featured-games__game-card-title,
    .page-index-featured-games__promo-title,
    .page-index-featured-games__feature-title {
        font-size: 1.4em;
    }

    .page-index-featured-games__feature-icon {
        width: 60px;
        height: 60px;
    }
}