/* style/slot-games.css */

/* Base Styles for the page */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from shared.css body background */
}

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

.page-slot-games__dark-bg {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #ffffff; /* Auxiliary color for light sections */
    color: #333333; /* Dark text for light background */
}

.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit from parent section */
    font-weight: bold;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: inherit; /* Inherit from parent section */
}

.page-slot-games__text-center {
    text-align: center;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary,
.page-slot-games__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding doesn't push out width */
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-slot-games__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
    margin-right: 15px;
}

.page-slot-games__btn-primary:hover {
    background-color: #e02a2a;
    border-color: #e02a2a;
}

.page-slot-games__btn-secondary {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-slot-games__btn-secondary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-slot-games__btn-tertiary {
    background-color: #ffffff;
    color: #017439; /* Brand primary color */
    border: 2px solid #017439;
}

.page-slot-games__btn-tertiary:hover {
    background-color: #f0f0f0;
    color: #005a2e;
    border-color: #005a2e;
}

.page-slot-games__btn-link {
    background: none;
    border: none;
    color: #017439; /* Brand primary color */
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-slot-games__btn-link:hover {
    color: #005a2e;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
}

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for text contrast */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    color: #ffffff;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #ffffff;
}

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

.page-slot-games__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 60px 0;
}

/* Features Section (Game Types) */
.page-slot-games__features-section {
    padding: 60px 0;
}

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

.page-slot-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
    padding-bottom: 20px;
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-slot-games__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    padding: 0 15px;
    color: #ffffff;
}

.page-slot-games__card-description {
    font-size: 1em;
    padding: 0 15px;
    color: #f0f0f0;
}

/* Why Choose Us Section */
.page-slot-games__why-choose-us {
    padding: 60px 0;
}

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

.page-slot-games__benefit-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
    text-align: center;
}

.page-slot-games__benefit-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #017439; /* Brand primary color */
}

.page-slot-games__benefit-description {
    font-size: 1em;
    color: #555555;
}

/* Guide Section */
.page-slot-games__guide-section {
    padding: 60px 0;
}

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

.page-slot-games__step-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFFF00; /* Highlight number with custom color */
    margin-bottom: 15px;
}

.page-slot-games__step-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-slot-games__step-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-slot-games__tip-text {
    font-style: italic;
    text-align: center;
    margin-top: 30px;
    color: #f0f0f0;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 60px 0;
}

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

.page-slot-games__promo-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
    padding-bottom: 20px;
}

.page-slot-games__promo-card .page-slot-games__card-title {
    color: #017439; /* Brand primary color */
}

.page-slot-games__promo-card .page-slot-games__card-description {
    color: #555555;
}

/* Security Section */
.page-slot-games__security-section {
    padding: 60px 0;
}

/* Mobile Section */
.page-slot-games__mobile-section {
    padding: 60px 0;
}

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

.page-slot-games__mobile-text {
    flex: 1;
    min-width: 300px;
    color: #333333;
}

.page-slot-games__mobile-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-slot-games__mobile-image .page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
}

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

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for 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: 15px 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

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

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1em;
    color: #f0f0f0;
}

.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 p {
    margin-bottom: 0;
    color: inherit;
}

/* CTA Section */
.page-slot-games__cta-section {
    padding: 60px 0;
}

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

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

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__hero-section {
        min-height: 450px;
        padding: 60px 15px;
        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: 1em;
    }

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-tertiary,
    .page-slot-games__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-right: 0; /* Remove margin for stacked buttons */
    }

    .page-slot-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

    .page-slot-games__section-title {
        font-size: 1.8em;
    }

    .page-slot-games__grid-container,
    .page-slot-games__benefits-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__mobile-content {
        flex-direction: column;
    }
    
    .page-slot-games__mobile-text,
    .page-slot-games__mobile-image {
        min-width: unset;
        width: 100%;
    }

    /* Images 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__mobile-image {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Video responsiveness (if any, though not in this HTML) */
    .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;
    }
}

/* Ensure content area images are not too small */
.page-slot-games__introduction-section img,
.page-slot-games__features-section img,
.page-slot-games__why-choose-us img,
.page-slot-games__guide-section img,
.page-slot-games__promotions-section img,
.page-slot-games__security-section img,
.page-slot-games__mobile-section img,
.page-slot-games__faq-section img,
.page-slot-games__cta-section img {
  min-width: 200px;
  min-height: 200px;
}

/* No CSS filter for images */
.page-slot-games img {
    filter: none;
}
.page-slot-games__hero-image {
    filter: brightness(0.6); /* This is allowed for darkening, not changing color */
}

/* Contrast fix if needed */
.page-slot-games__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-slot-games__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}