:root {
  --page-slot-games-primary-color: #11A84E;
  --page-slot-games-secondary-color: #22C768;
  --page-slot-games-bg-color: #08160F;
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-slot-games-border-color: #2E7A4E;
  --page-slot-games-glow-color: #57E38D;
  --page-slot-games-gold-color: #F2C14E;
  --page-slot-games-divider-color: #1E3A2A;
  --page-slot-games-deep-green: #0A4B2C;
}

.page-slot-games {
  background-color: var(--page-slot-games-bg-color);
  color: var(--page-slot-games-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-slot-games__section {
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-bg-color);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg {
  background-color: var(--page-slot-games-card-bg);
  color: var(--page-slot-games-text-main);
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 80px 0; /* body handles top padding, this is for visual space */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -300px; /* Adjust this to pull content up over the image */
  background: rgba(8, 22, 15, 0.7); /* Use bg color with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 1.15rem;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 30px;
}

.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-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-btn-gradient);
  color: var(--page-slot-games-text-main);
  border: none;
}

.page-slot-games__btn-primary:hover {
  filter: brightness(1.2);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: none;
  color: var(--page-slot-games-gold-color);
  border: 2px solid var(--page-slot-games-gold-color);
}

.page-slot-games__btn-secondary:hover {
  background: var(--page-slot-games-gold-color);
  color: var(--page-slot-games-bg-color);
  transform: translateY(-2px);
}

/* Section Titles */
.page-slot-games__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--page-slot-games-gold-color);
}

/* Content Images */
.page-slot-games__image-content {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  object-fit: cover;
}

/* Feature List (Why Choose) */
.page-slot-games__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__feature-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  border: 1px solid var(--page-slot-games-border-color);
}

.page-slot-games__feature-title {
  font-size: 1.5rem;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 15px;
}

.page-slot-games__feature-item p {
  color: var(--page-slot-games-text-secondary);
  font-size: 1rem;
}

/* Game Type Cards */
.page-slot-games__game-type-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  border: 1px solid var(--page-slot-games-border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__card-title {
  font-size: 1.6rem;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__card p {
  color: var(--page-slot-games-text-secondary);
  font-size: 1rem;
}

/* Steps List (How To Play) */
.page-slot-games__steps-list,
.page-slot-games__strategy-list,
.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__step-item,
.page-slot-games__strategy-item,
.page-slot-games__promo-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid var(--page-slot-games-border-color);
}

.page-slot-games__step-title,
.page-slot-games__strategy-title,
.page-slot-games__promo-title {
  font-size: 1.4rem;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 10px;
}

.page-slot-games__step-item p,
.page-slot-games__strategy-item p,
.page-slot-games__promo-item p {
  color: var(--page-slot-games-text-secondary);
  font-size: 1rem;
}

.page-slot-games__step-item a,
.page-slot-games__faq-answer a {
  color: var(--page-slot-games-gold-color);
  text-decoration: underline;
}

.page-slot-games__step-item a:hover,
.page-slot-games__faq-answer a:hover {
  color: var(--page-slot-games-primary-color);
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--page-slot-games-border-color);
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--page-slot-games-gold-color);
  font-size: 1.25rem;
  font-weight: 600;
  list-style: none;
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-question:hover {
  background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  color: var(--page-slot-games-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.page-slot-games__faq-answer p {
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    margin-top: -200px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 10px 0 60px 0;
  }

  .page-slot-games__hero-content {
    margin-top: -150px;
    padding: 30px 15px;
  }

  .page-slot-games__main-title {
    font-size: 2.2rem;
  }

  .page-slot-games__description {
    font-size: 1rem;
  }

  .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;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__hero-content,
  .page-slot-games__cta-buttons,
  .page-slot-games__faq-list,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important;
  }
  
  .page-slot-games__video-section { /* Added for general video section rule, though not directly used here */
    padding-top: 10px !important;
  }

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

  .page-slot-games__card-image {
    height: auto; /* Allow auto height for card images on mobile */
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 1.8rem;
  }

  .page-slot-games__section-title {
    font-size: 1.7rem;
  }

  .page-slot-games__hero-content {
    margin-top: -100px;
    padding: 20px 10px;
  }

  .page-slot-games__feature-title,
  .page-slot-games__card-title,
  .page-slot-games__step-title,
  .page-slot-games__strategy-title,
  .page-slot-games__promo-title {
    font-size: 1.2rem;
  }

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

  .page-slot-games__faq-toggle {
    font-size: 1.5rem;
  }

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

/* Ensure text contrast for default body background if it's dark */
.page-slot-games p, .page-slot-games li, .page-slot-games__description {
  color: var(--page-slot-games-text-secondary); /* Default for general text */
}

.page-slot-games h1, .page-slot-games h2, .page-slot-games h3, .page-slot-games h4, .page-slot-games h5, .page-slot-games h6 {
  color: var(--page-slot-games-gold-color); /* Headings */
}

/* Specific contrast fixes 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;
}

/* No filter on images, but brightness filter on hero image for text readability is allowed as it's not changing the color, just overall brightness. */
.page-slot-games__hero-image {
  filter: brightness(0.7); /* Allowed for readability */
}

.page-slot-games img:not(.page-slot-games__hero-image) {
  filter: none; /* Ensure other images have no filter */
}