/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Assuming default body background is white */
}

/* Header offset for the first content section */
.page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px; /* Minimum height for hero section */
    background-color: #1A2E47; /* Main brand color for dark background */
    color: #ffffff; /* White text for dark background */
    padding-bottom: 60px;
}

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

.page-slot-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability, but NOT changing color */
}

/* General container for content sections */
.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #1A2E47; /* Dark text for light background */
    margin-bottom: 30px;
    text-align: center;
}

.page-slot-games__dark-bg .page-slot-games__section-title {
    color: #FFD700; /* Auxiliary color for dark background */
}

.page-slot-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Intro Section */
.page-slot-games__intro-section {
    background-color: #ffffff;
    color: #333333;
}

/* Types Section */
.page-slot-games__types-section {
    background-color: #1A2E47;
    color: #ffffff;
}

.page-slot-games__types-section .page-slot-games__paragraph {
    color: #f0f0f0;
    text-align: center;
}

.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: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #333333; /* Dark text for light card background */
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-slot-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
    object-fit: cover;
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: #1A2E47;
    margin-bottom: 10px;
}

.page-slot-games__card-text {
    font-size: 1em;
    flex-grow: 1;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
    background-color: #f8f8f8;
    color: #333333;
}

.page-slot-games__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__list-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #333333;
}

.page-slot-games__list-title {
    font-size: 1.4em;
    color: #1A2E47;
    margin-bottom: 10px;
}

.page-slot-games__list-text {
    font-size: 1em;
    line-height: 1.6;
}

.page-slot-games__mobile-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
    object-fit: cover;
}

/* Guide Section */
.page-slot-games__guide-section {
    background-color: #1A2E47;
    color: #ffffff;
}

.page-slot-games__guide-section .page-slot-games__paragraph {
    color: #f0f0f0;
    text-align: center;
}

.page-slot-games__guide-list {
    list-style: decimal;
    padding-left: 20px;
    margin-top: 40px;
}

.page-slot-games__guide-list .page-slot-games__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.page-slot-games__guide-list .page-slot-games__list-title {
    color: #FFD700;
}

.page-slot-games__guide-list .page-slot-games__list-text a {
    color: #FFD700; /* Link color on dark background */
    text-decoration: underline;
}

.page-slot-games__guide-list .page-slot-games__list-text a:hover {
    color: #ffd700cc;
}

/* Strategy Section */
.page-slot-games__strategy-section {
    background-color: #ffffff;
    color: #333333;
}

.page-slot-games__strategy-section .page-slot-games__paragraph {
    text-align: center;
}

.page-slot-games__cta-banner {
    background-color: #1A2E47;
    color: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
}

.page-slot-games__cta-title {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-slot-games__cta-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: #1A2E47;
    color: #ffffff;
    padding-bottom: 60px;
}

.page-slot-games__faq-section .page-slot-games__section-title {
    color: #FFD700;
}

.page-slot-games__faq-list {
    margin-top: 40px;
}

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-title {
    margin: 0;
    color: #ffffff;
}

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

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

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 20px;
}

.page-slot-games__faq-answer .page-slot-games__paragraph {
    margin-bottom: 0;
    color: #f0f0f0;
}

/* Contact CTA Section */
.page-slot-games__contact-cta {
    background-color: #f8f8f8;
    color: #333333;
    text-align: center;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    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; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-slot-games__btn-primary {
    background-color: #FFD700;
    color: #1A2E47; /* Dark text for auxiliary color background */
    border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #1A2E47;
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-slot-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #1A2E47;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 2.8em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__hero-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;
    }

    .page-slot-games__container {
        padding: 30px 15px; /* Add horizontal padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-slot-games__paragraph,
    .page-slot-games__list-text,
    .page-slot-games__card-text {
        font-size: 0.95em;
    }
    .page-slot-games__grid {
        grid-template-columns: 1fr;
    }
    .page-slot-games__card {
        padding: 20px;
    }
    .page-slot-games__list-item {
        padding: 20px;
    }
    .page-slot-games__mobile-image,
    .page-slot-games__card-image {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Enforce min image size */
        min-height: 200px !important; /* Enforce min image size */
        object-fit: cover !important;
    }

    /* All content area images */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* All containing elements for images/content */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__cta-banner {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-slot-games__faq-answer {
        padding: 0 15px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px 15px;
    }
}

/* Ensure no filter is used on images */
.page-slot-games img {
    filter: none; /* Explicitly ensure no color-changing filter */
}

/* Video specific styles (if any, though not used in current HTML) */
.page-slot-games video,
.page-slot-games__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-slot-games__video-section,
.page-slot-games__video-container,
.page-slot-games__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-slot-games video,
  .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: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}