/* style/slot-games.css */

/* Base Styles */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

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

.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__dark-bg {
    background-color: #0a0a0a; /* Ensure consistency with body background if section takes full width */
    color: #ffffff;
}

.page-slot-games__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff; /* Ensure contrast on dark background */
    font-weight: bold;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0; /* Slightly off-white for readability */
}

.page-slot-games__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.page-slot-games__list-item {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: #f0f0f0;
}

.page-slot-games__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #017439;
}

.page-slot-games__numbered-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__numbered-list .page-slot-games__list-item {
    counter-increment: step-counter;
    margin-bottom: 20px;
    padding-left: 45px;
}

.page-slot-games__numbered-list .page-slot-games__list-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #017439;
    color: #FFFF00; /* Register/Login font color for numbers */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1em;
}

.page-slot-games a {
    color: #017439;
    text-decoration: none;
}

.page-slot-games a:hover {
    text-decoration: underline;
}

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

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

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

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

.page-slot-games__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-slot-games__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-slot-games__cta-center {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Hero Section */
.page-slot-games__hero-section {
    padding: var(--header-offset, 120px) 0 60px 0; /* Apply header offset */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: left;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.page-slot-games__hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
    padding-left: 20px;
}

.page-slot-games__main-title {
    font-size: 3.5em;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFF00; /* Yellow for main title */
}

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

.page-slot-games__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
    min-width: 200px; /* Ensure min size */
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

/* Introduction Section */
.page-slot-games__introduction {
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-slot-games__content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-slot-games__content-image-wrapper {
    flex: 1;
    min-width: 300px; /* Ensure min size */
}

.page-slot-games__content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-slot-games__list {
    flex: 1;
    min-width: 300px;
}

/* Game Types Section */
.page-slot-games__game-types {
    background-color: #1a1a1a;
}

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

.page-slot-games__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    min-width: 200px; /* Ensure min size */
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-slot-games__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for card titles */
}

.page-slot-games__card-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Features Section */
.page-slot-games__features {
    background-color: #0a0a0a;
}

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

.page-slot-games__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    color: #ffffff;
    min-width: 200px; /* Ensure min size */
}

.page-slot-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-slot-games__feature-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #FFFF00;
}

.page-slot-games__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

/* How to Play Section */
.page-slot-games__how-to-play {
    background-color: #1a1a1a;
}

/* Tips Section */
.page-slot-games__tips {
    background-color: #0a0a0a;
}

.page-slot-games__list--tips .page-slot-games__list-item::before {
    content: '💡';
    color: #FFFF00;
}

/* Promotions Section */
.page-slot-games__promotions {
    background-color: #1a1a1a;
}

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

/* FAQ Section */
.page-slot-games__faq {
    background-color: #0a0a0a;
}

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

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg);
    color: #FFFF00;
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-slot-games__faq-answer p {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Conclusion Section */
.page-slot-games__conclusion {
    background-color: #017439; /* Use primary brand color for conclusion */
    color: #ffffff;
}

.page-slot-games__conclusion .page-slot-games__section-title {
    color: #FFFF00; /* Yellow for title on green background */
}

.page-slot-games__conclusion .page-slot-games__text-block {
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-section {
        flex-direction: column;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .page-slot-games__hero-content {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
    }

    .page-slot-games__main-title {
        font-size: 2.8em;
    }

    .page-slot-games__hero-description {
        font-size: 1.1em;
    }

    .page-slot-games__hero-image-wrapper {
        padding: 0 20px;
    }

    .page-slot-games__content-flex {
        flex-direction: column;
    }
}

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

    .page-slot-games__section-title {
        font-size: 2.2em;
    }

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

    .page-slot-games__list-item,
    .page-slot-games__numbered-list .page-slot-games__list-item {
        font-size: 1em;
    }

    .page-slot-games__main-title {
        font-size: 2em;
    }

    .page-slot-games__hero-description {
        font-size: 1em;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100% !important; /* Buttons take full width */
        margin: 5px 0;
    }

    .page-slot-games__cta-buttons,
    .page-slot-games__cta-center {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile Image/Video/Container Adapation */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper,
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        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; /* Ensure header offset for mobile video */
    }

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

    .page-slot-games__faq-answer {
        padding: 10px 20px 20px 20px;
    }
}