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

/* body đã padding-top: var(--header-offset) từ shared.css; trang này KHÔNG được viết lại */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--s777-text-main); /* Default text color for dark background */
    background-color: var(--s777-bg);
}

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

.page-slot-games__section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--s777-text-main);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.page-slot-games__main-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--s777-text-main);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
    letter-spacing: -1px;
}

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

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

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

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

.page-slot-games__btn-primary {
    background: var(--s777-btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-slot-games__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

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

/* Card Styles */
.page-slot-games__card {
    background-color: var(--s777-card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--s777-border);
    color: var(--s777-text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-slot-games__card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--s777-text-main);
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-slot-games__card-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    padding: 10px 0 80px 0; /* body handles top padding, this is decorative */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--s777-deep-green);
}

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

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

.page-slot-games__hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--s777-text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Intro Section */
.page-slot-games__intro-section {
    background-color: #ffffff;
    color: #333333;
    padding: 80px 0;
}

.page-slot-games__intro-section .page-slot-games__section-title {
    color: #333333;
}

.page-slot-games__intro-section .page-slot-games__text-block {
    color: #555555;
}

.page-slot-games__intro-section .page-slot-games__inline-link {
    color: var(--s777-primary);
}

.page-slot-games__intro-section .page-slot-games__inline-link:hover {
    color: var(--s777-secondary);
}

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

.page-slot-games__feature-card {
    background-color: #f8f8f8;
    color: #333333;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__feature-card .page-slot-games__card-title {
    color: #333333;
}

.page-slot-games__feature-card p {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
}

.page-slot-games__feature-card .page-slot-games__card-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

/* Categories Section */
.page-slot-games__categories-section {
    background-color: var(--s777-bg);
    padding: 80px 0;
}

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

.page-slot-games__game-card {
    background-color: var(--s777-card-bg);
}

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

/* How to Play Section */
.page-slot-games__how-to-play-section {
    background-color: #ffffff;
    color: #333333;
    padding: 80px 0;
}

.page-slot-games__how-to-play-section .page-slot-games__section-title {
    color: #333333;
}

.page-slot-games__how-to-play-section .page-slot-games__text-block {
    color: #555555;
}

.page-slot-games__how-to-play-section .page-slot-games__inline-link {
    color: var(--s777-primary);
}

.page-slot-games__how-to-play-section .page-slot-games__inline-link:hover {
    color: var(--s777-secondary);
}

.page-slot-games__steps-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.page-slot-games__guide-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-slot-games__steps-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-slot-games__step-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-slot-games__step-title {
    font-size: 22px;
    font-weight: 600;
    color: #333333;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-slot-games__step-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    text-align: left;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    background-color: var(--s777-bg);
    padding: 80px 0;
}

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

.page-slot-games__promo-card {
    background-color: var(--s777-card-bg);
}

.page-slot-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

/* Safety Section */
.page-slot-games__safety-section {
    background-color: #ffffff;
    color: #333333;
    padding: 80px 0;
}

.page-slot-games__safety-section .page-slot-games__section-title {
    color: #333333;
}

.page-slot-games__safety-section .page-slot-games__text-block {
    color: #555555;
}

.page-slot-games__safety-section .page-slot-games__inline-link {
    color: var(--s777-primary);
}

.page-slot-games__safety-section .page-slot-games__inline-link:hover {
    color: var(--s777-secondary);
}

.page-slot-games__safety-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slot-games__safety-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-slot-games__safety-item .page-slot-games__card-title {
    color: #333333;
    font-size: 22px;
}

.page-slot-games__safety-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
}

/* Mobile Section */
.page-slot-games__mobile-section {
    background-color: var(--s777-bg);
    padding: 80px 0;
}

.page-slot-games__mobile-content {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.page-slot-games__mobile-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.page-slot-games__mobile-text {
    flex: 1;
    text-align: left;
}

.page-slot-games__mobile-text .page-slot-games__card-title {
    text-align: left;
    color: var(--s777-text-main);
    margin-top: 0;
}

.page-slot-games__mobile-text p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--s777-text-secondary);
    margin-bottom: 30px;
}

/* Video Section */
.page-slot-games__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 80px 0; /* body handles top padding, this is decorative */
    background-color: var(--s777-deep-green);
}

.page-slot-games__video-wrapper {
    width: 100%;
    max-width: 1000px; /* Max width for the video player */
    margin: 30px auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.page-slot-games__video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 10;
    cursor: pointer;
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: #ffffff;
    color: #333333;
    padding: 80px 0;
}

.page-slot-games__faq-section .page-slot-games__section-title {
    color: #333333;
}

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

.page-slot-games__faq-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
}

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

.page-slot-games__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: var(--s777-primary);
}

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

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    text-align: left;
}

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

.page-slot-games__faq-answer .page-slot-games__inline-link {
    color: var(--s777-primary);
}

/* Final CTA Section */
.page-slot-games__final-cta {
    background-color: var(--s777-deep-green);
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__final-cta .page-slot-games__section-title {
    color: var(--s777-text-main);
}

.page-slot-games__final-cta .page-slot-games__text-secondary {
    color: var(--s777-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-image {
        margin-bottom: 30px;
    }

    .page-slot-games__main-title {
        font-size: clamp(30px, 4.5vw, 50px);
    }

    .page-slot-games__hero-description {
        font-size: 18px;
    }

    .page-slot-games__steps-wrapper,
    .page-slot-games__mobile-content {
        flex-direction: column;
        text-align: center;
    }

    .page-slot-games__guide-image,
    .page-slot-games__mobile-image {
        max-width: 80%;
        margin-bottom: 40px;
    }

    .page-slot-games__mobile-text {
        text-align: center;
    }

    .page-slot-games__mobile-text .page-slot-games__card-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__hero-section, 
    .page-slot-games__intro-section, 
    .page-slot-games__categories-section, 
    .page-slot-games__how-to-play-section, 
    .page-slot-games__promotions-section, 
    .page-slot-games__safety-section, 
    .page-slot-games__mobile-section, 
    .page-slot-games__video-section, 
    .page-slot-games__faq-section, 
    .page-slot-games__final-cta {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Images */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

    .page-slot-games__video-section {
        padding-top: 10px !important;
        padding-bottom: 60px !important;
    }

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

    /* Buttons */
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__btn-large {
        padding: 15px 25px !important;
        font-size: 18px !important;
    }

    .page-slot-games__main-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }

    .page-slot-games__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-slot-games__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 20px;
    }

    .page-slot-games__text-block {
        font-size: 16px;
        line-height: 1.5;
    }

    .page-slot-games__features-grid,
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__safety-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__feature-card,
    .page-slot-games__game-card,
    .page-slot-games__promo-card,
    .page-slot-games__safety-item,
    .page-slot-games__faq-item {
        padding: 20px;
    }

    .page-slot-games__card-title {
        font-size: 20px;
    }

    .page-slot-games__step-title,
    .page-slot-games__faq-question {
        font-size: 18px;
    }

    .page-slot-games__step-item p,
    .page-slot-games__faq-answer p {
        font-size: 15px;
    }

    .page-slot-games__hero-image {
        margin-bottom: 20px;
    }

    .page-slot-games__guide-image,
    .page-slot-games__mobile-image {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .page-slot-games__mobile-text .page-slot-games__card-title {
        font-size: 22px;
    }

    .page-slot-games__mobile-text p {
        font-size: 16px;
    }
}