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

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

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

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  background-color: var(--deep-green);
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Ensure minimum size */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  padding: 0 20px;
  max-width: 900px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-slot-games__description {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid var(--primary-color);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 1rem;
  min-width: 120px;
}

.page-slot-games__section-title {
  font-size: 2.5rem;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__promotions-section,
.page-slot-games__security-section,
.page-slot-games__conclusion-section {
  padding: 60px 0;
  background-color: var(--deep-green);
  color: var(--text-main);
}

.page-slot-games__why-choose-section,
.page-slot-games__guide-section,
.page-slot-games__tips-section,
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: var(--background-color);
  color: var(--text-main);
}

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

.page-slot-games__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  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;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

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

.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__guide-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main);
}

.page-slot-games__guide-step-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__guide-item p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-slot-games__security-points {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-slot-games__security-item {
  text-align: center;
  max-width: 300px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main);
}

.page-slot-games__security-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  min-width: 80px; /* Enforce minimum size */
  min-height: 80px;
}

.page-slot-games__security-title {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__security-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.page-slot-games__faq-list {
  margin-top: 40px;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--border-color);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid var(--border-color);
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: var(--gold-color);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary);
  background-color: var(--card-bg);
}

.page-slot-games__faq-answer p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.page-slot-games__conclusion-section p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-slot-games__cta-final {
  text-align: center;
  margin-top: 30px;
}

.page-slot-games__cta-final .page-slot-games__btn-primary {
  min-width: 250px;
  padding: 18px 35px;
  font-size: 1.2rem;
}

/* Ensure link text color for default links */
.page-slot-games a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-slot-games a:hover {
  text-decoration: underline;
  color: var(--glow-color);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-slot-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-slot-games__description {
    font-size: 1rem;
    padding: 0 15px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

  .page-slot-games__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-slot-games__introduction-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__game-types-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__tips-section,
  .page-slot-games__security-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 40px 0;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-type-grid,
  .page-slot-games__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-slot-games__card {
    padding: 20px;
  }

  .page-slot-games__card-title {
    font-size: 1.4rem;
  }

  .page-slot-games__card-image {
    height: 180px; /* Adjust height for mobile */
    min-width: 200px !important;
    min-height: 180px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-slot-games__guide-item {
    padding: 20px;
    margin: 0 15px 15px 15px;
  }

  .page-slot-games__guide-step-title {
    font-size: 1.5rem;
  }

  .page-slot-games__security-points {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
  }

  .page-slot-games__security-item {
    max-width: 100%;
  }

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

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

  /* Image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper,
  .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;
    overflow: hidden !important;
  }

  /* Adjust padding for containers to prevent overflow */
  .page-slot-games__container,
  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-slot-games__cta-final .page-slot-games__btn-primary {
    width: calc(100% - 30px) !important;
    margin: 0 15px;
  }

  /* FAQ specific mobile adjustments */
  .page-slot-games__faq-item {
    margin: 0 15px 15px 15px;
  }
}

/* Details summary reset */
.page-slot-games__faq-item summary {
  list-style: none;
}

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

/* Ensure no filter on images */
.page-slot-games img {
  filter: none !important;
}

/* Content area image CSS size lower bound check (min 200px) */
.page-slot-games__content-area img,
.page-slot-games__feature-card img,
.page-slot-games__game-type-card img,
.page-slot-games__promo-card img {
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__security-icon {
  min-width: 80px;
  min-height: 80px;
  width: 80px;
  height: 80px;
  /* These are icons, but still must meet minimum size requirements for content images, here 80x80 is fine as they are used as small illustrative icons in a dedicated section, not as general content images. However, the rule states 'any width or height less than 200px' is forbidden for ALL images. So, these would technically fail. I need to make them larger or ensure they are explicitly allowed as exceptions. Given the strictness, I will make them 200x200px. */
  width: 200px;
  height: 200px;
  object-fit: contain;
}