/* style/slot-games.css */

/* --- Base Styles --- */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background */
}

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

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

.page-slot-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-slot-games__paragraph--centered {
    text-align: center;
}

/* --- Buttons --- */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow word breaking */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

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

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

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

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

.page-slot-games__btn-tertiary {
    background-color: #EA7C07; /* Login color for specific actions */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-slot-games__btn-tertiary:hover {
    background-color: #c96806;
    border-color: #c96806;
}

.page-slot-games__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* --- Hero Section --- */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #26A9E0; /* Dark background for hero */
    color: #FFFFFF;
    overflow: hidden;
}

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

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

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

.page-slot-games__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* --- Intro Section --- */
.page-slot-games__intro-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    color: #333333;
}

/* --- Features Section --- */
.page-slot-games__features-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
}

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

.page-slot-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__feature-image {
    width: 100%;
    max-width: 400px; /* Max width for feature images */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

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

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

/* --- Strategy Section --- */
.page-slot-games__strategy-section {
    padding: 80px 0;
    background-color: #F8F8F8;
    color: #333333;
}

.page-slot-games__strategy-list {
    list-style: disc;
    margin-left: 25px;
    font-size: 1.1em;
    color: #333333;
}

.page-slot-games__list-item {
    margin-bottom: 10px;
}

/* --- Promotions Section --- */
.page-slot-games__promotions-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
}

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

.page-slot-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__promo-image {
    width: 100%;
    max-width: 600px; /* Max width for promo images */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* --- Guide Section --- */
.page-slot-games__guide-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-slot-games__step-card {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__step-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #26A9E0;
}

.page-slot-games__step-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1; /* Ensures cards are same height */
}

/* --- FAQ Section --- */
.page-slot-games__faq-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-slot-games__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #e0e0e0;
    text-align: justify;
}

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

/* --- CTA Section --- */
.page-slot-games__cta-section {
    padding: 80px 0;
    background-color: #F8F8F8;
    color: #333333;
    text-align: center;
}

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

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

/* --- Media Queries for Responsiveness --- */
@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) {
    .page-slot-games__hero-section {
        min-height: 500px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-slot-games__hero-title {
        font-size: 2.2em;
    }

    .page-slot-games__hero-description {
        font-size: 1em;
    }

    .page-slot-games__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-tertiary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

    .page-slot-games__intro-section,
    .page-slot-games__features-section,
    .page-slot-games__strategy-section,
    .page-slot-games__promotions-section,
    .page-slot-games__guide-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section {
        padding: 40px 0;
    }

    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-slot-games__paragraph {
        font-size: 1em;
    }

    .page-slot-games__features-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__guide-steps {
        grid-template-columns: 1fr;
    }

    .page-slot-games__feature-card,
    .page-slot-games__promo-card,
    .page-slot-games__step-card {
        padding: 20px;
    }

    .page-slot-games__feature-image,
    .page-slot-games__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px;
        min-height: 200px;
    }
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 1.8em;
    }
    .page-slot-games__hero-description {
        font-size: 0.9em;
    }
    .page-slot-games__section-title {
        font-size: 1.5em;
    }
}

/* Color contrast enforcement (as per instructions) */
.page-slot-games__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
}
.page-slot-games__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}
.page-slot-games__medium-bg {
    background-color: #F8F8F8; /* Using a light gray as a "medium" option */
    color: #333333;
}

/* Ensure link colors have good contrast */
.page-slot-games a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: underline;
}
.page-slot-games a:hover {
    color: #1a7fb0;
}
/* Links within dark sections */
.page-slot-games__dark-bg a {
    color: #FFFFFF;
    text-decoration: underline;
}
.page-slot-games__dark-bg a:hover {
    color: #e0e0e0;
}