/* style/slot-games-popular-recommendations.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg: #11271B;
    --body-bg: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-slot-games-popular-recommendations {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for dark body background */
    background-color: var(--body-bg);
}

.page-slot-games-popular-recommendations__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-slot-games-popular-recommendations__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-slot-games-popular-recommendations__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-slot-games-popular-recommendations__text-block a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-slot-games-popular-recommendations__text-block a:hover {
    text-decoration: underline;
}

/* --- Hero Section --- */
.page-slot-games-popular-recommendations__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    background-color: var(--deep-green);
}

.page-slot-games-popular-recommendations__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.page-slot-games-popular-recommendations__hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-color);
    object-fit: cover;
    display: block;
}

.page-slot-games-popular-recommendations__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
}

.page-slot-games-popular-recommendations__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

.page-slot-games-popular-recommendations__hero-description {
    font-size: 1.3em;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-slot-games-popular-recommendations__hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* --- Buttons --- */
.page-slot-games-popular-recommendations__btn-primary,
.page-slot-games-popular-recommendations__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games-popular-recommendations__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games-popular-recommendations__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
    opacity: 0.9;
}

.page-slot-games-popular-recommendations__btn-secondary {
    background-color: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-slot-games-popular-recommendations__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--body-bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* --- Sections Styling --- */
.page-slot-games-popular-recommendations__introduction-section,
.page-slot-games-popular-recommendations__featured-games-section,
.page-slot-games-popular-recommendations__how-to-play-section,
.page-slot-games-popular-recommendations__faq-section {
    background-color: var(--body-bg);
    padding: 60px 20px;
}

.page-slot-games-popular-recommendations__game-types-section,
.page-slot-games-popular-recommendations__promotions-section,
.page-slot-games-popular-recommendations__strategy-section,
.page-slot-games-popular-recommendations__cta-section {
    background-color: var(--deep-green);
    padding: 60px 20px;
}

/* --- Image Content --- */
.page-slot-games-popular-recommendations__image-content {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* --- Game Types Grid --- */
.page-slot-games-popular-recommendations__types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games-popular-recommendations__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

.page-slot-games-popular-recommendations__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games-popular-recommendations__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-slot-games-popular-recommendations__card-description {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* --- Featured Games Grid --- */
.page-slot-games-popular-recommendations__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games-popular-recommendations__game-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games-popular-recommendations__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games-popular-recommendations__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-slot-games-popular-recommendations__game-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-slot-games-popular-recommendations__game-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
    min-height: 75px;
}

/* --- Promotions List --- */
.page-slot-games-popular-recommendations__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-slot-games-popular-recommendations__promo-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games-popular-recommendations__promo-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-slot-games-popular-recommendations__promo-description {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* --- How To Play Steps --- */
.page-slot-games-popular-recommendations__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games-popular-recommendations__step-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.page-slot-games-popular-recommendations__step-item::before {
    content: attr(data-step);
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(17, 168, 78, 0.5);
}

.page-slot-games-popular-recommendations__step-item:nth-child(1)::before { content: 'Bước 1'; }
.page-slot-games-popular-recommendations__step-item:nth-child(2)::before { content: 'Bước 2'; }
.page-slot-games-popular-recommendations__step-item:nth-child(3)::before { content: 'Bước 3'; }
.page-slot-games-popular-recommendations__step-item:nth-child(4)::before { content: 'Bước 4'; }

.page-slot-games-popular-recommendations__step-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
    padding-top: 15px;
}

.page-slot-games-popular-recommendations__step-description {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* --- Strategy List --- */
.page-slot-games-popular-recommendations__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-slot-games-popular-recommendations__strategy-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games-popular-recommendations__strategy-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-slot-games-popular-recommendations__strategy-description {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* --- FAQ Section --- */
.page-slot-games-popular-recommendations__faq-list {
    margin-top: 40px;
}

.page-slot-games-popular-recommendations__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-main);
}

.page-slot-games-popular-recommendations__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.page-slot-games-popular-recommendations__faq-question:hover {
    background-color: var(--deep-green);
}

.page-slot-games-popular-recommendations__faq-qtext {
    flex-grow: 1;
}

.page-slot-games-popular-recommendations__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-slot-games-popular-recommendations__faq-item details > summary {
    list-style: none;
}

.page-slot-games-popular-recommendations__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-slot-games-popular-recommendations__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    border-top: none;
}

/* --- CTA Section --- */
.page-slot-games-popular-recommendations__cta-section {
    text-align: center;
    padding-bottom: 80px;
}

.page-slot-games-popular-recommendations__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.page-slot-games-popular-recommendations__text-center {
    text-align: center;
}

.page-slot-games-popular-recommendations__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-slot-games-popular-recommendations__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-slot-games-popular-recommendations__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games-popular-recommendations {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games-popular-recommendations__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games-popular-recommendations__hero-section,
    .page-slot-games-popular-recommendations__introduction-section,
    .page-slot-games-popular-recommendations__game-types-section,
    .page-slot-games-popular-recommendations__featured-games-section,
    .page-slot-games-popular-recommendations__promotions-section,
    .page-slot-games-popular-recommendations__how-to-play-section,
    .page-slot-games-popular-recommendations__strategy-section,
    .page-slot-games-popular-recommendations__faq-section,
    .page-slot-games-popular-recommendations__cta-section {
        padding: 40px 15px !important;
        padding-top: 10px !important; /* Ensure small top padding for sections */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games-popular-recommendations img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games-popular-recommendations__game-image {
        height: auto !important;
    }

    .page-slot-games-popular-recommendations__hero-cta-buttons,
    .page-slot-games-popular-recommendations__button-group,
    .page-slot-games-popular-recommendations__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games-popular-recommendations__btn-primary,
    .page-slot-games-popular-recommendations__btn-secondary,
    .page-slot-games-popular-recommendations a[class*="button"],
    .page-slot-games-popular-recommendations a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-slot-games-popular-recommendations__section-title {
        font-size: 1.8em;
    }

    .page-slot-games-popular-recommendations__hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-slot-games-popular-recommendations__hero-description {
        font-size: 1.1em;
    }

    .page-slot-games-popular-recommendations__card,
    .page-slot-games-popular-recommendations__promo-item,
    .page-slot-games-popular-recommendations__step-item,
    .page-slot-games-popular-recommendations__strategy-item,
    .page-slot-games-popular-recommendations__faq-item {
        padding: 20px !important;
        margin-bottom: 15px !important;
    }

    .page-slot-games-popular-recommendations__game-description {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .page-slot-games-popular-recommendations__hero-title {
        font-size: clamp(1.5rem, 9vw, 2rem);
    }
    .page-slot-games-popular-recommendations__section-title {
        font-size: 1.5em;
    }
}