/* style/slot-games.css */
:root {
    --sodo88-main-color: #11A84E;
    --sodo88-accent-color: #22C768;
    --sodo88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --sodo88-card-bg: #11271B;
    --sodo88-background: #08160F;
    --sodo88-text-main: #F2FFF6;
    --sodo88-text-secondary: #A7D9B8;
    --sodo88-border: #2E7A4E;
    --sodo88-glow: #57E38D;
    --sodo88-gold: #F2C14E;
    --sodo88-divider: #1E3A2A;
    --sodo88-deep-green: #0A4B2C;
}

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

.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* body handles padding-top for header, add 10px for top visual separation */
    background-color: var(--sodo88-deep-green);
    overflow: hidden;
}

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

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: 40px; /* Separates content from image */
}

.page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 3.5em);
    color: var(--sodo88-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px var(--sodo88-glow);
}

.page-slot-games__description {
    font-size: 1.2em;
    color: var(--sodo88-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.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-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: var(--sodo88-button-gradient);
    color: var(--sodo88-text-main);
    border: 2px solid var(--sodo88-accent-color);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(34, 199, 104, 0.4);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--sodo88-accent-color);
    color: var(--sodo88-background);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games__section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--sodo88-background);
}

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

.page-slot-games__section-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
    color: var(--sodo88-main-color);
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(17, 168, 78, 0.5);
}

.page-slot-games__text-block {
    font-size: 1.05em;
    color: var(--sodo88-text-secondary);
    margin-bottom: 20px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__highlight {
    color: var(--sodo88-gold);
    font-weight: 600;
}

.page-slot-games__list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__list-item {
    background-color: var(--sodo88-card-bg);
    border: 1px solid var(--sodo88-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    color: var(--sodo88-text-main);
    font-size: 1.05em;
}

.page-slot-games__list-item strong {
    color: var(--sodo88-gold);
    font-weight: 700;
}

.page-slot-games__image-card {
    background-color: var(--sodo88-card-bg);
    border: 1px solid var(--sodo88-border);
    border-radius: 10px;
    padding: 15px;
    margin: 30px auto;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__image-caption {
    font-size: 0.9em;
    color: var(--sodo88-text-secondary);
    text-align: center;
    margin: 0;
}

.page-slot-games__inline-link {
    color: var(--sodo88-accent-color);
    text-decoration: none;
    font-weight: 600;
}

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

.page-slot-games__steps-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__steps-list .page-slot-games__list-item {
    position: relative;
    padding-left: 50px;
    background-color: var(--sodo88-card-bg);
    border: 1px solid var(--sodo88-border);
    border-radius: 8px;
    margin-bottom: 15px;
    color: var(--sodo88-text-main);
    font-size: 1.05em;
}

.page-slot-games__steps-list .page-slot-games__list-item::before {
    counter-increment: step-counter;
    content: "Bước " counter(step-counter);
    position: absolute;
    left: 15px;
    top: 15px;
    background-color: var(--sodo88-main-color);
    color: var(--sodo88-text-main);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85em;
}

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

.page-slot-games__faq-item {
    background-color: var(--sodo88-card-bg);
    border: 1px solid var(--sodo88-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--sodo88-text-main);
    background-color: var(--sodo88-deep-green);
    border-bottom: 1px solid var(--sodo88-divider);
    list-style: none;
}

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

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--sodo88-accent-color);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    content: '−';
}

.page-slot-games__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: var(--sodo88-text-secondary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 10px 15px 40px;
    }

    .page-slot-games__hero-content {
        margin-top: 20px;
    }

    .page-slot-games__main-title {
        font-size: 2em; /* Smaller on mobile */
    }

    .page-slot-games__description {
        font-size: 1em;
    }

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__section {
        padding: 40px 15px;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
    }

    .page-slot-games__text-block,
    .page-slot-games__list-item,
    .page-slot-games__faq-answer {
        font-size: 0.95em;
    }

    .page-slot-games__steps-list .page-slot-games__list-item {
        padding-left: 45px;
    }

    .page-slot-games__steps-list .page-slot-games__list-item::before {
        width: 25px;
        height: 25px;
        font-size: 0.75em;
        left: 10px;
        top: 10px;
    }

    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__image-card,
    .page-slot-games__faq-list,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure image containers handle overflow */
    .page-slot-games__hero-image-wrapper {
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-slot-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 1.8em;
    }

    .page-slot-games__section-title {
        font-size: 1.6em;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        font-size: 0.9em;
    }
}