.page-index-popular-games {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f5e6ce; /* Light text for dark background */
    background-color: #0A1931; /* Main dark background */
    line-height: 1.6;
}

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

.page-index-popular-games__hero {
    background: linear-gradient(135deg, #0A1931 0%, #1a3a6b 100%); /* Dark blue gradient */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #E0B400; /* Accent border */
}

.page-index-popular-games__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_gaming_pattern,debet_hero_pattern]') no-repeat center center/cover; /* Abstract gaming pattern */
    opacity: 0.1;
    z-index: 0;
}

.page-index-popular-games__hero > .page-index-popular-games__container {
    position: relative;
    z-index: 1;
}

.page-index-popular-games__title {
    font-size: 3.2em;
    color: #E0B400; /* Accent color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.page-index-popular-games__subtitle {
    font-size: 1.3em;
    color: #f5e6ce;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-popular-games__cta-button {
    display: inline-block;
    background-color: #E0B400; /* Accent color for CTA */
    color: #0A1931; /* Dark text on accent background */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index-popular-games__cta-button:hover {
    background-color: #f0c800; /* Slightly lighter accent on hover */
    transform: translateY(-3px) scale(1.02);
}

.page-index-popular-games__section {
    padding: 60px 0;
}

.page-index-popular-games__section:nth-of-type(even) {
    background-color: #1a2a47; /* Slightly lighter dark blue for alternating sections */
}

.page-index-popular-games__section-title {
    font-size: 2.5em;
    color: #E0B400; /* Accent color for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-index-popular-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: -20px auto 50px auto;
    color: #ccc;
}

.page-index-popular-games__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-index-popular-games__content-grid > div {
    flex: 1;
}

.page-index-popular-games__image-wrapper {
    text-align: center;
}

.page-index-popular-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-index-popular-games__text-content p {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #e0e0e0;
}

.page-index-popular-games__button {
    display: inline-block;
    background-color: #1f4bff; /* A complementary blue for secondary actions */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.page-index-popular-games__button:hover {
    background-color: #3a60ff;
}

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

.page-index-popular-games__game-card {
    background-color: #1a2a47; /* Slightly lighter dark blue for cards */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #f5e6ce;
}

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

.page-index-popular-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #E0B400;
}

.page-index-popular-games__game-card > div:not(.page-index-popular-games__game-image) {
    padding: 25px;
}

.page-index-popular-games__game-title {
    font-size: 1.8em;
    color: #E0B400;
    margin-bottom: 15px;
    padding: 20px 25px 0;
}

.page-index-popular-games__game-description {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 20px;
    padding: 0 25px;
    flex-grow: 1;
}

.page-index-popular-games__feature-list {
    list-style: none;
    padding: 0 25px 15px;
    margin: 0;
}

.page-index-popular-games__feature-list li {
    margin-bottom: 8px;
    color: #ccc;
    position: relative;
    padding-left: 25px;
}

.page-index-popular-games__feature-list li::before {
    content: '✓';
    color: #E0B400;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.page-index-popular-games__button--small {
    background-color: #E0B400;
    color: #0A1931;
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 50px;
    margin: 0 25px 25px;
    align-self: flex-start;
}

.page-index-popular-games__button--small:hover {
    background-color: #f0c800;
}

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

.page-index-popular-games__reason-card {
    background-color: #1a2a47;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-index-popular-games__reason-card:hover {
    transform: translateY(-5px);
}

.page-index-popular-games__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(70%) sepia(80%) saturate(2000%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Gold tint */
}

.page-index-popular-games__reason-title {
    font-size: 1.5em;
    color: #E0B400;
    margin-bottom: 15px;
}

.page-index-popular-games__reason-description {
    font-size: 1em;
    color: #e0e0e0;
}

.page-index-popular-games__text-center {
    text-align: center;
    margin-top: 60px;
}

.page-index-popular-games__final-cta-text {
    font-size: 1.3em;
    color: #f5e6ce;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-index-popular-games__button--download {
    background-color: #1f4bff;
    color: #ffffff;
    margin-left: 20px;
}

.page-index-popular-games__button--download:hover {
    background-color: #3a60ff;
}

.page-index-popular-games__faq-item {
    background-color: #1a2a47;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-index-popular-games__faq-answer {
    font-size: 1em;
    color: #ccc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
}

.page-index-popular-games__faq-answer.active {
    max-height: 200px; /* Adjust based on content */
    opacity: 1;
    padding-top: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-popular-games__title {
        font-size: 2.5em;
    }
    .page-index-popular-games__subtitle {
        font-size: 1.1em;
    }
    .page-index-popular-games__section-title {
        font-size: 2em;
    }
    .page-index-popular-games__content-grid {
        flex-direction: column;
    }
    .page-index-popular-games__content-grid .page-index-popular-games__image-wrapper {
        order: -1; /* Image first on mobile */
    }
    .page-index-popular-games__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-index-popular-games__hero {
        padding: 60px 0;
    }
    .page-index-popular-games__title {
        font-size: 2em;
    }
    .page-index-popular-games__subtitle {
        font-size: 1em;
    }
    .page-index-popular-games__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-index-popular-games__section {
        padding: 40px 0;
    }
    .page-index-popular-games__section-title {
        font-size: 1.8em;
    }
    .page-index-popular-games__game-card {
        margin-left: 15px;
        margin-right: 15px;
    }
    .page-index-popular-games__button--download {
        margin-top: 15px;
        margin-left: 0;
    }
    .page-index-popular-games__cta-button + .page-index-popular-games__button--download {
        margin-left: 0; /* Remove margin if stacked */
    }
}

@media (max-width: 480px) {
    .page-index-popular-games__title {
        font-size: 1.8em;
    }
    .page-index-popular-games__cta-button {
        width: 90%;
        max-width: 300px;
        margin-bottom: 15px;
    }
    .page-index-popular-games__button--download {
        width: 90%;
        max-width: 300px;
    }
    .page-index-popular-games__game-card {
        padding-bottom: 20px;
    }
    .page-index-popular-games__game-title {
        font-size: 1.5em;
    }
    .page-index-popular-games__faq-question {
        font-size: 1.1em;
    }
    .page-index-popular-games__faq-answer {
        font-size: 0.95em;
    }
}