/* style/slot-games.css */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #121212; /* Matches shared.css body background */
    line-height: 1.6;
}

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

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

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

.page-slot-games__text-contrast-fix {
    color: #333333;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    font-weight: bold;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

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

.page-slot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

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

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

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary,
.page-slot-games a[class*="button"],
.page-slot-games a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

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

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

.page-slot-games__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
}

.page-slot-games__btn-tertiary {
    background-color: #EA7C07; /* Login color for a distinct CTA in cards */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
    padding: 10px 20px;
    font-size: 1em;
}

.page-slot-games__btn-tertiary:hover {
    background-color: #c76506;
    border-color: #c76506;
}

.page-slot-games__center-buttons {
    margin-top: 40px;
}

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

.page-slot-games__card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

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

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-slot-games__card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #26A9E0;
    font-weight: bold;
}

.page-slot-games__card-description {
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Guide Section */
.page-slot-games__guide-section {
    padding: 60px 0;
}

.page-slot-games__guide-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-slot-games__guide-text {
    flex: 1;
}

.page-slot-games__guide-list {
    list-style: decimal;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-slot-games__guide-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.5;
}

.page-slot-games__guide-image-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__guide-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Strategy Section */
.page-slot-games__strategy-section {
    padding: 60px 0;
}

.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-slot-games__strategy-list li {
    background-color: rgba(38, 169, 224, 0.1);
    border-left: 5px solid #26A9E0;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.6;
}

.page-slot-games__strategy-list li strong {
    color: #26A9E0;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 60px 0;
}

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

/* Safety Section */
.page-slot-games__safety-section {
    padding: 60px 0;
}

.page-slot-games__safety-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-direction: row-reverse; /* Image on right */
}

.page-slot-games__safety-text {
    flex: 1;
}

.page-slot-games__safety-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-slot-games__safety-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.5;
}

.page-slot-games__safety-image-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__safety-image {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
}

.page-slot-games__faq-list {
    margin-top: 30px;
}

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    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: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(38, 169, 224, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-slot-games__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-slot-games__faq-question::marker { /* Hide default marker for Firefox */
    display: none;
}

.page-slot-games__faq-item[open] > .page-slot-games__faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    color: #26A9E0;
}

.page-slot-games__faq-answer {
    padding: 20px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #f0f0f0;
}

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

/* Conclusion Section */
.page-slot-games__conclusion-section {
    padding: 60px 0 80px 0;
    text-align: center;
}

/* Global Image Responsiveness */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    /* filter properties are strictly forbidden for color manipulation */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

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

    .page-slot-games__hero-section {
        height: auto;
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

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

    .page-slot-games__hero-cta-buttons,
    .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-tertiary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-slot-games__game-cards-grid,
    .page-slot-games__promotion-cards {
        grid-template-columns: 1fr;
    }

    .page-slot-games__guide-content,
    .page-slot-games__safety-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-slot-games__guide-image-wrapper,
    .page-slot-games__safety-image-wrapper {
        min-width: unset;
        width: 100%;
    }

    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__guide-section,
    .page-slot-games__safety-section,
    .page-slot-games__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

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

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