/* 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;
}

.page-index-popular-games-showcase__hero {
    background: linear-gradient(135deg, #0A2342, #1A426B);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-popular-games-showcase__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,gaming,lights,tf88]') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-index-popular-games-showcase__hero > div {
    position: relative;
    z-index: 1;
}

.page-index-popular-games-showcase__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #F0A500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.page-index-popular-games-showcase__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.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: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
}

.page-index-popular-games-showcase__btn--primary {
    background-color: #F0A500;
    color: #0A2342;
}

.page-index-popular-games-showcase__btn--primary:hover {
    background-color: #e09500;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-popular-games-showcase__btn--secondary {
    background-color: transparent;
    color: #F0A500;
    border: 2px solid #F0A500;
}

.page-index-popular-games-showcase__btn--secondary:hover {
    background-color: #F0A500;
    color: #0A2342;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-popular-games-showcase__btn--small {
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-index-popular-games-showcase__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-index-popular-games-showcase__section {
    padding: 60px 0;
    text-align: center;
}

.page-index-popular-games-showcase__section:nth-of-type(even) {
    background-color: #f0f0f0;
}

.page-index-popular-games-showcase__section-title {
    font-size: 2.5em;
    color: #0A2342;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

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

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

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

.page-index-popular-games-showcase__category-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

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

.page-index-popular-games-showcase__category-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-index-popular-games-showcase__category-title {
    font-size: 1.8em;
    color: #0A2342;
    margin-bottom: 15px;
}

.page-index-popular-games-showcase__category-text {
    color: #666;
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1;
}

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

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

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

.page-index-popular-games-showcase__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    object-fit: contain;
}

.page-index-popular-games-showcase__feature-title {
    font-size: 1.5em;
    color: #0A2342;
    margin-bottom: 10px;
}

.page-index-popular-games-showcase__feature-text {
    color: #666;
    font-size: 0.95em;
}

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

.page-index-popular-games-showcase__step-item {
    background-color: #0A2342;
    color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index-popular-games-showcase__step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 4em;
    font-weight: bold;
    color: rgba(240, 165, 0, 0.2);
    line-height: 1;
    z-index: 0;
}

.page-index-popular-games-showcase__step-item > * {
    position: relative;
    z-index: 1;
}

.page-index-popular-games-showcase__step-title {
    font-size: 1.6em;
    color: #F0A500;
    margin-bottom: 15px;
}

.page-index-popular-games-showcase__step-text {
    color: #e0e0e0;
    font-size: 0.95em;
}

.page-index-popular-games-showcase__cta-bottom {
    margin-top: 60px;
}

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

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

.page-index-popular-games-showcase__faq-question {
    font-size: 1.3em;
    color: #0A2342;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-index-popular-games-showcase__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #F0A500;
    transition: transform 0.3s ease;
}

.page-index-popular-games-showcase__faq-item.active .page-index-popular-games-showcase__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-index-popular-games-showcase__faq-answer {
    color: #555;
    font-size: 1em;
    display: none;
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.page-index-popular-games-showcase__faq-item.active .page-index-popular-games-showcase__faq-answer {
    display: block;
}

.page-index-popular-games-showcase__final-cta {
    background: linear-gradient(135deg, #F0A500, #e09500);
    color: #0A2342;
    padding: 80px 0;
}

.page-index-popular-games-showcase__final-cta .page-index-popular-games-showcase__section-title {
    color: #0A2342;
}

.page-index-popular-games-showcase__final-cta .page-index-popular-games-showcase__section-title::after {
    background-color: #0A2342;
}

.page-index-popular-games-showcase__final-cta .page-index-popular-games-showcase__section-description {
    color: #333;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-popular-games-showcase__hero-title {
        font-size: 2.8em;
    }
    .page-index-popular-games-showcase__section-title {
        font-size: 2em;
    }
    .page-index-popular-games-showcase__category-grid,
    .page-index-popular-games-showcase__features-grid,
    .page-index-popular-games-showcase__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-index-popular-games-showcase__hero {
        padding: 60px 0;
    }
    .page-index-popular-games-showcase__hero-title {
        font-size: 2.2em;
    }
    .page-index-popular-games-showcase__hero-description {
        font-size: 1em;
    }
    .page-index-popular-games-showcase__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-popular-games-showcase__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-index-popular-games-showcase__section {
        padding: 40px 0;
    }
    .page-index-popular-games-showcase__section-title {
        font-size: 1.8em;
    }
    .page-index-popular-games-showcase__section-description {
        font-size: 0.95em;
    }
    .page-index-popular-games-showcase__category-grid,
    .page-index-popular-games-showcase__features-grid,
    .page-index-popular-games-showcase__steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-index-popular-games-showcase__hero-title {
        font-size: 1.8em;
    }
    .page-index-popular-games-showcase__hero-description {
        font-size: 0.9em;
    }
    .page-index-popular-games-showcase__btn--large {
        font-size: 1.1em;
        padding: 15px 30px;
    }
    .page-index-popular-games-showcase__section-title {
        font-size: 1.6em;
    }
}