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

/* Base styles for the page content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--kv888-text-main); /* Light text on dark background */
    background-color: var(--kv888-background); /* Dark background */
    line-height: 1.6;
}

.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;
    position: relative;
    overflow: hidden;
}

.page-slot-games__dark-section {
    background-color: var(--kv888-background);
    color: var(--kv888-text-main);
}

.page-slot-games__light-section {
    background-color: #ffffff;
    color: #333333;
}

/* Hero Section */
.page-slot-games__hero-section {
    padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--kv888-text-main);
    overflow: hidden;
}

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

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

.page-slot-games__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--kv888-text-main);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: 30px;
    color: var(--kv888-text-secondary);
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: var(--kv888-button-gradient);
    color: var(--kv888-text-main);
    border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--kv888-primary), 0.4);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--kv888-primary);
    border: 2px solid var(--kv888-primary);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--kv888-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--kv888-primary), 0.2);
}

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

.page-slot-games__btn-large {
    padding: 18px 35px;
    font-size: 1.1em;
}

/* Section Titles */
.page-slot-games__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--kv888-text-main);
    position: relative;
    padding-bottom: 15px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--kv888-primary);
    border-radius: 2px;
}

/* Text Blocks */
.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--kv888-text-secondary);
}

.page-slot-games__highlight {
    color: var(--kv888-gold);
    font-weight: 600;
}

.page-slot-games__text-link {
    color: var(--kv888-secondary);
    text-decoration: none;
    font-weight: 600;
}

.page-slot-games__text-link:hover {
    text-decoration: underline;
    color: var(--kv888-gold);
}

.page-slot-games__center-text {
    text-align: center;
}

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

.page-slot-games__feature-card,
.page-slot-games__promo-card {
    background-color: var(--kv888-card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--kv888-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--kv888-text-main);
}

.page-slot-games__feature-card:hover,
.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--kv888-glow), 0.3);
}

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

.page-slot-games__card-text {
    font-size: 1em;
    color: var(--kv888-text-secondary);
}

/* Image Content (general for sections) */
.page-slot-games__image-content {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 40px auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__numbered-list {
    list-style: decimal;
    padding-left: 25px;
    text-align: left;
    max-width: 900px;
    margin: 40px auto;
    color: var(--kv888-text-secondary);
}

.page-slot-games__list-item {
    background-color: var(--kv888-card-bg);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 5px solid var(--kv888-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__numbered-list .page-slot-games__list-item {
    background-color: var(--kv888-card-bg);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__list-item-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--kv888-gold);
    margin-bottom: 10px;
}

.page-slot-games__list-item-text {
    font-size: 1em;
    color: var(--kv888-text-secondary);
}

/* Promotions Section */
.page-slot-games__promo-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-slot-games__faq-item {
    background-color: var(--kv888-card-bg);
    border: 1px solid var(--kv888-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--kv888-text-main);
}

.page-slot-games__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--kv888-gold);
    background-color: var(--kv888-deep-green);
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-item summary:hover {
    background-color: var(--kv888-primary);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

.page-slot-games__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--kv888-text-secondary);
    border-top: 1px solid var(--kv888-divider);
}

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

/* CTA Section */
.page-slot-games__cta-container {
    padding: 40px 20px;
}

.page-slot-games__cta .page-slot-games__section-title {
    margin-bottom: 20px;
}

.page-slot-games__cta .page-slot-games__text-block {
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-image-wrapper {
        max-height: 400px;
    }
}

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

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

    .page-slot-games__hero-image-wrapper {
        max-height: 300px;
    }

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

    .page-slot-games__hero-description {
        font-size: clamp(0.9em, 2.5vw, 1em);
    }

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Mobile image responsive */
    .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__promo-grid,
    .page-slot-games__features-grid,
    .page-slot-games__faq-list,
    .page-slot-games__cta-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }

    .page-slot-games__video-section { /* Placeholder for video, if any */
        padding-top: 10px !important;
    }

    .page-slot-games__promo-grid,
    .page-slot-games__features-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__list-item {
        padding: 15px;
    }

    .page-slot-games__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }

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

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: clamp(1.6em, 10vw, 2em);
    }

    .page-slot-games__hero-description {
        font-size: clamp(0.8em, 3vw, 0.9em);
    }

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