/* style/slot-games.css */

/* Base styles for the page */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

.page-slot-games__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

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

.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;
    color: inherit;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
}

.page-slot-games__link {
    color: #EA7C07; /* Login color for links */
    text-decoration: none;
    font-weight: bold;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__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;
    cursor: pointer;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
    background-color: #d16b06;
}

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

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

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

.page-slot-games__cta-buttons--center {
    justify-content: center;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px); /* Desktop fixed header offset */
    min-height: 600px;
    overflow: hidden;
    text-align: center;
}

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    color: #ffffff;
}

.page-slot-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

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

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

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

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

.page-slot-games__card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

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

.page-slot-games__card-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-slot-games__card-description {
    font-size: 1em;
    color: #555555;
}

/* Why Choose Us Section */
.page-slot-games__why-choose-us-section {
    padding: 80px 0;
}

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

.page-slot-games__list-item {
    background: #f9f9f9;
    border-left: 5px solid #26A9E0;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-slot-games__list-item p {
    font-size: 1em;
    color: #555555;
    text-align: left;
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
}

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

.page-slot-games__step-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

.page-slot-games__step-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.page-slot-games__step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.page-slot-games__step-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    text-align: center;
}

.page-slot-games__step-button {
    background-color: #EA7C07;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.page-slot-games__step-button:hover {
    background-color: #d16b06;
}

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

.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: #26A9E0;
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

.page-slot-games__promo-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

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

.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__tips-list .page-slot-games__list-item {
    background: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #EA7C07; /* Use login color for accent */
    margin-bottom: 20px;
}

.page-slot-games__tips-list .page-slot-games__list-title {
    color: #ffffff;
}

.page-slot-games__tips-list .page-slot-games__list-item p {
    color: #f0f0f0;
}

/* App Download Section */
.page-slot-games__app-download-section {
    padding: 80px 0;
}

.page-slot-games__app-download-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-slot-games__app-text {
    flex: 1;
    text-align: left;
}

.page-slot-games__app-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-slot-games__app-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.page-slot-games__faq-list {
    margin-top: 40px;
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-question h3 {
    margin: 0;
    color: inherit;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer p {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: left;
}

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 3em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__app-download-content {
        flex-direction: column;
        text-align: center;
    }
    .page-slot-games__app-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
        min-height: 500px;
    }
    .page-slot-games__hero-content {
        padding: 15px;
    }
    .page-slot-games__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 0.95em;
    }
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__game-cards-grid,
    .page-slot-games__features-list,
    .page-slot-games__steps-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Mobile image and video responsiveness */
    .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__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper,
    .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;
        overflow-x: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-slot-games__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-slot-games__app-download-content {
        gap: 20px;
    }
    .page-slot-games__faq-question,
    .page-slot-games__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px 15px 25px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-title {
        font-size: 1.6em;
    }
    .page-slot-games__list-title,
    .page-slot-games__card-title,
    .page-slot-games__step-title,
    .page-slot-games__promo-title {
        font-size: 1.3em;
    }
    .page-slot-games__faq-question {
        font-size: 1.1em;
    }
}