/* style/slot-games.css */

/* Custom Color Variables */
:root {
    --primary-color: #11A84E; /* Main Color */
    --secondary-color: #22C768; /* Auxiliary Color */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-dark: #08160F; /* Overall page background */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
    --white: #ffffff;
    --black: #000000;
    --light-grey: #f5f5f5;
    --dark-grey-text: #333333;
}

/* Base styles for the page content, ensuring contrast with body background */
/* Assuming body background is dark based on --background-dark and color palette */
.page-slot-games {
    background-color: var(--background-dark); /* Apply dark background to main content area */
    color: var(--text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure some space before footer */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden; /* Ensure no overflow from image */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    margin-bottom: 20px; /* Space between image and content */
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for better text contrast if text were overlaid, but it's not. Still good for mood. */
}

.page-slot-games__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1; /* Ensure content is above image if any slight overlap */
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
    color: var(--gold-color); /* Use gold for main title */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Soft glow for title */
}

.page-slot-games__hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.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-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
    filter: brightness(1.1);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(17, 168, 78, 0.2);
}

.page-slot-games__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-inline {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* General Section Styles */
.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-slot-games__section-title {
    font-size: 2.5rem;
    color: var(--gold-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.page-slot-games__section-title--light {
    color: var(--text-main); /* For dark background sections */
}

.page-slot-games__sub-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.page-slot-games__paragraph--light {
    color: var(--text-main);
}

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

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

.page-slot-games__list-item::before {
    content: '★'; /* Custom bullet point */
    color: var(--gold-color);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    line-height: 1;
}

.page-slot-games__list-item strong {
    color: var(--text-main); /* Highlight strong text */
}

.page-slot-games__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-slot-games__image-right {
    width: 100%;
    max-width: 600px; /* Max width for images aligned right/left */
    height: auto;
    display: block;
    float: right;
    margin: 0 0 20px 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-slot-games__image-center {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* Clearfix for floated images */
.page-slot-games__guide::after,
.page-slot-games__introduction::after {
    content: "";
    display: table;
    clear: both;
}

/* Cards Grid */
.page-slot-games__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-secondary); /* Default text for card */
    display: flex;
    flex-direction: column;
}

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

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

.page-slot-games__card-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Dark Background Section */
.page-slot-games__dark-section {
    background: var(--deep-green); /* Use deep green for final CTA background */
    border-radius: 15px;
    padding: 50px 30px;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* FAQ Section */
.page-slot-games__faq {
    background-color: var(--background-dark); /* Ensure FAQ section has consistent dark background */
    text-align: left;
}

.page-slot-games__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.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;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    background-color: var(--deep-green); /* Slightly different dark background for question */
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}

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

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

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    color: var(--white);
}

.page-slot-games__faq-answer {
    padding: 20px 25px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    background-color: var(--card-bg);
}

/* Keyword highlighting */
.page-slot-games .keyword {
    color: var(--gold-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-slot-games__hero-description {
        font-size: 1.1rem;
    }
    .page-slot-games__section-title {
        font-size: 2rem;
    }
    .page-slot-games__sub-title {
        font-size: 1.6rem;
    }
    .page-slot-games__paragraph,
    .page-slot-games__list-item,
    .page-slot-games__card-text {
        font-size: 1rem;
    }
    .page-slot-games__image-right {
        float: none;
        margin: 30px auto;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-slot-games__hero-content {
        padding: 0 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 10px;
    }
    .page-slot-games__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .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;
    }

    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__container {
        padding: 0 15px;
        max-width: 100% !important; /* Ensure full width on mobile */
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    .page-slot-games__sub-title {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-slot-games__paragraph,
    .page-slot-games__list-item,
    .page-slot-games__card-text {
        font-size: 0.95rem;
    }

    /* Images responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset; /* Override min-width for mobile */
        min-height: unset; /* Override min-height for mobile */
    }

    .page-slot-games__image-right {
        margin: 20px auto; /* Center image on mobile */
        float: none;
    }

    /* Card grid to single column */
    .page-slot-games__cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__card {
        padding: 25px;
    }

    /* FAQ */
    .page-slot-games__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-toggle {
        font-size: 1.5rem;
    }
    .page-slot-games__faq-answer {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    /* Dark section padding */
    .page-slot-games__dark-section {
        padding: 40px 20px;
    }
}

/* Ensure no filter on images */
.page-slot-games img {
    filter: none; /* Override any potential global filters if they were to exist */
}

/* CSS for video elements if they were present */
.page-slot-games video,
.page-slot-games__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.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;
}

/* Mobile video responsiveness */
@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;
    }
}