/* style/slot-games.css */

/* Custom colors from requirements */
: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: #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; /* Placeholder, actual font might come from shared.css */
    color: var(--page-slot-games-text-main); /* Default text color for dark background */
    background-color: var(--page-slot-games-background); /* Overall page background */
    line-height: 1.6;
}

/* Section styling */
.page-slot-games__section {
    padding: 60px 20px;
    text-align: center;
}

.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: #f8f8f8; /* Using a light background for contrast sections */
    color: #333333; /* Dark text for light background */
}

/* Specific text color overrides for light background sections */
.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__paragraph,
.page-slot-games__light-bg .page-slot-games__list-item,
.page-slot-games__light-bg .page-slot-games__faq-qtext {
    color: #333333;
}
.page-slot-games__light-bg .page-slot-games__text-secondary {
    color: #555555; /* Slightly lighter dark for secondary text on light bg */
}


.page-slot-games__container {
    width: 100%; /* Ensure width is set for desktop as well */
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1; /* Ensure image is behind text, if text were positioned */
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 40px; /* Space below image */
    padding: 0 20px;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-slot-games-text-main);
    letter-spacing: 1px;
}

.page-slot-games__intro-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__paragraph {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--page-slot-games-text-secondary);
    text-align: left;
}

.page-slot-games__list,
.page-slot-games__ordered-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
}

.page-slot-games__list-item {
    font-size: 1rem;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__list-item::before {
    content: '•'; /* Custom bullet point */
    color: var(--page-slot-games-primary-color);
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
}

.page-slot-games__ordered-list .page-slot-games__list-item::before {
    content: counter(list-item) '.';
    counter-increment: list-item;
    color: var(--page-slot-games-primary-color);
    font-weight: bold;
    font-size: 1.1em;
    position: absolute;
    left: 0;
    top: 0;
}


.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Ensure long words break */
    text-align: center;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-main); /* White text on dark button */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--page-slot-games-primary-color);
    border: 2px solid var(--page-slot-games-primary-color);
    box-shadow: none;
}

.page-slot-games__btn-secondary:hover {
    background-color: rgba(var(--page-slot-games-primary-color), 0.1);
    color: var(--page-slot-games-text-main);
    border-color: var(--page-slot-games-primary-color);
}

/* Image styling */
.page-slot-games__image-block {
    margin: 30px auto;
    text-align: center;
    max-width: 100%; /* Ensure container doesn't overflow */
    overflow: hidden;
}

.page-slot-games__content-image {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below image */
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin: 0 auto; /* Center the image */
}

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

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg); /* Dark background for FAQ item */
    border: 1px solid var(--page-slot-games-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--page-slot-games-text-main);
    background-color: var(--page-slot-games-deep-green); /* Slightly different background for summary */
}

.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-slot-games-glow);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    content: '−';
}

.page-slot-games__faq-answer {
    padding: 0 20px 20px;
    font-size: 0.95rem;
    color: var(--page-slot-games-text-secondary);
}

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

/* CTA Section at the bottom */
.page-slot-games__cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--page-slot-games-deep-green); /* Use deep green for final CTA */
    text-align: center;
}

.page-slot-games__cta-content {
    max-width: 900px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        margin-top: 20px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-slot-games__intro-text {
        font-size: 1.1rem;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-slot-games__section {
        padding: 40px 15px;
    }
    .page-slot-games__hero-content {
        margin-top: 15px;
        padding: 0 15px;
    }
    .page-slot-games__main-title {
        font-size: 2.2rem !important; /* Fixed size for mobile H1 */
        margin-bottom: 15px;
    }
    .page-slot-games__intro-text {
        font-size: 1rem !important;
        margin-bottom: 20px;
    }
    .page-slot-games__section-title {
        font-size: 1.8rem !important;
        margin-bottom: 20px;
    }
    .page-slot-games__paragraph,
    .page-slot-games__list-item,
    .page-slot-games__faq-answer p {
        font-size: 0.95rem !important;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
    }

    /* Mobile image responsiveness */
    .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,
    .page-slot-games__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure content doesn't overflow */
    }
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-slot-games__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-slot-games__faq-item summary {
        font-size: 1rem !important;
        padding: 15px;
    }
    .page-slot-games__faq-answer {
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 1.8rem !important;
    }
    .page-slot-games__section-title {
        font-size: 1.5rem !important;
    }
    .page-slot-games__intro-text,
    .page-slot-games__paragraph,
    .page-slot-games__list-item,
    .page-slot-games__faq-answer p {
        font-size: 0.9rem !important;
    }
}

/* Ensure no filter on images */
.page-slot-games img {
    filter: none !important;
}

/* Specific styles for light background text on dark background */
.page-slot-games__text-main {
    color: var(--page-slot-games-text-main); /* #F2FFF6 */
}
.page-slot-games__text-secondary {
    color: var(--page-slot-games-text-secondary); /* #A7D9B8 */
}