/* style/slot-games.css */

/* Custom Colors */
:root {
    --primary-color: #11A84E; /* Main */
    --secondary-color: #22C768; /* Aux */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --card-bg: #11271B; /* Card BG */
    --background-color: #08160F; /* Background */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page content */
    background-color: var(--background-color); /* Default background for the page content */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Stacking content below video */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    overflow: hidden;
    background-color: var(--background-color);
}

.page-slot-games__hero-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1920px; /* Max width for video */
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: var(--deep-green); /* Placeholder background */
    overflow: hidden;
    margin-bottom: 40px; /* Space between video and content */
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer; /* Indicate clickable */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-main);
}

.page-slot-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold-color); /* H1 with gold color */
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap; /* Prevent text wrapping for single line */
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main); /* White-ish text on dark button */
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--secondary-color); /* Green text on transparent button */
    border: 2px solid var(--secondary-color);
}

.page-slot-games__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--background-color); /* Dark text on green hover */
    transform: translateY(-2px);
}

/* General Section Styling */
.page-slot-games__introduction-section,
.page-slot-games__features-section,
.page-slot-games__how-to-play-section,
.page-slot-games__popular-games-section,
.page-slot-games__faq-section,
.page-slot-games__download-cta-section {
    padding: 60px 20px;
    margin-bottom: 0;
}

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

.page-slot-games__card-bg {
    background-color: var(--card-bg);
    color: var(--text-main);
}

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

.page-slot-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold-color);
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-slot-games__text-block {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-secondary);
}

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

.page-slot-games__text-secondary {
    color: var(--text-secondary);
}

.page-slot-games__image-wrapper {
    margin: 40px auto;
    text-align: center;
}

.page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

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

.page-slot-games__feature-card {
    background-color: var(--deep-green);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-slot-games__card-icon {
    width: 100%; /* Occupy full width of card */
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 150px; /* Card images should be large */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* How to Play Section */
.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__list-item {
    background-color: var(--deep-green);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border-left: 5px solid var(--primary-color);
}

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

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

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

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

.page-slot-games__game-card {
    background-color: var(--deep-green);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    text-align: center;
}

.page-slot-games__game-thumbnail {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 150px; /* Card images should be large */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__btn-small {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 15px;
    transition: transform 0.2s ease;
}

.page-slot-games__btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(42, 209, 111, 0.4);
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
}

.page-slot-games__faq-item {
    background-color: var(--deep-green);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
}

.page-slot-games__faq-item summary {
    list-style: none; /* Hide default marker */
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: rgba(42, 209, 111, 0.1); /* Subtle hover effect */
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 15px;
}

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

/* Download CTA Section */
.page-slot-games__download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--deep-green);
    border-radius: 15px;
    padding: 50px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
}

.page-slot-games__download-text {
    margin-bottom: 30px;
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        max-width: 768px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-slot-games__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    /* General mobile padding */
    .page-slot-games__introduction-section,
    .page-slot-games__features-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__popular-games-section,
    .page-slot-games__faq-section,
    .page-slot-games__download-cta-section {
        padding: 40px 15px;
    }

    .page-slot-games__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important; /* Enforce full width for containers */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 40px;
    }

    .page-slot-games__hero-video-wrapper {
        margin-bottom: 20px;
    }

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .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; /* Allow text wrapping */
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    /* Images and Videos */
    .page-slot-games img,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }

    .page-slot-games__image,
    .page-slot-games__card-icon,
    .page-slot-games__game-thumbnail {
        min-width: 200px !important; /* Enforce minimum size on mobile too */
        min-height: auto !important; /* Adjust height automatically */
    }

    /* Ensure content area images maintain minimum size or scale down responsively */
    .page-slot-games__image,
    .page-slot-games__feature-card img,
    .page-slot-games__game-card img {
        width: 100%; /* Ensure images fill container */
        height: auto;
        min-width: 200px; /* Minimum width for content images */
        min- /* Minimum height for content images (aspect ratio dependent) */
    }

    /* Text adjustments */
    .page-slot-games__subtitle,
    .page-slot-games__text-block,
    .page-slot-games__card-text,
    .page-slot-games__list-text,
    .page-slot-games__faq-answer p {
        font-size: 0.95rem; /* Slightly smaller text for readability */
    }
}

/* No CSS filter for images */
.page-slot-games img {
    filter: none !important;
}

/* Desktop video container width */
.page-slot-games__hero-video-wrapper {
    width: 100%; /* Ensure desktop video container has 100% width */
}