/* style/slot-games.css */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherited from shared, assuming dark */
}

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

.page-slot-games__dark-bg {
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff; /* White text for brand primary background */
}

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

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

.page-slot-games__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

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

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

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

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

/* General Section Styling */
.page-slot-games__intro-section,
.page-slot-games__features-section,
.page-slot-games__game-showcase,
.page-slot-games__how-to-play-section,
.page-slot-games__video-section,
.page-slot-games__faq-section,
.page-slot-games__cta-banner {
  padding: 60px 0;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: #ffffff; /* Default for dark sections */
}

.page-slot-games__intro-section .page-slot-games__section-title,
.page-slot-games__faq-section .page-slot-games__section-title {
  color: #26A9E0; /* Brand color for light sections */
}

.page-slot-games__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0; /* Default for dark sections */
}

.page-slot-games__intro-section .page-slot-games__text-block,
.page-slot-games__how-to-play-section .page-slot-games__text-block,
.page-slot-games__faq-section .page-slot-games__text-block {
  color: #333333; /* Dark text for light sections */
}

.page-slot-games__text-block a {
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__text-block a:hover {
  text-decoration: underline;
}

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

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

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

.page-slot-games__feature-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #ffffff;
}

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

.page-slot-games__feature-description a {
  color: #EA7C07;
}

/* Game Showcase */
.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: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__game-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #ffffff;
}

.page-slot-games__game-title a {
  color: #ffffff;
  text-decoration: none;
}

.page-slot-games__game-title a:hover {
  color: #EA7C07;
}

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

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  text-align: center;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
  text-align: left;
}

.page-slot-games__steps-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-slot-games__steps-list li strong {
  color: #26A9E0;
}

.page-slot-games__steps-list li a {
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__steps-list li a:hover {
  text-decoration: underline;
}

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

/* Video Section */
.page-slot-games__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: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensure it behaves as a block element */
}

/* FAQ Section */
.page-slot-games__faq-section {
  text-align: center;
}

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

.page-slot-games__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.page-slot-games__faq-question:hover {
  background-color: #e0e0e0;
}

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

.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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

.page-slot-games__faq-answer p {
  margin: 0;
  color: #555555;
}

/* CTA Banner */
.page-slot-games__cta-banner {
  text-align: center;
  padding: 80px 20px;
}

.page-slot-games__cta-content {
  max-width: 900px;
}

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

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 500px;
  }
  .page-slot-games__main-title {
    font-size: 2.2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-slot-games__intro-section,
  .page-slot-games__features-section,
  .page-slot-games__game-showcase,
  .page-slot-games__how-to-play-section,
  .page-slot-games__video-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-banner {
    padding: 40px 0;
  }

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

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-slot-games__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__game-card {
    padding: 20px;
  }

  .page-slot-games__feature-icon,
  .page-slot-games__game-thumbnail {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .page-slot-games__steps-list {
    margin-top: 30px;
  }

  .page-slot-games__steps-list li {
    padding: 15px;
    font-size: 1em;
  }

  .page-slot-games__video-wrapper {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-slot-games__faq-answer {
    padding: 0 20px;
  }

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__hero-section {
    min-height: 400px;
  }
}

/* Ensure all images are responsive and not small icons */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Content area images CSS dimension lower bound */
.page-slot-games__hero-image,
.page-slot-games__feature-icon,
.page-slot-games__game-thumbnail {
  min-width: 200px;
  min-height: 200px;
}

/* Override for smaller specific elements if needed, but ensure min-size */
.page-slot-games__btn-small {
  min-width: unset;
  min-height: unset;
}

/* Fix for shared header offset on video section for mobile if needed */
@media (max-width: 768px) {
  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

/* General responsive for content containers */
.page-slot-games__section, .page-slot-games__card, .page-slot-games__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}