/* style/slot-games.css */

/* Base styles for the page content, ensuring contrast with dark body background */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for the main content area */
    background-color: transparent; /* Main content background is transparent to show body background */
}

/* Fixed header offset */
.page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px);
}

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

/* Section styles */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    background-color: #26A9E0; /* Primary brand color for hero background */
    padding-bottom: 60px;
    overflow: hidden;
}

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

.page-slot-games__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
}

.page-slot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
    display: inline-block;
    padding: 15px 30px;
    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;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    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: #1e87b8;
    border-color: #1e87b8;
}

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

.page-slot-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87b8;
    border-color: #1e87b8;
}

.page-slot-games__btn-link {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    padding: 10px 20px;
}

.page-slot-games__btn-link:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Card styles */
.page-slot-games__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark backgrounds */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
}

/* Specific section backgrounds */
.page-slot-games__dark-bg {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
}

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

.page-slot-games__light-bg .page-slot-games__card {
    background-color: #ffffff; /* White background for cards on light sections */
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__section-description {
    color: #333333;
}

/* Intro Video Section */
.page-slot-games__intro-video-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

/* Features Section */
.page-slot-games__features-section {
    padding: 80px 0;
}

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

.page-slot-games__feature-icon {
    width: 100%; /* Ensure images fill card width */
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

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

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 80px 0;
}

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

.page-slot-games__game-type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__game-type-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-slot-games__game-type-text {
    font-size: 1em;
}

/* Guide Section */
.page-slot-games__guide-section {
    padding: 80px 0;
}

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

.page-slot-games__step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

.page-slot-games__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #26A9E0;
    color: #ffffff;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for titles on light background */
}

.page-slot-games__step-text {
    font-size: 1em;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
}

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

.page-slot-games__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__promo-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-slot-games__promo-text {
    font-size: 1em;
    margin-bottom: 20px;
}

/* Tips Section */
.page-slot-games__tips-section {
    padding: 80px 0;
}

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

.page-slot-games__tip-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #26A9E0; /* Brand color for titles on light background */
}

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

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
}

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

.page-slot-games__faq-item {
    margin-bottom: 15px;
    text-align: left;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15); /* Slightly lighter for question on dark background */
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

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

.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: #ffffff;
    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: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

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

.page-slot-games__faq-answer p {
    margin-top: 10px;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-slot-games__faq-answer .page-slot-games__btn-primary,
.page-slot-games__faq-answer .page-slot-games__btn-secondary {
    margin-top: 10px;
}

/* CTA Bottom Section */
.page-slot-games__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-slot-games__main-title {
        font-size: 2.5em;
    }

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

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

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

    .page-slot-games__section-description {
        font-size: 0.95em;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__container,
    .page-slot-games__features-grid,
    .page-slot-games__game-types-grid,
    .page-slot-games__guide-steps,
    .page-slot-games__promo-grid,
    .page-slot-games__tips-grid,
    .page-slot-games__faq-list,
    .page-slot-games__video-wrapper {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !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__feature-icon,
    .page-slot-games__game-type-image,
    .page-slot-games__promo-image {
        height: 180px;
    }

    .page-slot-games__card {
        padding: 20px;
    }

    .page-slot-games__faq-question,
    .page-slot-games__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-slot-games__main-title {
        font-size: 1.8em;
    }

    .page-slot-games__section-title {
        font-size: 1.5em;
    }
    .page-slot-games__feature-icon,
    .page-slot-games__game-type-image,
    .page-slot-games__promo-image {
        height: 150px;
    }
}