/* style/slot-games.css */

/* Variables for custom colors */
:root {
    --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-slot-games-card-bg: #11271B;
    --page-slot-games-background: #08160F;
    --page-slot-games-text-main: #F2FFF6;
    --page-slot-games-text-secondary: #A7D9B8;
    --page-slot-games-border: #2E7A4E;
    --page-slot-games-glow: #57E38D;
    --page-slot-games-gold: #F2C14E;
    --page-slot-games-divider: #1E3A2A;
    --page-slot-games-deep-green: #0A4B2C;
}

.page-slot-games {
    background-color: var(--page-slot-games-background); /* This will be overridden by shared.css body background, but good to define */
    color: var(--page-slot-games-text-main); /* Default text color for the page content */
}

.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: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden;
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height to prevent excessive image size */
    overflow: hidden;
}

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

.page-slot-games__hero-content {
    position: relative; /* Ensure content is above image */
    z-index: 2;
    padding: 30px 20px;
    max-width: 900px;
    margin-top: 20px; /* Space between image and text */
}

.page-slot-games__hero-title {
    color: var(--page-slot-games-text-main);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    /* Using clamp for responsive font size, avoiding fixed large values */
    font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem);
}

.page-slot-games__hero-description {
    color: var(--page-slot-games-text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-slot-games__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient);
    color: #ffffff; /* Always white text for primary button */
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

/* Section Styles */
.page-slot-games__intro-section,
.page-slot-games__guide-section,
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: var(--page-slot-games-background);
}

.page-slot-games__types-section {
    padding: 60px 0;
    background-color: var(--page-slot-games-card-bg);
}

.page-slot-games__features-section {
    padding: 60px 0;
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__section-title {
    font-size: clamp(1.8rem, 3.5vw + 1rem, 2.8rem);
    font-weight: 700;
    color: var(--page-slot-games-text-main);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-slot-games__section-subtitle {
    font-size: 1.1rem;
    color: var(--page-slot-games-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-slot-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-slot-games__content-image {
    flex: 1;
    min-width: 400px; /* Ensure image is not too small on desktop */
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.page-slot-games__text-block {
    flex: 1.5;
    color: var(--page-slot-games-text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.page-slot-games__text-block p + p {
    margin-top: 15px;
}

.page-slot-games__text-block strong {
    color: var(--page-slot-games-text-main);
}

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

.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.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.4rem;
    font-weight: 600;
    color: var(--page-slot-games-text-main);
    margin-bottom: 10px;
    line-height: 1.4;
}

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

/* Features Grid */
.page-slot-games__grid--features {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-slot-games__feature-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.page-slot-games__feature-icon {
    width: 80px; /* Larger icons as per requirement */
    height: 80px;
    object-fit: contain;
}

.page-slot-games__feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--page-slot-games-text-main);
    line-height: 1.4;
}

.page-slot-games__feature-description {
    font-size: 1rem;
    color: var(--page-slot-games-text-secondary);
    line-height: 1.6;
}

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

.page-slot-games__step-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__step-text {
    font-size: 1rem;
    line-height: 1.6;
}

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

/* Mobile Section */
.page-slot-games__mobile-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-slot-games__mobile-image {
    flex: 1;
    min-width: 400px; /* Ensure image is not too small on desktop */
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--page-slot-games-text-main);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    background-color: var(--page-slot-games-deep-green);
}

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

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

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

/* Text Colors */
.page-slot-games__text-main { color: var(--page-slot-games-text-main); }
.page-slot-games__text-secondary { color: var(--page-slot-games-text-secondary); }
.page-slot-games__dark-section { background-color: var(--page-slot-games-deep-green); color: var(--page-slot-games-text-main); }
.page-slot-games__light-bg { background-color: var(--page-slot-games-background); color: var(--page-slot-games-text-secondary); }
.page-slot-games__card-bg { background-color: var(--page-slot-games-card-bg); }


/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__content-wrapper,
    .page-slot-games__mobile-content {
        flex-direction: column;
        text-align: center;
    }

    .page-slot-games__content-image,
    .page-slot-games__mobile-image {
        min-width: unset;
        width: 100%;
        max-width: 600px; /* Limit max width for images on smaller screens */
    }
    
    .page-slot-games__text-block {
        text-align: center;
    }
}

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

    .page-slot-games__hero-content {
        padding: 20px 15px;
        margin-top: 10px;
    }

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

    .page-slot-games__section-subtitle {
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-slot-games__intro-section,
    .page-slot-games__types-section,
    .page-slot-games__features-section,
    .page-slot-games__guide-section,
    .page-slot-games__mobile-section,
    .page-slot-games__faq-section {
        padding: 40px 0;
    }

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

    .page-slot-games__grid,
    .page-slot-games__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__card,
    .page-slot-games__feature-item,
    .page-slot-games__step-item {
        padding: 20px;
    }

    /* Mobile image 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,
    .page-slot-games__content-wrapper,
    .page-slot-games__mobile-content,
    .page-slot-games__grid,
    .page-slot-games__steps-grid,
    .page-slot-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

    /* Mobile button responsiveness */
    .page-slot-games__btn,
    .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;
        padding-right: 15px;
        text-align: center;
    }

    .page-slot-games__cta-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

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

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