/* style/slot-games.css */

/* Base styles for the page content, ensuring contrast with body background */
.page-slot-games {
    color: #F2FFF6; /* Text Main - for dark background #08160F */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #08160F; /* Background */
}

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

/* Section styling */
.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__section:nth-of-type(odd) {
    background-color: #0A4B2C; /* Deep Green for alternating sections */
}

.page-slot-games__section:nth-of-type(even) {
    background-color: #08160F; /* Background */
}

.page-slot-games__section-title {
    font-size: 2.8em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    overflow: hidden;
    background-color: #08160F; /* Background */
}

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim the image to ensure text readability */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(8, 22, 15, 0.7); /* Background with transparency for content readability */
    border-radius: 10px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: #2AD16F; /* A lighter green from the gradient for contrast */
    border: 2px solid #2AD16F; /* Border color */
}

.page-slot-games__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1); /* Light transparent background on hover */
    color: #F2FFF6; /* Text Main */
    border-color: #F2FFF6;
}

.page-slot-games__btn-link {
    background: none;
    color: #57E38D; /* Glow color for links */
    border: none;
    padding: 0;
    margin-top: 15px;
    text-decoration: underline;
}

.page-slot-games__btn-link:hover {
    color: #F2C14E; /* Gold on hover */
}

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

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

/* Card styling */
.page-slot-games__card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it doesn't leave extra space below */
}

.page-slot-games__card-title {
    font-size: 1.8em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__card-text {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-slot-games__feature-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-slot-games__feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: #57E38D; /* Glow */
}

.page-slot-games__feature-title {
    font-size: 1.6em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__feature-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

/* Guide List */
.page-slot-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__guide-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
}

.page-slot-games__guide-step-title {
    font-size: 1.7em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__guide-step-text {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__guide-step-text a {
    color: #57E38D; /* Glow color for links */
    text-decoration: none;
}

.page-slot-games__guide-step-text a:hover {
    text-decoration: underline;
    color: #F2C14E; /* Gold on hover */
}

/* Strategy List */
.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__strategy-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
}

.page-slot-games__strategy-title {
    font-size: 1.7em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__strategy-text {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__strategy-text a {
    color: #57E38D; /* Glow color for links */
    text-decoration: none;
}

.page-slot-games__strategy-text a:hover {
    text-decoration: underline;
    color: #F2C14E; /* Gold on hover */
}

/* Dark Section (for conclusion) */
.page-slot-games__dark-section {
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
    padding: 60px 20px;
    border-radius: 10px;
}

.page-slot-games__dark-section .page-slot-games__section-title {
    color: #F2FFF6;
}

.page-slot-games__dark-section .page-slot-games__text-block {
    color: #A7D9B8;
}

.page-slot-games__dark-section .page-slot-games__text-block a {
    color: #57E38D;
    text-decoration: none;
}

.page-slot-games__dark-section .page-slot-games__text-block a:hover {
    text-decoration: underline;
    color: #F2C14E;
}

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

.page-slot-games__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.3em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #1E3A2A; /* Divider for question header */
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: #0A4B2C; /* Deep Green on hover */
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-question::marker {
    display: none;
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #57E38D; /* Glow */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-slot-games__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid #2E7A4E; /* Border */
}

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

.page-slot-games__faq-answer a {
    color: #57E38D; /* Glow color for links */
    text-decoration: none;
}

.page-slot-games__faq-answer a:hover {
    text-decoration: underline;
    color: #F2C14E; /* Gold on hover */
}

/* Images within content areas */
.page-slot-games__introduction-section .page-slot-games__image-content,
.page-slot-games__types-section .page-slot-games__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 2.8em;
    }
    .page-slot-games__section-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
}

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

    .page-slot-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already has padding-top */
    }

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

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

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-slot-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__section {
        padding: 40px 0;
    }

    .page-slot-games__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-slot-games__image-content,
    .page-slot-games__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Video section (if present, apply similar rules) */
    .page-slot-games__video-section {
        padding-top: 10px !important; /* body already has padding-top */
    }
    .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;
    }
    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

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