/* style/slot-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --dark-bg-color: #0a0a0a;
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --register-login-color: #C30808;
    --register-login-font-color: #FFFF00;
}

.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--light-text-color); /* Body background is dark, so text should be light */
    background-color: var(--dark-bg-color);
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    box-sizing: border-box;
}

.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-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

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

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

.page-slot-games__hero-description {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* General Section Styling */
.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-slot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--light-text-color);
}

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

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

/* Dark Background Sections */
.page-slot-games__dark-bg {
    background-color: var(--dark-bg-color);
    color: var(--light-text-color);
}

.page-slot-games__dark-bg .page-slot-games__section-title {
    color: var(--secondary-color);
}

.page-slot-games__dark-bg .page-slot-games__section-description {
    color: var(--light-text-color);
}

/* Intro Section */
.page-slot-games__intro-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

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

.page-slot-games__intro-section .page-slot-games__text-block {
    color: var(--secondary-color);
    text-align: center;
}

.page-slot-games__video-wrapper {
    margin-top: 40px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
}

.page-slot-games__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    max-width: 100%;
    height: auto;
}

/* Benefits Section */
.page-slot-games__benefits-section {
    padding: 60px 0;
    background-color: var(--dark-bg-color);
}

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

.page-slot-games__benefit-card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background for dark body */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--light-text-color);
}

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

.page-slot-games__benefit-card .page-slot-games__card-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-slot-games__benefit-card p {
    font-size: 1em;
    color: var(--light-text-color);
}

/* Game Types Section */
.page-slot-games__game-type-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__game-type-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__game-type-list h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-slot-games__game-type-list p {
    color: var(--light-text-color);
}

/* Guide Section */
.page-slot-games__guide-section {
    padding: 60px 0;
    background-color: var(--dark-bg-color);
}

.page-slot-games__guide-section .page-slot-games__section-title {
    color: var(--secondary-color);
}

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

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

.page-slot-games__step-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--light-text-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__step-card .page-slot-games__card-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-slot-games__step-card p {
    font-size: 1em;
    color: var(--light-text-color);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-slot-games__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
}

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

.page-slot-games__tips-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__tips-list h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-slot-games__tips-list p {
    color: var(--light-text-color);
}

/* Promo Section */
.page-slot-games__promo-section {
    padding: 60px 0;
    background-color: var(--dark-bg-color);
}

.page-slot-games__promo-section .page-slot-games__section-title {
    color: var(--secondary-color);
}

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

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

.page-slot-games__promo-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--light-text-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-slot-games__promo-card .page-slot-games__card-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-slot-games__promo-card p {
    font-size: 1em;
    color: var(--light-text-color);
    flex-grow: 1;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-slot-games__faq-section .page-slot-games__section-title {
    color: var(--secondary-color);
}

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

.page-slot-games__faq-item {
    background: rgba(0, 0, 0, 0.2); /* Darker background for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--light-text-color);
    background-color: rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
    color: var(--light-text-color);
}

/* CTA Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--dark-bg-color);
}

.page-slot-games__cta-section .page-slot-games__section-title {
    color: var(--secondary-color);
}

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

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background-color: var(--register-login-color); /* Use specific color for primary action */
    color: var(--register-login-font-color); /* Specific font color for register/login */
    border: 2px solid var(--register-login-color);
}

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

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

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

/* 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 {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__hero-section {
        height: auto;
        min-height: 60vh;
        padding: calc(var(--header-offset, 120px) + 20px) 15px 40px;
    }

    .page-slot-games__hero-title {
        font-size: 2.5em;
    }

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

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-slot-games__container {
        padding: 20px 15px;
    }

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

    .page-slot-games__section-description {
        font-size: 0.95em;
    }

    .page-slot-games__benefits-grid,
    .page-slot-games__guide-steps,
    .page-slot-games__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__benefit-card,
    .page-slot-games__step-card,
    .page-slot-games__promo-card {
        padding: 20px;
    }

    .page-slot-games__benefit-card img,
    .page-slot-games__promo-card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-slot-games__video-wrapper {
        padding-bottom: 56.25% !important; /* Ensure aspect ratio */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

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

    .page-slot-games__game-type-list li,
    .page-slot-games__tips-list li {
        padding: 20px;
    }

    .page-slot-games__game-type-list h3,
    .page-slot-games__tips-list h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 2em;
    }

    .page-slot-games__section-title {
        font-size: 1.5em;
    }
}