.page-slot-games {
    font-family: Arial, sans-serif;
    background-color: #08160F; /* Custom Background */
    color: #F2FFF6; /* Custom Text Main */
}

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    box-sizing: border-box;
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for hero image */
}

.page-slot-games__hero-content {
    position: relative; /* Relative for normal flow, below image */
    max-width: 900px;
    margin-top: 30px; /* Spacing between image and content */
    padding: 0 20px;
    box-sizing: border-box;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2FFF6; /* Custom Text Main */
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-slot-games__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #A7D9B8; /* Custom Text Secondary */
}

.page-slot-games__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 15px;
    justify-content: center;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-small,
.page-slot-games__btn-link {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Gradient */
    color: #F2FFF6; /* Custom Text Main */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Custom Glow */
    border: 2px solid #57E38D; /* Custom Glow */
}

.page-slot-games__btn-secondary:hover {
    background-color: #57E38D; /* Custom Glow */
    color: #08160F; /* Custom Background */
}

.page-slot-games__btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
    border-radius: 5px;
}

.page-slot-games__btn-small:hover {
    opacity: 0.9;
}

.page-slot-games__btn-link {
    color: #57E38D; /* Custom Glow */
    text-decoration: underline;
    font-weight: bold;
    padding: 0;
    background: none;
    border: none;
    display: inline-block;
}

.page-slot-games__btn-link:hover {
    color: #2AD16F;
}

.page-slot-games__section {
    padding: 60px 20px;
    text-align: center;
    box-sizing: border-box;
}

.page-slot-games__dark-bg {
    background-color: #08160F; /* Custom Background */
    color: #F2FFF6; /* Custom Text Main */
}

.page-slot-games__light-bg {
    background-color: #11271B; /* Custom Card BG for contrast */
    color: #F2FFF6; /* Custom Text Main */
}

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

.page-slot-games__section-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: bold;
    margin-bottom: 40px;
    color: #57E38D; /* Custom Glow */
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-slot-games__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #A7D9B8; /* Custom Text Secondary */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__image-wrapper {
    margin-top: 40px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__image-wrapper--large {
    max-width: 1200px;
}

.page-slot-games__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

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

.page-slot-games__card {
    background-color: #11271B; /* Custom Card BG */
    border: 1px solid #2E7A4E; /* Custom Border */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #F2FFF6; /* Custom Text Main */
    height: 100%; /* Ensure cards in a grid have equal height */
    box-sizing: border-box;
}

.page-slot-games__card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #57E38D; /* Custom Glow */
}

.page-slot-games__card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #A7D9B8; /* Custom Text Secondary */
    margin-bottom: 20px;
    flex-grow: 1; /* Allow paragraph to take available space */
}

.page-slot-games__card-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-slot-games__how-to-play-grid .page-slot-games__step-card {
    text-align: center;
}

.page-slot-games__how-to-play-grid .page-slot-games__step-card .page-slot-games__card-title {
    color: #F2C14E; /* Custom Gold */
}

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

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

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-slot-games__faq-item {
    margin-bottom: 15px;
    border: 1px solid #2E7A4E; /* Custom Border */
    border-radius: 10px;
    overflow: hidden;
    background-color: #11271B; /* Custom Card BG */
    color: #F2FFF6; /* Custom Text Main */
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    background-color: #1E3A2A; /* Custom Divider for question background */
    color: #F2FFF6; /* Custom Text Main */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-question:hover {
    background-color: #0A4B2C; /* Custom Deep Green */
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
    color: #F2FFF6; /* Custom Text Main */
}

.page-slot-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Custom Glow */
}

.page-slot-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #A7D9B8; /* Custom Text Secondary */
    background-color: #11271B; /* Custom Card BG */
}

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

.page-slot-games__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-slot-games__conclusion {
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-slot-games__conclusion .page-slot-games__section-title {
    color: #F2C14E; /* Custom Gold */
}

.page-slot-games__btn-large {
    padding: 18px 35px;
    font-size: 1.2rem;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-slot-games__section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    .page-slot-games__feature-grid,
    .page-slot-games__how-to-play-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-bottom: 40px;
    }
    .page-slot-games__hero-content {
        margin-top: 20px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-slot-games__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-small,
    .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__section,
    .page-slot-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 0.95rem;
    }
    .page-slot-games__feature-grid,
    .page-slot-games__how-to-play-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__card {
        padding: 20px;
    }
    .page-slot-games__card-title {
        font-size: 1.3rem;
    }
    .page-slot-games__card p {
        font-size: 0.95rem;
    }
    .page-slot-games__image-content,
    .page-slot-games img { /* General image rule for content area */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__image-wrapper,
    .page-slot-games__faq-list,
    .page-slot-games__cta-center {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0; /* Handled by container */
        padding-right: 0; /* Handled by container */
    }
    .page-slot-games__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 10px 20px 15px;
    }
    .page-slot-games__faq-toggle {
        font-size: 1.5rem;
    }
    .page-slot-games__video-section { /* Ensuring video section has small top padding */
        padding-top: 10px !important;
    }
    .page-slot-games__video,
    .page-slot-games video { /* Video specific rules */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

/* Ensure content area images are at least 200px where applicable (desktop) */
.page-slot-games__image-content,
.page-slot-games__card-image {
    min-width: 200px;
    min-height: 200px;
}

/* Specific button width for grid items to prevent overflow on smaller desktop/tablet */
.page-slot-games__how-to-play-grid .page-slot-games__btn-small {
    width: auto; /* Revert to auto on larger screens */
    max-width: 100%;
}

/* Color contrast enforcement - fallback to ensure readability */
.page-slot-games p,
.page-slot-games li {
    color: #A7D9B8; /* Secondary text color on dark background */
}
.page-slot-games__section-title,
.page-slot-games__card-title,
.page-slot-games__faq-qtext {
    color: #F2FFF6; /* Main text color on dark background, or specific glow/gold */
}
.page-slot-games__dark-bg .page-slot-games__section-title {
    color: #57E38D; /* Glow on dark bg */
}
.page-slot-games__light-bg .page-slot-games__section-title {
    color: #F2FFF6; /* Main text color on the slightly lighter card bg */
}
.page-slot-games__how-to-play-grid .page-slot-games__step-card .page-slot-games__card-title {
    color: #F2C14E; /* Gold on card bg */
}
.page-slot-games__conclusion .page-slot-games__section-title {
    color: #F2C14E; /* Gold on dark bg */
}