/* style/slot-games.css */

/* Custom properties from color scheme */
:root {
    --page-slot-games-primary-color: #11A84E;
    --page-slot-games-secondary-color: #22C768;
    --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-color: #2E7A4E;
    --page-slot-games-glow-color: #57E38D;
    --page-slot-games-gold-color: #F2C14E;
    --page-slot-games-divider-color: #1E3A2A;
    --page-slot-games-deep-green: #0A4B2C;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-slot-games-text-main); /* Default text color for dark background */
    background-color: var(--page-slot-games-background); /* Default background */
    overflow-x: hidden; /* Prevent horizontal scroll on body */
}

/* Base styles for containers */
.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add some padding for smaller screens */
    box-sizing: border-box;
}

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

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 20px;
}

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

.page-slot-games__hero-content {
    max-width: 800px;
    margin-top: 20px;
    z-index: 1; /* Ensure content is above image if any overlap */
    color: var(--page-slot-games-text-main);
}

.page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
    font-weight: bold;
    color: var(--page-slot-games-gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-slot-games__hero-description {
    font-size: 1.1em;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 30px;
}

.page-slot-games__section-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
    font-weight: bold;
    color: var(--page-slot-games-gold-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-slot-games__text-block {
    font-size: 1em;
    color: var(--page-slot-games-text-main);
    margin-bottom: 1em;
}

.page-slot-games__highlight {
    color: var(--page-slot-games-glow-color);
    font-weight: bold;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--page-slot-games-button-gradient);
    color: #ffffff; /* White text for button */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-slot-games__cta-button--wide {
    min-width: 250px;
    margin-top: 30px;
}

.page-slot-games__cta-button--final {
    margin-top: 50px;
}

.page-slot-games__text-center {
    text-align: center;
    margin-top: 30px;
}

/* Background colors for sections */
.page-slot-games__dark-bg {
    background-color: var(--page-slot-games-background);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg {
    background-color: var(--page-slot-games-card-bg); /* Using card bg for 'light' sections */
    color: var(--page-slot-games-text-main); /* Still main text color for contrast */
}

/* Game types section */
.page-slot-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games__card-title {
    font-size: 1.5em;
    color: var(--page-slot-games-gold-color);
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-slot-games__card-description {
    font-size: 0.95em;
    color: var(--page-slot-games-text-secondary);
    padding: 0 15px 15px;
    flex-grow: 1; /* Ensures text takes available space */
}

.page-slot-games__card-button {
    display: block;
    width: calc(100% - 30px); /* Full width minus padding */
    margin: 0 15px 15px;
    padding: 12px 15px;
    background: var(--page-slot-games-button-gradient);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1em;
    transition: background 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Responsive button */
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__card-button:hover {
    opacity: 0.9;
}

/* Benefits section */
.page-slot-games__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__benefit-item {
    text-align: center;
    padding: 25px;
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

/* Guide section */
.page-slot-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__guide-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-divider-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__guide-step-title {
    font-size: 1.3em;
    color: var(--page-slot-games-gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

/* Safety section */
.page-slot-games__safety-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__feature-item {
    text-align: center;
    padding: 25px;
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__feature-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

/* FAQ section */
.page-slot-games__faq-list {
    margin-top: 40px;
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--page-slot-games-gold-color);
    cursor: pointer;
    background-color: var(--page-slot-games-deep-green);
    border-bottom: 1px solid var(--page-slot-games-divider-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}
.page-slot-games__faq-item summary {
    list-style: none; /* Hide default marker for Firefox */
}


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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--page-slot-games-glow-color);
    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: 15px 25px 20px;
    font-size: 1em;
    color: var(--page-slot-games-text-secondary);
    background-color: var(--page-slot-games-card-bg);
}

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

.page-slot-games__faq-answer a:hover {
    color: var(--page-slot-games-gold-color);
}

/* Conclusion section */
.page-slot-games__conclusion-section {
    padding-bottom: 60px;
}

/* Links within text blocks */
.page-slot-games__text-block a,
.page-slot-games li a {
    color: var(--page-slot-games-glow-color);
    text-decoration: underline;
}

.page-slot-games__text-block a:hover,
.page-slot-games li a:hover {
    color: var(--page-slot-games-gold-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 6vw, 3em);
    }
    .page-slot-games__section-title {
        font-size: clamp(1.6em, 5vw, 2.5em);
    }
    .page-slot-games__hero-content {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }
    .page-slot-games__section-title {
        margin-bottom: 30px;
        padding-top: 30px;
    }
    .page-slot-games__game-grid,
    .page-slot-games__benefits-grid,
    .page-slot-games__safety-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-slot-games__cta-button,
    .page-slot-games__card-button {
        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;
    }

    /* Ensure button containers also adapt */
    .page-slot-games__text-center {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__text-center a { /* Apply to direct child links in text-center */
        width: 100%;
    }

    .page-slot-games__game-card,
    .page-slot-games__benefit-item,
    .page-slot-games__feature-item,
    .page-slot-games__guide-item,
    .page-slot-games__faq-item {
        padding: 20px;
    }
    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }
    .page-slot-games__faq-answer {
        padding: 10px 20px 15px;
    }

    /* Image responsive rules for content area */
    .page-slot-games img {
        max-width: 100% !important;
        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;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: clamp(1.6em, 8vw, 2.5em);
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.4em, 6vw, 2em);
    }
    .page-slot-games__card-title {
        font-size: 1.3em;
    }
    .page-slot-games__benefit-title,
    .page-slot-games__feature-title,
    .page-slot-games__guide-step-title {
        font-size: 1.2em;
    }
}