/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared, default to white */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #26A9E0; /* Brand primary color for dark background */
    color: #FFFFFF;
    text-align: center;
    overflow: hidden; /* Prevent image overflow */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

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

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

.page-slot-games__btn-primary {
    background-color: #EA7C07; /* Login button color for primary CTA */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-slot-games__btn-primary:hover {
    background-color: #d46f06;
    border-color: #d46f06;
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-slot-games__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #26A9E0;
}

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay effect */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #26A9E0; /* Brand primary color for titles on light background */
}

.page-slot-games__dark-bg .page-slot-games__section-title {
    color: #FFFFFF; /* White titles on dark background */
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #333333;
}

.page-slot-games__dark-bg .page-slot-games__text-block {
    color: #f0f0f0;
}

.page-slot-games__text-block--center {
    text-align: center;
    margin-top: 20px;
}

.page-slot-games__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-slot-games__dark-bg {
    background-color: #26A9E0; /* Primary brand color for dark sections */
    color: #FFFFFF;
}

.page-slot-games__medium-bg { /* Used for cards within dark sections */
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark background */
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games__image-content {
    text-align: center;
    margin: 40px 0;
}

.page-slot-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Video Section */
.page-slot-games__video-section {
    padding: 60px 20px;
    text-align: center;
}

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

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

/* Benefits Grid */
.page-slot-games__benefits-grid,
.page-slot-games__games-grid,
.page-slot-games__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__benefit-card,
.page-slot-games__game-card,
.page-slot-games__promo-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Default text color for cards */
}

.page-slot-games__benefit-card:hover,
.page-slot-games__game-card:hover,
.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-slot-games__dark-bg .page-slot-games__benefit-card {
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.page-slot-games__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand primary color for card titles */
}

.page-slot-games__dark-bg .page-slot-games__card-title {
    color: #FFFFFF;
}

.page-slot-games__card-description {
    font-size: 1em;
    color: #555555;
}

.page-slot-games__dark-bg .page-slot-games__card-description {
    color: #f0f0f0;
}

.page-slot-games__game-image,
.page-slot-games__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

/* Strategy List */
.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-slot-games__strategy-list li {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.8;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-slot-games__strategy-list li strong {
    color: #FFFFFF;
}

/* Register Steps */
.page-slot-games__register-steps {
    list-style: decimal;
    padding-left: 25px;
    margin-top: 30px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-slot-games__register-steps li {
    margin-bottom: 15px;
    line-height: 1.8;
}

.page-slot-games__register-steps li strong {
    color: #FFFFFF;
}

/* CTA Center */
.page-slot-games__cta-center {
    text-align: center;
    margin-top: 40px;
}

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

.page-slot-games__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: #f0f0f0;
}

.page-slot-games__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #26A9E0;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #FFFFFF;
    color: #555555;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 25px;
}

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

/* Final CTA Section */
.page-slot-games__cta-final-section {
    padding: 80px 20px;
    text-align: center;
}

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

/* Links within content */
.page-slot-games a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games a:hover {
    text-decoration: underline;
    color: #1a7bb0;
}

.page-slot-games__dark-bg a {
    color: #FFFFFF;
}

.page-slot-games__dark-bg a:hover {
    color: #f0f0f0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__hero-description {
        font-size: 1.2em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* Mobile Fixed Header Offset (already handled by var(--header-offset)) */
    .page-slot-games__hero-section,
    .page-slot-games__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
        min-height: auto;
    }

    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__text-block,
    .page-slot-games__card-description,
    .page-slot-games__strategy-list li,
    .page-slot-games__register-steps li,
    .page-slot-games__faq-answer p {
        font-size: 1em;
        text-align: left; /* Adjust text alignment for mobile readability */
    }

    .page-slot-games__benefits-grid,
    .page-slot-games__games-grid,
    .page-slot-games__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__benefit-card,
    .page-slot-games__game-card,
    .page-slot-games__promo-card {
        padding: 20px;
    }

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

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

    /* Mobile Video Responsiveness */
    .page-slot-games__video-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important; /* Allow height to adjust */
        overflow: hidden !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers with images/videos must ensure no overflow */
    .page-slot-games__container,
    .page-slot-games__hero-section,
    .page-slot-games__intro-section,
    .page-slot-games__benefits-section,
    .page-slot-games__games-section,
    .page-slot-games__strategy-section,
    .page-slot-games__promotions-section,
    .page-slot-games__register-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-final-section,
    .page-slot-games__benefit-card,
    .page-slot-games__game-card,
    .page-slot-games__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
        padding-left: 15px;
        padding-right: 15px;
    }

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

/* Ensure no filter is applied to images by default */
.page-slot-games img {
    filter: none; /* Explicitly remove any filter */
}

/* Content area images CSS dimensions lower bound */
/* This rule applies to any img within .page-slot-games */
.page-slot-games img:not(.page-slot-games__hero-image) { /* Exclude hero image as it has specific styling */
    min-width: 200px;
    min-height: 200px;
    width: auto;
    height: auto;
}

/* For video click functionality */
.page-slot-games__video-wrapper {
    cursor: pointer;
}