/* style/slot-games.css */

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

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold primary color */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: bold;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light text for dark background */
}

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

.page-slot-games__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #8B0000; /* Dark Red text for contrast */
    border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
    background-color: #e6c200;
    color: #6a0000;
    transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold */
    border: 2px solid #FFD700;
}

.page-slot-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #8B0000; /* Dark Red text */
    transform: translateY(-2px);
}

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

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background for text */
    border-radius: 10px;
}

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

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

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

/* --- About Section --- */
.page-slot-games__about-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background */
    color: #f0f0f0;
}

.page-slot-games__about-section .page-slot-games__image-content {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- Game Types Section --- */
.page-slot-games__game-types-section {
    padding: 60px 0;
    background-color: #8B0000; /* Dark Red auxiliary color */
    color: #ffffff;
}

.page-slot-games__game-types-section .page-slot-games__section-title {
    color: #FFD700; /* Gold */
}

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

.page-slot-games__game-card {
    background-color: rgba(0, 0, 0, 0.4); /* Dark semi-transparent */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    background-color: rgba(0, 0, 0, 0.6);
}

.page-slot-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block; /* Ensure it behaves as a block element for max-width */
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold */
    margin-bottom: 10px;
}

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

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* --- Benefits Section --- */
.page-slot-games__benefits-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background */
    color: #f0f0f0;
}

.page-slot-games__benefits-section .page-slot-games__section-title {
    color: #FFD700; /* Gold */
}

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

.page-slot-games__benefit-item {
    background-color: rgba(255, 255, 255, 0.08); /* Light semi-transparent */
    border-left: 5px solid #FFD700; /* Gold accent */
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__benefit-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* --- Guide Section --- */
.page-slot-games__guide-section {
    padding: 60px 0;
    background-color: #0d0d0d; /* Even darker background */
    color: #f0f0f0;
}

.page-slot-games__guide-section .page-slot-games__section-title {
    color: #FFD700; /* Gold */
}

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

.page-slot-games__guide-list li {
    background-color: rgba(255, 255, 255, 0.05); /* Very light semi-transparent */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-slot-games__guide-step-title {
    font-size: 1.6em;
    color: #FFD700; /* Gold */
    margin-bottom: 10px;
}

.page-slot-games__guide-step-description {
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-slot-games__guide-step-description a {
    color: #FFD700; /* Gold link */
    text-decoration: none;
}

.page-slot-games__guide-step-description a:hover {
    text-decoration: underline;
}

/* --- Strategy Section --- */
.page-slot-games__strategy-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background */
    color: #f0f0f0;
}

.page-slot-games__strategy-section .page-slot-games__section-title {
    color: #FFD700; /* Gold */
}

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

.page-slot-games__strategy-list li {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 5px solid #8B0000; /* Dark Red accent */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-slot-games__strategy-item-title {
    font-size: 1.4em;
    color: #FFD700; /* Gold */
    margin-bottom: 10px;
}

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

.page-slot-games__strategy-section .page-slot-games__image-content {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- FAQ Section --- */
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: #8B0000; /* Dark Red auxiliary color */
    color: #ffffff;
}

.page-slot-games__faq-section .page-slot-games__section-title {
    color: #FFD700; /* Gold */
}

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

.page-slot-games__faq-item {
    background-color: rgba(0, 0, 0, 0.4); /* Dark semi-transparent */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px 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;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700; /* Gold */
    transition: background-color 0.3s ease;
}

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

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

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

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
    font-size: 1em;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 15px 25px 25px 25px; /* Add padding when active */
}

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

.page-slot-games__faq-answer a {
    color: #FFD700; /* Gold link */
    text-decoration: none;
}

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

/* --- CTA Bottom Section --- */
.page-slot-games__cta-bottom {
    padding: 80px 0;
    text-align: center;
    background-color: #1a1a1a; /* Dark background */
    color: #f0f0f0;
}

.page-slot-games__cta-content {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__cta-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold */
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* --- Image Optimization for Content Area --- */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block; /* Ensures block behavior for responsive images */
}

/* --- Responsive Design --- */
@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__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    }

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

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

    .page-slot-games__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    
    .page-slot-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }

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

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

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

    .page-slot-games__guide-step-title,
    .page-slot-games__strategy-item-title {
        font-size: 1.3em;
    }

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

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

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

    .page-slot-games__cta-title {
        font-size: 1.8em;
    }

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

    /* Mobile image responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* Ensure containers also adapt */
    .page-slot-games__container,
    .page-slot-games__hero-content,
    .page-slot-games__game-card,
    .page-slot-games__benefit-item,
    .page-slot-games__guide-list li,
    .page-slot-games__strategy-list li,
    .page-slot-games__faq-item,
    .page-slot-games__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-section,
    .page-slot-games__about-section,
    .page-slot-games__game-types-section,
    .page-slot-games__benefits-section,
    .page-slot-games__guide-section,
    .page-slot-games__strategy-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-bottom {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Ensure content area images are never too small */
.page-slot-games__image-content,
.page-slot-games__card-image {
    min-width: 200px;
    min-height: 200px;
}
/* Override for general img tag in content area */
.page-slot-games img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* To ensure images fill space without distortion */
}

/* Specific styling for sections on dark backgrounds for contrast check */
.page-slot-games__dark-section {
    background-color: #8B0000; /* Example for dark red background */
    color: #ffffff;
}

.page-slot-games__dark-bg {
    background-color: #0d0d0d; /* Example for very dark background */
    color: #ffffff;
}