/* style/slot-games.css */

/* Base styles for the slot-games page */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a1a; /* Inherited from body, but ensure consistency */
}

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

.page-slot-games__dark-bg {
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #017439; /* Brand color for titles on light background */
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: #017439;
}

.page-slot-games__dark-bg .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__section-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

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

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay */
}

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

.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__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

.page-slot-games__btn-primary {
    background-color: #C30808; /* Login/Register color */
    color: #FFFF00; /* Login/Register 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: #ffffff;
    border: 2px solid #ffffff;
}

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

/* General Content Sections */
.page-slot-games__introduction-section,
.page-slot-games__benefits-section,
.page-slot-games__game-types-section,
.page-slot-games__guide-section,
.page-slot-games__promotions-section,
.page-slot-games__app-section,
.page-slot-games__tips-section,
.page-slot-games__faq-section,
.page-slot-games__conclusion-section {
    padding: 80px 0;
}

.page-slot-games__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Cards */
.page-slot-games__card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

.page-slot-games__card-text {
    font-size: 1em;
    line-height: 1.5;
    flex-grow: 1;
}

.page-slot-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Benefits Grid */
.page-slot-games__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Game Types Grid */
.page-slot-games__game-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Guide Section Steps */
.page-slot-games__steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slot-games__step-item {
    background-color: #017439;
    color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #017439;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-slot-games__step-title {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-slot-games__step-description {
    font-size: 0.95em;
    line-height: 1.5;
}

.page-slot-games__btn-full-width {
    width: 100%;
    margin-top: 50px;
}

/* Promotions */
.page-slot-games__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

/* App Section */
.page-slot-games__app-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-slot-games__app-text-content {
    flex: 1;
    text-align: left;
}

.page-slot-games__app-image-wrapper {
    flex: 1;
    text-align: center;
}

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

/* Tips List */
.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 50px auto 0 auto;
    max-width: 800px;
    text-align: left;
}

.page-slot-games__list-item {
    background-color: #f0f0f0;
    color: #333333;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-left: 5px solid #017439;
    border-radius: 5px;
    font-size: 1.1em;
}

.page-slot-games__list-item strong {
    color: #017439;
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.page-slot-games__faq-title {
    margin: 0;
    color: #ffffff;
}

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

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

.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 value */
    padding: 15px 25px;
}

.page-slot-games__faq-answer p {
    margin: 0;
    padding: 0;
    color: #f0f0f0;
}

/* Conclusion Section */
.page-slot-games__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-slot-games__app-text-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__hero-section {
        min-height: 500px;
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }
    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-text {
        font-size: 0.95em;
    }
    .page-slot-games__introduction-section,
    .page-slot-games__benefits-section,
    .page-slot-games__game-types-section,
    .page-slot-games__guide-section,
    .page-slot-games__promotions-section,
    .page-slot-games__app-section,
    .page-slot-games__tips-section,
    .page-slot-games__faq-section,
    .page-slot-games__conclusion-section {
        padding: 40px 0;
    }
    .page-slot-games__benefits-grid,
    .page-slot-games__game-types-grid,
    .page-slot-games__steps-list,
    .page-slot-games__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__card {
        padding: 20px;
    }
    .page-slot-games__card-title {
        font-size: 1.3em;
    }
    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-slot-games__faq-answer {
        padding: 10px 20px;
    }
    .page-slot-games img {
        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__app-content {
        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; /* Consistent with common */
    }
    .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;
    }
}