:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --bg-dark: #0D0E12;
    --bg-card: #17191F;
    --text-light: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}

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

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

.page-slot-games-popular-recommendations__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
    background-color: var(--bg-dark);
    overflow: hidden;
}

.page-slot-games-popular-recommendations__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-slot-games-popular-recommendations__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-slot-games-popular-recommendations__hero-content {
    position: relative; /* Ensure content is above any potential background layers */
    z-index: 2;
    max-width: 800px;
}

.page-slot-games-popular-recommendations__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255,165,58,0.5);
}

.page-slot-games-popular-recommendations__hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

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

.page-slot-games-popular-recommendations__btn-primary,
.page-slot-games-popular-recommendations__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games-popular-recommendations__btn-primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(255,140,26,0.4);
}

.page-slot-games-popular-recommendations__btn-primary:hover {
    background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
    box-shadow: 0 8px 20px rgba(255,140,26,0.6);
    transform: translateY(-2px);
}

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

.page-slot-games-popular-recommendations__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.page-slot-games-popular-recommendations__section {
    padding: 60px 0;
    background-color: var(--bg-dark);
}

.page-slot-games-popular-recommendations__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255,165,58,0.3);
}

.page-slot-games-popular-recommendations__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

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

.page-slot-games-popular-recommendations__card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-light);
}

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

.page-slot-games-popular-recommendations__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-slot-games-popular-recommendations__card-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    padding: 15px 20px 10px;
    font-weight: 600;
}

.page-slot-games-popular-recommendations__card-description {
    font-size: 1rem;
    color: var(--text-light);
    padding: 0 20px 15px;
    flex-grow: 1;
}

.page-slot-games-popular-recommendations__card-link {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.page-slot-games-popular-recommendations__card-link:hover {
    background-color: var(--deep-orange);
}

.page-slot-games-popular-recommendations__benefits-list,
.page-slot-games-popular-recommendations__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games-popular-recommendations__benefit-item,
.page-slot-games-popular-recommendations__tip-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-slot-games-popular-recommendations__benefit-title,
.page-slot-games-popular-recommendations__tip-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-slot-games-popular-recommendations__benefit-description,
.page-slot-games-popular-recommendations__tip-description {
    font-size: 1rem;
    color: var(--text-light);
}

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

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

.page-slot-games-popular-recommendations__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    background-color: transparent;
    border: none;
    width: 100%;
    text-align: left;
    outline: none;
    list-style: none; /* For details/summary */
}

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

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

.page-slot-games-popular-recommendations__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.page-slot-games-popular-recommendations__faq-item[open] .page-slot-games-popular-recommendations__faq-toggle {
    transform: rotate(45deg);
}

.page-slot-games-popular-recommendations__faq-answer {
    padding: 0 25px 18px;
    font-size: 1rem;
    color: var(--text-light);
}

.page-slot-games-popular-recommendations__cta-center {
    text-align: center;
    margin-top: 50px;
}

.page-slot-games-popular-recommendations__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-dark);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-slot-games-popular-recommendations__hero-section {
        padding-bottom: 40px;
    }
    .page-slot-games-popular-recommendations__main-title {
        font-size: clamp(1.8rem, 4.5vw, 3rem);
    }
    .page-slot-games-popular-recommendations__hero-description {
        font-size: 1.1rem;
    }
    .page-slot-games-popular-recommendations__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    }
}

@media (max-width: 768px) {
    .page-slot-games-popular-recommendations__container {
        padding: 15px;
    }
    .page-slot-games-popular-recommendations__hero-section {
        padding: 10px 15px 30px 15px;
    }
    .page-slot-games-popular-recommendations__hero-image-wrapper {
        max-height: 400px;
    }
    .page-slot-games-popular-recommendations__main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    .page-slot-games-popular-recommendations__hero-description {
        font-size: 1rem;
    }
    .page-slot-games-popular-recommendations__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-slot-games-popular-recommendations__btn-primary,
    .page-slot-games-popular-recommendations__btn-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: 100% !important; /* Ensure full width on mobile */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games-popular-recommendations__section {
        padding: 40px 0;
    }
    .page-slot-games-popular-recommendations__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }
    .page-slot-games-popular-recommendations__text-block {
        font-size: 0.95rem;
    }
    .page-slot-games-popular-recommendations__game-types-grid,
    .page-slot-games-popular-recommendations__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games-popular-recommendations__card-title {
        font-size: 1.3rem;
    }
    .page-slot-games-popular-recommendations__card-description {
        font-size: 0.9rem;
    }
    .page-slot-games-popular-recommendations__benefit-title,
    .page-slot-games-popular-recommendations__tip-title {
        font-size: 1.2rem;
    }
    .page-slot-games-popular-recommendations__benefit-description,
    .page-slot-games-popular-recommendations__tip-description {
        font-size: 0.9rem;
    }
    .page-slot-games-popular-recommendations__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-slot-games-popular-recommendations__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9rem;
    }

    /* Mobile image and video responsiveness */
    .page-slot-games-popular-recommendations img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-slot-games-popular-recommendations__hero-image-wrapper,
    .page-slot-games-popular-recommendations__game-types-grid,
    .page-slot-games-popular-recommendations__promotions-grid,
    .page-slot-games-popular-recommendations__card,
    .page-slot-games-popular-recommendations__benefit-item,
    .page-slot-games-popular-recommendations__tip-item,
    .page-slot-games-popular-recommendations__faq-item,
    .page-slot-games-popular-recommendations__cta-section,
    .page-slot-games-popular-recommendations__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important; /* Ensure no overflow for containers */
    }
    .page-slot-games-popular-recommendations__hero-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-slot-games-popular-recommendations__main-title {
        font-size: clamp(1.3rem, 7vw, 2.2rem);
    }
    .page-slot-games-popular-recommendations__section-title {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
    }
}