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

/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-slot-games-popular-recommendations {
    font-family: Arial, sans-serif;
    color: var(--color-text-main); /* Default text color for dark background */
    background-color: var(--color-background); /* Inherited from body via shared.css */
    line-height: 1.6;
}

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

.page-slot-games-popular-recommendations__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 700px; /* Limit height for aesthetic */
    border-radius: 8px;
}

.page-slot-games-popular-recommendations__hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    padding: 40px 20px 0 20px;
    box-sizing: border-box;
}

.page-slot-games-popular-recommendations__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--color-gold);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-slot-games-popular-recommendations__hero-description {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    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;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-slot-games-popular-recommendations__btn-primary,
.page-slot-games-popular-recommendations__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
}

.page-slot-games-popular-recommendations__btn-primary {
    background: var(--color-button-gradient-start);
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: 2px solid var(--color-glow);
    box-shadow: 0 0 15px var(--color-glow);
}

.page-slot-games-popular-recommendations__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--color-glow);
}

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

.page-slot-games-popular-recommendations__btn-secondary:hover {
    background-color: var(--color-glow);
    color: var(--color-background);
    transform: translateY(-3px);
}

/* Content Area */
.page-slot-games-popular-recommendations__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-slot-games-popular-recommendations__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-slot-games-popular-recommendations__about-slots p,
.page-slot-games-popular-recommendations__strategies p {
    margin-bottom: 1em;
    color: var(--color-text-main);
}

.page-slot-games-popular-recommendations__image-inline {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Game Cards Grid */
.page-slot-games-popular-recommendations__game-cards-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(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--color-border);
    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.6);
}

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

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

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

.page-slot-games-popular-recommendations__btn-play {
    display: inline-block;
    background: var(--color-button-gradient-start);
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-glow);
}

.page-slot-games-popular-recommendations__btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 10px var(--color-glow);
}

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

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

.page-slot-games-popular-recommendations__feature-title {
    font-size: 1.4em;
    color: var(--color-glow);
    margin-bottom: 15px;
}

/* Steps List */
.page-slot-games-popular-recommendations__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-top: 40px;
}

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

.page-slot-games-popular-recommendations__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: var(--color-glow);
    color: var(--color-background);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1em;
}

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

.page-slot-games-popular-recommendations__step-item a {
    color: var(--color-glow);
    text-decoration: underline;
}

.page-slot-games-popular-recommendations__step-item a:hover {
    color: var(--color-gold);
}

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

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

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

.page-slot-games-popular-recommendations__strategy-title {
    font-size: 1.4em;
    color: var(--color-glow);
    margin-bottom: 15px;
}

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

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

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

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

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

.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: #ffffff;
}

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

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

.page-slot-games-popular-recommendations__faq-answer p {
    margin: 0;
}

/* Final CTA Section */
.page-slot-games-popular-recommendations__cta-final {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--color-deep-green);
    margin-top: 60px;
    border-top: 2px solid var(--color-glow);
    border-bottom: 2px solid var(--color-glow);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games-popular-recommendations__hero-content {
        padding-top: 20px;
    }
    .page-slot-games-popular-recommendations__main-title {
        font-size: 2.8em;
    }
    .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__hero-section {
        padding-bottom: 40px;
    }

    .page-slot-games-popular-recommendations__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-slot-games-popular-recommendations__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-slot-games-popular-recommendations__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to prevent buttons from touching edges */
    }

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

    .page-slot-games-popular-recommendations__content-area {
        padding: 30px 15px;
    }

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

    .page-slot-games-popular-recommendations__game-cards-grid,
    .page-slot-games-popular-recommendations__feature-list,
    .page-slot-games-popular-recommendations__strategy-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games-popular-recommendations__card-image {
        height: 180px;
    }

    .page-slot-games-popular-recommendations__image-inline {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-slot-games-popular-recommendations__feature-item,
    .page-slot-games-popular-recommendations__strategy-item,
    .page-slot-games-popular-recommendations__step-item,
    .page-slot-games-popular-recommendations__faq-item {
        padding: 20px;
        margin-left: 15px;
        margin-right: 15px;
        width: auto !important;
        max-width: calc(100% - 30px) !important; /* Account for padding */
        box-sizing: border-box !important;
    }

    .page-slot-games-popular-recommendations__step-item {
        padding-left: 50px;
    }

    .page-slot-games-popular-recommendations__step-item::before {
        left: 15px;
        top: 15px;
        width: 25px;
        height: 25px;
        font-size: 1em;
    }

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

    .page-slot-games-popular-recommendations__faq-answer {
        padding: 10px 20px 15px 20px;
    }

    .page-slot-games-popular-recommendations__cta-final {
        padding: 40px 15px;
    }

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

    /* Ensure all images are responsive */
    .page-slot-games-popular-recommendations img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure all image containers are responsive */
    .page-slot-games-popular-recommendations__hero-image,
    .page-slot-games-popular-recommendations__image-inline,
    .page-slot-games-popular-recommendations__card-image,
    .page-slot-games-popular-recommendations__game-card,
    .page-slot-games-popular-recommendations__feature-item,
    .page-slot-games-popular-recommendations__strategy-item,
    .page-slot-games-popular-recommendations__step-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-slot-games-popular-recommendations__main-title {
        font-size: 1.8em;
    }
    .page-slot-games-popular-recommendations__section-title {
        font-size: 1.5em;
    }
    .page-slot-games-popular-recommendations__btn-primary,
    .page-slot-games-popular-recommendations__btn-secondary {
        font-size: 1em;
        padding: 10px 15px;
    }
    .page-slot-games-popular-recommendations__hero-content,
    .page-slot-games-popular-recommendations__content-area,
    .page-slot-games-popular-recommendations__cta-final {
        padding-left: 10px;
        padding-right: 10px;
    }
}