/* style/slot-games.css */

/* Variables */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-login: #EA7C07;
    --background-white: #FFFFFF;
    --background-dark-section: #26A9E0;
    --border-light: #e0e0e0;
}

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--background-white); /* Default background */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small decorative top padding, body handles --header-offset */
    background: linear-gradient(135deg, var(--primary-color), #40c0f0);
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Slightly dim the image for text readability */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-slot-games__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-slot-games__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Section Styling */
.page-slot-games__section {
    padding: 60px 20px;
    text-align: center;
}

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

.page-slot-games__section-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.page-slot-games__intro-section .page-slot-games__section-title {
    color: var(--primary-color);
}

.page-slot-games__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-slot-games__inline-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

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

/* Why Choose Section */
.page-slot-games__why-choose-section {
    background-color: var(--background-dark-section);
    color: var(--text-light);
}

.page-slot-games__why-choose-section .page-slot-games__section-title {
    color: var(--text-light);
}

.page-slot-games__why-choose-section .page-slot-games__text-block {
    color: var(--text-light);
}

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

.page-slot-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: var(--text-light);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-slot-games__feature-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.page-slot-games__feature-icon {
    width: 200px; /* Minimum size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__feature-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-slot-games__feature-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-light);
}

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

.page-slot-games__game-type-card {
    background-color: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-slot-games__game-type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-slot-games__game-type-card h3,
.page-slot-games__game-type-card p {
    padding: 0 20px;
}

.page-slot-games__game-type-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-slot-games__game-type-description {
    font-size: 0.9em;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
    background-color: var(--background-white);
}

.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-slot-games__step-item {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background-color: #f9f9f9;
}

.page-slot-games__step-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-slot-games__step-item p {
    font-size: 1em;
    color: var(--text-dark);
}

.page-slot-games__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 40px auto 20px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Strategy Section */
.page-slot-games__strategy-section {
    background-color: var(--background-dark-section);
    color: var(--text-light);
}

.page-slot-games__strategy-section .page-slot-games__section-title {
    color: var(--text-light);
}

.page-slot-games__strategy-section .page-slot-games__text-block {
    color: var(--text-light);
}

.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-slot-games__tip-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 1em;
}

.page-slot-games__tip-item strong {
    color: var(--secondary-color);
}

/* Promotions Section */
.page-slot-games__promotions-section {
    background-color: var(--background-white);
}

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

.page-slot-games__promo-card {
    background-color: #f9f9f9;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-slot-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-slot-games__promo-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
    padding: 0 15px;
}

.page-slot-games__promo-description {
    font-size: 0.9em;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding: 0 15px;
}

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

/* Mobile App Section */
.page-slot-games__mobile-app-section {
    background-color: var(--background-dark-section);
    color: var(--text-light);
}

.page-slot-games__mobile-app-section .page-slot-games__section-title {
    color: var(--text-light);
}

.page-slot-games__mobile-app-section .page-slot-games__text-block {
    color: var(--text-light);
}

.page-slot-games__mobile-app-content {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.page-slot-games__mobile-app-text {
    flex: 1;
}

.page-slot-games__app-benefits-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-slot-games__app-benefits-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1em;
    color: var(--text-light);
}

.page-slot-games__app-benefits-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.page-slot-games__mobile-app-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: var(--background-white);
}

.page-slot-games__faq-list {
    margin-top: 30px;
    text-align: left;
}

.page-slot-games__faq-item {
    background-color: #f9f9f9;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f0f8ff;
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: 1px solid transparent;
}

.page-slot-games__faq-qtext {
    flex: 1;
}

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

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

.page-slot-games__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-white);
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
    background-color: var(--background-dark-section);
    color: var(--text-light);
}

.page-slot-games__conclusion-section .page-slot-games__section-title {
    color: var(--text-light);
}

.page-slot-games__conclusion-section .page-slot-games__text-block {
    color: var(--text-light);
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* Specific button colors */
.page-slot-games__cta-buttons a.page-slot-games__btn-primary {
    background-color: var(--button-login); /* Login color for primary CTA */
    border-color: var(--button-login);
}

.page-slot-games__cta-buttons a.page-slot-games__btn-primary:hover {
    background-color: darken(var(--button-login), 10%);
    border-color: darken(var(--button-login), 10%);
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-slot-games__mobile-app-content {
        flex-direction: row;
        text-align: left;
    }
    .page-slot-games__mobile-app-image-wrapper {
        order: 2; /* Image on right for desktop */
    }
    .page-slot-games__mobile-app-text {
        order: 1;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-slot-games__description {
        font-size: 1em;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-slot-games__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-slot-games__text-block,
    .page-slot-games__feature-description,
    .page-slot-games__game-type-description,
    .page-slot-games__step-item p,
    .page-slot-games__tip-item,
    .page-slot-games__promo-description,
    .page-slot-games__app-benefits-list li,
    .page-slot-games__faq-answer p {
        font-size: 0.95em;
    }

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

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

    .page-slot-games__mobile-app-image-wrapper {
        order: 1; /* Image on top for mobile */
    }
    .page-slot-games__mobile-app-text {
        order: 2;
        text-align: center;
    }

    .page-slot-games__app-benefits-list {
        text-align: left;
        padding-left: 20px;
    }

    .page-slot-games__app-benefits-list li::before {
        left: 0;
    }

    .page-slot-games__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-slot-games__faq-answer {
        padding: 10px 20px 15px 20px;
    }

    /* Image responsive rules */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Video responsive rules - N/A for this page, but included as a general rule */
    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-slot-games__video-section {
        padding-top: 10px !important;
    }
}

/* Dark background text color override */
.page-slot-games__dark-bg .page-slot-games__text-block,
.page-slot-games__dark-bg .page-slot-games__inline-link,
.page-slot-games__dark-bg .page-slot-games__app-benefits-list li {
    color: var(--text-light);
}
.page-slot-games__dark-bg .page-slot-games__inline-link {
    color: var(--secondary-color);
}
.page-slot-games__dark-bg .page-slot-games__inline-link:hover {
    text-decoration: underline;
}