/* style/slot-games.css */

/* --- Base Styles & Variables (Ensure contrast against body background) --- */
/* Body background is var(--bg-color) from shared.css, which is #08160F (dark). */
/* Therefore, main text color should be light. */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* #F2FFF6 for dark background */
    background-color: var(--bg-color); /* #08160F */
}

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

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

.page-slot-games__dark-section {
    background-color: var(--card-bg); /* #11271B */
    color: var(--text-main); /* #F2FFF6 */
}

.page-slot-games__section-title {
    font-size: 2.5rem;
    color: var(--gold); /* #F2C14E */
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__sub-title {
    font-size: 1.8rem;
    color: var(--text-main); /* #F2FFF6 */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-slot-games__paragraph {
    font-size: 1.1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__highlight-text {
    color: var(--gold); /* #F2C14E */
    font-weight: bold;
}

.page-slot-games__link-text {
    color: var(--main-color); /* #11A84E */
    text-decoration: underline;
}

/* --- Hero Section --- */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure sufficient height */
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px; /* Adjust as needed */
}

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-main); /* #F2FFF6 */
    max-width: 900px;
    padding: 20px;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    color: var(--gold); /* #F2C14E */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-slot-games__description-text {
    font-size: 1.3rem;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 30px;
}

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

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

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--main-color); /* #11A84E */
    border: 2px solid var(--main-color); /* #11A84E */
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--main-color); /* #11A84E */
    color: #ffffff;
}

.page-slot-games__btn-small {
    padding: 10px 20px;
    font-size: 1rem;
}

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

/* --- Intro Section --- */
.page-slot-games__intro-section .page-slot-games__container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-slot-games__image-container {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__content-image {
    width: 100%;
    height: auto;
    display: block;
}

.page-slot-games__list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 900px;
    text-align: left;
}

.page-slot-games__list-item {
    font-size: 1.1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.page-slot-games__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--main-color); /* #11A84E */
}

/* --- Types Section (Dark Background) --- */
.page-slot-games__types-section {
    background-color: var(--card-bg); /* #11271B */
    color: var(--text-main); /* #F2FFF6 */
    padding: 80px 0;
}

.page-slot-games__types-section .page-slot-games__section-title {
    color: var(--gold); /* #F2C14E */
}

.page-slot-games__types-section .page-slot-games__paragraph {
    color: var(--text-secondary); /* #A7D9B8 */
}

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

