/* style/slot-games.css */

/* --- General Styles for .page-slot-games --- */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: var(--secondary-color); /* Matches body background: #FFFFFF */
}

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

.page-slot-games__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #26A9E0; /* Primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-slot-games__section-title--light {
    color: #FFFFFF;
}

.page-slot-games__section-title--light::after {
    background-color: #FFFFFF;
}

/* --- CTA Button Styles --- */
.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #26A9E0; /* Primary color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: 2px solid #26A9E0;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__cta-button:hover {
    background: #1e87c0; /* Slightly darker primary on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-button--inverted {
    background: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-slot-games__cta-button--inverted:hover {
    background: #f0f0f0;
    color: #1e87c0;
    border-color: #1e87c0;
}

.page-slot-games__cta-button--secondary {
    background: #EA7C07; /* Login color */
    border-color: #EA7C07;
}

.page-slot-games__cta-button--secondary:hover {
    background: #c06000;
    border-color: #c06000;
}

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

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

/* --- Hero Section --- */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    background: linear-gradient(135deg, #26A9E0, #a0d8f2); /* Light blue gradient */
    color: #FFFFFF;
    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 any background effects if added */
}

.page-slot-games__hero-image {
    width: 100%;
    max-width: 800px; /* Adjust max-width for image */
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__hero-content {
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-slot-games__main-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f0f8ff; /* Slightly off-white for description */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Features Section --- */
.page-slot-games__features-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background for contrast */
}

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

.page-slot-games__feature-item {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__feature-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Min size */
    min-height: 200px; /* Min size */
}

.page-slot-games__feature-heading {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-slot-games__feature-item p {
    font-size: 16px;
    color: #555555;
    line-height: 1.7;
}

/* --- How to Play Section --- */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Primary color background */
    color: #FFFFFF;
}

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

.page-slot-games__step-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

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

.page-slot-games__step-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #FFFFFF;
    color: #26A9E0;
    font-size: 30px;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__step-item p {
    font-size: 16px;
    color: #f0f8ff;
}

.page-slot-games__step-item a {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: bold;
}

.page-slot-games__step-item a:hover {
    color: #f0f8ff;
}

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

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

.page-slot-games__tip-item {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-slot-games__tip-title {
    font-size: 20px;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-slot-games__tip-item p {
    font-size: 15px;
    color: #555555;
}

/* --- Call to Action Section (Bottom) --- */
.page-slot-games__cta-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
    text-align: center;
}

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

.page-slot-games__cta-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: #f0f8ff;
}

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

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    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: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #333333;
}

.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;
    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; /* Primary color for active toggle */
    transform: rotate(45deg); /* Rotate for minus sign effect */
}

.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;
    background: #f9f9f9;
    color: #555555;
}

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

/* --- Responsive Design (Mobile) --- */
@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 0 15px;
    }

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

    /* Hero Section */
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }

    .page-slot-games__main-title {
        font-size: 32px;
    }

    .page-slot-games__hero-description {
        font-size: 16px;
    }

    .page-slot-games__hero-image {
        margin-bottom: 20px;
    }

    /* Images in general */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-slot-games__features-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__tips-section,
    .page-slot-games__cta-section,
    .page-slot-games__faq-section {
        padding: 40px 0;
    }

    /* Feature Grid */
    .page-slot-games__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-slot-games__feature-heading {
        font-size: 20px;
    }

    /* Steps Grid */
    .page-slot-games__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-slot-games__step-title {
        font-size: 20px;
    }

    /* Tips Grid */
    .page-slot-games__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-slot-games__tip-title {
        font-size: 18px;
    }

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

    .page-slot-games__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* FAQ */
    .page-slot-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-slot-games__faq-question h3 {
        font-size: 15px;
        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;
    }
}