/* style/slot-games.css */

/* --- Base Styles --- */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    /* body padding-top handled by shared.css */
}

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

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

.page-slot-games__heading {
    font-size: clamp(28px, 4vw, 48px); /* Using clamp for H2 */
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-slot-games__sub-heading {
    font-size: clamp(22px, 3vw, 32px);
    color: #F2FFF6; /* Text Main */
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-slot-games__description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: -20px auto 40px auto;
    color: #A7D9B8; /* Text Secondary */
}

/* --- Buttons --- */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__guide-link,
.page-slot-games__faq-link {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensure padding doesn't push width */
    max-width: 100%; /* For responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    transform: translateY(-2px);
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

/* --- Hero Section --- */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack image and content vertically */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden; /* Ensure nothing spills out */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    position: relative;
    z-index: 1; /* Ensure image is behind content if content was positioned */
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-slot-games__hero-content {
    position: relative; /* Relative positioning for content below the image */
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly with the bottom of the image for visual flow */
    background: rgba(8, 22, 15, 0.9); /* Background color with slight transparency */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-games__main-title {
    font-size: clamp(36px, 5vw, 60px); /* Using clamp for H1 */
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1px;
}

.page-slot-games__subtitle {
    font-size: clamp(16px, 2vw, 22px);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Content Blocks --- */
.page-slot-games__content-block {
    max-width: 900px;
    margin: 0 auto;
    font-size: 17px;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__content-block p {
    margin-bottom: 15px;
}

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

.page-slot-games__card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px #57E38D; /* Glow */
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space below image */
}

.page-slot-games__card-title {
    font-size: 24px;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    font-weight: 700;
}

.page-slot-games__card-text {
    font-size: 16px;
    color: #A7D9B8; /* Text Secondary */
}

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

.page-slot-games__feature-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-games__feature-icon {
    min-width: 200px; /* Enforcing min-width */
    min-height: 200px; /* Enforcing min-height */
    width: auto; /* Reset width for larger images */
    height: auto; /* Reset height for larger images */
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #57E38D); /* Glow effect for icons */
}

.page-slot-games__feature-title {
    font-size: 22px;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
    font-weight: 700;
}

.page-slot-games__feature-text {
    font-size: 16px;
    color: #A7D9B8; /* Text Secondary */
}

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

.page-slot-games__guide-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-games__guide-title {
    font-size: 24px;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    font-weight: 700;
}

.page-slot-games__guide-item p {
    font-size: 17px;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-slot-games__guide-link {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 15px;
    margin-top: 10px;
}

.page-slot-games__guide-link:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-1px);
}

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

.page-slot-games__promo-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding-bottom: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border color */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px #57E38D; /* Glow */
}

.page-slot-games__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin-bottom: 20px;
    display: block;
}

.page-slot-games__promo-title {
    font-size: 22px;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
    padding: 0 15px;
    font-weight: 700;
}

.page-slot-games__promo-text {
    font-size: 16px;
    color: #A7D9B8; /* Text Secondary */
    padding: 0 15px;
}

/* --- Tips Section --- */
.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__tips-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-games__tips-title {
    font-size: 24px;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    font-weight: 700;
}

.page-slot-games__tips-item p {
    font-size: 17px;
    color: #F2FFF6; /* Text Main */
}

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

.page-slot-games__safety-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-games__safety-icon {
    min-width: 200px; /* Enforcing min-width */
    min-height: 200px; /* Enforcing min-height */
    width: auto; /* Reset width for larger images */
    height: auto; /* Reset height for larger images */
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #57E38D); /* Glow effect for icons */
}

.page-slot-games__safety-title {
    font-size: 22px;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
    font-weight: 700;
}

.page-slot-games__safety-text {
    font-size: 16px;
    color: #A7D9B8; /* Text Secondary */
}

/* --- Support Section --- */
.page-slot-games__support-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border color */
}

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

.page-slot-games__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: #F2C14E; /* Gold */
    cursor: pointer;
    background-color: #11271B; /* Card BG */
    border-bottom: 1px solid #1E3A2A; /* Divider */
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: rgba(242, 193, 78, 0.05); /* Slight hover effect */
}

.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: 24px;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Glow */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: none;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    color: #F2C14E; /* Gold */
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 16px;
    color: #A7D9B8; /* Text Secondary */
}

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

.page-slot-games__faq-link {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #FFFFFF;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 10px;
}

.page-slot-games__faq-link:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* --- Floating Button --- */
.page-slot-games__floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #FFFFFF;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 5px 20px rgba(34, 199, 104, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    max-width: 180px; /* Limit width */
}

