/* style/slot-games.css */

/* --- General Styling --- */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

.page-slot-games__dark-bg {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__light-bg {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-slot-games__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #F2C14E, #57E38D);
    margin: 10px auto 0;
}

.page-slot-games__text-block {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
}

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

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

/* --- Buttons --- */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button fits container */
    box-sizing: border-box;
}

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

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: #57E38D; /* Glow */
    color: #08160F; /* Background */
}

.page-slot-games__btn-tertiary {
    background-color: #2E7A4E; /* Border */
    color: #F2FFF6; /* Text Main */
    border: none;
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    margin-top: 15px;
}

.page-slot-games__btn-tertiary:hover {
    background-color: #0A4B2C; /* Deep Green */
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

/* --- Hero Section --- */
.page-slot-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
}

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

.page-slot-games__hero-content {
    max-width: 900px;
    padding: 40px 20px 60px;
    position: relative; /* Ensure it's in normal flow */
    z-index: 1;
}

.page-slot-games__main-title {
    font-size: clamp(2.2em, 5vw, 3.5em); /* Responsive font size for H1 */
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-slot-games__description {
    font-size: 1.2em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-slot-games__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__feature-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

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

/* --- Game Types Section --- */
.page-slot-games__game-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-slot-games__game-item {
    background-color: #11271B; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #2E7A4E; /* Border */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__game-item-title {
    font-size: 1.4em;
    color: #57E38D; /* Glow */
    margin-bottom: 10px;
}

.page-slot-games__game-item-description {
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.95em;
}

/* --- How to Play Section --- */
.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

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

.page-slot-games__step-title {
    font-size: 1.6em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

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

/* --- Tips & Strategies Section --- */
.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-slot-games__strategy-item {
    background-color: #11271B; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #2E7A4E; /* Border */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__strategy-title {
    font-size: 1.4em;
    color: #57E38D; /* Glow */
    margin-bottom: 10px;
}

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

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

.page-slot-games__promo-item {
    background-color: #11271B; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #2E7A4E; /* Border */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-slot-games__safety-item {
    background-color: #11271B; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #2E7A4E; /* Border */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__safety-title {
    font-size: 1.4em;
    color: #57E38D; /* Glow */
    margin-bottom: 10px;
}

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

/* --- 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: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2C14E; /* Gold */
    cursor: pointer;
    background-color: #0A4B2C; /* Deep Green */
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: #1E3A2A; /* Divider */
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    content: '−';
}

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

/* --- CTA Banner Section --- */
.page-slot-games__cta-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background-color: #0A4B2C; /* Deep Green */
    border-top: 5px solid #F2C14E; /* Gold */
    border-bottom: 5px solid #F2C14E; /* Gold */
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.page-slot-games__cta-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.page-slot-games__cta-title {
    font-size: clamp(2em, 4vw, 3em);
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
}

.page-slot-games__cta-description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
}

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

/* --- Floating Buttons --- */
.page-slot-games__floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.page-slot-games__floating-btn {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    white-space: nowrap; /* Keep text on one line for floating buttons */
}

.page-slot-games__floating-btn:hover {
    transform: translateY(-3px);
}

.page-slot-games__floating-btn--login {
    background: #F2C14E; /* Gold */
    color: #08160F; /* Background */
}

.page-slot-games__floating-btn--login:hover {
    background: #FFD700; /* Brighter Gold */
}


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

    .page-slot-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-slot-games__description {
        font-size: 1.1em;
    }

    .page-slot-games__feature-grid,
    .page-slot-games__game-list,
    .page-slot-games__steps-list,
    .page-slot-games__strategy-list,
    .page-slot-games__promo-list,
    .page-slot-games__safety-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    /* General responsive overrides for images, videos, buttons */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !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__video-section,
    .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-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__content-area {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__cta-button,
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to buttons themselves */
        padding-right: 15px;
    }
    
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
    }

    /* Page specific adjustments */
    .page-slot-games__hero-content {
        padding: 30px 15px 40px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.8em);
    }

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

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

    .page-slot-games__feature-grid,
    .page-slot-games__game-list,
    .page-slot-games__steps-list,
    .page-slot-games__strategy-list,
    .page-slot-games__promo-list,
    .page-slot-games__safety-list {
        grid-template-columns: 1fr;
    }

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

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

    .page-slot-games__cta-banner {
        padding: 60px 15px;
    }

    .page-slot-games__cta-title {
        font-size: clamp(1.6em, 6vw, 2.5em);
    }

    .page-slot-games__floating-buttons {
        bottom: 10px;
        right: 10px;
        flex-direction: row; /* Keep floating buttons horizontal if space allows */
        gap: 8px;
    }
    .page-slot-games__floating-btn {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-slot-games__floating-buttons {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 20px);
        justify-content: space-around;
    }
    .page-slot-games__floating-btn {
        flex-grow: 1;
        text-align: center;
    }
}

/* Contrast Fix (if needed, though colors are chosen for contrast) */
.page-slot-games__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-slot-games__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}