/* style/slot-games.css */

/* Cấu hình màu sắc từ yêu cầu */
: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-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-slot-games-border: #2E7A4E;
    --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__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, header offset handled by body in shared.css */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    border-radius: 10px;
    margin-top: 150px; /* Adjust based on image height and desired layout */
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

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

.page-slot-games__intro-description {
    font-size: 1.15rem;
    color: var(--page-slot-games-text-main);
    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,
.page-slot-games__btn-play,
.page-slot-games__btn-promo {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-main);
    border: 2px solid var(--page-slot-games-glow);
    box-shadow: 0 0 15px var(--page-slot-games-glow);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--page-slot-games-glow);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--page-slot-games-gold);
    color: var(--page-slot-games-bg);
    transform: translateY(-3px);
}

.page-slot-games__section-title {
    font-size: 2.5rem;
    color: var(--page-slot-games-gold);
    text-align: center;
    margin-bottom: 20px;
    margin-top: 60px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

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

/* Game Showcase */
.page-slot-games__games-showcase {
    padding: 60px 0;
    background-color: var(--page-slot-games-bg);
}

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

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

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

.page-slot-games__game-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-slot-games__game-title {
    font-size: 1.5rem;
    color: var(--page-slot-games-gold);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__game-description {
    color: var(--page-slot-games-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-slot-games__btn-play {
    background: var(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-main);
    border: none;
    box-shadow: 0 0 10px var(--page-slot-games-glow);
}

.page-slot-games__btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--page-slot-games-glow);
}

/* How to Play Section */
.page-slot-games__how-to-play {
    padding: 60px 0;
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.page-slot-games__step-item {
    text-align: center;
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__step-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background-color: rgba(242, 193, 78, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--page-slot-games-gold);
}

.page-slot-games__step-icon {
    width: 60px; /* Reduced icon size within wrapper */
    height: 60px;
    object-fit: contain;
}

.page-slot-games__step-title {
    font-size: 1.6rem;
    color: var(--page-slot-games-gold);
    margin-bottom: 15px;
}

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

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

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

.page-slot-games__promo-card {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.page-slot-games__promo-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-slot-games__promo-title {
    font-size: 1.5rem;
    color: var(--page-slot-games-gold);
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-slot-games__promo-text {
    color: var(--page-slot-games-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 20px;
}

.page-slot-games__btn-promo {
    background: var(--page-slot-games-button-gradient);
    color: var(--page-slot-games-text-main);
    border: none;
    box-shadow: 0 0 10px var(--page-slot-games-glow);
    margin: 0 20px 20px 20px;
}

.page-slot-games__btn-promo:hover {
    transform: translateY(-2px);
}

/* Advantages Section */
.page-slot-games__advantages-section {
    padding: 60px 0;
    background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__advantage-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__advantage-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px var(--page-slot-games-glow));
}

.page-slot-games__advantage-title {
    font-size: 1.6rem;
    color: var(--page-slot-games-gold);
    margin-bottom: 10px;
}

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

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0 80px 0;
    background-color: var(--page-slot-games-bg);
}

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

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--page-slot-games-text-main);
    cursor: pointer;
    background-color: rgba(242, 193, 78, 0.05);
    border-bottom: 1px solid var(--page-slot-games-divider);
    list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--page-slot-games-gold);
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-slot-games__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--page-slot-games-text-secondary);
    line-height: 1.7;
    background-color: rgba(17, 39, 27, 0.8);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        margin-top: 100px;
        padding: 30px 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-slot-games__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-bottom: 40px;
    }
    .page-slot-games__hero-content {
        margin-top: 80px;
        padding: 25px 10px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-slot-games__intro-description {
        font-size: 1rem;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-play,
    .page-slot-games__btn-promo {
        width: 100% !important;
        max-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__game-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__advantage-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__container,
    .page-slot-games__game-card,
    .page-slot-games__step-item,
    .page-slot-games__promo-card,
    .page-slot-games__advantage-item,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__game-thumbnail,
    .page-slot-games__promo-thumbnail,
    .page-slot-games__step-icon,
    .page-slot-games__advantage-icon,
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__section-title {
        font-size: 1.8rem;
        margin-top: 40px;
    }
    .page-slot-games__section-description {
        margin-bottom: 30px;
    }
    .page-slot-games__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    .page-slot-games__hero-image-wrapper {
        max-height: 400px; /* Adjust for mobile hero image */
    }
    .page-slot-games__hero-content {
        margin-top: 100px; /* Ensure content is below hero image */
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    .page-slot-games__hero-content {
        margin-top: 60px;
    }
    .page-slot-games__hero-image-wrapper {
        max-height: 300px;
    }
}