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

/* Base styles for the page content, ensuring contrast with dark body background */
.page-slot-games {
    background-color: var(--page-bg); /* Use the custom background color */
    color: var(--text-main); /* Main text color for readability on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 0; /* Body handles padding-top from header */
}

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

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

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

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

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

.page-slot-games__main-title {
    color: var(--gold-color); /* Gold for main title */
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size, not fixed large */
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-slot-games__subtitle {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 400px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    max-width: 100%;
    flex-grow: 1;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--border-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Common Styles */
.page-slot-games__section-title {
    color: var(--gold-color);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
}

.page-slot-games__description {
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Dark Section Background */
.page-slot-games__dark-section {
    background-color: var(--deep-green-color);
    padding: 60px 0;
}

/* Content Area */
.page-slot-games__content-area {
    padding: 60px 0;
    background-color: var(--page-bg);
}

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

.page-slot-games__feature-item,
.page-slot-games__strategy-item {
    background-color: var(--card-bg); /* Card background */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-slot-games__feature-item:hover,
.page-slot-games__strategy-item:hover {
    transform: translateY(-8px);
}

.page-slot-games__feature-image {
    width: 100%;
    height: auto;
    max-height: 250px; /* Limit height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-slot-games__feature-title,
.page-slot-games__strategy-title {
    color: var(--text-main);
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-slot-games__feature-text,
.page-slot-games__strategy-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.page-slot-games__step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.page-slot-games__step-number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--button-gradient);
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__step-title {
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-slot-games__step-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 25px;
}

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

.page-slot-games__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    outline: none;
}

.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

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

.page-slot-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: left;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

/* Image responsive styles */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 0 15px !important; /* Add padding for smaller screens */
    }

    .page-slot-games__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* Ensure small top padding */
    }

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

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

    .page-slot-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 300px;
        padding: 0 15px !important;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        padding-top: 20px;
    }

    .page-slot-games__description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-slot-games__dark-section,
    .page-slot-games__content-area,
    .page-slot-games__conclusion-section {
        padding: 40px 0;
    }

    .page-slot-games__features-grid,
    .page-slot-games__strategy-grid,
    .page-slot-games__steps-list {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    /* Mobile image and container responsiveness */
    .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-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* FAQ specific mobile styles */
    .page-slot-games__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-slot-games__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.9rem;
    }
}

/* Ensure no filter on images */
.page-slot-games img {
    filter: none;
}