/* style/slot-games.css */

:root {
    --dk-win55-primary: #11A84E;
    --dk-win55-secondary: #22C768;
    --dk-win55-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --dk-win55-card-bg: #11271B;
    --dk-win55-bg: #08160F;
    --dk-win55-text-main: #F2FFF6;
    --dk-win55-text-secondary: #A7D9B8;
    --dk-win55-border: #2E7A4E;
    --dk-win55-glow: #57E38D;
    --dk-win55-gold: #F2C14E;
    --dk-win55-divider: #1E3A2A;
    --dk-win55-deep-green: #0A4B2C;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--dk-win55-text-main);
    background-color: var(--dk-win55-bg);
}

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

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

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px 20px;
    max-width: 900px;
    margin-top: -100px; /* Adjust to slightly overlap the bottom of the image for visual flow */
    background-color: var(--dk-win55-card-bg); /* Dark background for text contrast */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dk-win55-border);
}

.page-slot-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dk-win55-text-main);
    margin-bottom: 15px;
    letter-spacing: -0.03em;
}

.page-slot-games__hero-description {
    font-size: 1.15rem;
    color: var(--dk-win55-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-primary {
    background: var(--dk-win55-btn-gradient);
    color: var(--dk-win55-text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
    background: var(--dk-win55-primary);
    color: var(--dk-win55-text-main);
    transform: translateY(-3px);
}

.page-slot-games__btn-primary--large {
    font-size: 1.3rem;
    padding: 18px 40px;
}

.page-slot-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dk-win55-text-main);
    line-height: 1.3;
}

.page-slot-games__section-title--light {
    color: var(--dk-win55-text-main);
}

.page-slot-games__intro-section,
.page-slot-games__game-categories-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section {
    padding: 80px 0;
    background-color: var(--dk-win55-bg);
}

.page-slot-games__dark-section {
    background-color: var(--dk-win55-card-bg);
    padding: 80px 0;
    color: var(--dk-win55-text-main);
}

.page-slot-games__deep-green-bg {
    background-color: var(--dk-win55-deep-green);
    padding: 80px 0;
    color: var(--dk-win55-text-main);
}

.page-slot-games__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dk-win55-text-secondary);
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__advantage-card,
.page-slot-games__category-card,
.page-slot-games__promotion-card,
.page-slot-games__step-card {
    background-color: var(--dk-win55-card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--dk-win55-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__advantage-card:hover,
.page-slot-games__category-card:hover,
.page-slot-games__promotion-card:hover,
.page-slot-games__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__advantage-icon,
.page-slot-games__category-image,
.page-slot-games__promotion-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

.page-slot-games__step-number {
    background: var(--dk-win55-btn-gradient);
    color: var(--dk-win55-text-main);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dk-win55-text-main);
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-slot-games__card-description {
    font-size: 1rem;
    color: var(--dk-win55-text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 15px;
}

.page-slot-games__view-all-games,
.page-slot-games__cta-center {
    text-align: center;
    margin-top: 50px;
}

.page-slot-games__how-to-play-section {
    padding: 80px 0;
    background-color: var(--dk-win55-deep-green);
}

.page-slot-games__how-to-play-section .page-slot-games__section-title {
    color: var(--dk-win55-text-main);
}

.page-slot-games__how-to-play-section .page-slot-games__text-block {
    color: var(--dk-win55-text-secondary);
}

.page-slot-games__promotion-card .page-slot-games__btn-secondary {
    margin-top: auto;
    border-radius: 10px;
}

.page-slot-games__why-list {
    list-style: none;
    padding: 0;
    margin: 50px auto 0 auto;
    max-width: 800px;
}

.page-slot-games__why-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dk-win55-text-secondary);
    background-color: var(--dk-win55-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--dk-win55-divider);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__list-icon {
    font-size: 1.5rem;
    color: var(--dk-win55-primary);
    margin-right: 15px;
    line-height: 1;
}

.page-slot-games__list-text strong {
    color: var(--dk-win55-text-main);
}

.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__faq-item {
    background-color: var(--dk-win55-card-bg);
    border: 1px solid var(--dk-win55-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dk-win55-text-main);
    cursor: pointer;
    background-color: var(--dk-win55-card-bg);
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: rgba(var(--dk-win55-primary-rgb), 0.1);
}

.page-slot-games__faq-item[open] > .page-slot-games__faq-question {
    background-color: rgba(var(--dk-win55-primary-rgb), 0.1);
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
    pointer-events: none; /* Allow click on entire summary */
}

.page-slot-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--dk-win55-primary);
    pointer-events: none; /* Allow click on entire summary */
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dk-win55-text-secondary);
}

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

.page-slot-games__faq-link {
    color: var(--dk-win55-primary);
    text-decoration: underline;
    font-weight: 600;
}

.page-slot-games__faq-link:hover {
    color: var(--dk-win55-secondary);
}

.page-slot-games__cta-final-section {
    text-align: center;
    padding: 100px 20px;
    background-color: var(--dk-win55-deep-green);
}

.page-slot-games__cta-description {
    font-size: 1.2rem;
    color: var(--dk-win55-text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        margin-top: -50px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-slot-games__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }
    .page-slot-games__intro-section,
    .page-slot-games__game-categories-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__advantages-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__cta-final-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-content {
        margin-top: -30px;
        padding: 20px;
        border-radius: 10px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-slot-games__hero-description {
        font-size: 1rem;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__btn-primary--large {
        font-size: 1.1rem;
        padding: 15px 30px;
    }
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__intro-section,
    .page-slot-games__game-categories-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__advantages-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__cta-final-section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
    }
    .page-slot-games__text-block,
    .page-slot-games__card-description,
    .page-slot-games__why-list li,
    .page-slot-games__faq-answer {
        font-size: 0.95rem;
    }
    .page-slot-games__advantage-card,
    .page-slot-games__category-card,
    .page-slot-games__promotion-card,
    .page-slot-games__step-card {
        padding: 20px;
    }
    .page-slot-games__advantage-icon,
    .page-slot-games__category-image,
    .page-slot-games__promotion-image {
        max-height: 200px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__advantage-card img,
    .page-slot-games__category-card img,
    .page-slot-games__promotion-card img,
    .page-slot-games__step-card img {
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }
    .page-slot-games__why-list {
        margin-top: 30px;
    }
    .page-slot-games__why-list li {
        padding: 15px;
    }
    .page-slot-games__list-icon {
        font-size: 1.2rem;
        margin-right: 10px;
    }
    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-slot-games__faq-toggle {
        font-size: 1.5rem;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px 20px;
    }
    /* Ensure all content sections are properly contained */
    .page-slot-games__hero-section,
    .page-slot-games__intro-section,
    .page-slot-games__advantages-section,
    .page-slot-games__game-categories-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__why-choose-us-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-slot-games__advantages-grid,
    .page-slot-games__categories-grid,
    .page-slot-games__promotions-grid,
    .page-slot-games__steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-content {
        padding: 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    .page-slot-games__hero-description {
        font-size: 0.9rem;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    .page-slot-games__text-block,
    .page-slot-games__card-description,
    .page-slot-games__why-list li,
    .page-slot-games__faq-answer {
        font-size: 0.9rem;
    }
    .page-slot-games__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .page-slot-games__card-title {
        font-size: 1.2rem;
    }
    .page-slot-games__faq-question {
        font-size: 0.95rem;
    }
}

/* Ensure images within content areas are at least 200x200px */
.page-slot-games img {
    min-width: 200px;
    min-height: 200px;
}