/* style/slot-games-guide.css */

/* --- General Page Styles --- */
.page-slot-games-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #f8f8f8; /* A very light background to ensure contrast */
}

/* Fixed header offset */
.page-slot-games-guide__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply offset to the first content section */
}

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

.page-slot-games-guide__text-center {
    text-align: center;
}

.page-slot-games-guide__section-title {
    font-size: 2.5em;
    color: #8B0000; /* Auxiliary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-slot-games-guide__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #555555;
}

.page-slot-games-guide__sub-title {
    font-size: 1.8em;
    color: #8B0000;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games-guide__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background: linear-gradient(135deg, #FFD700, #8B0000);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    padding: 60px 20px; /* Base padding, offset handled by padding-top */
}

.page-slot-games-guide__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.page-slot-games-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    font-weight: bold;
}

.page-slot-games-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
}

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

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

.page-slot-games-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

/* --- Buttons --- */
.page-slot-games-guide__btn-primary,
.page-slot-games-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games-guide__btn-primary {
    background-color: #FFD700;
    color: #8B0000;
    border: 2px solid #FFD700;
}

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

.page-slot-games-guide__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-slot-games-guide__btn-secondary:hover {
    background-color: #FFD700;
    color: #8B0000;
    transform: translateY(-2px);
}

/* --- Section Styling --- */
.page-slot-games-guide__why-play-section,
.page-slot-games-guide__basic-rules-section,
.page-slot-games-guide__types-section,
.page-slot-games-guide__features-bonuses-section,
.page-slot-games-guide__strategies-section,
.page-slot-games-guide__choose-game-section,
.page-slot-games-guide__mistakes-section,
.page-slot-games-guide__faq-section,
.page-slot-games-guide__cta-section {
    padding: 80px 0;
}

.page-slot-games-guide__light-bg {
    background-color: #ffffff; /* Light background for default text */
    color: #333333;
}

.page-slot-games-guide__dark-bg {
    background-color: #8B0000; /* Auxiliary color as background */
    color: #ffffff; /* White text for dark background */
}

.page-slot-games-guide__dark-bg .page-slot-games-guide__section-title,
.page-slot-games-guide__dark-bg .page-slot-games-guide__sub-title {
    color: #FFD700; /* Main color for titles on dark background */
}

.page-slot-games-guide__dark-bg .page-slot-games-guide__section-intro {
    color: #f0f0f0;
}

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

.page-slot-games-guide__feature-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.page-slot-games-guide__feature-card:hover {
    transform: translateY(-10px);
}

.page-slot-games-guide__feature-icon {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-height: 200px; /* Constrain height */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Min size enforcement */
    min-height: 200px; /* Min size enforcement */
}

.page-slot-games-guide__feature-title {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games-guide__feature-description {
    font-size: 1em;
    color: #555555;
}

/* --- Content Grid (for Basic Rules & Strategies) --- */
.page-slot-games-guide__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.page-slot-games-guide__content-grid--reverse {
    direction: rtl; /* For reversing order, content-block will be on right */
}

.page-slot-games-guide__content-grid--reverse > .page-slot-games-guide__text-block {
    direction: ltr; /* Reset text direction */
}

.page-slot-games-guide__content-grid--reverse > .page-slot-games-guide__image-block {
    direction: ltr; /* Reset image direction */
}

.page-slot-games-guide__text-block ul {
    list-style: disc;
    margin-left: 20px;
    color: inherit;
}

.page-slot-games-guide__text-block li {
    margin-bottom: 8px;
}

.page-slot-games-guide__content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Min size enforcement */
    min-height: 200px; /* Min size enforcement */
}

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

.page-slot-games-guide__type-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.page-slot-games-guide__type-card:hover {
    transform: translateY(-8px);
}

.page-slot-games-guide__type-image {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Min size enforcement */
    min-height: 200px; /* Min size enforcement */
}

.page-slot-games-guide__type-title {
    font-size: 1.4em;
    color: #8B0000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games-guide__type-description {
    font-size: 0.95em;
    color: #555555;
}

/* --- Bonus Grid --- */
.page-slot-games-guide__bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-slot-games-guide__bonus-item {
    background-color: rgba(255, 255, 255, 0.1); /* Light transparent background on dark section */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games-guide__bonus-title {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games-guide__bonus-description {
    font-size: 0.95em;
    color: #f0f0f0;
}

/* --- Choice List --- */
.page-slot-games-guide__choice-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games-guide__choice-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games-guide__choice-number {
    font-size: 2em;
    font-weight: bold;
    color: #FFD700;
    margin-right: 20px;
    flex-shrink: 0;
    background-color: #8B0000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFD700;
}

.page-slot-games-guide__choice-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games-guide__choice-content p {
    color: #f0f0f0;
}

/* --- Mistakes List --- */
.page-slot-games-guide__mistakes-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-slot-games-guide__mistake-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #8B0000;
}

.page-slot-games-guide__mistake-title {
    font-size: 1.4em;
    color: #8B0000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games-guide__mistake-item p {
    color: #555555;
}

/* --- FAQ Section --- */
.page-slot-games-guide__faq-list {
    margin-top: 40px;
}

.page-slot-games-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

.page-slot-games-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-slot-games-guide__faq-title {
    font-size: 1.2em;
    color: #FFD700;
    margin: 0;
    font-weight: bold;
}

.page-slot-games-guide__faq-toggle {
    font-size: 1.8em;
    color: #FFD700;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-slot-games-guide__faq-item.active .page-slot-games-guide__faq-toggle {
    transform: rotate(45deg); /* Plus to X (minus) */
}

.page-slot-games-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

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

.page-slot-games-guide__faq-answer p {
    margin: 0;
    color: inherit;
}

/* --- CTA Section --- */
.page-slot-games-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-slot-games-guide__hero-title {
        font-size: 3em;
    }

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

    .page-slot-games-guide__content-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games-guide__content-grid--reverse {
        direction: ltr; /* Reset to default for smaller screens */
    }

    .page-slot-games-guide__content-grid--reverse > .page-slot-games-guide__text-block,
    .page-slot-games-guide__content-grid--reverse > .page-slot-games-guide__image-block {
        direction: ltr;
    }
}

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

    /* Fixed header offset for mobile */
    .page-slot-games-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

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

    .page-slot-games-guide__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-slot-games-guide__btn-primary,
    .page-slot-games-guide__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games-guide__hero-cta,
    .page-slot-games-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Images responsiveness */
    .page-slot-games-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games-guide__features-grid,
    .page-slot-games-guide__card-grid,
    .page-slot-games-guide__bonus-grid,
    .page-slot-games-guide__mistakes-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games-guide__container {
        padding: 0 15px; /* Adjust container padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games-guide__faq-item,
    .page-slot-games-guide__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-slot-games-guide__faq-question {
        padding: 15px;
    }

    .page-slot-games-guide__faq-answer {
        padding: 0 15px;
    }

    .page-slot-games-guide__faq-item.active .page-slot-games-guide__faq-answer {
        padding: 10px 15px 15px 15px;
    }
    
    .page-slot-games-guide__choice-item {
        flex-direction: column;
        text-align: center;
    }

    .page-slot-games-guide__choice-number {
        margin: 0 auto 15px auto;
    }
}