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

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #017439, #004d26);
  min-height: 60vh;
  overflow: hidden;
}

.page-slot-games__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  color: #FFFF00; /* Register and Login font color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 30px;
}

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

.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.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
}

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

.page-slot-games__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border-color: #ffffff;
}

.page-slot-games__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-slot-games__section {
  padding: 60px 20px;
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add padding for smaller screens */
}

.page-slot-games__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: #FFFF00; /* Use accent color for titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

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

.page-slot-games__introduction .page-slot-games__section-title {
  color: #017439;
}

.page-slot-games__why-choose .page-slot-games__section-title {
  color: #FFFF00;
}

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

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
}

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

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-slot-games__popular-games .page-slot-games__section-title {
  color: #017439;
}

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

.page-slot-games__game-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  min-height: 200px;
  min-width: 200px;
}

.page-slot-games__game-title {
  font-size: 1.4em;
  color: #017439;
  padding: 15px;
  margin-bottom: 0;
}

.page-slot-games__game-title a {
  color: #017439;
  text-decoration: none;
}

.page-slot-games__game-title a:hover {
  text-decoration: underline;
}

.page-slot-games__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px;
}

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

.page-slot-games__how-to-play .page-slot-games__section-title {
  color: #FFFF00;
}

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

.page-slot-games__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__step-item:last-child {
  margin-bottom: 0;
}

.page-slot-games__step-title {
  font-size: 1.6em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-slot-games__step-item p {
  color: #f0f0f0;
  font-size: 1.05em;
}

.page-slot-games__step-item a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-slot-games__step-item a:hover {
  color: #fff;
}

.page-slot-games__winning-tips .page-slot-games__section-title {
  color: #017439;
}

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

.page-slot-games__tips-item {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__tips-item:last-child {
  margin-bottom: 0;
}

.page-slot-games__tips-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 10px;
}

.page-slot-games__tips-item p {
  color: #555555;
  font-size: 1.05em;
}

.page-slot-games__promotions .page-slot-games__section-title {
  color: #FFFF00;
}

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

.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  min-height: 200px;
  min-width: 200px;
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  color: #FFFF00;
  padding: 15px;
  margin-bottom: 0;
}

.page-slot-games__promo-title a {
  color: #FFFF00;
  text-decoration: none;
}

.page-slot-games__promo-title a:hover {
  text-decoration: underline;
}

.page-slot-games__promo-description {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px 20px;
}

.page-slot-games__faq-section .page-slot-games__section-title {
  color: #017439;
}

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

.page-slot-games__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #e6ffe6; /* Light green for question background */
  border-bottom: 1px solid #d0ffd0;
}

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

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg);
  /* content: '−'; Handled by JS */
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}