.page-slot-games__card {
    background-color: var(--deep-green); /* #0A4B2C */
    border: 1px solid var(--border-color); /* #2E7A4E */
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.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;
    color: var(--gold); /* #F2C14E */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-slot-games__card-text {
    font-size: 1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    flex-grow: 1; /* Make text fill available space */
}

/* --- Promotions Section --- */
.page-slot-games__promotions-section .page-slot-games__container {
    padding-top: 40px;
    padding-bottom: 40px;
}

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

.page-slot-games__promotion-item {
    background-color: var(--deep-green); /* #0A4B2C */
    border: 1px solid var(--border-color); /* #2E7A4E */
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-slot-games__promotion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__promotion-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-slot-games__promotion-title {
    font-size: 1.4rem;
    color: var(--gold); /* #F2C14E */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-slot-games__promotion-description {
    font-size: 1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 20px;
    flex-grow: 1;
}

/* --- Guide Section --- */
.page-slot-games__guide-section .page-slot-games__container {
    padding-top: 40px;
    padding-bottom: 40px;
}

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

.page-slot-games__step-card {
    background-color: var(--deep-green); /* #0A4B2C */
    border: 1px solid var(--border-color); /* #2E7A4E */
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-slot-games__step-title {
    font-size: 1.5rem;
    color: var(--gold); /* #F2C14E */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-slot-games__step-text {
    font-size: 1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    flex-grow: 1;
}

/* --- Safety Section (Dark Background) --- */
.page-slot-games__safety-section {
    background-color: var(--card-bg); /* #11271B */
    color: var(--text-main); /* #F2FFF6 */
    padding: 80px 0;
}

.page-slot-games__safety-section .page-slot-games__section-title {
    color: var(--gold); /* #F2C14E */
}

.page-slot-games__safety-section .page-slot-games__paragraph {
    color: var(--text-secondary); /* #A7D9B8 */
}

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

.page-slot-games__feature-item {
    background-color: var(--deep-green); /* #0A4B2C */
    border: 1px solid var(--border-color); /* #2E7A4E */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-slot-games__feature-icon {
    width: 80px; /* Display size */
    height: 80px; /* Display size */
    object-fit: contain;
    margin-bottom: 20px;
}

.page-slot-games__feature-title {
    font-size: 1.3rem;
    color: var(--gold); /* #F2C14E */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-slot-games__feature-text {
    font-size: 0.95rem;
    color: var(--text-secondary); /* #A7D9B8 */
    flex-grow: 1;
}

/* --- FAQ Section --- */
.page-slot-games__faq-section {
    padding: 80px 0;
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-slot-games__faq-item {
    background-color: var(--deep-green); /* #0A4B2C */
    border: 1px solid var(--border-color); /* #2E7A4E */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold); /* #F2C14E */
    cursor: pointer;
    background-color: var(--card-bg); /* #11271B */
    border-bottom: 1px solid var(--border-color); /* #2E7A4E */
    list-style: none; /* For details/summary */
}

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

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

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: var(--main-color); /* #11A84E */
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.05rem;
    color: var(--text-secondary); /* #A7D9B8 */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: 1px solid var(--border-color); /* #2E7A4E */
}

/* --- Conclusion Section (Dark Background) --- */
.page-slot-games__conclusion-section {
    background-color: var(--card-bg); /* #11271B */
    color: var(--text-main); /* #F2FFF6 */
    padding: 80px 0;
}

.page-slot-games__conclusion-section .page-slot-games__section-title {
    color: var(--gold); /* #F2C14E */
}

.page-slot-games__conclusion-section .page-slot-games__paragraph {
    color: var(--text-secondary); /* #A7D9B8 */
}

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

    .page-slot-games__section-title {
        font-size: 2rem;
    }

    .page-slot-games__sub-title {
        font-size: 1.6rem;
    }

    .page-slot-games__paragraph {
        font-size: 1rem;
    }

    .page-slot-games__card-title,
    .page-slot-games__promotion-title,
    .page-slot-games__step-title,
    .page-slot-games__feature-title {
        font-size: 1.3rem;
    }

    .page-slot-games__card-text,
    .page-slot-games__promotion-description,
    .page-slot-games__step-text,
    .page-slot-games__feature-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        min-height: 500px;
        padding-bottom: 40px;
    }

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

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

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px; /* Add padding to container for buttons */
    }
    
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .page-slot-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-slot-games__sub-title {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-slot-games__paragraph,
    .page-slot-games__list-item,
    .page-slot-games__card-text,
    .page-slot-games__promotion-description,
    .page-slot-games__step-text,
    .page-slot-games__feature-text {
        font-size: 0.9rem;
    }

    /* Images responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__image-container,
    .page-slot-games__card,
    .page-slot-games__promotion-item,
    .page-slot-games__step-card,
    .page-slot-games__feature-item,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-slot-games__card-image,
    .page-slot-games__promotion-image {
        height: 150px; /* Adjust height for mobile cards */
    }

    .page-slot-games__feature-icon {
        width: 80px; /* Display size */
        height: 80px; /* Display size */
        min-width: unset !important; /* Override min-width from general img rule */
        min-height: unset !important; /* Override min-height from general img rule */
    }

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

    .page-slot-games__faq-answer {
        padding: 0 20px 15px;
    }
    
    .page-slot-games__video-section {
        padding-top: 10px !important; /* body already handles --header-offset, this is for visual spacing only */
    }

    /* Ensure content area images adhere to min 200px display if they are not smaller icons */
    /* This rule is more for general content images, not specifically small icons */
    .page-slot-games__content-image,
    .page-slot-games__card-image,
    .page-slot-games__promotion-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}

/* Color Variables */
:root {
    --main-color: #11A84E; /* Primary Green */
    --secondary-color: #22C768; /* Auxiliary Green */
    --card-bg: #11271B; /* Card Background */
    --bg-color: #08160F; /* Main Background */
    --text-main: #F2FFF6; /* Main Text Color */
    --text-secondary: #A7D9B8; /* Secondary Text Color */
    --border-color: #2E7A4E; /* Border Color */
    --glow-color: #57E38D; /* Glow Effect */
    --gold: #F2C14E; /* Gold Accent */
    --divider-color: #1E3A2A; /* Divider Color */
    --deep-green: #0A4B2C; /* Deep Green */
}