.page-slot-games {
  color: #ffffff; /* Body background is #000000 (dark), so text should be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.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 */
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 700px; /* Limit height for hero image */
}

.page-slot-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  background: rgba(1, 116, 57, 0.9); /* #017439 with slight transparency */
  border-radius: 10px;
  margin-top: -80px; /* Overlap with image slightly for visual effect, but not text on image */
  position: relative;
  z-index: 1;
  max-width: 900px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-slot-games__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFF00; /* Yellow for prominence */
}

.page-slot-games__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

/* General 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: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-slot-games__btn-secondary {
  background: #017439; /* Main color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-slot-games__btn-secondary:hover {
  background: #005a2e;
  border-color: #005a2e;
}

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

/* Sections */
.page-slot-games__content-section,
.page-slot-games__guide-section,
.page-slot-games__promotions-section,
.page-slot-games__tips-section,
.page-slot-games__responsible-gaming-section,
.page-slot-games__faq-section,
.page-slot-games__final-cta-section {
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.page-slot-games__dark-bg {
  background: #000000; /* Body background */
  color: #ffffff;
}

.page-slot-games__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-slot-games__dark-text {
  color: #333333;
}

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for titles */
}

.page-slot-games__light-bg .page-slot-games__section-title {
  color: #017439; /* Dark green for titles on light background */
}

.page-slot-games__text-block {
  font-size: 1.05rem;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-slot-games__light-bg .page-slot-games__text-block {
  color: #333333;
}

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

.page-slot-games__feature-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-slot-games__feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

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

.page-slot-games__step-card {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Ensure cards are same height */
}

.page-slot-games__step-icon {
  background: #017439;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 25px;
}

.page-slot-games__step-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-slot-games__step-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Promotions */
.page-slot-games__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__promo-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

.page-slot-games__promo-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-slot-games__promo-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

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

/* Tips List */
.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-slot-games__tip-item {
  background: #f8f8f8;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05rem;
  line-height: 1.7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-slot-games__tip-item strong {
  color: #017439;
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-slot-games__faq-item {
  background: #f8f8f8;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px 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.15rem;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background: #e9e9e9;
  border-bottom: 1px solid #e0e0e0;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid #d0d0d0;
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  background: #ffffff;
}

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

/* Final CTA Section */
.page-slot-games__final-cta-section .page-slot-games__cta-buttons {
  margin-top: 40px;
}

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

  .page-slot-games__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-slot-games__features-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-cards {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for small visual top space */
    padding-bottom: 40px;
  }

  .page-slot-games__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
    max-width: 95%;
  }

  .page-slot-games__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

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

  .page-slot-games__hero-cta-buttons,
  .page-slot-games__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    overflow: hidden !important;
  }

  .page-slot-games__content-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__tips-section,
  .page-slot-games__responsible-gaming-section,
  .page-slot-games__faq-section,
  .page-slot-games__final-cta-section {
    padding: 40px 0;
  }

  .page-slot-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-slot-games__feature-card,
  .page-slot-games__step-card,
  .page-slot-games__promo-card {
    padding: 25px;
  }

  .page-slot-games__feature-image {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__tip-item,
  .page-slot-games__faq-question,
  .page-slot-games__faq-answer {
    font-size: 0.95rem;
    padding: 15px;
  }

  /* Ensure all content images are responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Content containers for mobile */
  .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;
  }
}