/* style/index-popular-games.css */
.page-index-popular-games {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f0f0f0; /* Light text for dark background */
    background-color: #1A2B4C; /* Main primary color */
    line-height: 1.6;
}

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

.page-index-popular-games__hero {
    background: linear-gradient(135deg, #1A2B4C 0%, #0c1523 100%); /* Dark gradient */
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-index-popular-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-index-popular-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFD700; /* Accent color for title */
}

.page-index-popular-games__hero-title .highlight {
    color: #ffffff;
}

.page-index-popular-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

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

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

.page-index-popular-games__btn--primary {
    background-color: #FFD700; /* Accent color */
    color: #1A2B4C; /* Dark text for accent background */
}

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

.page-index-popular-games__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-index-popular-games__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2B4C;
    transform: translateY(-3px);
}

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

.page-index-popular-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    overflow: hidden;
    z-index: 1;
}

.page-index-popular-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) blur(5px);
    transform: scale(1.1);
}

.page-index-popular-games__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Accent color for section titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    font-weight: 700;
}

.page-index-popular-games__section-title .highlight {
    color: #ffffff;
}

.page-index-popular-games__subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 50px;
    color: #e0e0e0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-popular-games__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #cccccc;
    text-align: justify;
}

.page-index-popular-games__text-content .highlight {
    color: #FFD700;
    font-weight: 600;
}

.page-index-popular-games__intro {
    padding: 60px 0;
    background-color: #1A2B4C;
}

.page-index-popular-games__game-categories {
    padding: 80px 0;
    background-color: #0c1523; /* Slightly darker shade */
}

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

.page-index-popular-games__game-card {
    background-color: #2a3e5f; /* Darker blue for cards */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px;
}

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

.page-index-popular-games__game-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-bottom: 3px solid #FFD700;
}

.page-index-popular-games__game-card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    padding: 0 15px;
    font-weight: 600;
}

.page-index-popular-games__game-card-title a {
    color: inherit;
    text-decoration: none;
}

.page-index-popular-games__game-card-title a:hover {
    text-decoration: underline;
}

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

.page-index-popular-games__why-choose {
    padding: 80px 0;
    background-color: #1A2B4C;
}

.page-index-popular-games__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.page-index-popular-games__feature-list li {
    background-color: #2a3e5f;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-index-popular-games__feature-list li:hover {
    transform: translateY(-8px);
}

.page-index-popular-games__feature-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-index-popular-games__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-index-popular-games__feature-description {
    font-size: 0.95em;
    color: #b0b0b0;
}

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

.page-index-popular-games__getting-started {
    padding: 80px 0;
    background-color: #0c1523;
}

.page-index-popular-games__steps-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-popular-games__steps-list li {
    background-color: #2a3e5f;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.page-index-popular-games__steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700;
    color: #1A2B4C;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    border: 4px solid #1A2B4C;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-index-popular-games__step-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index-popular-games__steps-list p {
    color: #b0b0b0;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.page-index-popular-games__promotions {
    padding: 80px 0;
    background-color: #1A2B4C;
}

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

.page-index-popular-games__promo-card {
    background-color: #2a3e5f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px;
}

.page-index-popular-games__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.page-index-popular-games__promo-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
    border-bottom: 3px solid #FFD700;
}

.page-index-popular-games__promo-card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    padding: 0 15px;
    font-weight: 600;
}

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

.page-index-popular-games__contact-cta {
    background-color: #0c1523;
    padding: 80px 0;
    text-align: center;
}

.page-index-popular-games__contact-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-index-popular-games__contact-description {
    font-size: 1.3em;
    color: #e0e0e0;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-popular-games__hero-title {
        font-size: 2.8em;
    }
    .page-index-popular-games__hero-description {
        font-size: 1.1em;
    }
    .page-index-popular-games__section-title {
        font-size: 2em;
    }
    .page-index-popular-games__game-card-title, .page-index-popular-games__promo-card-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-index-popular-games__hero {
        padding: 80px 0;
    }
    .page-index-popular-games__hero-title {
        font-size: 2.2em;
    }
    .page-index-popular-games__hero-description {
        font-size: 1em;
    }
    .page-index-popular-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-popular-games__btn {
        width: 80%;
        max-width: 300px;
    }
    .page-index-popular-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-index-popular-games__subtitle {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .page-index-popular-games__intro, .page-index-popular-games__game-categories, .page-index-popular-games__why-choose, .page-index-popular-games__getting-started, .page-index-popular-games__promotions, .page-index-popular-games__contact-cta {
        padding: 60px 0;
    }
    .page-index-popular-games__game-grid, .page-index-popular-games__feature-list, .page-index-popular-games__steps-list, .page-index-popular-games__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-index-popular-games__game-card-img, .page-index-popular-games__promo-card-img {
        height: 180px;
    }
    .page-index-popular-games__steps-list li::before {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
    }
    .page-index-popular-games__step-title {
        margin-top: 25px;
        font-size: 1.4em;
    }
    .page-index-popular-games__contact-title {
        font-size: 2em;
    }
    .page-index-popular-games__contact-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-index-popular-games__hero-title {
        font-size: 1.8em;
    }
    .page-index-popular-games__hero-description {
        font-size: 0.9em;
    }
    .page-index-popular-games__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-popular-games__section-title {
        font-size: 1.5em;
    }
    .page-index-popular-games__game-card-title, .page-index-popular-games__promo-card-title {
        font-size: 1.3em;
    }
    .page-index-popular-games__contact-title {
        font-size: 1.8em;
    }
    .page-index-popular-games__contact-description {
        font-size: 1em;
    }
}