/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a1a; /* Inherited from body, explicit for clarity */
}

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

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

.page-slot-games__hero-section {
    position: relative;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, #26A9E0, #1a1a1a); /* Gradient with brand color */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
}

.page-slot-games__hero-content {
    max-width: 800px;
    z-index: 1;
}

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

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
    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;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included in width */
    max-width: 100%;
}

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

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

.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__btn-tertiary {
    background-color: #EA7C07; /* Login color for specific actions */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

.page-slot-games__hero-image-wrapper {
    margin-top: 40px;
}

.page-slot-games__hero-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__about-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__mobile-section,
.page-slot-games__jackpot-section,
.page-slot-games__cta-section {
    padding: 80px 0;
}

.page-slot-games__features-section,
.page-slot-games__tips-section,
.page-slot-games__faq-section {
    padding: 80px 0;
    background-color: #2a2a2a; /* Darker background for contrast */
}

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

.page-slot-games__dark-bg {
    background-color: #2a2a2a;
    color: #ffffff;
}

.page-slot-games__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-slot-games__content-grid .page-slot-games__text-block {
    flex: 1;
}

.page-slot-games__content-grid .page-slot-games__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.page-slot-games__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f0f0f0;
}

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

.page-slot-games__feature-card,
.page-slot-games__tip-card,
.page-slot-games__jackpot-item {
    background-color: #333333; /* Card background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
}

.page-slot-games__feature-title,
.page-slot-games__tip-title,
.page-slot-games__jackpot-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-slot-games__feature-card p,
.page-slot-games__tip-card p {
    font-size: 1em;
    color: #f0f0f0;
}

.page-slot-games__steps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    text-align: center;
}

.page-slot-games__step-card {
    background-color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    flex: 1 1 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-slot-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #26A9E0;
    margin-bottom: 15px;
    background-color: #1a1a1a;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #26A9E0;
}

.page-slot-games__step-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-slot-games__step-card p {
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-slot-games__promotions-section .page-slot-games__promotion-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-slot-games__promotions-section .page-slot-games__promotion-image {
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promotions-section .page-slot-games__text-block {
    flex: 1;
}

.page-slot-games__mobile-section .page-slot-games__mobile-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-direction: row-reverse; /* Image on right */
}

.page-slot-games__mobile-section .page-slot-games__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
}

.page-slot-games__mobile-section .page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__jackpot-item {
    padding: 20px;
}

.page-slot-games__jackpot-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games__jackpot-title {
    color: #EA7C07; /* Login color for highlight */
}

.page-slot-games__jackpot-item p {
    color: #f0f0f0;
}

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 50px;
}

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

.page-slot-games__faq-item {
    background-color: #333333;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #26A9E0; /* Question background */
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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 20px; /* Initial padding 0 for collapsed state */
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #444444; /* Answer background */
    color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px; /* Padding for expanded state */
}

.page-slot-games__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: #f0f0f0;
}

.page-slot-games__cta-box {
    background-color: #26A9E0;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__cta-box .page-slot-games__section-title {
    color: #ffffff;
    margin-bottom: 20px;
}

.page-slot-games__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-slot-games__hero-title {
        font-size: 2.8em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__content-grid,
    .page-slot-games__promotions-section .page-slot-games__promotion-content,
    .page-slot-games__mobile-section .page-slot-games__mobile-content {
        flex-direction: column;
    }
    .page-slot-games__promotions-section .page-slot-games__promotion-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-tertiary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__about-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__mobile-section,
    .page-slot-games__jackpot-section,
    .page-slot-games__cta-section,
    .page-slot-games__features-section,
    .page-slot-games__tips-section,
    .page-slot-games__faq-section {
        padding: 50px 0;
    }

    /* Images responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__image-block,
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__promotion-content,
    .page-slot-games__mobile-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }

    /* Content area images must not be smaller than 200px */
    .page-slot-games__image {
        min-width: 200px;
        min-height: 200px;
    }
    .page-slot-games__jackpot-image {
        min-width: 200px;
        min-height: 200px;
    }
    /* Specific image sizes for hero */
    .page-slot-games__hero-image {
        min-width: 200px;
        min-height: 200px;
    }

    .page-slot-games__feature-grid,
    .page-slot-games__tips-grid,
    .page-slot-games__jackpot-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__steps-grid {
        flex-direction: column;
        align-items: center;
    }
    .page-slot-games__step-card {
        max-width: 100%;
    }

    .page-slot-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-slot-games__faq-answer {
        padding: 0 15px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px;
    }

    .page-slot-games__cta-box {
        padding: 30px 20px;
    }
}

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