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

.page-slot-games-popular-slots-recommendations {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color);
    background-color: var(--bg-color-dark); /* Body background from shared.css, this is for main content */
}

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

.page-slot-games-popular-slots-recommendations__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--bg-color-dark);
}

.page-slot-games-popular-slots-recommendations__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
}

.page-slot-games-popular-slots-recommendations__hero-content {
    position: relative; /* Changed from absolute to relative to be below image */
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: 20px; /* Space below the image */
    z-index: 2;
}

.page-slot-games-popular-slots-recommendations__hero-title {
    color: var(--gold-color);
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
    /* H1 font-size: using clamp for responsiveness, avoiding fixed large values */
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

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

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

.page-slot-games-popular-slots-recommendations__btn-primary,
.page-slot-games-popular-slots-recommendations__btn-secondary,
.page-slot-games-popular-slots-recommendations__btn-play,
.page-slot-games-popular-slots-recommendations__btn-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games-popular-slots-recommendations__btn-primary {
    background: var(--btn-gradient);
    color: var(--text-main-color);
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games-popular-slots-recommendations__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-slot-games-popular-slots-recommendations__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: inset 0 0 0 1px var(--primary-color);
}

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

.page-slot-games-popular-slots-recommendations__section-title {
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-slot-games-popular-slots-recommendations__text-block {
    color: var(--text-secondary-color);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-slot-games-popular-slots-recommendations__introduction-section,
.page-slot-games-popular-slots-recommendations__popular-slots-section,
.page-slot-games-popular-slots-recommendations__features-section,
.page-slot-games-popular-slots-recommendations__providers-section,
.page-slot-games-popular-slots-recommendations__how-to-play-section,
.page-slot-games-popular-slots-recommendations__faq-section {
    padding: 60px 0;
    background-color: var(--bg-color-dark);
}

.page-slot-games-popular-slots-recommendations__popular-slots-section {
    background-color: var(--card-bg-color);
}

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

.page-slot-games-popular-slots-recommendations__slot-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.page-slot-games-popular-slots-recommendations__slot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-slot-games-popular-slots-recommendations__slot-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--divider-color);
}

.page-slot-games-popular-slots-recommendations__slot-title {
    color: var(--gold-color);
    font-size: 1.4rem;
    font-weight: bold;
    margin: 20px 20px 10px 20px;
    text-align: center;
}

.page-slot-games-popular-slots-recommendations__slot-description {
    color: var(--text-secondary-color);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 20px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games-popular-slots-recommendations__btn-play {
    background: var(--btn-gradient);
    color: var(--text-main-color);
    border: none;
    margin: 0 20px 20px 20px;
    box-shadow: 0 2px 10px rgba(34, 199, 104, 0.3);
}

.page-slot-games-popular-slots-recommendations__btn-play:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.page-slot-games-popular-slots-recommendations__view-all-cta {
    text-align: center;
    margin-top: 50px;
}

.page-slot-games-popular-slots-recommendations__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-slot-games-popular-slots-recommendations__feature-item {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-slot-games-popular-slots-recommendations__feature-item:hover {
    transform: translateY(-5px);
}

.page-slot-games-popular-slots-recommendations__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px var(--glow-color));
}

.page-slot-games-popular-slots-recommendations__feature-title {
    color: var(--gold-color);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-slot-games-popular-slots-recommendations__feature-description {
    color: var(--text-secondary-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.page-slot-games-popular-slots-recommendations__providers-section {
    background-color: var(--bg-color-dark);
}

.page-slot-games-popular-slots-recommendations__provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-slot-games-popular-slots-recommendations__provider-item {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-slot-games-popular-slots-recommendations__provider-logo {
    max-width: 150px;
    height: 75px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: brightness(1.2) drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
}

.page-slot-games-popular-slots-recommendations__provider-name {
    color: var(--text-main-color);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-slot-games-popular-slots-recommendations__provider-description {
    color: var(--text-secondary-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

.page-slot-games-popular-slots-recommendations__how-to-play-section {
    background-color: var(--card-bg-color);
}

.page-slot-games-popular-slots-recommendations__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-slot-games-popular-slots-recommendations__steps-list li {
    background-color: var(--bg-color-dark);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-slot-games-popular-slots-recommendations__step-title {
    color: var(--gold-color);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.page-slot-games-popular-slots-recommendations__step-title::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background: var(--btn-gradient);
    color: var(--text-main-color);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-slot-games-popular-slots-recommendations__step-description {
    color: var(--text-secondary-color);
    line-height: 1.6;
    font-size: 1rem;
    margin-left: 50px; /* Align with step content */
    margin-bottom: 15px;
}

.page-slot-games-popular-slots-recommendations__btn-inline {
    background: var(--deep-green-color);
    color: var(--text-main-color);
    border: none;
    font-size: 0.9rem;
    padding: 8px 15px;
    border-radius: 6px;
    margin-left: 50px;
    margin-top: 5px;
}

.page-slot-games-popular-slots-recommendations__btn-inline:hover {
    background: var(--primary-color);
}

.page-slot-games-popular-slots-recommendations__faq-section {
    padding-bottom: 80px;
}

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

.page-slot-games-popular-slots-recommendations__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games-popular-slots-recommendations__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: var(--deep-green-color);
    transition: background-color 0.3s ease;
}

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

.page-slot-games-popular-slots-recommendations__faq-qtext {
    flex-grow: 1;
    color: var(--text-main-color);
}

.page-slot-games-popular-slots-recommendations__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    width: 30px;
    text-align: center;
    color: var(--gold-color);
}

.page-slot-games-popular-slots-recommendations__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--text-secondary-color);
    font-size: 1rem;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-slot-games-popular-slots-recommendations__faq-answer p {
    margin: 0;
    padding-top: 15px;
}

.page-slot-games-popular-slots-recommendations__faq-item[open] .page-slot-games-popular-slots-recommendations__faq-answer {
    max-height: 500px; /* Adjust as needed */
}

.page-slot-games-popular-slots-recommendations__faq-item[open] .page-slot-games-popular-slots-recommendations__faq-question {
    background-color: var(--primary-color);
}

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

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

.page-slot-games-popular-slots-recommendations__cta-bottom {
    padding: 80px 0;
    background-color: var(--bg-color-dark);
}

.page-slot-games-popular-slots-recommendations__cta-bottom .page-slot-games-popular-slots-recommendations__container {
    background-color: var(--card-bg-color);
    border-radius: 15px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--gold-color);
}

.page-slot-games-popular-slots-recommendations__cta-bottom .page-slot-games-popular-slots-recommendations__section-title {
    margin-bottom: 25px;
    font-size: clamp(1.5rem, 2.8vw, 2.5rem);
}

.page-slot-games-popular-slots-recommendations__cta-bottom .page-slot-games-popular-slots-recommendations__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: var(--text-secondary-color);
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-slot-games-popular-slots-recommendations__hero-content {
        padding: 30px 15px;
    }
    .page-slot-games-popular-slots-recommendations__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-slot-games-popular-slots-recommendations__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    }
    .page-slot-games-popular-slots-recommendations__slot-grid,
    .page-slot-games-popular-slots-recommendations__features-grid,
    .page-slot-games-popular-slots-recommendations__provider-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    .page-slot-games-popular-slots-recommendations__introduction-section,
    .page-slot-games-popular-slots-recommendations__popular-slots-section,
    .page-slot-games-popular-slots-recommendations__features-section,
    .page-slot-games-popular-slots-recommendations__providers-section,
    .page-slot-games-popular-slots-recommendations__how-to-play-section,
    .page-slot-games-popular-slots-recommendations__faq-section,
    .page-slot-games-popular-slots-recommendations__cta-bottom {
        padding: 50px 0;
    }
    .page-slot-games-popular-slots-recommendations__cta-bottom .page-slot-games-popular-slots-recommendations__container {
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    .page-slot-games-popular-slots-recommendations {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games-popular-slots-recommendations__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games-popular-slots-recommendations__hero-section {
        padding-top: 10px !important;
    }
    .page-slot-games-popular-slots-recommendations__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-slot-games-popular-slots-recommendations__hero-description {
        font-size: 1rem;
    }
    .page-slot-games-popular-slots-recommendations__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games-popular-slots-recommendations__btn-primary,
    .page-slot-games-popular-slots-recommendations__btn-secondary,
    .page-slot-games-popular-slots-recommendations__btn-play,
    .page-slot-games-popular-slots-recommendations__btn-inline {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games-popular-slots-recommendations__cta-buttons {
        flex-direction: column !important;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
        overflow: hidden !important;
    }

    .page-slot-games-popular-slots-recommendations img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games-popular-slots-recommendations__slot-image,
    .page-slot-games-popular-slots-recommendations__feature-icon,
    .page-slot-games-popular-slots-recommendations__provider-logo {
        max-width: 100% !important;
        width: auto !important; /* Allow auto width for smaller icons to not stretch */
        height: auto !important;
        object-fit: contain;
    }
    .page-slot-games-popular-slots-recommendations__slot-image {
      height: 180px;
    }
    .page-slot-games-popular-slots-recommendations__feature-icon {
      width: 80px;
      height: 80px;
    }
    .page-slot-games-popular-slots-recommendations__provider-logo {
      max-width: 120px !important;
      height: 60px !important;
    }

    .page-slot-games-popular-slots-recommendations__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-slot-games-popular-slots-recommendations__text-block {
        font-size: 0.95rem;
    }
    .page-slot-games-popular-slots-recommendations__slot-grid,
    .page-slot-games-popular-slots-recommendations__features-grid,
    .page-slot-games-popular-slots-recommendations__provider-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games-popular-slots-recommendations__how-to-play-section ol {
      counter-reset: step-counter;
    }
    .page-slot-games-popular-slots-recommendations__step-description,
    .page-slot-games-popular-slots-recommendations__btn-inline {
        margin-left: 0;
        text-align: left;
    }
    .page-slot-games-popular-slots-recommendations__step-title {
        font-size: 1.2rem;
    }
    .page-slot-games-popular-slots-recommendations__step-title::before {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    .page-slot-games-popular-slots-recommendations__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-slot-games-popular-slots-recommendations__faq-toggle {
        font-size: 1.5rem;
    }
    .page-slot-games-popular-slots-recommendations__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }
    .page-slot-games-popular-slots-recommendations__cta-bottom .page-slot-games-popular-slots-recommendations__container {
        padding: 30px 15px;
    }
    .page-slot-games-popular-slots-recommendations__cta-bottom .page-slot-games-popular-slots-recommendations__section-title {
        font-size: clamp(1.3rem, 4.5vw, 2rem);
    }

    /* Ensure all image containers are responsive */
    .page-slot-games-popular-slots-recommendations__section,
    .page-slot-games-popular-slots-recommendations__card,
    .page-slot-games-popular-slots-recommendations__container,
    .page-slot-games-popular-slots-recommendations__slot-card,
    .page-slot-games-popular-slots-recommendations__feature-item,
    .page-slot-games-popular-slots-recommendations__provider-item,
    .page-slot-games-popular-slots-recommendations__how-to-play-section li {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right handled by container */
        overflow: hidden !important;
    }

    .page-slot-games-popular-slots-recommendations__video-section,
    .page-slot-games-popular-slots-recommendations__video-container,
    .page-slot-games-popular-slots-recommendations__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-slot-games-popular-slots-recommendations__hero-content {
        padding: 20px 10px;
    }
    .page-slot-games-popular-slots-recommendations__hero-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-slot-games-popular-slots-recommendations__hero-cta {
        gap: 10px;
    }
    .page-slot-games-popular-slots-recommendations__btn-primary,
    .page-slot-games-popular-slots-recommendations__btn-secondary,
    .page-slot-games-popular-slots-recommendations__btn-play,
    .page-slot-games-popular-slots-recommendations__btn-inline {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    .page-slot-games-popular-slots-recommendations__slot-image {
        height: 150px;
    }
    .page-slot-games-popular-slots-recommendations__slot-title {
        font-size: 1.2rem;
    }
    .page-slot-games-popular-slots-recommendations__feature-title {
        font-size: 1.1rem;
    }
    .page-slot-games-popular-slots-recommendations__step-title {
        font-size: 1.1rem;
    }
    .page-slot-games-popular-slots-recommendations__faq-question {
        font-size: 0.95rem;
    }
}