/* style/popular-games-latest-hit-games.css */

:root {
    --primary-color: #1A2E44;
    --secondary-color: #FFD700;
    --text-light: #f8f9fa;
    --text-dark: #343a40;
    --background-dark: #0f1a27;
    --background-light: #ffffff;
    --accent-gold-darker: #b39700;
    --accent-blue-lighter: #5f6d7c;
}

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

.page-popular-games-latest-hit-games h1,
.page-popular-games-latest-hit-games h2,
.page-popular-games-latest-hit-games h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-popular-games-latest-hit-games h1 {
    font-size: 2.8rem;
    text-align: center;
    color: var(--text-light);
}

.page-popular-games-latest-hit-games h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.page-popular-games-latest-hit-games h3 {
    font-size: 1.6rem;
}

.page-popular-games-latest-hit-games p {
    margin-bottom: 1rem;
}

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

.page-popular-games-latest-hit-games__hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a5c80 100%); /* Dark blue to a slightly lighter blue for depth */
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px; /* Ensure a decent height */
}

.page-popular-games-latest-hit-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-popular-games-latest-hit-games__hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.page-popular-games-latest-hit-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
    z-index: 1;
}

.page-popular-games-latest-hit-games__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin: 0 10px 15px 10px;
    font-size: 1rem;
    white-space: nowrap;
}

.page-popular-games-latest-hit-games__btn--primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-popular-games-latest-hit-games__btn--primary:hover {
    background-color: var(--accent-gold-darker);
    border-color: var(--accent-gold-darker);
    transform: translateY(-2px);
}

.page-popular-games-latest-hit-games__btn--secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-popular-games-latest-hit-games__btn--secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.page-popular-games-latest-hit-games__section {
    padding: 60px 0;
}

.page-popular-games-latest-hit-games__section--intro {
    background-color: var(--background-light);
    color: var(--text-dark);
    text-align: center;
}

.page-popular-games-latest-hit-games__section--intro p {
    max-width: 900px;
    margin: 0 auto 1rem auto;
    font-size: 1.1rem;
}

.page-popular-games-latest-hit-games__section--featured-games,
.page-popular-games-latest-hit-games__section--offers,
.page-popular-games-latest-hit-games__section--get-started {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-popular-games-latest-hit-games__section--categories {
    background-color: #f0f2f5; /* A light grey for contrast */
    color: var(--text-dark);
}

.page-popular-games-latest-hit-games__game-grid,
.page-popular-games-latest-hit-games__offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.page-popular-games-latest-hit-games__game-card,
.page-popular-games-latest-hit-games__offer-card {
    background-color: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px;
}

.page-popular-games-latest-hit-games__game-card:hover,
.page-popular-games-latest-hit-games__offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.page-popular-games-latest-hit-games__game-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-popular-games-latest-hit-games__game-card h3,
.page-popular-games-latest-hit-games__offer-card h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-popular-games-latest-hit-games__game-card p,
.page-popular-games-latest-hit-games__offer-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    padding: 0 15px;
    margin-bottom: 20px;
}

.page-popular-games-latest-hit-games__offer-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 20px auto 15px auto;
}

.page-popular-games-latest-hit-games__section--categories ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.page-popular-games-latest-hit-games__section--categories li {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.page-popular-games-latest-hit-games__section--categories li:hover {
    transform: translateY(-3px);
}

.page-popular-games-latest-hit-games__section--categories strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.page-popular-games-latest-hit-games__disclaimer {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 30px;
    opacity: 0.8;
    color: var(--text-light);
}

.page-popular-games-latest-hit-games__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.page-popular-games-latest-hit-games__step-card {
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-popular-games-latest-hit-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-popular-games-latest-hit-games__step-card h3 {
    color: var(--secondary-color);
    margin-top: 15px;
}

.page-popular-games-latest-hit-games__step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.page-popular-games-latest-hit-games__cta-center {
    text-align: center;
    margin-top: 40px;
}

.page-popular-games-latest-hit-games__section--faq {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding-bottom: 80px;
}

.page-popular-games-latest-hit-games__faq-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-popular-games-latest-hit-games__faq-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.page-popular-games-latest-hit-games__faq-item p {
    color: var(--text-dark);
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-popular-games-latest-hit-games h1 {
        font-size: 2.2rem;
    }

    .page-popular-games-latest-hit-games h2 {
        font-size: 1.8rem;
    }

    .page-popular-games-latest-hit-games__hero {
        padding: 60px 0;
        min-height: 350px;
    }

    .page-popular-games-latest-hit-games__hero-content p {
        font-size: 1rem;
    }

    .page-popular-games-latest-hit-games__btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 0 5px 10px 5px;
    }

    .page-popular-games-latest-hit-games__section {
        padding: 40px 0;
    }

    .page-popular-games-latest-hit-games__game-grid,
    .page-popular-games-latest-hit-games__offer-grid,
    .page-popular-games-latest-hit-games__steps {
        grid-template-columns: 1fr;
    }

    .page-popular-games-latest-hit-games__game-thumbnail {
        height: 180px;
    }

    .page-popular-games-latest-hit-games__section--categories ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-popular-games-latest-hit-games h1 {
        font-size: 1.8rem;
    }

    .page-popular-games-latest-hit-games h2 {
        font-size: 1.6rem;
    }

    .page-popular-games-latest-hit-games__hero {
        padding: 40px 0;
        min-height: 300px;
    }

    .page-popular-games-latest-hit-games__hero-content p {
        font-size: 0.9rem;
    }

    .page-popular-games-latest-hit-games__btn {
        display: block;
        width: fit-content;
        margin: 10px auto;
    }
}