.page-slot-games__floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 199, 104, 0.7);
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        margin-top: -50px;
        padding: 30px 20px;
    }

    .page-slot-games__main-title {
        font-size: clamp(32px, 4.5vw, 50px);
    }

    .page-slot-games__subtitle {
        font-size: clamp(15px, 1.8vw, 20px);
    }

    .page-slot-games__heading {
        font-size: clamp(26px, 3.5vw, 40px);
    }
}

@media (max-width: 768px) {
    .page-slot-games__section {
        padding: 40px 0;
    }

    .page-slot-games__hero-section {
        padding: 5px 0 40px 0;
    }

    .page-slot-games__hero-content {
        margin-top: -30px;
        padding: 25px 15px;
        border-radius: 8px;
    }

    .page-slot-games__main-title {
        font-size: clamp(28px, 6vw, 36px);
        margin-bottom: 15px;
    }

    .page-slot-games__subtitle {
        font-size: clamp(14px, 3vw, 18px);
        margin-bottom: 25px;
    }

    .page-slot-games__heading {
        font-size: clamp(24px, 5vw, 32px);
        margin-bottom: 30px;
    }

    .page-slot-games__description {
        font-size: 16px;
        margin: -15px auto 30px auto;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__guide-link,
    .page-slot-games__faq-link {
        padding: 10px 20px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }

    .page-slot-games__card,
    .page-slot-games__feature-item,
    .page-slot-games__guide-item,
    .page-slot-games__promo-card,
    .page-slot-games__tips-item,
    .page-slot-games__safety-item,
    .page-slot-games__faq-item {
        padding: 20px;
        border-radius: 8px;
    }

    .page-slot-games__card-image,
    .page-slot-games__promo-image {
        height: 180px;
        border-radius: 6px;
    }

    .page-slot-games__feature-icon,
    .page-slot-games__safety-icon {
        min-width: 200px !important; /* Enforcing min-width */
        min-height: 200px !important; /* Enforcing min-height */
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
    }

    .page-slot-games__card-title,
    .page-slot-games__feature-title,
    .page-slot-games__guide-title,
    .page-slot-games__promo-title,
    .page-slot-games__tips-title,
    .page-slot-games__safety-title {
        font-size: 20px;
    }

    .page-slot-games__card-text,
    .page-slot-games__feature-text,
    .page-slot-games__guide-item p,
    .page-slot-games__promo-text,
    .page-slot-games__tips-item p,
    .page-slot-games__safety-text,
    .page-slot-games__faq-answer p {
        font-size: 15px;
    }

    .page-slot-games__support-image {
        margin: 20px auto;
        border-radius: 8px;
    }

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

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

    /* Floating button on mobile */
    .page-slot-games__floating-btn {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 16px;
        max-width: 160px;
        border-radius: 40px;
    }

    /* Image responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-section,
    .page-slot-games__hero-content,
    .page-slot-games__grid-layout,
    .page-slot-games__feature-grid,
    .page-slot-games__guide-list,
    .page-slot-games__promotion-grid,
    .page-slot-games__tips-list,
    .page-slot-games__safety-grid,
    .page-slot-games__faq-list,
    .page-slot-games__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body already handles header offset */
    }
}

@media (max-width: 480px) {
    .page-slot-games__floating-btn {
        padding: 10px 15px;
        font-size: 14px;
        max-width: 140px;
    }

    .page-slot-games__card-image,
    .page-slot-games__promo-image {
        height: 150px;
    }
}

/* Contrast Fixes - Ensure text is readable on various backgrounds */
/* These are general guidelines, specific elements have their own color definitions */
.page-slot-games p,
.page-slot-games li,
.page-slot-games__card-text,
.page-slot-games__feature-text,
.page-slot-games__promo-text,
.page-slot-games__tips-item p,
.page-slot-games__safety-text,
.page-slot-games__faq-answer p {
    color: #A7D9B8; /* Text Secondary, for general body text on dark background */
}

/* Ensure headings on dark background are Gold */
.page-slot-games__heading,
.page-slot-games__sub-heading,
.page-slot-games__card-title,
.page-slot-games__feature-title,
.page-slot-games__guide-title,
.page-slot-games__promo-title,
.page-slot-games__tips-title,
.page-slot-games__safety-title,
.page-slot-games__faq-question {
    color: #F2C14E; /* Gold */
}

/* Specific text color for main content block text for readability */
.page-slot-games__content-block p {
    color: #F2FFF6; /* Text Main, slightly lighter than secondary for main content */
}

/* FAQ toggle color */
.page-slot-games__faq-toggle {
    color: #57E38D; /* Glow */
}

/* Ensure images do not use filter */
.page-slot-games img {
    filter: none;
}