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

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom */
  text-align: center;
  overflow: hidden;
}

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-slot-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  max-width: 100%;
  /* No fixed font-size for H1 */
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  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-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-slot-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-slot-games__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Lighter version of border color */
  transform: translateY(-2px);
}

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

.page-slot-games__intro-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section {
  background-color: var(--background-color-light, #ffffff);
  color: var(--text-dark, #333333);
}

.page-slot-games__types-section,
.page-slot-games__tips-section,
.page-slot-games__mobile-section,
.page-slot-games__conclusion-section {
  background-color: var(--background-color-dark, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-slot-games__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: inherit;
  margin-bottom: 30px;
  text-align: center;
}

.page-slot-games__text-block {
  font-size: 1.05em;
  margin-bottom: 25px;
  color: inherit;
}

.page-slot-games__content-image {
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure responsiveness */
  height: auto; /* Maintain aspect ratio */
}

.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: grid;
  gap: 20px;
}

.page-slot-games__list-item {
  background-color: var(--card-bg, #11271B);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main, #F2FFF6);
}

.page-slot-games__list-title {
  font-size: 1.4em;
  font-weight: bold;
  color: inherit;
  margin-bottom: 10px;
}

.page-slot-games__list-description {
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  counter-reset: step-counter;
}

.page-slot-games__steps-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 25px;
  color: inherit;
}

.page-slot-games__steps-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-slot-games__steps-title {
  font-size: 1.3em;
  font-weight: bold;
  color: inherit;
  margin-bottom: 5px;
}

.page-slot-games__steps-description {
  font-size: 1em;
  color: inherit;
}

.page-slot-games__promotions-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-slot-games__promotions-card {
  background-color: var(--background-color-light, #ffffff);
  color: var(--text-dark, #333333);
  border: 1px solid var(--border-color, #e0e0e0);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-slot-games__promotions-card .page-slot-games__card-title {
  color: var(--primary-color, #11A84E);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-slot-games__promotions-card .page-slot-games__card-description {
  color: var(--text-dark, #333333);
  margin-bottom: 25px;
}

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

.page-slot-games__faq-item {
  background-color: var(--background-color-light, #ffffff);
  border: 1px solid var(--border-color-light, #e0e0e0);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark, #333333);
}

.page-slot-games__faq-item[open] {
  background-color: var(--background-color-light, #f9f9f9);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--primary-color, #11A84E);
  background-color: var(--background-color-light, #ffffff);
  user-select: none;
  list-style: none;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color, #11A84E);
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-dark, #333333);
}

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

/* Desktop specific adjustments */
@media (min-width: 769px) {
  .page-slot-games__hero-content {
    padding: 40px;
  }
  .page-slot-games__main-title {
    font-size: 3.2em;
  }
  .page-slot-games__hero-description {
    font-size: 1.2em;
  }
  .page-slot-games__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__hero-section {
    min-height: 400px;
    padding: 10px 15px 40px 15px;
  }

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

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

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

  .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;
    padding: 10px 15px;
  }

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

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

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

  .page-slot-games__list-item,
  .page-slot-games__promotions-card {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-slot-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .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;
  }

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