/* style/slot-games.css */
:root {
    --kjc-primary: #11A84E;
    --kjc-secondary: #22C768;
    --kjc-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --kjc-card-bg: #11271B;
    --kjc-background: #08160F;
    --kjc-text-main: #F2FFF6;
    --kjc-text-secondary: #A7D9B8;
    --kjc-border: #2E7A4E;
    --kjc-glow: #57E38D;
    --kjc-gold: #F2C14E;
    --kjc-divider: #1E3A2A;
    --kjc-deep-green: #0A4B2C;
}

.page-slot-games {
    font-family: Arial, sans-serif;
    color: var(--kjc-text-main); /* Body background is dark, so text is light */
    background-color: var(--kjc-background);
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: var(--kjc-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-slot-games__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--kjc-text-secondary);
    text-align: center;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--kjc-deep-green);
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    margin-bottom: 30px;
}

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

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

.page-slot-games__hero-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* H1 font size with clamp */
    color: var(--kjc-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    color: var(--kjc-text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-slot-games__hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.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-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: var(--kjc-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 15px var(--kjc-glow);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--kjc-glow);
}

.page-slot-games__btn-secondary {
    background: var(--kjc-background);
    color: var(--kjc-gold);
    border: 2px solid var(--kjc-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--kjc-gold);
    color: var(--kjc-background);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__btn-link {
    background: transparent;
    color: var(--kjc-glow);
    border: 1px solid var(--kjc-glow);
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 15px;
}

.page-slot-games__btn-link:hover {
    background: var(--kjc-glow);
    color: var(--kjc-background);
}

/* About Section */
.page-slot-games__about-section {
    padding: 60px 0;
    background-color: var(--kjc-background);
}

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

.page-slot-games__image-item {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 60px 0;
    background-color: var(--kjc-card-bg);
}

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

.page-slot-games__game-card {
    background-color: rgba(17, 40, 27, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--kjc-border);
    text-align: center;
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: var(--kjc-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__card-text {
    font-size: 1em;
    color: var(--kjc-text-secondary);
    line-height: 1.6;
}

/* Benefits Section */
.page-slot-games__benefits-section {
    padding: 60px 0;
    background-color: var(--kjc-background);
}

.page-slot-games__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-slot-games__list-item {
    background-color: var(--kjc-card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--kjc-glow);
    color: var(--kjc-text-main);
    line-height: 1.6;
}

.page-slot-games__list-item strong {
    color: var(--kjc-gold);
}

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

/* Guide Section */
.page-slot-games__guide-section {
    padding: 60px 0;
    background-color: var(--kjc-deep-green);
}

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

.page-slot-games__step-card {
    background-color: rgba(17, 40, 27, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--kjc-border);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 60px 0;
    background-color: var(--kjc-background);
}

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

.page-slot-games__promotion-card {
    background-color: var(--kjc-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--kjc-border);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.page-slot-games__promotion-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-slot-games__promotion-card .page-slot-games__card-title {
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-slot-games__promotion-card .page-slot-games__card-text {
    flex-grow: 1;
    padding: 0 20px 20px;
}

.page-slot-games__promotion-card .page-slot-games__btn-primary {
    margin: 0 auto 20px auto;
    width: fit-content;
    padding: 10px 25px;
    font-size: 1em;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: var(--kjc-card-bg);
}

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

.page-slot-games__faq-item {
    background-color: rgba(17, 40, 27, 0.8);
    border: 1px solid var(--kjc-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--kjc-text-main);
    background-color: var(--kjc-deep-green);
    border-bottom: 1px solid var(--kjc-divider);
    list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-qtext {
    flex-grow: 1;
    color: var(--kjc-text-main);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--kjc-gold);
}

.page-slot-games__faq-answer {
    padding: 20px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--kjc-text-secondary);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: 1px solid var(--kjc-divider);
}

/* CTA Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    background-color: var(--kjc-background);
    text-align: center;
}

.page-slot-games__dark-section {
    background-color: var(--kjc-deep-green);
    color: var(--kjc-text-main);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--kjc-glow);
}

.page-slot-games__dark-section .page-slot-games__section-title {
    color: var(--kjc-gold);
}

.page-slot-games__dark-section .page-slot-games__text-block {
    color: var(--kjc-text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }
    .page-slot-games__hero-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 0.95em;
    }

    /* Images responsive */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__image-grid,
    .page-slot-games__grid-layout,
    .page-slot-games__step-by-step,
    .page-slot-games__promotion-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__image-item,
    .page-slot-games__image-full-width,
    .page-slot-games__promotion-image {
        border-radius: 8px;
    }
    .page-slot-games__promotion-image {
        height: 180px; /* Adjust height for mobile */
    }

    /* Buttons responsive */
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-link,
    .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: 12px 15px;
        font-size: 1em;
    }
    .page-slot-games__hero-cta-buttons,
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__dark-section {
        padding: 30px;
    }
    .page-slot-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-slot-games__faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__section-title {
        font-size: 1.5em;
    }
    .page-slot-games__hero-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }
    .page-slot-games__hero-image-wrapper {
        max-height: 300px;
    }
    .page-slot-games__promotion-image {
        height: 150px;
    }
}