/* style/slot-games.css */

:root {
    --page-slot-games-primary-color: #017439;
    --page-slot-games-secondary-color: #FFFFFF;
    --page-slot-games-register-color: #C30808;
    --page-slot-games-login-color: #C30808;
    --page-slot-games-text-on-dark: #ffffff;
    --page-slot-games-text-on-light: #333333;
    --page-slot-games-register-login-font: #FFFF00;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--page-slot-games-text-on-dark); /* Default text color for dark body background */
    line-height: 1.6;
}

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

.page-slot-games__dark-bg {
    background-color: var(--page-slot-games-primary-color);
    color: var(--page-slot-games-text-on-dark);
}

.page-slot-games__light-bg {
    background-color: var(--page-slot-games-secondary-color);
    color: var(--page-slot-games-text-on-light);
}

.page-slot-games__section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    color: inherit;
}

.page-slot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: inherit;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    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-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 3;
    color: var(--page-slot-games-text-on-dark);
    max-width: 900px;
    padding: 0 20px;
}

.page-slot-games__hero-title {
    font-size: 4em;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    line-height: 1.5;
}

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

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

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

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

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

.page-slot-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2d;
}

.page-slot-games__btn-register {
    background-color: var(--page-slot-games-register-color);
    color: var(--page-slot-games-register-login-font);
    border: 2px solid var(--page-slot-games-register-color);
}

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

.page-slot-games__btn-login {
    background-color: var(--page-slot-games-login-color);
    color: var(--page-slot-games-register-login-font);
    border: 2px solid var(--page-slot-games-login-color);
}

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

.page-slot-games__btn-play {
    background-color: var(--page-slot-games-secondary-color);
    color: var(--page-slot-games-primary-color);
    border: 2px solid var(--page-slot-games-primary-color);
    padding: 10px 20px;
    font-size: 1em;
}

.page-slot-games__btn-play:hover {
    background-color: #f0f0f0;
    color: #005a2d;
}

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

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

.page-slot-games__feature-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: var(--page-slot-games-text-on-light);
}

.page-slot-games__feature-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--page-slot-games-primary-color);
}

.page-slot-games__feature-text {
    font-size: 1em;
    line-height: 1.7;
}

/* Popular Games Section */
.page-slot-games__popular-games {
    padding: 80px 0;
}

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

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

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

.page-slot-games__card-content {
    padding: 0 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--page-slot-games-text-on-dark);
}

.page-slot-games__card-title a {
    color: var(--page-slot-games-text-on-dark);
    text-decoration: none;
}

.page-slot-games__card-title a:hover {
    color: var(--page-slot-games-primary-color);
}

.page-slot-games__card-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How to Play Section */
.page-slot-games__how-to-play {
    padding: 80px 0;
}

.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 {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: var(--page-slot-games-text-on-light);
}

.page-slot-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--page-slot-games-primary-color);
    color: var(--page-slot-games-text-on-dark);
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-slot-games__step-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--page-slot-games-primary-color);
}

.page-slot-games__step-text {
    font-size: 1em;
    line-height: 1.7;
}

.page-slot-games__how-to-play-cta {
    text-align: center;
    margin-top: 50px;
}

/* Promotions Section */
.page-slot-games__promotions {
    padding: 80px 0;
}

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

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

.page-slot-games__promotion-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

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

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

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

.page-slot-games__mobile-content {
    flex: 1;
    color: var(--page-slot-games-text-on-light);
    text-align: left;
}

.page-slot-games__mobile-content .page-slot-games__section-title,
.page-slot-games__mobile-content .page-slot-games__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

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

.page-slot-games__mobile-benefits li {
    font-size: 1.1em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    color: var(--page-slot-games-text-on-light);
}

.page-slot-games__mobile-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--page-slot-games-primary-color);
    font-weight: bold;
}

.page-slot-games__mobile-image-wrapper {
    flex: 1;
    text-align: center;
}

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

/* Security Section */
.page-slot-games__security {
    padding: 80px 0;
}

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

.page-slot-games__security-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__security-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-slot-games__security-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--page-slot-games-text-on-dark);
}

.page-slot-games__security-text {
    font-size: 1em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* Testimonials Section */
.page-slot-games__testimonials {
    padding: 80px 0;
}

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

.page-slot-games__testimonial-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: var(--page-slot-games-text-on-light);
}

.page-slot-games__testimonial-text {
    font-size: 1.1em;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-slot-games__testimonial-author {
    font-weight: bold;
    color: var(--page-slot-games-primary-color);
}

/* FAQ Section */
.page-slot-games__faq {
    padding: 80px 0;
}

.page-slot-games__faq-list {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

.page-slot-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important;
    padding: 20px;
}

.page-slot-games__faq-answer p {
    margin-bottom: 1em;
}

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

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

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

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

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

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

    .page-slot-games__mobile-flex {
        flex-direction: column;
        text-align: center;
    }

    .page-slot-games__mobile-content {
        text-align: center;
    }

    .page-slot-games__mobile-content .page-slot-games__section-title,
    .page-slot-games__mobile-content .page-slot-games__section-description {
        text-align: center;
    }

    .page-slot-games__mobile-benefits {
        text-align: left;
        display: inline-block; /* To center the list itself */
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__hero-section {
        height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }

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

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

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-register,
    .page-slot-games__btn-login,
    .page-slot-games__btn-play {
        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__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-slot-games__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-slot-games__intro-section,
    .page-slot-games__popular-games,
    .page-slot-games__how-to-play,
    .page-slot-games__promotions,
    .page-slot-games__mobile-experience,
    .page-slot-games__security,
    .page-slot-games__testimonials,
    .page-slot-games__faq,
    .page-slot-games__cta-final {
        padding: 40px 0;
    }

    .page-slot-games__game-image,
    .page-slot-games__promotion-image,
    .page-slot-games__mobile-image,
    .page-slot-games__security-icon,
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__game-card,
    .page-slot-games__promotion-card,
    .page-slot-games__security-item,
    .page-slot-games__testimonial-card,
    .page-slot-games__feature-item,
    .page-slot-games__step-item,
    .page-slot-games__mobile-image-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__mobile-flex {
        gap: 30px;
    }

    .page-slot-games__mobile-benefits {
        padding-left: 0;
    }

    .page-slot-games__mobile-benefits li {
        padding-left: 25px;
        text-align: left;
    }

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

    .page-slot-games__faq-list {
        padding: 0 15px;
    }

    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px !important;
    }
}

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

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

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-register,
    .page-slot-games__btn-login,
    .page-slot-games__btn-play {
        padding: 12px 20px;
        font-size: 1em;
    }
}