/* style/slot-games.css */

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

/* Base styles for the page content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--page-slot-games-text-main); /* Default text color for dark background */
    background-color: var(--page-slot-games-background); /* Default background color */
    line-height: 1.6;
    padding-bottom: 40px;
}

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

.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-slot-games__section--intro,
.page-slot-games__section--promotions,
.page-slot-games__section--guide,
.page-slot-games__section--faq {
    background-color: #ffffff;
    color: #333333;
}

.page-slot-games__section--dark-bg {
    background-color: var(--page-slot-games-background);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__section--light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-slot-games__section-title {
    font-size: clamp(2em, 4vw, 2.8em);
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--page-slot-games-gold);
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-slot-games__section--intro .page-slot-games__section-title,
.page-slot-games__section--promotions .page-slot-games__section-title,
.page-slot-games__section--guide .page-slot-games__section-title,
.page-slot-games__section--faq .page-slot-games__section-title {
    color: var(--page-slot-games-deep-green);
    text-shadow: none;
}

.page-slot-games__text-block {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-slot-games__text-block a {
    color: var(--page-slot-games-deep-green);
    text-decoration: underline;
}

/* Hero Section */
.page-slot-games__hero-section {
    padding: 0;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--page-slot-games-background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-slot-games__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-slot-games__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    text-align: center;
    margin-top: -80px; /* Pull content slightly over the image for visual flow */
    position: relative;
    z-index: 2;
    background: var(--page-slot-games-card-bg);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.2em);
    color: var(--page-slot-games-gold);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-slot-games__description {
    font-size: 1.2em;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn--inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
    background-color: #ffffff;
    color: var(--page-slot-games-deep-green);
    border: 2px solid var(--page-slot-games-deep-green);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--page-slot-games-deep-green);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn--inline {
    margin-top: 20px;
}

.page-slot-games__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    min-width: 150px;
}

/* Grid for game types and promotions */
.page-slot-games__grid,
.page-slot-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Cards */
.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-slot-games-border);
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card--promo {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-slot-games__card-title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--page-slot-games-gold);
    padding: 20px 20px 10px 20px;
}

.page-slot-games__card--promo .page-slot-games__card-title {
    color: var(--page-slot-games-deep-green);
}

.page-slot-games__card-text {
    font-size: 0.95em;
    color: var(--page-slot-games-text-secondary);
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-slot-games__card--promo .page-slot-games__card-text {
    color: #555555;
}

.page-slot-games__card a {
    margin: 0 20px 20px 20px;
}

/* Lists */
.page-slot-games__ordered-list,
.page-slot-games__unordered-list {
    text-align: left;
    max-width: 800px;
    margin: 30px auto;
    padding-left: 20px;
    list-style-position: inside;
}

.page-slot-games__ordered-list li,
.page-slot-games__unordered-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: inherit;
}

.page-slot-games__list-highlight {
    color: var(--page-slot-games-deep-green);
}

.page-slot-games__unordered-list--strategy {
    list-style: none;
    padding-left: 0;
}

.page-slot-games__unordered-list--strategy li {
    position: relative;
    padding-left: 30px;
}

.page-slot-games__unordered-list--strategy li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--page-slot-games-gold);
    font-weight: bold;
}

.page-slot-games__unordered-list--safety {
    list-style: none;
    padding-left: 0;
}

.page-slot-games__unordered-list--safety li {
    position: relative;
    padding-left: 30px;
}

.page-slot-games__unordered-list--safety li::before {
    content: '🔒';
    position: absolute;
    left: 0;
    color: var(--page-slot-games-gold);
    font-weight: bold;
}

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

.page-slot-games__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-slot-games__faq-item[open] {
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--page-slot-games-deep-green);
    cursor: pointer;
    list-style: none;
    position: relative;
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--page-slot-games-gold);
    transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

.page-slot-games__faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
}

.page-slot-games__faq-answer a {
    color: var(--page-slot-games-deep-green);
    text-decoration: underline;
}

/* Conclusion Section */
.page-slot-games__section--conclusion .page-slot-games__section-title {
    color: var(--page-slot-games-gold);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        margin-top: -60px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2em, 4vw, 2.8em);
    }
    .page-slot-games__description {
        font-size: 1.1em;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.8em, 3.5vw, 2.5em);
    }
    .page-slot-games__text-block {
        font-size: 1em;
    }
    .page-slot-games__card-image {
        height: 180px;
    }
    .page-slot-games__card-title {
        font-size: 1.3em;
    }
    .page-slot-games__card-text {
        font-size: 0.9em;
    }
}

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

    .page-slot-games__hero-content {
        margin-top: -40px;
        padding: 30px 15px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

    .page-slot-games__description {
        font-size: 1em;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn--inline,
    .page-slot-games a[class*="button"],
    .page-slot-games 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;
        padding-right: 15px;
    }

    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-slot-games__section {
        padding: 40px 0;
    }

    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.5em, 5vw, 2em);
    }

    .page-slot-games__text-block,
    .page-slot-games__ordered-list li,
    .page-slot-games__unordered-list li,
    .page-slot-games__faq-answer p {
        font-size: 0.95em;
    }

    .page-slot-games__grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__card-image {
        height: 160px;
    }

    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }

    /* Images responsive */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }
}