/* style/slot-games.css */

/* --- General Styles for page-slot-games --- */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #ffffff); /* Inherit from shared, fallback to white */
}

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

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

.page-slot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

/* --- Color Contrast Classes --- */
.page-slot-games__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

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

/* --- Buttons --- */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsiveness */
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-slot-games__btn-primary {
    background-color: #EA7C07; /* Login/CTA color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

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

.page-slot-games__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1e87b7;
}

/* --- 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); /* Fixed header offset */
    overflow: hidden;
    color: #ffffff;
    background-color: #26A9E0; /* Ensure dark background for hero */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 20px;
}

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

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

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

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

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

/* --- Intro Section --- */
.page-slot-games__intro-section {
    padding: 80px 0;
}

/* --- Games Section --- */
.page-slot-games__games-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light grey background */
}

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

.page-slot-games__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    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.15);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

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

.page-slot-games__card-title a {
    color: #26A9E0;
    text-decoration: none;
}

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

.page-slot-games__card-text {
    font-size: 1em;
    color: #666666;
    padding: 0 15px;
}

/* --- Benefits Section --- */
.page-slot-games__benefits-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-slot-games__benefit-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-slot-games__benefit-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__benefit-title a {
    color: #ffffff;
    text-decoration: none;
}

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

.page-slot-games__benefit-text {
    font-size: 0.95em;
    color: #f0f0f0;
}

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

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

.page-slot-games__step-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

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

.page-slot-games__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #26A9E0;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 4px solid #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-slot-games__step-title a {
    color: #26A9E0;
    text-decoration: none;
}

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

.page-slot-games__step-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
}

.page-slot-games__step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* --- Strategy Section --- */
.page-slot-games__strategy-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0;
    max-width: 900px;
}

.page-slot-games__strategy-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__strategy-title {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 10px;
}

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

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

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

.page-slot-games__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #f0f8ff; /* Light blue background for questions */
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* Remove default marker for details/summary */
}

/* Hide default details marker */
.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-slot-games__faq-item summary::marker {
    display: none;
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Rotate for minus sign */
}

.page-slot-games__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #555555;
    background-color: #ffffff;
}

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

.page-slot-games__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}

/* --- CTA Section --- */
.page-slot-games__cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-slot-games__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay */
    z-index: 1;
    display: block;
}

.page-slot-games__cta-title,
.page-slot-games__cta-description,
.page-slot-games__cta-button {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.page-slot-games__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-slot-games__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__section-title {
        font-size: 2.2em;
    }
    .page-slot-games__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .page-slot-games__hero-content {
        padding: 15px;
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-slot-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

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

    .page-slot-games__game-types,
    .page-slot-games__benefit-list,
    .page-slot-games__guide-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-slot-games__game-card,
    .page-slot-games__benefit-item,
    .page-slot-games__step-item,
    .page-slot-games__faq-item {
        margin-left: 15px;
        margin-right: 15px;
    }

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