/* style/slot-games.css */

/* Variables for custom colors */
:root {
    --page-slot-games-bg: #08160F;
    --page-slot-games-card-bg: #11271B;
    --page-slot-games-text-main: #F2FFF6;
    --page-slot-games-text-secondary: #A7D9B8;
    --page-slot-games-border: #2E7A4E;
    --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-slot-games-glow: #57E38D;
    --page-slot-games-gold: #F2C14E;
    --page-slot-games-divider: #1E3A2A;
    --page-slot-games-deep-green: #0A4B2C;
}

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

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px;
    overflow: hidden;
    isolation: isolate; /* To contain z-index stacking */
}

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.page-slot-games__main-title {
    color: var(--page-slot-games-text-main);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__description {
    color: var(--page-slot-games-text-secondary);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 30px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    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(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--page-slot-games-glow);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--page-slot-games-glow);
    border: 2px solid var(--page-slot-games-glow);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: rgba(87, 227, 141, 0.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 10px var(--page-slot-games-glow);
}

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

.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__how-to-play-section,
.page-slot-games__strategy-section,
.page-slot-games__registration-section,
.page-slot-games__faq-section,
.page-slot-games__conclusion-section {
    padding: 60px 0;
    border-top: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__section-title {
    color: var(--page-slot-games-gold);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-slot-games__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--page-slot-games-glow);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-slot-games__text-block {
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

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

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

.page-slot-games__game-card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--page-slot-games-glow);
}

.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 {
    color: var(--page-slot-games-gold);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-slot-games__card-description {
    color: var(--page-slot-games-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.page-slot-games__steps-list,
.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__steps-list li,
.page-slot-games__tips-list li {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--page-slot-games-glow);
}

.page-slot-games__step-title,
.page-slot-games__tip-title {
    color: var(--page-slot-games-gold);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-slot-games__step-description,
.page-slot-games__tip-description {
    color: var(--page-slot-games-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

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

.page-slot-games__step-card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-slot-games-border);
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    box-sizing: border-box;
}

.page-slot-games__step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--page-slot-games-glow);
}

.page-slot-games__step-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 100px;
    min-height: 100px;
}

.page-slot-games__step-card-title {
    color: var(--page-slot-games-gold);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-slot-games__step-card-description {
    color: var(--page-slot-games-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.page-slot-games__text-link {
    color: var(--page-slot-games-glow);
    text-decoration: none;
    font-weight: 600;
}

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

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

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-slot-games-border);
}

.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(--page-slot-games-text-main);
    cursor: pointer;
    list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-qtext {
    flex-grow: 1;
    color: var(--page-slot-games-gold);
}

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 24px;
    text-align: center;
    color: var(--page-slot-games-glow);
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: 1px solid var(--page-slot-games-divider);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__registration-steps {
        flex-direction: column;
        align-items: center;
    }

    .page-slot-games__step-card {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__hero-section {
        padding: 10px 15px 40px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-slot-games__description {
        font-size: 0.95rem;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

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

    .page-slot-games__introduction-section,
    .page-slot-games__game-types-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__strategy-section,
    .page-slot-games__registration-section,
    .page-slot-games__faq-section,
    .page-slot-games__conclusion-section {
        padding: 40px 0;
    }

    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-slot-games__text-block {
        font-size: 0.95rem;
    }

    .page-slot-games__content-image,
    .page-slot-games__card-image,
    .page-slot-games__step-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__game-card,
    .page-slot-games__step-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 20px;
    }

    .page-slot-games__steps-list li,
    .page-slot-games__tips-list li {
        padding: 20px;
    }

    .page-slot-games__step-title,
    .page-slot-games__tip-title {
        font-size: 1.2rem;
    }

    .page-slot-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-slot-games__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }

    .page-slot-games__video-section {
        padding-top: 10px !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}