body {
    background-color: var(--background-color, #08160F);
}

.page-slot-machines {
    font-family: Arial, sans-serif;
    color: var(--text-main-color, #F2FFF6); /* Default text color for dark background */
    background-color: var(--background-color, #08160F);
}

.page-slot-machines__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    overflow: hidden;
    background-color: var(--background-color, #08160F);
}

.page-slot-machines__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}

.page-slot-machines__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-slot-machines__hero-content {
    position: relative;
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: 20px;
    z-index: 2;
}

.page-slot-machines__main-title {
    font-size: clamp(2em, 5vw, 3.5em);
    font-weight: bold;
    color: var(--text-main-color, #F2FFF6);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-slot-machines__subtitle {
    font-size: clamp(1em, 2.5vw, 1.3em);
    color: var(--text-secondary-color, #A7D9B8);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-slot-machines__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-machines__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-machines__cta-button--secondary {
    background: none;
    border: 2px solid var(--border-color, #2E7A4E);
    color: var(--text-main-color, #F2FFF6);
}

.page-slot-machines__cta-button--secondary:hover {
    background: var(--deep-green-color, #0A4B2C);
    box-shadow: 0 5px 15px rgba(46, 122, 78, 0.4);
}

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

.page-slot-machines__section-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
    color: var(--text-main-color, #F2FFF6);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-slot-machines__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-secondary-color, #A7D9B8);
    margin-bottom: 20px;
    text-align: justify;
}

.page-slot-machines__dark-bg {
    background-color: var(--background-color, #08160F);
    color: var(--text-main-color, #F2FFF6);
}

.page-slot-machines__light-bg {
    background-color: var(--card-bg-color, #11271B);
    color: var(--text-main-color, #F2FFF6);
}

.page-slot-machines__image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.page-slot-machines__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

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

.page-slot-machines__card {
    background-color: var(--card-bg-color, #11271B);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color, #F2FFF6);
    border: 1px solid var(--border-color, #2E7A4E);
}

.page-slot-machines__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-machines__card-title, .page-slot-machines__list-title {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--gold-color, #F2C14E);
    margin-bottom: 15px;
}

.page-slot-machines__card-text, .page-slot-machines__list-text {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary-color, #A7D9B8);
}

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

.page-slot-machines__strategy-item {
    background-color: var(--card-bg-color, #11271B);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--glow-color, #57E38D);
}

.page-slot-machines__strategy-item:last-child {
    margin-bottom: 0;
}

.page-slot-machines__mobile-experience-section {
    background-color: var(--background-color, #08160F);
}

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

.page-slot-machines__mobile-content {
    flex: 1;
}

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

.page-slot-machines__faq-section {
    background-color: var(--card-bg-color, #11271B);
    padding-bottom: 60px;
}

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

.page-slot-machines__faq-item {
    background-color: var(--background-color, #08160F);
    border: 1px solid var(--divider-color, #1E3A2A);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-machines__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main-color, #F2FFF6);
    cursor: pointer;
    background-color: var(--deep-green-color, #0A4B2C);
    border-radius: 8px;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-slot-machines__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-slot-machines__faq-question:hover {
    background-color: var(--border-color, #2E7A4E);
}

.page-slot-machines__faq-qtext {
    flex-grow: 1;
}

.page-slot-machines__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color, #F2C14E);
}

.page-slot-machines__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary-color, #A7D9B8);
}

.page-slot-machines__faq-answer p {
    margin-bottom: 0;
}

.page-slot-machines__faq-item[open] .page-slot-machines__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-slot-machines__faq-item a {
    color: var(--gold-color, #F2C14E);
    text-decoration: none;
}

.page-slot-machines__faq-item a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-machines__mobile-flex {
        flex-direction: column;
        text-align: center;
    }
    .page-slot-machines__mobile-image-wrapper {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }
    .page-slot-machines__hero-content {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .page-slot-machines__hero-section {
        padding-bottom: 40px;
    }
    .page-slot-machines__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-slot-machines__subtitle {
        font-size: clamp(0.9em, 3.5vw, 1.1em);
    }
    .page-slot-machines__section-title {
        font-size: clamp(1.5em, 5vw, 2em);
    }
    .page-slot-machines__container {
        padding: 30px 15px;
    }
    .page-slot-machines__feature-grid, .page-slot-machines__type-grid, .page-slot-machines__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-machines__card, .page-slot-machines__strategy-item {
        padding: 20px;
    }
    .page-slot-machines__card-title, .page-slot-machines__list-title {
        font-size: 1.2em;
    }
    .page-slot-machines__text-block, .page-slot-machines__card-text, .page-slot-machines__list-text {
        font-size: 0.95em;
    }
    .page-slot-machines__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-slot-machines__faq-answer {
        padding: 0 20px 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-slot-machines img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-machines__section, .page-slot-machines__card, .page-slot-machines__container, .page-slot-machines__hero-section, .page-slot-machines__overview-section, .page-slot-machines__why-choose-section, .page-slot-machines__types-section, .page-slot-machines__strategy-section, .page-slot-machines__promotions-section, .page-slot-machines__mobile-experience-section, .page-slot-machines__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-machines__hero-section {
        padding-top: 10px !important;
    }
    /* Mobile button responsiveness */
    .page-slot-machines__cta-button, .page-slot-machines__btn-primary, .page-slot-machines__btn-secondary,
    .page-slot-machines a[class*="button"], .page-slot-machines a[class*="btn"] {
        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-machines__cta-buttons, .page-slot-machines__button-group, .page-slot-machines__btn-container {
        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-machines__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-slot-machines__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }
}