/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default dark text for light background */
    line-height: 1.6;
    background-color: var(--secondary-color); /* White background from shared */
}

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

.page-slot-games__section {
    padding: 60px 0;
}

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

.page-slot-games__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-slot-games__text-white {
    color: #ffffff !important; /* Force white text on dark backgrounds */
}

.page-slot-games__text-center {
    text-align: center;
}

/* Color schemes */
.page-slot-games__light-bg {
    background-color: #ffffff; /* Explicitly white for clarity */
    color: #333333;
}

.page-slot-games__dark-section {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
}

/* Links within content */
.page-slot-games__text-block a,
.page-slot-games__promo-list a,
.page-slot-games__faq-answer a {
    color: #EA7C07; /* Login orange for internal links, stands out */
    text-decoration: underline;
    font-weight: bold;
}

.page-slot-games__text-block a:hover,
.page-slot-games__promo-list a:hover,
.page-slot-games__faq-answer a:hover {
    color: #cc6a00;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
}

.page-slot-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure content is above potential background effects */
}

.page-slot-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-slot-games__main-title {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-slot-games__intro-description {
    font-size: 20px;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #EA7C07; /* Login orange for CTA */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__cta-button:hover {
    background: #cc6a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General button styles */
.page-slot-games__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: #26A9E0;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary:hover {
    background: #1e87b7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background: #ffffff;
    color: #26A9E0;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #26A9E0;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-secondary:hover {
    background: #f0f0f0;
    color: #1e87b7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* Image styling */
.page-slot-games__image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.page-slot-games__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Benefits Section */
.page-slot-games__benefits-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__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: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Ensure dark text on white card */
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

/* Registration Guide Section */
.page-slot-games__registration-guide .page-slot-games__section-title {
    color: #26A9E0;
}

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

.page-slot-games__step-item {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #26A9E0;
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
}

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

/* Popular Games Section */
.page-slot-games__popular-games .page-slot-games__section-title {
    color: #ffffff;
}

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

.page-slot-games__game-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Ensure dark text on white card */
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-slot-games__game-card-title {
    font-size: 20px;
    font-weight: bold;
    color: #26A9E0;
    margin: 15px 0 10px;
    padding: 0 15px;
}

.page-slot-games__game-card p {
    font-size: 15px;
    padding: 0 15px 20px;
}

/* Promotions Section */
.page-slot-games__promotions-section .page-slot-games__section-title {
    color: #26A9E0;
}

.page-slot-games__promo-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    font-size: 17px;
}

.page-slot-games__promo-list li {
    background: #f0f8ff; /* Light blue background for list items */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    color: #333333;
}

.page-slot-games__promo-list li strong {
    color: #26A9E0;
}

/* Tips Section */
.page-slot-games__tips-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    font-size: 17px;
}

.page-slot-games__tips-list li {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #ffffff;
    border-radius: 5px;
    color: #ffffff;
}

.page-slot-games__tips-list li strong {
    color: #ffffff;
}

/* FAQ Section */
.page-slot-games__faq-section .page-slot-games__section-title {
    color: #26A9E0;
}

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

.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    color: #333333;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 2000px !important; /* Ensure enough height for content */
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-slot-games__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-slot-games__faq-question:active {
    background: #eeeeee;
}

.page-slot-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
    color: #333333; /* Ensure dark text on light background */
}

.page-slot-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    color: #26A9E0; /* Brand color when active */
    transform: rotate(45deg); /* Change to X or similar */
}


/* Final CTA Section */
.page-slot-games__cta-final {
    padding: 80px 0;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 40px;
    }
    .page-slot-games__intro-description {
        font-size: 18px;
    }
    .page-slot-games__section-title {
        font-size: 32px;
    }
    .page-slot-games__text-block {
        font-size: 16px;
    }
    .page-slot-games__card-title,
    .page-slot-games__step-title {
        font-size: 20px;
    }
    .page-slot-games__game-card-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    /* General mobile padding */
    .page-slot-games__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-slot-games__intro-description {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-slot-games__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100% !important; /* Full width button */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General sections */
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 15px;
    }

    /* Grid layouts for cards, steps, games */
    .page-slot-games__grid,
    .page-slot-games__steps-grid,
    .page-slot-games__game-cards-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    /* Image responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        display: block;
    }
    .page-slot-games__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }
    
    /* Button responsiveness */
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 16px;
    }
    .page-slot-games__cta-container {
        display: flex;
        flex-direction: column;
        gap: 15px; /* Space between buttons if multiple */
    }

    /* FAQ styles for mobile */
    .page-slot-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-slot-games__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-slot-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 15px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 28px;
    }
    .page-slot-games__section-title {
        font-size: 24px;
    }
    .page-slot-games__cta-button {
        font-size: 15px;
    }
}