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

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

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

/* Section titles */
.page-slot-games__section-title {
    font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive H1 size */
    font-weight: 700;
    color: var(--gold-color); /* Use gold for main titles for emphasis */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Hero Section */
.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 as body handles --header-offset */
    overflow: hidden; /* Ensure no overflow from images */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    filter: none !important; /* Ensure no CSS filters */
}

.page-slot-games__hero-content {
    max-width: 900px;
    z-index: 1;
    color: var(--text-main);
    padding: 20px;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive H1 size */
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.page-slot-games__intro-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* CTA Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    width: 100%;
    max-width: 600px; /* Limit button group width */
    margin: 0 auto;
}

.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;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--page-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-slot-games__about-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__final-cta-section {
    padding: 80px 0;
    background-color: var(--page-bg);
}

.page-slot-games__dark-section {
    background-color: var(--deep-green); /* A slightly different dark green for contrast */
    color: var(--text-main);
    padding: 80px 0;
}

.page-slot-games__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-slot-games__content-grid:nth-child(odd) {
    flex-direction: row;
}

.page-slot-games__content-grid:nth-child(even) {
    flex-direction: row-reverse; /* Alternate image/text layout */
}

.page-slot-games__text-block {
    flex: 1;
    color: var(--text-secondary);
}

.page-slot-games__text-block h3 {
    color: var(--text-main);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.page-slot-games__text-block p {
    margin-bottom: 15px;
}

.page-slot-games__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    filter: none !important; /* Ensure no CSS filters */
}

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

.page-slot-games__feature-card,
.page-slot-games__tip-card,
.page-slot-games__card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

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

.page-slot-games__card-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 700;
}

/* Ordered List */
.page-slot-games__ordered-list {
    list-style: none; /* Remove default list style */
    padding: 0;
    counter-reset: step-counter; /* Initialize counter */
}

.page-slot-games__ordered-list li {
    position: relative;
    padding-left: 50px; /* Space for the counter */
    margin-bottom: 25px;
    color: var(--text-secondary);
}

.page-slot-games__ordered-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: var(--button-gradient);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-slot-games__ordered-list li h3 {
    color: var(--text-main);
    font-size: 1.6rem;
    margin-bottom: 5px;
}

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

.page-slot-games__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    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.15rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green); /* Slightly different background for question */
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}
/* Hide default details marker */
.page-slot-games__faq-item summary::-webkit-details-marker,
.page-slot-games__faq-item summary::marker {
    display: none;
}

.page-slot-games__faq-question:hover {
    background-color: var(--deep-green);
    opacity: 0.9;
}

.page-slot-games__faq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X or minus */
}

.page-slot-games__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--divider-color);
}
.page-slot-games__faq-item:not([open]) .page-slot-games__faq-answer {
    border-top: none; /* No border when closed */
}

/* Links within text */
.page-slot-games a {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-slot-games__content-grid {
        flex-direction: column;
    }
    .page-slot-games__content-grid:nth-child(odd) {
        flex-direction: column;
    }
    .page-slot-games__content-grid:nth-child(even) {
        flex-direction: column; /* Keep column direction for even */
    }
}

@media (max-width: 768px) {
    .page-slot-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 30px;
    }

    .page-slot-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding for mobile */
    }

    .page-slot-games__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .page-slot-games__intro-description {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    
    .page-slot-games__image,
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers with images/videos */
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__image-block,
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        /* Add padding to content containers */
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Remove specific padding for containers that might already have it or for full-width elements */
    .page-slot-games__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-slot-games__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-slot-games__dark-section, .page-slot-games__about-section, .page-slot-games__how-to-play-section, .page-slot-games__promotions-section, .page-slot-games__final-cta-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-slot-games__feature-card,
    .page-slot-games__tip-card,
    .page-slot-games__card {
        padding: 20px;
    }

    .page-slot-games__card-title {
        font-size: 1.3rem;
    }

    .page-slot-games__ordered-list li {
        padding-left: 45px;
    }

    .page-slot-games__ordered-list li::before {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .page-slot-games__ordered-list li h3 {
        font-size: 1.4rem;
    }

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

    .page-slot-games__faq-toggle {
        font-size: 1.5rem;
    }

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

/* Ensure images don't have filters */
.page-slot-games img {
    filter: none !important;
}

/* Desktop __video-container width: 100% for Flex */
/* No video on this page, but keeping the general rule for consistency if it were present */
.page-slot-games__video-container {
    width: 100%; /* Explicitly set for desktop */
    max-width: 1200px; /* And max-width */
}

/* General responsive adjustments for video-related classes, even if not used on this specific page */
.page-slot-games__video-section,
.page-slot-games__video-container,
.page-slot-games__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
  
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}