/* style/slot-games.css */

:root {
    --e88dangnhap-primary: #113B7A;
    --e88dangnhap-secondary: #1D5FD1;
    --e88dangnhap-btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --e88dangnhap-card-bg: #10233F;
    --e88dangnhap-text-main: #F3F8FF;
    --e88dangnhap-text-secondary: #AFC4E8;
    --e88dangnhap-border: #244D84;
    --e88dangnhap-glow: #4FA8FF;
    --e88dangnhap-gold: #F2C14E;
    --e88dangnhap-divider: #1B3357;
    --e88dangnhap-deep-navy: #08162B;
}

.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--e88dangnhap-text-main); /* Default text color for dark body background */
    background-color: var(--e88dangnhap-deep-navy); /* Assumed body background from shared.css */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: var(--e88dangnhap-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-slot-games__dark-section {
    background-color: var(--e88dangnhap-primary);
    color: var(--e88dangnhap-text-main);
    padding: 60px 0;
}

.page-slot-games__light-bg {
    background-color: #f8f9fa; /* A very light background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: var(--e88dangnhap-primary);
}

.page-slot-games__light-bg .page-slot-games__text-block {
    color: #555555;
}

.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
}

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

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content slightly over image, but not covering text */
    background: rgba(17, 59, 122, 0.85); /* Semi-transparent background for readability */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

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

.page-slot-games__hero-description {
    font-size: 1.2em;
    color: var(--e88dangnhap-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 {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    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(--e88dangnhap-btn-gradient);
    color: var(--e88dangnhap-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

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

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--e88dangnhap-gold);
    border: 2px solid var(--e88dangnhap-gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.page-slot-games__btn-secondary:hover {
    background: var(--e88dangnhap-gold);
    color: var(--e88dangnhap-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

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

.page-slot-games__feature-card,
.page-slot-games__category-card,
.page-slot-games__step-card,
.page-slot-games__promotion-card {
    background: var(--e88dangnhap-card-bg);
    border: 1px solid var(--e88dangnhap-border);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

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

.page-slot-games__feature-image,
.page-slot-games__category-image,
.page-slot-games__promotion-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px; /* Enforce minimum size */
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: var(--e88dangnhap-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-slot-games__card-description {
    font-size: 1em;
    color: var(--e88dangnhap-text-secondary);
    flex-grow: 1;
}

.page-slot-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 20px;
}

.page-slot-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--e88dangnhap-gold);
    background: var(--e88dangnhap-divider);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 2px solid var(--e88dangnhap-gold);
}

.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.page-slot-games__list-item {
    background: #ffffff;
    color: #333333;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    font-size: 1.05em;
    line-height: 1.5;
    border-left: 5px solid var(--e88dangnhap-primary);
}

.page-slot-games__list-item strong {
    color: var(--e88dangnhap-primary);
}

.page-slot-games__button-group {
    margin-top: 40px;
    text-align: center;
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--e88dangnhap-primary);
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

.page-slot-games__faq-question::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(--e88dangnhap-gold);
}

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

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.05em;
    color: #555555;
    line-height: 1.6;
}

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

.page-slot-games__cta-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 20px;
    }

    .page-slot-games__hero-content {
        padding: 30px 15px;
        margin-top: -60px;
    }

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

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

    .page-slot-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

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

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

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

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

    .page-slot-games__dark-section,
    .page-slot-games__light-bg {
        padding: 40px 0;
    }

    /* General images responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min- /* Ensure images are still visible */
    }

    /* Card images specifically */
    .page-slot-games__feature-image,
    .page-slot-games__category-image,
    .page-slot-games__promotion-image {
        min-height: 150px; /* Adjust min-height for mobile */
    }

    .page-slot-games__features-grid,
    .page-slot-games__categories-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__feature-card,
    .page-slot-games__category-card,
    .page-slot-games__step-card,
    .page-slot-games__promotion-card {
        padding: 20px;
    }

    .page-slot-games__card-title {
        font-size: 1.3em;
    }

    .page-slot-games__card-description {
        font-size: 0.9em;
    }

    .page-slot-games__list-item {
        font-size: 0.95em;
        padding: 12px 15px;
        margin-bottom: 10px;
    }

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

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

    .page-slot-games__cta-section {
        padding: 50px 0;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        box-sizing: border-box;
    }
}