/* style/slot-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
    --button-register-login-bg: #C30808;
    --button-register-login-text: #FFFF00;
    --body-background-color: #121212; /* From shared.css */
}

.page-slot-games {
    color: var(--text-color-dark-bg); /* Default text color for dark body background */
    background-color: var(--body-background-color);
}

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

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

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.page-slot-games__hero-section .page-slot-games__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color-dark-bg);
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    color: var(--text-color-dark-bg);
    line-height: 1.6;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

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

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

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

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

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

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

/* Sections General */
.page-slot-games__about-slots,
.page-slot-games__why-us,
.page-slot-games__popular-games,
.page-slot-games__promotions,
.page-slot-games__how-to-start,
.page-slot-games__app-download,
.page-slot-games__faq-section,
.page-slot-games__cta-final {
    padding: 60px 0;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__text-block {
    color: var(--text-color-light-bg);
}

.page-slot-games__dark-bg .page-slot-games__section-title,
.page-slot-games__dark-bg .page-slot-games__text-block {
    color: var(--text-color-dark-bg);
}

.page-slot-games__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 20px auto;
    text-align: center;
}

.page-slot-games__text-block a {
    color: var(--button-register-login-bg);
    text-decoration: underline;
}

.page-slot-games__text-block a:hover {
    color: #A30606;
}

/* Features Grid */
.page-slot-games__features-grid,
.page-slot-games__games-grid,
.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-slot-games__feature-card,
.page-slot-games__game-card,
.page-slot-games__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-color-dark-bg);
}

.page-slot-games__light-bg .page-slot-games__feature-card,
.page-slot-games__light-bg .page-slot-games__game-card,
.page-slot-games__light-bg .page-slot-games__step-card {
    background-color: var(--secondary-color);
    color: var(--text-color-light-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-slot-games__feature-card:hover,
.page-slot-games__game-card:hover,
.page-slot-games__step-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__feature-image,
.page-slot-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-slot-games__feature-title,
.page-slot-games__game-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
    color: inherit;
}

.page-slot-games__game-title a {
    color: inherit;
    text-decoration: none;
}

.page-slot-games__game-title a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.page-slot-games__feature-description,
.page-slot-games__game-description {
    font-size: 1em;
    line-height: 1.6;
    color: inherit;
}

/* Promotions */
.page-slot-games__promo-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    text-align: left;
}

.page-slot-games__promo-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
    color: var(--text-color-dark-bg);
}

.page-slot-games__promo-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--button-register-login-text);
}

/* How to Start */
.page-slot-games__step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-slot-games__light-bg .page-slot-games__step-icon {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-slot-games__step-title {
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 10px;
    color: inherit;
}

.page-slot-games__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: inherit;
    margin-bottom: 20px;
}

/* App Download */
.page-slot-games__app-download-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-slot-games__app-text {
    flex: 1;
    min-width: 300px;
    color: var(--text-color-dark-bg);
}

.page-slot-games__app-text .page-slot-games__section-title {
    text-align: left;
}

.page-slot-games__app-text .page-slot-games__text-block {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

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

.page-slot-games__app-benefit-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: var(--text-color-dark-bg);
}

.page-slot-games__app-benefit-item::before {
    content: '⭐';
    position: absolute;
    left: 0;
    color: var(--button-register-login-text);
}

.page-slot-games__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

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

.page-slot-games__faq-item {
    background-color: var(--secondary-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
    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(--text-color-light-bg);
    font-size: 1em;
    line-height: 1.6;
}

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

.page-slot-games__faq-answer p {
    margin-bottom: 10px;
    text-align: left;
}

.page-slot-games__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-slot-games__faq-answer a:hover {
    color: var(--button-register-login-bg);
}

/* Final CTA */
.page-slot-games__cta-final {
    text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 2.8em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__app-download-content {
        flex-direction: column;
        text-align: center;
    }
    .page-slot-games__app-text .page-slot-games__section-title,
    .page-slot-games__app-text .page-slot-games__text-block,
    .page-slot-games__app-benefits {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .page-slot-games__app-benefit-item {
        padding-left: 0;
        text-align: center;
    }
    .page-slot-games__app-benefit-item::before {
        position: static;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }
    .page-slot-games__hero-title {
        font-size: 2em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-link {
        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__hero-cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__text-block {
        font-size: 0.95em;
    }
    .page-slot-games__feature-card, .page-slot-games__game-card, .page-slot-games__step-card {
        padding: 20px;
    }
    .page-slot-games__feature-image, .page-slot-games__game-image {
        height: 150px;
    }

    /* Mobile image responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__container,
    .page-slot-games__app-download-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-slot-games__promo-item,
    .page-slot-games__app-benefit-item {
        padding-left: 0;
        text-align: center;
    }
    .page-slot-games__promo-item::before,
    .page-slot-games__app-benefit-item::before {
        position: static;
        margin-right: 10px;
    }
    .page-slot-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 10px 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-title {
        font-size: 1.5em;
    }
    .page-slot-games__step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }
    .page-slot-games__feature-title,
    .page-slot-games__game-title,
    .page-slot-games__step-title {
        font-size: 1.3em;
    }
}