/* style/slot-games.css */

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

/* Header offset for fixed header */
.page-slot-games__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply header offset to the first section */
  position: relative;
  overflow: hidden;
}

/* General Container */
.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Section Titles */
.page-slot-games__section-title {
  font-size: 2.5em;
  color: #FFFFFF; /* White for dark sections */
  text-align: center;
  margin-bottom: 30px;
  padding: 10px 0;
  position: relative;
  z-index: 1;
  font-weight: bold;
}

.page-slot-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #017439;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Text Blocks */
.page-slot-games__text-block {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1a1a2e; /* Dark background from body */
  min-height: 70vh;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 20px;
  z-index: 2;
  position: relative;
}

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

.page-slot-games__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-cta {
  margin-top: 20px;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: grayscale(50%); This is allowed as it's a decorative effect, not changing original color */
}

/* Buttons */
.page-slot-games__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-primary:hover {
  background-color: #e00b0b;
  transform: translateY(-2px);
}

.page-slot-games__btn-large {
  padding: 18px 40px;
  font-size: 1.4em;
}

/* Dark Section */
.page-slot-games__dark-section {
  background-color: #1a1a2e; /* Body background color */
  padding: 60px 0;
}
.page-slot-games__dark-section .page-slot-games__section-title {
    color: #FFFFFF;
}
.page-slot-games__dark-section .page-slot-games__text-block {
    color: #f0f0f0;
}


/* Intro Section */
.page-slot-games__intro-section {
    padding: 60px 0;
}
.page-slot-games__intro-section .page-slot-games__section-title {
    color: #FFFFFF;
}
.page-slot-games__intro-section .page-slot-games__text-block {
    color: #f0f0f0;
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 60px 0;
  background-color: #0d0d1e; /* Slightly lighter dark background */
}

.page-slot-games__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
}

.page-slot-games__benefits-item {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white card */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-align: center;
}

.page-slot-games__benefits-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__benefits-title {
  font-size: 1.6em;
  color: #017439; /* Brand primary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__benefits-item p {
  color: #f0f0f0;
  font-size: 1em;
}

/* Features Section */
.page-slot-games__features-section {
  padding: 60px 0;
  background-color: #1a1a2e;
}

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

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #FFFF00; /* Register/Login font color for emphasis */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-card p {
  color: #f0f0f0;
  font-size: 1em;
}

/* Download Section */
.page-slot-games__download-section {
  padding: 60px 0;
  background-color: #0d0d1e;
}

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

.page-slot-games__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-slot-games__step-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__step-card p {
  color: #f0f0f0;
  font-size: 1em;
}

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

/* Strategy Section */
.page-slot-games__strategy-section {
  padding: 60px 0;
  background-color: #1a1a2e;
}

.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 40px;
}

.page-slot-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__strategy-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__strategy-item p {
  color: #f0f0f0;
  font-size: 1em;
}

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

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-title {
  font-size: 1.2em;
  color: #FFFFFF;
  margin: 0;
  font-weight: bold;
}

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  color: #017439; /* Brand primary color */
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an 'x' or minus */
}

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

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 20px;
}

/* Call to Action Section */
.page-slot-games__cta-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color for CTA */
}

.page-slot-games__cta-section .page-slot-games__section-title {
  color: #FFFFFF;
}

.page-slot-games__cta-section .page-slot-games__text-block {
  color: #f0f0f0;
  max-width: 700px;
}

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

/* Content Images */
.page-slot-games__content-image {
  display: block;
  margin: 40px auto 20px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 100%; /* Base responsive */
  height: auto; /* Base responsive */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

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

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    min-height: 60vh;
  }
  .page-slot-games__hero-title {
    font-size: 2.2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__text-block {
    font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset !important; /* Allow images to shrink below 200px if needed for responsiveness */
    min-height: unset !important;
  }
  
  /* All content containers for mobile overflow */
  .page-slot-games__container,
  .page-slot-games__hero-content,
  .page-slot-games__hero-cta,
  .page-slot-games__benefits-list,
  .page-slot-games__features-grid,
  .page-slot-games__download-steps,
  .page-slot-games__strategy-list,
  .page-slot-games__faq-list,
  .page-slot-games__faq-item,
  .page-slot-games__download-buttons {
    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 */
  }

  /* Mobile button responsiveness */
  .page-slot-games__btn-primary,
  .page-slot-games__btn-large,
  .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;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1.1em !important;
  }
  .page-slot-games__download-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-slot-games__hero-cta {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__benefits-title,
  .page-slot-games__feature-title,
  .page-slot-games__step-title,
  .page-slot-games__strategy-title {
    font-size: 1.3em;
  }
  .page-slot-games__faq-title {
    font-size: 1.1em;
  }
}