.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Default text color for dark background sections */
  background-color: #08160F; /* Overall background */
}

.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; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden; /* Ensure no overflow */
  background-color: #08160F; /* Deep green background for hero */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  min-width: unset;
  min-height: unset;
}

.page-slot-games__hero-content {
  padding: 20px;
  max-width: 900px;
  z-index: 1;
  color: #F2FFF6; /* Light text on dark background */
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold color for main title */
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

.page-slot-games__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

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

.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;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure text breaks words */
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
  background: #2AD16F;
  color: #08160F;
}

/* --- Section Styling --- */
.page-slot-games__introduction-section,
.page-slot-games__code-guide-section,
.page-slot-games__benefits-section,
.page-slot-games__cta-final-section {
  background-color: #0A4B2C; /* Deep Green background for light sections */
  color: #F2FFF6; /* Light text on this background */
  padding: 60px 0;
}

.page-slot-games__features-section,
.page-slot-games__tips-section,
.page-slot-games__faq-section {
  background-color: #08160F; /* Dark background for these sections */
  color: #F2FFF6; /* Light text on this background */
  padding: 60px 0;
}

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold for section titles */
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #A7D9B8; /* Secondary text color */
}

.page-slot-games__text-block .page-slot-games__keyword {
  color: #57E38D; /* Highlight keywords */
  font-weight: bold;
}

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

.page-slot-games__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
  color: #F2FFF6; /* Light text on card background */
}

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

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

.page-slot-games__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold for card titles */
}

.page-slot-games__card-text {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

/* --- Ordered/Unordered Lists --- */
.page-slot-games__ordered-list,
.page-slot-games__unordered-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 30px;
  color: #A7D9B8;
}

.page-slot-games__ordered-list li,
.page-slot-games__unordered-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  position: relative;
  padding-left: 30px;
}

.page-slot-games__ordered-list li:before {
  content: counter(list-item) ".";
  counter-increment: list-item;
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #2AD16F;
}

.page-slot-games__unordered-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #2AD16F;
  font-size: 1.5em;
  line-height: 1;
}

.page-slot-games__ordered-list a,
.page-slot-games__unordered-list a {
  color: #57E38D; /* Link color for lists */
  text-decoration: underline;
}

.page-slot-games__ordered-list a:hover,
.page-slot-games__unordered-list a:hover {
  color: #F2C14E;
}

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

/* --- Benefits Grid --- */
.page-slot-games__grid--benefits {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-slot-games__benefit-item {
  background-color: #11271B;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
  color: #F2FFF6;
}

.page-slot-games__benefit-icon {
  width: 200px; /* Enforce min 200px */
  height: 200px; /* Enforce min 200px */
  margin-bottom: 15px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__benefit-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E;
}

.page-slot-games__benefit-text {
  font-size: 0.95rem;
  color: #A7D9B8;
}

/* --- FAQ Section --- */
.page-slot-games__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: #F2C14E;
  background-color: #1E3A2A; /* Darker background for question */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #57E38D;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: "−";
}

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1.1rem;
  color: #A7D9B8;
  border-top: 1px solid #2E7A4E;
}

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

.page-slot-games__faq-answer .page-slot-games__keyword {
  color: #57E38D;
  font-weight: bold;
}

.page-slot-games__faq-answer a {
  color: #57E38D;
  text-decoration: underline;
}

.page-slot-games__faq-answer a:hover {
  color: #F2C14E;
}

/* --- Final CTA Section --- */
.page-slot-games__cta-final-content {
  text-align: center;
}

.page-slot-games__cta-final-section .page-slot-games__section-title {
  margin-bottom: 20px;
}

.page-slot-games__cta-final-section .page-slot-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }

  .page-slot-games__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-slot-games__hero-image {
    max-height: 350px;
  }

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-slot-games__introduction-section,
  .page-slot-games__features-section,
  .page-slot-games__code-guide-section,
  .page-slot-games__tips-section,
  .page-slot-games__benefits-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding: 40px 0;
  }

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

  .page-slot-games__card,
  .page-slot-games__benefit-item,
  .page-slot-games__faq-item,
  .page-slot-games__cta-buttons,
  .page-slot-games__cta-final-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__card-image {
    height: 180px;
  }

  .page-slot-games__text-block,
  .page-slot-games__ordered-list li,
  .page-slot-games__unordered-list li,
  .page-slot-games__faq-answer {
    font-size: 1rem;
  }

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

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

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

  .page-slot-games__section-title {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }

  .page-slot-games__hero-image {
    max-height: 250px;
  }
}

/* Ensure all images in content area are responsive and not tiny */
.page-slot-games__card-image {
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

/* Special case for benefit-icon to ensure it's not small, even if it's conceptually an "icon" */
.page-slot-games__benefit-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* All img tags must have min-width/height of 200px if they are not specifically excluded */
.page-slot-games img {
  min-width: 200px;
  min-height: 200px;
}

/* The hero image can be larger, but its display width/height are set in HTML. */
.page-slot-games__hero-image {
  min-width: unset;
  min-height: unset;
}

/* Color contrast enforcement */
/* Dark backgrounds should have light text */
.page-slot-games__dark-bg,
.page-slot-games__dark-section,
.page-slot-games__card,
.page-slot-games__benefit-item,
.page-slot-games__faq-item {
  color: #F2FFF6; /* Text Main */
}

/* Titles on dark backgrounds */
.page-slot-games__main-title,
.page-slot-games__section-title,
.page-slot-games__card-title,
.page-slot-games__benefit-title,
.page-slot-games__faq-question {
  color: #F2C14E; /* Gold */
}

/* Secondary text on dark backgrounds */
.page-slot-games__hero-description,
.page-slot-games__text-block,
.page-slot-games__card-text,
.page-slot-games__benefit-text,
.page-slot-games__faq-answer p,
.page-slot-games__ordered-list,
.page-slot-games__unordered-list {
  color: #A7D9B8; /* Text Secondary */
}

/* Keyword highlights and links */
.page-slot-games__keyword,
.page-slot-games__ordered-list a,
.page-slot-games__unordered-list a,
.page-slot-games__faq-answer a,
.page-slot-games__faq-toggle,
.page-slot-games__btn-secondary {
  color: #57E38D; /* Glow / Accent green */
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
}