/* style/slot-games.css */

/* Custom Properties for colors */
:root {
    --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;
    --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page content, ensuring contrast with shared body background */
.page-content.page-slot-games {
    background-color: var(--page-slot-games-background); /* Dark background */
    color: var(--page-slot-games-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--page-slot-games-gold); /* Gold for titles */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    color: var(--page-slot-games-text-main);
    margin-bottom: 20px;
    text-align: center;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    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-width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
    box-sizing: border-box;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-content {
    text-align: center;
    max-width: 800px;
    margin-top: 20px;
}

.page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 900;
    color: var(--page-slot-games-gold); /* Gold for H1 */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

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

.page-slot-games__cta-button {
    display: inline-block;
    background: var(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-main); /* Light text on dark button */
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__cta-button--centered {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Section backgrounds for contrast */
.page-slot-games__dark-bg {
    background-color: var(--page-slot-games-background);
    color: var(--page-slot-games-text-main);
    padding: 60px 20px;
}

.page-slot-games__light-bg {
    background-color: #f8f8f8; /* A very light background for contrast */
    color: #333333; /* Dark text on light background */
    padding: 60px 20px;
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: var(--page-slot-games-deep-green);
}

.page-slot-games__light-bg .page-slot-games__text-block,
.page-slot-games__light-bg .page-slot-games__list-item,
.page-slot-games__light-bg .page-slot-games__card-description {
    color: #333333;
}

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

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

.page-slot-games__game-card,
.page-slot-games__tip-card {
    background-color: var(--page-slot-games-card-bg); /* Dark card background */
    color: var(--page-slot-games-text-main); /* Light text */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-slot-games-border);
}

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

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

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

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

/* Lists */
.page-slot-games__steps-list,
.page-slot-games__promo-list,
.page-slot-games__safety-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-slot-games__list-item {
    background-color: var(--page-slot-games-card-bg);
    color: var(--page-slot-games-text-main);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--page-slot-games-glow);
    font-size: 1.1em;
}

.page-slot-games__light-bg .page-slot-games__list-item {
    background-color: #ffffff;
    color: #333333;
    border-left-color: var(--page-slot-games-deep-green);
}

/* Secondary Button */
.page-slot-games__btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--page-slot-games-glow);
    border: 2px solid var(--page-slot-games-glow);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-slot-games__btn-secondary:hover {
    background: var(--page-slot-games-glow);
    color: var(--page-slot-games-background);
}

.page-slot-games__btn-secondary--centered {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__faq-item {
    background-color: #ffffff; /* Light background for FAQ items */
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-slot-games-deep-green); /* Dark text on light background */
    cursor: pointer;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    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: 20px 25px;
    font-size: 1.1em;
    color: #555555; /* Slightly darker text for answer */
    line-height: 1.5;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
        min-height: auto;
    }

    .page-slot-games__hero-content {
        margin-top: 0;
    }

    .page-slot-games__main-title {
        font-size: 2em; /* Adjust H1 for mobile */
    }

    .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: 1.8em;
        margin-bottom: 30px;
    }

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

    /* Mobile image responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__hero-image-wrapper,
    .page-slot-games__game-grid,
    .page-slot-games__tips-grid,
    .page-slot-games__container,
    .page-slot-games__game-card,
    .page-slot-games__tip-card,
    .page-slot-games__faq-item,
    .page-slot-games__cta-bottom-section,
    .page-slot-games__intro-section,
    .page-slot-games__game-types-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__tips-section,
    .page-slot-games__safety-section,
    .page-slot-games__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-slot-games__card-image {
        height: 180px; /* Adjust card image height for mobile */
    }

    .page-slot-games__list-item {
        font-size: 1em;
        padding: 15px 20px;
    }

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

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

    /* Button responsiveness */
    .page-slot-games__cta-button,
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .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;
        text-align: center;
    }

    .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;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }
}