/* style/slot-games.css */

/* --- General Styles --- */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #E5A007; /* Auxiliary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-slot-games__card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in grid have equal height */
    box-sizing: border-box;
    color: #ffffff;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__dark-section {
    background-color: #0A2463; /* Primary color for dark sections */
    color: #ffffff;
    padding: 60px 0;
}

/* --- Buttons --- */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    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;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-slot-games__btn-primary {
    background-color: #E5A007; /* Auxiliary color */
    color: #0A2463; /* Primary color for text */
    border: 2px solid #E5A007;
}

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

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #E5A007; /* Auxiliary color */
    border: 2px solid #E5A007;
}

.page-slot-games__btn-secondary:hover {
    background-color: #E5A007;
    color: #0A2463; /* Primary color for text */
}

.page-slot-games__btn-tertiary {
    background-color: #0A2463;
    color: #E5A007;
    border: 2px solid #0A2463;
    padding: 10px 20px;
    font-size: 1em;
}

.page-slot-games__btn-tertiary:hover {
    background-color: #E5A007;
    color: #0A2463;
    border-color: #E5A007;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

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

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #E5A007;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

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

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

.page-slot-games__features-section .page-slot-games__section-title {
    color: #0A2463; /* Primary color for title on light background */
}

.page-slot-games__features-section .page-slot-games__section-description {
    color: #555555; /* Darker text for description on light background */
}

.page-slot-games__features-section .page-slot-games__card {
    background: #ffffff; /* White card on light background */
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-slot-games__features-section .page-slot-games__card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__feature-icon {
    width: 100%; /* Make icon fill card width */
    height: auto;
    max-height: 250px; /* Limit height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    color: #0A2463; /* Primary color for feature titles */
    margin-bottom: 15px;
    font-weight: bold;
}

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

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

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

.page-slot-games__game-type-card {
    text-align: center;
}

.page-slot-games__game-type-title {
    font-size: 1.6em;
    color: #E5A007;
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* --- How To Play Section --- */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
    background-color: #f0f0f0; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-slot-games__how-to-play-section .page-slot-games__section-title {
    color: #0A2463;
}

.page-slot-games__how-to-play-section .page-slot-games__section-description {
    color: #555555;
}

.page-slot-games__how-to-play-section .page-slot-games__card {
    background: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.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-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0A2463; /* Primary color */
    color: #ffffff;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-slot-games__step-title {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__step-text {
    font-size: 1em;
    color: #555555;
}

/* --- 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: 50px;
}

.page-slot-games__promo-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push button to bottom */
}

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

.page-slot-games__promo-title {
    font-size: 1.6em;
    color: #E5A007;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__promo-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px; /* Space before button */
    flex-grow: 1; /* Allow text to grow */
}

/* --- Security Section --- */
.page-slot-games__security-section {
    padding: 80px 0;
    background-color: #f0f0f0; /* Light background */
    color: #333333;
}

.page-slot-games__security-section .page-slot-games__section-title {
    color: #0A2463;
}

.page-slot-games__security-section .page-slot-games__section-description {
    color: #555555;
}

.page-slot-games__security-section .page-slot-games__card {
    background: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
    text-align: center;
}

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

.page-slot-games__security-icon {
    width: 120px; /* Specific size for security icons */
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-slot-games__security-title {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__security-text {
    font-size: 1em;
    color: #555555;
}

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

.page-slot-games__mobile-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap; /* Allow content to wrap */
    justify-content: center;
}

.page-slot-games__mobile-image {
    max-width: 450px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__mobile-text-content {
    flex: 1;
    min-width: 300px;
    color: #ffffff;
}

.page-slot-games__mobile-subtitle {
    font-size: 2em;
    color: #E5A007;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-slot-games__mobile-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-slot-games__mobile-features li {
    font-size: 1.1em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.page-slot-games__mobile-features li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #E5A007;
}

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

.page-slot-games__faq-section .page-slot-games__section-title {
    color: #0A2463;
}

.page-slot-games__faq-list {
    max-width: 800px;
    margin: 50px auto 0 auto;
    border-top: 1px solid #e0e0e0;
}

.page-slot-games__faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
}

.page-slot-games__faq-question:hover .page-slot-games__faq-title {
    color: #E5A007;
}

.page-slot-games__faq-title {
    font-size: 1.2em;
    color: #0A2463;
    margin: 0;
    transition: color 0.3s ease;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    color: #0A2463;
    font-weight: bold;
    transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px; /* Initial padding 0 */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

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

.page-slot-games__faq-answer p {
    margin: 0;
    padding-top: 10px;
}

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

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 15px;
    }

    .page-slot-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile hero is below header */
    }

    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-tertiary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .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;
        flex-direction: column !important; /* Stack buttons vertically on mobile */
        gap: 15px !important;
        overflow: hidden !important;
    }

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

    .page-slot-games__feature-grid,
    .page-slot-games__game-type-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__mobile-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-slot-games__mobile-image {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    /* Ensure all images are responsive on mobile */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers that might hold images/videos/buttons should be responsive */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-content,
    .page-slot-games__mobile-text-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

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