.page-slot-games {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --bg-color-main: #08160F;
  --bg-color-card: #11271B;
  --text-color-main: #F2FFF6;
  --text-color-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;

  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-main); /* Default text color for dark background */
  background-color: var(--bg-color-main); /* Body background handled by shared.css */
}

.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;
  text-align: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding, more at bottom */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  margin-top: -150px; /* Overlap slightly with image for visual flow */
  padding: 20px;
  max-width: 900px;
  background: rgba(8, 22, 15, 0.7); /* Semi-transparent dark background for text */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gold-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  color: var(--text-color-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- General Sections --- */
.page-slot-games__introduction-section,
.page-slot-games__benefits-section,
.page-slot-games__types-section,
.page-slot-games__how-to-play-section,
.page-slot-games__strategies-section,
.page-slot-games__faq-section,
.page-slot-games__cta-section {
  padding: 60px 0;
}

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

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

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-slot-games__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__image-content {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__card {
  background-color: var(--bg-color-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--gold-color);
  margin-bottom: 15px;
  text-align: center;
}

.page-slot-games__card-description {
  font-size: 0.95em;
  color: var(--text-color-secondary);
  line-height: 1.6;
}

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

.page-slot-games__game-card {
  background-color: var(--bg-color-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__game-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--gold-color);
  margin: 15px 10px 10px;
}

.page-slot-games__game-description {
  font-size: 0.9em;
  color: var(--text-color-secondary);
  padding: 0 15px 15px;
  line-height: 1.5;
}

/* --- How To Play Steps --- */
.page-slot-games__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__step-item {
  background-color: #ffffff; /* Light background for steps */
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__step-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-slot-games__step-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* --- Tips List --- */
.page-slot-games__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__tip-item {
  background-color: var(--bg-color-card);
  border-left: 5px solid var(--gold-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: var(--text-color-main);
}

.page-slot-games__tip-item strong {
  color: var(--gold-color);
}

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

.page-slot-games__faq-item {
  background-color: #ffffff; /* Light background for FAQ */
  color: #333333;
  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: 20px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  color: var(--primary-color);
  list-style: none; /* For details summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details summary */
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 10px;
}

.page-slot-games__faq-answer {
  padding: 20px;
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
}

/* Ensure contrast for text on light backgrounds */
.page-slot-games__text-contrast-fix {
  color: #333333;
}

/* --- CTA Section --- */
.page-slot-games__cta-section {
  text-align: center;
  background-color: var(--bg-color-main);
  color: var(--text-color-main);
  padding: 80px 0;
}

/* --- Buttons --- */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons adapt */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  margin-top: 15px;
}

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

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

/* --- Images Responsiveness (Global for page-slot-games) --- */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 15px;
  }

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

  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-slot-games__hero-content {
    margin-top: -100px; /* Adjust overlap for mobile */
    padding: 15px;
  }

  .page-slot-games__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-slot-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-slot-games__text-block {
    font-size: 1em;
  }

  .page-slot-games__benefits-grid,
  .page-slot-games__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card,
  .page-slot-games__game-card,
  .page-slot-games__step-item,
  .page-slot-games__faq-item {
    padding: 20px;
  }

  .page-slot-games__card-title,
  .page-slot-games__game-title {
    font-size: 1.3em;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
    margin-bottom: 10px; /* For stacked buttons */
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

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

  .page-slot-games__introduction-section,
  .page-slot-games__benefits-section,
  .page-slot-games__types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__strategies-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 40px 0;
  }

  /* Video specific mobile overrides (if any video was present) */
  .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;
  }
}