/* style/slot-games.css */
/* Body background is dark: #08160F */
.page-slot-games {
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
}

.page-slot-games h1,
.page-slot-games h2,
.page-slot-games h3,
.page-slot-games h4,
.page-slot-games h5,
.page-slot-games h6 {
    color: #F2FFF6; /* Text Main */
    line-height: 1.3;
}

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

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

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* H1 font size constraint */
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #11A84E, #22C768); /* Main color gradient */
    border-radius: 2px;
}

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #08160F; /* Background color */
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for large screens */
    margin-bottom: 40px; /* Space between image and content */
}

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

.page-slot-games__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
}

.page-slot-games__hero-description {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: #A7D9B8; /* Text Secondary */
}

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

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

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button custom color */
    color: #F2FFF6; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

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

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

.page-slot-games__btn-secondary:hover {
    background: #2AD16F; /* Button color */
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__btn-link {
    background: transparent;
    color: #57E38D; /* Glow color */
    border: none;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: underline;
}

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

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

.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__how-to-play-section,
.page-slot-games__strategy-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__conclusion-section {
    padding: 80px 0;
    background-color: #08160F; /* Background color */
}

.page-slot-games__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__text-block strong {
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__text-block a {
    color: #57E38D; /* Glow color */
    text-decoration: underline;
}

.page-slot-games__text-block a:hover {
    color: #F2C14E; /* Gold color */
}

.page-slot-games__text-block--centered {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__grid--two-columns {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-slot-games__card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border color */
    color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

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

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

.page-slot-games__card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #A7D9B8; /* Text Secondary */
}

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

.page-slot-games__step-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #22C768; /* Auxiliary color */
    color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__step-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #A7D9B8; /* Text Secondary */
}

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

.page-slot-games__strategy-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid #2E7A4E; /* Border color */
    color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__strategy-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

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

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

.page-slot-games__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__promo-image {
    width: 100%;
    height: 180px; /* Fixed height for promo images */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-slot-games__promo-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 0 15px;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__promo-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1;
    color: #A7D9B8; /* Text Secondary */
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    color: #F2FFF6; /* Text Main */
    user-select: none;
    list-style: none; /* For details/summary */
}

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }

    .page-slot-games__hero-content {
        padding: 0 15px;
    }

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

    .page-slot-games__section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .page-slot-games__introduction-section,
    .page-slot-games__game-types-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__strategy-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__conclusion-section {
        padding: 60px 0;
    }

    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__card-image {
        height: 180px;
    }

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

@media (max-width: 768px) {
    /* Mobile image, video, button, and container overrides */
    .page-slot-games img {
        max-width: 100% !important;
        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__introduction-section,
    .page-slot-games__game-types-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__strategy-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

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

    .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 !important;
        padding-right: 15px !important;
    }
    
    .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: 0px !important; /* Buttons themselves have padding */
        padding-right: 0px !important;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
    }

    .page-slot-games__grid,
    .page-slot-games__grid--two-columns,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .page-slot-games__card,
    .page-slot-games__strategy-card,
    .page-slot-games__promo-card,
    .page-slot-games__step-item,
    .page-slot-games__faq-item {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .page-slot-games__hero-image-wrapper {
        margin-bottom: 20px;
    }
}