/* style/slot-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from body or shared, ensuring text contrast */
}

/* Section general styling */
.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    z-index: 1; /* Ensure content is above any background effects */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #26A9E0; /* Brand color for titles */
    font-weight: bold;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for body text */
}

.page-slot-games__text-block--small {
    font-size: 0.9em;
    color: #cccccc;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    height: 70vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-slot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: -1;
}

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

.page-slot-games__hero-title {
    font-size: 3.5em;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-primary:hover {
    background-color: #1a7fb3;
    border-color: #1a7fb3;
    transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Specific button for "Login" or "Register" if needed */
.page-slot-games__btn-login {
    background-color: #EA7C07; /* Specific color for Login */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-slot-games__btn-login:hover {
    background-color: #c46606;
    border-color: #c46606;
}

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

.page-slot-games__cta-buttons--center {
    margin-top: 40px;
}

/* Intro Section */
.page-slot-games__intro-section {
    background-color: rgba(0, 0, 0, 0.3); /* Slightly transparent dark background */
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Game Types & Promotions Sections */
.page-slot-games__grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-slot-games__grid-layout--reverse {
    grid-template-areas: "image content"; /* Default desktop order */
}

.page-slot-games__grid-layout--reverse .page-slot-games__content-block {
    grid-area: content;
}

.page-slot-games__grid-layout--reverse .page-slot-games__image-block {
    grid-area: image;
}

.page-slot-games__content-block {
    padding: 20px;
}

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

.page-slot-games__image-block--center {
    margin-top: 40px;
}

.page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure no extra space below image */
}

/* Benefits Section */
.page-slot-games__benefits-section {
    background-color: #26A9E0; /* Brand color background */
    color: #FFFFFF; /* White text for brand color background */
}

.page-slot-games__benefits-section .page-slot-games__section-title {
    color: #FFFFFF;
}

.page-slot-games__grid-3-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card for dark section */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #FFFFFF; /* Card text is white */
}

.page-slot-games__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-slot-games__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: left;
}

.page-slot-games__numbered-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-slot-games__list-item {
    font-size: 1.1em;
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
    color: #f0f0f0;
}

.page-slot-games__list-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #26A9E0;
    color: #FFFFFF;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.9em;
}

.page-slot-games__text-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-slot-games__text-link:hover {
    text-decoration: underline;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    background-color: rgba(0, 0, 0, 0.3);
    text-align: left;
}

.page-slot-games__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-slot-games__list-item strong {
    color: #26A9E0;
}

/* Video Section */
.page-slot-games__video-section {
    background-color: rgba(0, 0, 0, 0.2);
    padding-top: 60px; /* Reset padding-top for video section, as hero takes care of header offset */
    padding-bottom: 60px;
}

.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: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-slot-games__video-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

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

/* Tips Section */
.page-slot-games__tips-section {
    background-color: rgba(0, 0, 0, 0.4);
    text-align: left;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: rgba(0, 0, 0, 0.2);
    padding-bottom: 40px;
}

.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ item */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #FFFFFF;
}

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Plus to X (minus) */
    color: #EA7C07; /* Highlight active toggle */
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #cccccc;
    font-size: 1em;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
    padding-top: 0; /* Adjust to prevent double padding if question already has bottom padding */
}

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

/* Final CTA Section */
.page-slot-games__cta-final-section {
    background-color: #26A9E0;
    padding: 80px 0;
}

.page-slot-games__cta-final-section .page-slot-games__section-title {
    color: #FFFFFF;
    margin-bottom: 20px;
}

.page-slot-games__cta-final-section .page-slot-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

    .page-slot-games__section-title {
        font-size: 2em;
    }

    .page-slot-games__grid-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-slot-games__grid-layout--reverse {
        grid-template-areas: unset; /* Reset grid area for single column */
    }

    .page-slot-games__grid-layout--reverse .page-slot-games__content-block {
        grid-area: unset;
    }

    .page-slot-games__grid-layout--reverse .page-slot-games__image-block {
        grid-area: unset;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
}