/* style/slot-games.css */

/* Base Styles */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff; /* For dark sections */
}

.page-slot-games__section-description,
.page-slot-games__section-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #f0f0f0; /* Slightly off-white for better readability on dark */
}

.page-slot-games__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff;
}

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

.page-slot-games__list li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    color: #f0f0f0;
    line-height: 1.5;
}

.page-slot-games__list-item-title {
    color: #017439; /* Brand color for emphasis */
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
    background: #a30606;
    border-color: #a30606;
}

.page-slot-games__btn-secondary {
    background: #017439; /* Brand color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-slot-games__btn-secondary:hover {
    background: #005a2d;
    border-color: #005a2d;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    background: url('[GALLERY:hero_nổ_hũ:1920x1080:nổ hũ,ku casino app,jackpot,mobile gaming,excitement]') no-repeat center center/cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    box-sizing: border-box;
}

.page-slot-games__hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)); /* Darken overlay */
    z-index: 0;
}

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

.page-slot-games__hero-title {
    font-size: 3.5em;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

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

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 80px 0;
    background-color: #1a1a2e; /* Body background color */
    color: #ffffff;
}

/* Download Section */
.page-slot-games__download-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* Light background */
    color: #333333;
}

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

.page-slot-games__download-section .page-slot-games__section-description {
    color: #555555;
}

.page-slot-games__download-section .page-slot-games__list li {
    background: #f8f8f8;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-slot-games__download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-slot-games__download-content {
    padding-right: 20px;
}

.page-slot-games__download-content .page-slot-games__section-title,
.page-slot-games__download-content .page-slot-games__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-slot-games__download-image-wrapper {
    text-align: center;
}

.page-slot-games__download-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.page-slot-games__download-button {
    margin-top: 30px;
}

/* Features Section */
.page-slot-games__features-section {
    padding: 80px 0;
    background-color: #017439; /* Brand color dark background */
    color: #ffffff;
}

.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: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

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

.page-slot-games__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-slot-games__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Game Variety Section */
.page-slot-games__game-variety-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-slot-games__game-variety-section .page-slot-games__section-description {
    color: #555555;
}

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

.page-slot-games__game-card {
    background: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.page-slot-games__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
}

.page-slot-games__game-card .page-slot-games__card-title {
    color: #017439;
    font-size: 1.4em;
    margin: 20px 15px 10px 15px;
}

.page-slot-games__game-card .page-slot-games__card-text {
    color: #555555;
    font-size: 0.95em;
    padding: 0 15px 20px 15px;
    text-align: center;
}

.page-slot-games__tips-strategies {
    margin-top: 60px;
    padding: 40px;
    background-color: #e6ffe6; /* Lighter green background */
    border-radius: 10px;
    text-align: left;
    color: #333333;
}

.page-slot-games__tips-strategies .page-slot-games__sub-title {
    color: #017439;
    text-align: center;
}

.page-slot-games__tips-strategies .page-slot-games__list li {
    background: none;
    border: none;
    padding: 10px 0;
    margin-bottom: 5px;
    color: #333333;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
    background-color: #1a1a2e; /* Body background color */
    color: #ffffff;
}

.page-slot-games__promotions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-slot-games__promotion-content {
    padding-right: 20px;
}

.page-slot-games__promotion-content .page-slot-games__section-title,
.page-slot-games__promotion-content .page-slot-games__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-slot-games__promotion-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px auto;
    max-width: none; /* Override for list in grid */
}

.page-slot-games__promotion-list li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    color: #f0f0f0;
    line-height: 1.5;
}

.page-slot-games__promotion-image-wrapper {
    text-align: center;
}

.page-slot-games__promotion-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.page-slot-games__promotion-button {
    margin-top: 30px;
}

/* Security Section */
.page-slot-games__security-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-slot-games__security-section .page-slot-games__section-description {
    color: #555555;
}

.page-slot-games__security-section .page-slot-games__list li {
    background: #f8f8f8;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-slot-games__security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-slot-games__security-content {
    padding-left: 20px;
}

.page-slot-games__security-content .page-slot-games__section-title,
.page-slot-games__security-content .page-slot-games__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-slot-games__security-image-wrapper {
    text-align: center;
}

.page-slot-games__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.page-slot-games__security-button {
    margin-top: 30px;
}

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

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

.page-slot-games__faq-item {
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #017439; /* Brand color for question background */
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: #005a2d;
}

.page-slot-games__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
}

.page-slot-games__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFFF00; /* Custom color for toggle icon */
}

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

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

.page-slot-games__faq-text {
    margin: 0;
    font-size: 1em;
    color: #f0f0f0;
}

/* Call to Action Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    background-color: #017439; /* Brand color dark background */
    color: #ffffff;
    text-align: center;
}

.page-slot-games__cta-content .page-slot-games__section-title,
.page-slot-games__cta-content .page-slot-games__section-description {
    color: #ffffff;
}

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

/* Image styles - IMPORTANT: No filter */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* General styling */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-slot-games__hero-title {
        font-size: 2.8em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__download-grid,
    .page-slot-games__promotions-grid,
    .page-slot-games__security-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .page-slot-games__download-content,
    .page-slot-games__promotion-content,
    .page-slot-games__security-content {
        padding-right: 0;
        padding-left: 0;
    }
    .page-slot-games__download-content .page-slot-games__section-title,
    .page-slot-games__download-content .page-slot-games__section-description,
    .page-slot-games__promotion-content .page-slot-games__section-title,
    .page-slot-games__promotion-content .page-slot-games__section-description,
    .page-slot-games__security-content .page-slot-games__section-title,
    .page-slot-games__security-content .page-slot-games__section-description {
        text-align: center;
    }
    .page-slot-games__download-image-wrapper,
    .page-slot-games__promotion-image-wrapper,
    .page-slot-games__security-image-wrapper {
        order: -1; /* Image appears above content on mobile */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    /* Mobile image responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile video responsiveness */
    .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,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slot-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Mobile button responsiveness */
    .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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__hero-buttons,
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-slot-games__hero-buttons .page-slot-games__btn-primary,
    .page-slot-games__hero-buttons .page-slot-games__btn-secondary,
    .page-slot-games__cta-buttons .page-slot-games__btn-primary,
    .page-slot-games__cta-buttons .page-slot-games__btn-secondary {
        width: auto !important;
        max-width: 100% !important;
        display: block !important;
    }

    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__hero-title {
        font-size: 2em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-description,
    .page-slot-games__section-text {
        font-size: 1em;
    }
    .page-slot-games__faq-question {
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px 20px 20px 20px;
    }
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Ensure content area does not overflow */
    .page-slot-games {
        overflow-x: hidden;
    }
}