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

/* Custom Colors */
:root {
    --page-background: #08160F;
    --card-background: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --button-secondary-text: #11A84E;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-slot-games-popular-recommendations {
    background-color: var(--page-background);
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Sections */
.page-slot-games-popular-recommendations__section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--page-background);
}

.page-slot-games-popular-recommendations__content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Added for mobile padding consistency */
    box-sizing: border-box;
}

.page-slot-games-popular-recommendations__section-title {
    font-size: 2.8em;
    color: var(--gold-color);
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

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

.page-slot-games-popular-recommendations__hero-image-wrapper {
    width: 100%;
    order: 1; /* Image first */
}

.page-slot-games-popular-recommendations__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit hero image height on desktop */
}

.page-slot-games-popular-recommendations__hero-content {
    order: 2; /* Content after image */
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-slot-games-popular-recommendations__main-title {
    font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size for H1 */
    color: var(--gold-color);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.page-slot-games-popular-recommendations__intro-text {
    font-size: 1.2em;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* 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;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping on desktop */
    box-sizing: border-box;
}

.page-slot-games-popular-recommendations__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-slot-games-popular-recommendations__btn-secondary:hover {
    background: var(--deep-green);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Card Grid */
.page-slot-games-popular-recommendations__grid-container {
    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-background);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
    height: 100%; /* Ensure cards have equal height */
    box-sizing: border-box;
}

.page-slot-games-popular-recommendations__card-icon {
    width: 200px; /* Min size 200px */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-slot-games-popular-recommendations__card-title {
    font-size: 1.8em;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

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

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

.page-slot-games-popular-recommendations__game-card {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.page-slot-games-popular-recommendations__game-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Ensure images are not too small */
}

.page-slot-games-popular-recommendations__game-title {
    font-size: 1.8em;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games-popular-recommendations__game-description {
    font-size: 1em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Ordered/Unordered Lists */
.page-slot-games-popular-recommendations__ordered-list,
.page-slot-games-popular-recommendations__unordered-list {
    text-align: left;
    max-width: 900px;
    margin: 30px auto;
    padding-left: 25px;
    color: var(--text-secondary);
}

.page-slot-games-popular-recommendations__ordered-list li,
.page-slot-games-popular-recommendations__unordered-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-main);
}

.page-slot-games-popular-recommendations__ordered-list li strong,
.page-slot-games-popular-recommendations__unordered-list li strong {
    color: var(--gold-color);
}

/* Promotions Section */
.page-slot-games-popular-recommendations__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-slot-games-popular-recommendations__centered-cta {
    margin-top: 40px;
}

/* Mobile App Section */
.page-slot-games-popular-recommendations__mobile-app-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-slot-games-popular-recommendations__mobile-content {
    flex: 1;
    min-width: 300px;
}

.page-slot-games-popular-recommendations__mobile-image-wrapper {
    flex: 0 0 400px; /* Fixed width for image on desktop */
    max-width: 400px;
}

.page-slot-games-popular-recommendations__mobile-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 200px; /* Min size for images */
    min-height: 200px;
}

/* FAQ Section */
.page-slot-games-popular-recommendations__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

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

.page-slot-games-popular-recommendations__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main);
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
    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.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

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

/* Final CTA Block */
.page-slot-games-popular-recommendations__final-cta-block {
    margin-top: 60px;
    padding-bottom: 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games-popular-recommendations__section-title {
        font-size: 2.5em;
    }

    .page-slot-games-popular-recommendations__main-title {
        font-size: clamp(2.2em, 4.5vw, 3.2em);
    }

    .page-slot-games-popular-recommendations__mobile-app-flex {
        flex-direction: column;
        gap: 30px;
    }

    .page-slot-games-popular-recommendations__mobile-image-wrapper {
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    .page-slot-games-popular-recommendations__mobile-content {
      text-align: center;
    }
}

@media (max-width: 768px) {
    .page-slot-games-popular-recommendations__section {
        padding: 40px 10px;
    }

    .page-slot-games-popular-recommendations__content-container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-slot-games-popular-recommendations__main-title {
        font-size: clamp(1.8em, 7vw, 2.8em);
        margin-top: 20px;
    }

    .page-slot-games-popular-recommendations__intro-text {
        font-size: 1em;
        margin-bottom: 30px;
    }

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

    .page-slot-games-popular-recommendations__btn-primary,
    .page-slot-games-popular-recommendations__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important; /* Allow text wrap */
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-slot-games-popular-recommendations__grid-container,
    .page-slot-games-popular-recommendations__game-list,
    .page-slot-games-popular-recommendations__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-slot-games-popular-recommendations__card,
    .page-slot-games-popular-recommendations__game-card {
        padding: 20px;
    }

    .page-slot-games-popular-recommendations__card-icon,
    .page-slot-games-popular-recommendations__game-image,
    .page-slot-games-popular-recommendations__promo-image,
    .page-slot-games-popular-recommendations__mobile-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        min-width: 200px !important;
        min-height: 150px !important; /* Adjusted min-height for mobile images */
    }

    .page-slot-games-popular-recommendations__mobile-image-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }

    .page-slot-games-popular-recommendations__hero-content {
      margin-top: 20px;
    }

    .page-slot-games-popular-recommendations__ordered-list,
    .page-slot-games-popular-recommendations__unordered-list {
        margin: 20px auto;
        padding-left: 20px;
    }

    .page-slot-games-popular-recommendations__ordered-list li,
    .page-slot-games-popular-recommendations__unordered-list li {
        font-size: 0.95em;
    }

    .page-slot-games-popular-recommendations__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-slot-games-popular-recommendations__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }

    .page-slot-games-popular-recommendations__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-slot-games-popular-recommendations__mobile-content {
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games-popular-recommendations__section-title {
        font-size: 1.8em;
    }

    .page-slot-games-popular-recommendations__main-title {
        font-size: clamp(1.5em, 8vw, 2.5em);
    }

    .page-slot-games-popular-recommendations__intro-text {
        font-size: 0.9em;
    }

    .page-slot-games-popular-recommendations__faq-question {
        font-size: 1em;
    }
}