/* style/slot-games.css */

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

.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-slot-games-dark-bg-text); /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure body background is respected */
}

.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-dark-bg-text);
}

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

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

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

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

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

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--page-slot-games-secondary-color);
}

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

/* General Section Styling */
.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: inherit;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-slot-games__text-link {
    color: var(--page-slot-games-secondary-color);
    text-decoration: underline;
}

.page-slot-games__light-bg .page-slot-games__text-link {
    color: var(--page-slot-games-primary-color);
}

.page-slot-games__highlight {
    color: var(--page-slot-games-register-login-font);
    font-weight: bold;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    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;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

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

.page-slot-games__light-bg .page-slot-games__btn-secondary {
    color: var(--page-slot-games-primary-color);
    border-color: var(--page-slot-games-primary-color);
}

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

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

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

.page-slot-games__card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--page-slot-games-dark-bg-text);
}

.page-slot-games__light-bg .page-slot-games__card {
    background-color: var(--page-slot-games-secondary-color);
    color: var(--page-slot-games-light-bg-text);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: bold;
    color: inherit;
}

.page-slot-games__card-text {
    font-size: 1em;
    color: inherit;
}

/* Feature List */
.page-slot-games__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__feature-item {
    text-align: center;
    padding: 25px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--page-slot-games-dark-bg-text);
}

.page-slot-games__light-bg .page-slot-games__feature-item {
    background-color: #f9f9f9;
    color: var(--page-slot-games-light-bg-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.page-slot-games__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    min-width: 80px;
    min-height: 80px;
}

.page-slot-games__feature-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: inherit;
}

.page-slot-games__feature-description {
    font-size: 1em;
    color: inherit;
}

/* Step List */
.page-slot-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--page-slot-games-dark-bg-text);
}

.page-slot-games__light-bg .page-slot-games__step-item {
    background-color: #f9f9f9;
    color: var(--page-slot-games-light-bg-text);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.page-slot-games__step-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--page-slot-games-register-login-font);
}

.page-slot-games__light-bg .page-slot-games__step-title {
    color: var(--page-slot-games-primary-color);
}

.page-slot-games__step-description {
    font-size: 1em;
    color: inherit;
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
}

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-slot-games-dark-bg-text);
}

.page-slot-games__light-bg .page-slot-games__faq-item {
    background-color: #f9f9f9;
    color: var(--page-slot-games-light-bg-text);
    border: 1px solid #f0f0f0;
}

.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;
    transition: background-color 0.3s ease;
}

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

.page-slot-games__light-bg .page-slot-games__faq-question:hover {
    background-color: #e6e6e6;
}

.page-slot-games__faq-title {
    margin: 0;
    color: inherit;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--page-slot-games-register-login-font);
}

.page-slot-games__light-bg .page-slot-games__faq-toggle {
    color: var(--page-slot-games-primary-color);
}

.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;
    font-size: 1em;
}

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

.page-slot-games__faq-answer p {
    margin-bottom: 10px;
    color: inherit;
}

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

/* 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 {
        min-height: 450px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

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

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

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

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

    .page-slot-games__grid,
    .page-slot-games__feature-list,
    .page-slot-games__step-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__card,
    .page-slot-games__feature-item,
    .page-slot-games__step-item {
        padding: 20px;
    }

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

    /* Mobile image and container responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    .page-slot-games__section,
    .page-slot-games__container,
    .page-slot-games__card,
    .page-slot-games__hero-section,
    .page-slot-games__intro-section,
    .page-slot-games__types-section,
    .page-slot-games__why-choose-us,
    .page-slot-games__how-to-play,
    .page-slot-games__promotions,
    .page-slot-games__tips-strategies,
    .page-slot-games__faq-section,
    .page-slot-games__cta-final {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    /* Ensure content images are not too small */
    .page-slot-games__card-image,
    .page-slot-games__feature-icon {
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
}

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