/* style/casino-game-introduction.css */

/* Base styles for the page content */
.page-casino-game-introduction {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css (#0a0a0a) */
}

.page-casino-game-introduction__section {
    padding: 60px 20px;
    margin-bottom: 0;
}

.page-casino-game-introduction__content-area {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Color contrast enforcement */
.page-casino-game-introduction__dark-bg {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
}

.page-casino-game-introduction__light-bg {
    background-color: #ffffff; /* Auxiliary color */
    color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-casino-game-introduction__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: auto; /* Allow content to dictate height */
    overflow: hidden;
    padding: 10px 20px 60px 20px; /* Small top padding, larger bottom for content */
    background-color: #0a0a0a; /* Ensure hero has a background */
}

.page-casino-game-introduction__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 30px; /* Space between image and content */
    z-index: 1;
}

.page-casino-game-introduction__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(0.8); /* Darken image for better contrast with content below */
    border-radius: 8px;
}

.page-casino-game-introduction__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text readability */
    border-radius: 8px;
}

.page-casino-game-introduction__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
}

.page-casino-game-introduction__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Titles */
.page-casino-game-introduction__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit from section for contrast */
}

.page-casino-game-introduction__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    color: inherit;
}

/* Text blocks */
.page-casino-game-introduction__text-block {
    margin-bottom: 15px;
    font-size: 1.05em;
}

/* Images */
.page-casino-game-introduction__image-container {
    text-align: center;
    margin: 30px 0;
}

.page-casino-game-introduction__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure it behaves as a block element for max-width */
    margin: 0 auto; /* Center block images */
}

/* Lists */
.page-casino-game-introduction__list,
.page-casino-game-introduction__ordered-list {
    list-style-type: disc;
    margin: 20px 0 20px 25px;
    padding: 0;
}

.page-casino-game-introduction__ordered-list {
    list-style-type: decimal;
}

.page-casino-game-introduction__list-item {
    margin-bottom: 10px;
    color: inherit;
}

/* CTA Buttons */
.page-casino-game-introduction__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-casino-game-introduction__btn-primary,
.page-casino-game-introduction__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
    max-width: 100%; /* Default for desktop, ensure it's not too wide */
}

.page-casino-game-introduction__btn-primary {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-casino-game-introduction__btn-primary:hover {
    background-color: #1e87c0; /* Slightly darker */
    border-color: #1e87c0;
}

.page-casino-game-introduction__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-casino-game-introduction__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Specific button colors */
.page-casino-game-introduction__btn-login {
    background-color: #EA7C07; /* Login specific color */
    border-color: #EA7C07;
    color: #ffffff;
}

.page-casino-game-introduction__btn-login:hover {
    background-color: #c96a06;
    border-color: #c96a06;
}

.page-casino-game-introduction__btn-register {
    background-color: #26A9E0; /* Primary brand color */
    border-color: #26A9E0;
    color: #ffffff;
}

.page-casino-game-introduction__btn-register:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

/* FAQ Section */
.page-casino-game-introduction__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-casino-game-introduction__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-casino-game-introduction__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for contrast on dark bg */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-casino-game-introduction__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly darker for summary */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details summary */
}

.page-casino-game-introduction__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-casino-game-introduction__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-casino-game-introduction__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-casino-game-introduction__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #f0f0f0; /* Slightly lighter text for answer */
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-casino-game-introduction__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-casino-game-introduction__section-title {
        font-size: 2em;
    }
    .page-casino-game-introduction__sub-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-casino-game-introduction__hero-section {
        min-height: auto;
        padding: 10px 15px 40px 15px;
    }
    .page-casino-game-introduction__hero-content {
        padding: 15px;
    }
    .page-casino-game-introduction__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-casino-game-introduction__description {
        font-size: 1em;
    }
    .page-casino-game-introduction__section {
        padding: 40px 15px;
    }
    .page-casino-game-introduction__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-casino-game-introduction__sub-title {
        font-size: 1.3em;
        margin-top: 20px;
        margin-bottom: 15px;
    }
    .page-casino-game-introduction__text-block {
        font-size: 0.95em;
    }
    .page-casino-game-introduction__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-casino-game-introduction__btn-primary,
    .page-casino-game-introduction__btn-secondary {
        width: 100% !important; /* Force full width */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Mobile image responsiveness */
    .page-casino-game-introduction img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-casino-game-introduction__image-container,
    .page-casino-game-introduction__section,
    .page-casino-game-introduction__content-area,
    .page-casino-game-introduction__hero-section,
    .page-casino-game-introduction__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    /* Specific adjustment for hero image wrapper padding */
    .page-casino-game-introduction__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    /* FAQ for mobile */
    .page-casino-game-introduction__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-casino-game-introduction__faq-answer {
        padding: 0 15px 15px 15px;
    }
}