/* style/slot-games-features.css */

/* Base styles for the page content */
.page-slot-games-features {
    color: #ffffff; /* Light text for dark body background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-top: 0; /* shared.css is assumed to handle body padding-top */
}

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

/* Section styling */
.page-slot-games-features__hero-section,
.page-slot-games-features__intro-section,
.page-slot-games-features__features-grid,
.page-slot-games-features__cta-section,
.page-slot-games-features__video-section,
.page-slot-games-features__security-section,
.page-slot-games-features__faq-section,
.page-slot-games-features__final-cta {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden; /* Prevent content overflow */
}

/* Dark sections */
.page-slot-games-features__dark-section {
    background-color: #1a1a2e; /* Main brand color */
    color: #ffffff;
}

/* Hero Section */
.page-slot-games-features__hero-section {
    background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.8)), url('[GALLERY:hero_slot_main:1920x1080:slot games,69vin game,casino,jackpot,vibrant,online gambling]') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding-top: var(--header-offset, 120px); /* Apply header offset */
}

.page-slot-games-features__hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
    padding: 20px;
}

.page-slot-games-features__hero-title {
    font-size: 3.5em;
    color: #e9b340; /* Accent color for title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games-features__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-slot-games-features__btn-primary,
.page-slot-games-features__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games-features__btn-primary {
    background-color: #e9b340; /* Accent color */
    color: #1a1a2e; /* Dark text for accent background */
    border: 2px solid #e9b340;
}

.page-slot-games-features__btn-primary:hover {
    background-color: #ffc857;
    border-color: #ffc857;
    color: #000000;
}

.page-slot-games-features__btn-secondary {
    background-color: transparent;
    color: #e9b340; /* Accent color text */
    border: 2px solid #e9b340;
}

.page-slot-games-features__btn-secondary:hover {
    background-color: #e9b340;
    color: #1a1a2e;
}

/* Image styling */
.page-slot-games-features img {
    max-width: 100%;
    height: auto;
    display: block; /* Ensure images are block-level for proper spacing */
    margin: 0 auto; /* Center images */
}

/* Hero image wrapper (if needed for background image, not for direct img) */
.page-slot-games-features__hero-image-wrapper {
    display: none; /* Hide direct img if background image is used */
}

/* Section titles and descriptions */
.page-slot-games-features__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #e9b340; /* Accent color for section titles */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-slot-games-features__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Features Grid */
.page-slot-games-features__features-grid {
    background-color: #0a0a0a; /* Match body background */
    color: #ffffff;
}

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

.page-slot-games-features__feature-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-slot-games-features__feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-slot-games-features__feature-icon {
    width: 200px; /* Minimum size requirement */
    height: 150px; /* Adjust height to maintain aspect ratio */
    object-fit: contain; /* Ensure image fits well */
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games-features__card-title {
    font-size: 1.5em;
    color: #e9b340;
    margin-bottom: 15px;
}

.page-slot-games-features__card-description {
    font-size: 1em;
    color: #cccccc;
}

/* Video Section */
.page-slot-games-features__video-section {
    background-color: #0a0a0a; /* Match body background */
    color: #ffffff;
}

.page-slot-games-features__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 10px;
}

.page-slot-games-features__video-link {
    display: block; /* Make the link cover the video area */
    cursor: pointer;
    text-decoration: none; /* Remove underline from link */
}
.page-slot-games-features__video-link:hover .page-slot-games-features__video {
    opacity: 0.9; /* Subtle hover effect */
}

.page-slot-games-features__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    display: block;
}

.page-slot-games-features__video-cta {
    margin-top: 30px;
}

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

.page-slot-games-features__security-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-slot-games-features__security-icon {
    width: 200px; /* Minimum size requirement */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-slot-games-features__item-title {
    font-size: 1.4em;
    color: #e9b340;
    margin-bottom: 10px;
}

.page-slot-games-features__item-description {
    font-size: 1em;
    color: #cccccc;
}

/* FAQ Section */
.page-slot-games-features__faq-section {
    background-color: #0a0a0a; /* Match body background */
    color: #ffffff;
}

.page-slot-games-features__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-slot-games-features__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #1a1a2e; /* Main brand color for question background */
    color: #e9b340; /* Accent color for question text */
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-slot-games-features__faq-question:hover {
    background-color: #2c2c4a;
}

.page-slot-games-features__faq-title {
    margin: 0;
    color: inherit; /* Inherit color from question */
}

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

.page-slot-games-features__faq-item.active .page-slot-games-features__faq-toggle {
    transform: rotate(45deg);
}

.page-slot-games-features__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.02);
    color: #cccccc;
}

.page-slot-games-features__faq-item.active .page-slot-games-features__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 20px;
}

.page-slot-games-features__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: #cccccc;
}

/* Final CTA Section */
.page-slot-games-features__final-cta {
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games-features__hero-title {
        font-size: 2.8em;
    }
    .page-slot-games-features__section-title {
        font-size: 2em;
    }
    .page-slot-games-features__hero-description,
    .page-slot-games-features__section-description {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    /* Mobile specific overrides */
    .page-slot-games-features {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games-features__hero-section {
        min-height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
    }

    .page-slot-games-features__hero-content {
        padding: 15px;
    }

    .page-slot-games-features__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-slot-games-features__hero-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

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

    .page-slot-games-features__btn-primary,
    .page-slot-games-features__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    
    .page-slot-games-features__section,
    .page-slot-games-features__card,
    .page-slot-games-features__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-slot-games-features__section-title {
        font-size: 1.8em;
    }
    .page-slot-games-features__section-description {
        font-size: 0.9em;
    }

    .page-slot-games-features__features-grid .page-slot-games-features__container,
    .page-slot-games-features__security-section .page-slot-games-features__container,
    .page-slot-games-features__video-section .page-slot-games-features__container,
    .page-slot-games-features__faq-section .page-slot-games-features__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games-features__feature-card,
    .page-slot-games-features__security-item {
        padding: 25px;
    }

    .page-slot-games-features__feature-icon,
    .page-slot-games-features__security-icon {
        width: 150px; /* Adjust for smaller screens but still >= 200px for generation */
        height: auto;
        max-width: 100% !important;
        display: block !important;
    }
    
    /* Ensure all images are responsive */
    .page-slot-games-features img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* Video responsiveness */
    .page-slot-games-features video,
    .page-slot-games-features__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games-features__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games-features__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-slot-games-features__faq-answer {
        padding: 15px;
    }
    .page-slot-games-features__faq-item.active .page-slot-games-features__faq-answer {
        padding: 15px;
    }
    
    .page-slot-games-features__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-slot-games-features__hero-title {
        font-size: 1.8em;
    }
    .page-slot-games-features__section-title {
        font-size: 1.5em;
    }
}