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

.page-slot-games {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-primary); /* Body background is from shared.css, this is for page sections */
    color: var(--text-main);
    line-height: 1.6;
}

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

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

.page-slot-games__hero-image {
    width: 100%;
    max-width: 1920px;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.page-slot-games__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: var(--btn-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

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

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

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

.page-slot-games__btn-tertiary {
    background-color: var(--brand-primary);
    color: var(--text-main);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
}

.page-slot-games__btn-tertiary:hover {
    background-color: var(--brand-secondary);
}

.page-slot-games__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--divider-color);
}

.page-slot-games__video-container {
    width: 100%; /* Desktop width */
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.page-slot-games__video-link-wrapper {
    display: block;
    width: 100%;
    height: auto;
    text-decoration: none;
}

.page-slot-games__video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.page-slot-games__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.5);
}

.page-slot-games__section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__about-section,
.page-slot-games__how-to-play-section,
.page-slot-games__secure-access-section,
.page-slot-games__final-cta-section {
    padding: 60px 0;
    background-color: var(--bg-primary);
}

.page-slot-games__dark-section {
    background-color: var(--bg-card);
    padding: 60px 0;
}

.page-slot-games__sub-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--brand-secondary);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

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

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

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

.page-slot-games__feature-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-slot-games__feature-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__feature-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-slot-games__feature-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.page-slot-games__game-cards-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(--bg-card);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-slot-games__game-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-slot-games__steps-list,
.page-slot-games__tips-list,
.page-slot-games__promotion-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
}

.page-slot-games__steps-list li,
.page-slot-games__tips-list li,
.page-slot-games__promotion-list li {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.page-slot-games__steps-list li:last-child,
.page-slot-games__tips-list li:last-child,
.page-slot-games__promotion-list li:last-child {
    margin-bottom: 0;
}

.page-slot-games__step-title {
    font-size: 1.3rem;
    color: var(--brand-secondary);
    margin-bottom: 10px;
}

.page-slot-games__step-description {
    font-size: 1rem;
    color: var(--text-secondary);
}

.page-slot-games__promotion-banner {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 40px;
    display: block;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__promotion-list strong {
    color: var(--gold-color);
}

.page-slot-games__secure-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 40px;
    display: block;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.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(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gold-color);
    cursor: pointer;
    list-style: none;
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

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

.page-slot-games__final-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-slot-games__full-width-btn {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
    min-width: 250px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-slot-games__section-title {
        font-size: 2rem;
    }
    .page-slot-games__sub-title {
        font-size: 1.6rem;
    }
}

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

    .page-slot-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__hero-section,
    .page-slot-games__video-section,
    .page-slot-games__about-section,
    .page-slot-games__why-abc8bet-section,
    .page-slot-games__game-types-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__secure-access-section,
    .page-slot-games__faq-section,
    .page-slot-games__final-cta-section {
        padding: 40px 0;
    }

    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-slot-games__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-slot-games__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

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

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

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

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

    .page-slot-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .page-slot-games__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-slot-games__sub-title {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

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

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

    .page-slot-games__feature-card,
    .page-slot-games__game-card {
        padding: 20px;
    }

    .page-slot-games__feature-icon {
        width: 150px;
        height: 100px;
    }

    .page-slot-games__game-image {
        height: 180px;
    }

    .page-slot-games__steps-list,
    .page-slot-games__tips-list,
    .page-slot-games__promotion-list {
        margin: 30px auto;
    }

    .page-slot-games__steps-list li,
    .page-slot-games__tips-list li,
    .page-slot-games__promotion-list li {
        padding: 15px;
        margin-bottom: 10px;
    }

    .page-slot-games__step-title {
        font-size: 1.1rem;
    }

    .page-slot-games__step-description {
        font-size: 0.9rem;
    }

    .page-slot-games__promotion-banner,
    .page-slot-games__secure-image {
        margin-top: 20px;
        margin-bottom: 30px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

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

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

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 1.8rem;
    }
    .page-slot-games__section-title {
        font-size: 1.6rem;
    }
    .page-slot-games__hero-buttons {
        gap: 10px;
    }
}