/* style/slot-games.css */

/* Custom Color Variables */
:root {
    --color-primary: #11A84E; /* Main Green */
    --color-secondary: #22C768; /* Lighter Green */
    --bg-card: #11271B; /* Dark Green for Cards */
    --bg-main: #08160F; /* Very Dark Green for Background */
    --text-main: #F2FFF6; /* Off-white for main text */
    --text-secondary: #A7D9B8; /* Light Green for secondary text */
    --border-color: #2E7A4E; /* Border Green */
    --glow-color: #57E38D; /* Bright Green Glow */
    --gold-color: #F2C14E; /* Gold Accent */
    --divider-color: #1E3A2A; /* Darker Divider Green */
    --deep-green-color: #0A4B2C; /* Deep Green */
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button Gradient */
}

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

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

/* Sections */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding for hero section */
    overflow: hidden;
    background-color: var(--bg-main); /* Fallback */
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--text-main);
}

.page-slot-games__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--gold-color); /* Gold for emphasis */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-cta-buttons,
.page-slot-games__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-slot-games__btn-primary {
    background: var(--btn-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-slot-games__btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--bg-main);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Section common styles */
.page-slot-games__intro-section,
.page-slot-games__why-choose-us,
.page-slot-games__types-of-slots,
.page-slot-games__how-to-play,
.page-slot-games__promotions,
.page-slot-games__mobile-experience,
.page-slot-games__faq-section,
.page-slot-games__final-cta {
    padding: 80px 0;
    text-align: center;
}

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

.page-slot-games__light-bg {
    background-color: #f0f0f0; /* Use a slightly lighter background for contrast */
    color: #333333; /* Dark text on light background */
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: var(--deep-green-color); /* Dark green for titles on light bg */
}

.page-slot-games__section-title {
    font-size: 2.5rem;
    color: var(--gold-color);
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-slot-games__light-bg .page-slot-games__section-text,
.page-slot-games__light-bg .page-slot-games__feature-description,
.page-slot-games__light-bg .page-slot-games__type-description,
.page-slot-games__light-bg .page-slot-games__instruction-description,
.page-slot-games__light-bg .page-slot-games__promo-description,
.page-slot-games__light-bg .page-slot-games__mobile-feature-description,
.page-slot-games__light-bg .page-slot-games__faq-answer p {
    color: #555555; /* Slightly lighter dark text for readability */
}

.page-slot-games__section-text {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--text-secondary);
}

/* Images */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__image-full-width {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    margin: 40px 0;
}

.page-slot-games__image-centered {
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Feature Grid */
.page-slot-games__features-grid,
.page-slot-games__slot-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-slot-games__feature-card,
.page-slot-games__type-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-slot-games__light-bg .page-slot-games__feature-card,
.page-slot-games__light-bg .page-slot-games__type-card {
    background-color: var(--text-main); /* White card on light bg */
    color: #333333;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-slot-games__feature-title,
.page-slot-games__type-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__light-bg .page-slot-games__feature-title,
.page-slot-games__light-bg .page-slot-games__type-title {
    color: var(--deep-green-color);
}

.page-slot-games__feature-description,
.page-slot-games__type-description {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Video Section */
.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    width: 100%; /* Desktop width requirement */
}

.page-slot-games__video-link {
    display: block; /* Make the whole area clickable */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ensure link is above video controls if any */
    cursor: pointer;
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* Instruction List */
.page-slot-games__instruction-list,
.page-slot-games__promo-list,
.page-slot-games__mobile-features-list {
    list-style: none;
    padding: 0;
    margin: 50px auto;
    max-width: 900px;
    text-align: left;
}

.page-slot-games__instruction-item,
.page-slot-games__promo-item,
.page-slot-games__mobile-feature-item {
    background-color: var(--bg-card);
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--color-primary);
    color: var(--text-main);
}

.page-slot-games__light-bg .page-slot-games__instruction-item,
.page-slot-games__light-bg .page-slot-games__promo-item,
.page-slot-games__light-bg .page-slot-games__mobile-feature-item {
    background-color: var(--text-main); /* White card on light bg */
    color: #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--color-primary);
}

.page-slot-games__instruction-title,
.page-slot-games__promo-title,
.page-slot-games__mobile-feature-title {
    font-size: 1.3rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__light-bg .page-slot-games__instruction-title,
.page-slot-games__light-bg .page-slot-games__promo-title,
.page-slot-games__light-bg .page-slot-games__mobile-feature-title {
    color: var(--deep-green-color);
}

.page-slot-games__instruction-description,
.page-slot-games__promo-description,
.page-slot-games__mobile-feature-description {
    font-size: 1rem;
    color: var(--text-secondary);
}

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

.page-slot-games__faq-item {
    background-color: var(--bg-card);
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-slot-games__light-bg .page-slot-games__faq-item {
    background-color: var(--text-main);
    color: #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--gold-color);
    list-style: none; /* Remove default marker */
}

.page-slot-games__light-bg .page-slot-games__faq-question {
    color: var(--deep-green-color);
}

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

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

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

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

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: left;
}

.page-slot-games__light-bg .page-slot-games__faq-answer {
    color: #555555;
}

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

/* Final CTA Section */
.page-slot-games__final-cta {
    padding: 100px 0;
    background-color: var(--deep-green-color); /* Use a distinct dark green */
    color: var(--text-main);
}

.page-slot-games__final-cta .page-slot-games__section-title {
    color: var(--gold-color);
}

.page-slot-games__final-cta .page-slot-games__section-text {
    color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-slot-games__section-title {
        font-size: 2rem;
    }
    .page-slot-games__hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-slot-games__feature-title,
    .page-slot-games__type-title,
    .page-slot-games__instruction-title,
    .page-slot-games__promo-title,
.page-slot-games__mobile-feature-title {
        font-size: 1.3rem;
    }
    .page-slot-games__faq-question {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__hero-section,
    .page-slot-games__intro-section,
    .page-slot-games__why-choose-us,
    .page-slot-games__types-of-slots,
    .page-slot-games__how-to-play,
    .page-slot-games__promotions,
    .page-slot-games__mobile-experience,
    .page-slot-games__faq-section,
    .page-slot-games__final-cta {
        padding: 50px 0;
    }

    .page-slot-games__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-slot-games__hero-description {
        font-size: 1rem;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        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__hero-cta-buttons,
    .page-slot-games__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
    }

    /* Images */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }
    
    .page-slot-games__image-full-width {
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    /* Video */
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
        border-radius: 8px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }

    .page-slot-games__video {
        border-radius: 8px !important;
    }

    .page-slot-games__video-section {
        padding-top: 10px !important;
    }

    /* Container padding for mobile to prevent overflow */
    .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__feature-card,
    .page-slot-games__type-card,
    .page-slot-games__instruction-item,
    .page-slot-games__promo-item,
    .page-slot-games__mobile-feature-item,
    .page-slot-games__faq-item {
        padding: 20px;
        border-radius: 8px;
    }

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

    .page-slot-games__faq-answer {
        padding: 0 20px 15px 20px;
    }

    .page-slot-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    .page-slot-games__section-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}