/* style/slot-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-button-color: #C30808;
    --login-button-color: #C30808;
    --register-login-font-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #FFFFFF;
    --background-dark: #017439;
    --border-light: #e0e0e0;
}

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

.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: var(--header-offset, 120px) 20px 60px; /* Ensure space for fixed header */
    background-color: var(--background-dark);
    color: var(--text-light);
    overflow: hidden;
}

.page-slot-games__hero-content {
    max-width: 600px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.page-slot-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

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

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

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim the background image */
}

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

.page-slot-games__introduction {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-slot-games__why-choose {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-slot-games__game-types {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-slot-games__how-to-play {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-slot-games__promotions {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-slot-games__mobile-experience {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-slot-games__payment-methods {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-slot-games__faq-section {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-slot-games__conclusion {
    background-color: var(--background-light);
    color: var(--text-dark);
}

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

.page-slot-games__container--reversed {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
}

.page-slot-games__container--centered {
    text-align: center;
}

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

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: inherit;
}

.page-slot-games__text-block--centered {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__feature-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: var(--text-dark);
}

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

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

.page-slot-games__card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

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

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

.page-slot-games__card-title {
    font-size: 1.3em;
    margin: 20px 15px 10px;
}

.page-slot-games__card-title a.page-slot-games__card-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__card-title a.page-slot-games__card-link:hover {
    color: #005a2e;
}

.page-slot-games__card-text {
    font-size: 0.95em;
    padding: 0 15px 20px;
    color: var(--text-dark);
}

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

.page-slot-games__step-item {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-light);
}

.page-slot-games__step-icon {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--register-login-font-color);
    margin-bottom: 15px;
}

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

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

.page-slot-games__promo-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    color: var(--text-dark);
}

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

.page-slot-games__promo-title {
    font-size: 1.3em;
    margin: 20px 15px 10px;
}

.page-slot-games__promo-title a.page-slot-games__card-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__promo-title a.page-slot-games__card-link:hover {
    color: #005a2e;
}

.page-slot-games__promo-text {
    font-size: 0.95em;
    padding: 0 15px 20px;
    color: var(--text-dark);
}

.page-slot-games__content-wrapper {
    flex: 1;
}

.page-slot-games__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-slot-games__payment-icon {
    width: 150px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(0%); /* Ensure no filter changes original color */
}

.page-slot-games__faq-list {
    margin-top: 40px;
}

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

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

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

.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); /* Plus sign to X */
}

.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: 1.0em;
    color: var(--text-light);
}

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

.page-slot-games__btn-primary {
    background-color: var(--register-button-color);
    color: var(--register-login-font-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-slot-games__cta-buttons--center {
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__container--reversed {
        flex-direction: column;
    }
    .page-slot-games__image-wrapper {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        min-height: 500px;
    }
    .page-slot-games__hero-title {
        font-size: 2em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }
    .page-slot-games__section {
        padding: 60px 0;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 0.95em;
    }
    .page-slot-games__image-content {
        max-width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__card-image,
    .page-slot-games__promo-image {
        max-width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__payment-icon {
        max-width: 100px !important;
        height: 60px !important;
    }
    .page-slot-games__container,
    .page-slot-games__feature-grid,
    .page-slot-games__card-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__payment-icons,
    .page-slot-games__faq-list,
    .page-slot-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
    }
    .page-slot-games__faq-question {
        font-size: 1.1em;
    }
    .page-slot-games__faq-answer {
        font-size: 0.9em;
    }
}