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

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

/* Hero Section */
.page-index-popular-games-showcase__hero {
    background: linear-gradient(135deg, #FFD700 0%, #000080 100%);
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-popular-games-showcase__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold text on dark background for contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-popular-games-showcase__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-index-popular-games-showcase__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-index-popular-games-showcase__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-index-popular-games-showcase__btn--primary {
    background-color: #FFD700;
    color: #000080; /* Dark blue text on gold button for contrast */
    border: 2px solid #FFD700;
}

.page-index-popular-games-showcase__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
}

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

.page-index-popular-games-showcase__btn--secondary:hover {
    background-color: #FFD700;
    color: #000080; /* Dark blue text on gold button for contrast */
    transform: translateY(-3px);
}

.page-index-popular-games-showcase__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 25px;
    background-color: #FFD700;
    color: #000080;
    border: none;
}

.page-index-popular-games-showcase__btn--small:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Section Titles */
.page-index-popular-games-showcase__section-title {
    font-size: 2.5em;
    color: #000080; /* Dark blue for main titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    position: relative;
}

.page-index-popular-games-showcase__section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.page-index-popular-games-showcase__section-description {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    max-width: 800px;
    margin: -20px auto 60px auto;
}

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

.page-index-popular-games-showcase__intro-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-index-popular-games-showcase__intro-text {
    flex: 1;
    font-size: 1.1em;
    color: #444;
}

.page-index-popular-games-showcase__intro-text p {
    margin-bottom: 15px;
}

.page-index-popular-games-showcase__intro-image {
    flex: 1;
    text-align: center;
}

.page-index-popular-games-showcase__intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Game Grid */
.page-index-popular-games-showcase__game-grid {
    padding: 80px 0;
    background-color: #f0f4f8;
}

.page-index-popular-games-showcase__grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index-popular-games-showcase__game-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px;
}

.page-index-popular-games-showcase__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-index-popular-games-showcase__game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.page-index-popular-games-showcase__game-title {
    font-size: 1.6em;
    color: #000080;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-index-popular-games-showcase__game-desc {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    padding: 0 15px;
}

/* Why Choose Section */
.page-index-popular-games-showcase__why-choose {
    padding: 80px 0;
    background-color: #fff;
}

.page-index-popular-games-showcase__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-index-popular-games-showcase__feature-item {
    text-align: center;
    padding: 30px;
    background-color: #fdfdfd;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-index-popular-games-showcase__feature-item:hover {
    transform: translateY(-5px);
}

.page-index-popular-games-showcase__feature-item img {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.page-index-popular-games-showcase__feature-item h3 {
    font-size: 1.4em;
    color: #000080;
    margin-bottom: 10px;
}

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

/* Promo Section */
.page-index-popular-games-showcase__promo-section {
    padding: 80px 0;
    background-color: #e6f0f7;
}

.page-index-popular-games-showcase__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-popular-games-showcase__promo-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease;
}

.page-index-popular-games-showcase__promo-card:hover {
    transform: translateY(-8px);
}

.page-index-popular-games-showcase__promo-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.page-index-popular-games-showcase__promo-card h3 {
    font-size: 1.5em;
    color: #000080;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-index-popular-games-showcase__promo-card p {
    font-size: 1em;
    color: #666;
    margin-bottom: 25px;
    padding: 0 20px;
}

/* CTA Bottom */
.page-index-popular-games-showcase__cta-bottom {
    background: #000080;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-index-popular-games-showcase__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-index-popular-games-showcase__cta-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-index-popular-games-showcase__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* FAQ Section */
.page-index-popular-games-showcase__faq-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-index-popular-games-showcase__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-index-popular-games-showcase__faq-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    margin-bottom: 20px;
    padding: 25px 30px;
    border-left: 5px solid #FFD700;
}

.page-index-popular-games-showcase__faq-question {
    font-size: 1.3em;
    color: #000080;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index-popular-games-showcase__faq-answer {
    font-size: 1em;
    color: #555;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-popular-games-showcase__hero-title {
        font-size: 2.8em;
    }

    .page-index-popular-games-showcase__hero-subtitle {
        font-size: 1.3em;
    }

    .page-index-popular-games-showcase__section-title {
        font-size: 2em;
    }

    .page-index-popular-games-showcase__intro-content {
        flex-direction: column;
        text-align: center;
    }

    .page-index-popular-games-showcase__intro-image {
        order: -1; /* Image above text on mobile */
        margin-bottom: 30px;
    }

    .page-index-popular-games-showcase__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-index-popular-games-showcase__hero {
        padding: 80px 0;
    }

    .page-index-popular-games-showcase__hero-title {
        font-size: 2.2em;
    }

    .page-index-popular-games-showcase__hero-subtitle {
        font-size: 1.1em;
    }

    .page-index-popular-games-showcase__hero-actions,
    .page-index-popular-games-showcase__cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-popular-games-showcase__btn {
        width: 80%;
        margin: 0 auto;
    }

    .page-index-popular-games-showcase__section-title {
        font-size: 1.8em;
    }

    .page-index-popular-games-showcase__section-description {
        font-size: 1em;
    }

    .page-index-popular-games-showcase__cta-title {
        font-size: 1.8em;
    }

    .page-index-popular-games-showcase__cta-description {
        font-size: 1.1em;
    }

    .page-index-popular-games-showcase__intro-section,
    .page-index-popular-games-showcase__game-grid,
    .page-index-popular-games-showcase__why-choose,
    .page-index-popular-games-showcase__promo-section,
    .page-index-popular-games-showcase__cta-bottom,
    .page-index-popular-games-showcase__faq-section {
        padding: 60px 0;
    }
}

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

    .page-index-popular-games-showcase__hero-subtitle {
        font-size: 0.95em;
    }

    .page-index-popular-games-showcase__btn {
        width: 95%;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-index-popular-games-showcase__section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }

    .page-index-popular-games-showcase__cta-title {
        font-size: 1.5em;
    }

    .page-index-popular-games-showcase__game-card img,
    .page-index-popular-games-showcase__promo-card img {
        height: 150px;
    }

    .page-index-popular-games-showcase__faq-question {
        font-size: 1.1em;
    }
    .page-index-popular-games-showcase__container {
        padding: 0 15px;
    }
}