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

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  min-height: 600px;
  overflow: hidden;
  background-color: #017439; /* Brand primary color for hero */
}

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

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

.page-slot-games__description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.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: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

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

.page-slot-games__btn-primary:hover {
  background-color: #9c0606;
  color: #ffffff;
}

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

.page-slot-games__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808; /* Register/Login color */
}

.page-slot-games__btn-link {
  display: inline-block;
  padding: 8px 15px;
  background-color: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  margin-top: 10px;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

.page-slot-games__btn-text {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.page-slot-games__btn-text:hover {
  color: #005a2e;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333; /* Light background, dark text */
}

.page-slot-games__dark-bg {
  background-color: #0a0a0a; /* Body background color */
  color: #ffffff; /* Dark background, light text */
}

.page-slot-games__introduction-section p,
.page-slot-games__responsible-gaming-section p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-slot-games__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__feature-card,
.page-slot-games__game-type-card,
.page-slot-games__step-card,
.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark bg */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-slot-games__light-bg .page-slot-games__feature-card,
.page-slot-games__light-bg .page-slot-games__game-type-card,
.page-slot-games__light-bg .page-slot-games__step-card,
.page-slot-games__light-bg .page-slot-games__promo-card {
  background-color: #f8f8f8;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__feature-card:hover,
.page-slot-games__game-type-card:hover,
.page-slot-games__step-card:hover,
.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-slot-games__feature-card h3,
.page-slot-games__game-type-card h3,
.page-slot-games__promo-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00; /* Highlight important titles */
}

.page-slot-games__game-type-card a {
  text-decoration: none;
  color: inherit;
}

.page-slot-games__game-type-card a:hover h3 {
  color: #017439; /* Brand color on hover for titles */
}

.page-slot-games__step-number {
  font-size: 3em;
  color: #017439;
  margin-bottom: 10px;
}

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

.page-slot-games__bottom-cta {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: rgba(1, 116, 57, 0.1);
  border-radius: 10px;
}

.page-slot-games__bottom-cta p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #017439;
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #ffffff;
  color: #333333;
}

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

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

.page-slot-games__text-center {
  text-align: center;
}

.page-slot-games__cta-final-section .page-slot-games__section-title {
  color: #FFFF00;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 3em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 500px;
  }
  .page-slot-games__main-title {
    font-size: 2.5em;
  }
  .page-slot-games__description {
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .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: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__content-area {
    padding: 30px 15px;
  }
  .page-slot-games__features-grid,
  .page-slot-games__game-types-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__feature-card,
  .page-slot-games__game-type-card,
  .page-slot-games__step-card,
  .page-slot-games__promo-card {
    padding: 20px;
  }
  .page-slot-games__card-image {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__introduction-section img,
  .page-slot-games__features-section img,
  .page-slot-games__game-types-section img,
  .page-slot-games__promotions-section img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__video-wrapper,
  .page-slot-games__video-container,
  .page-slot-games__video-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 2em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__hero-section {
    min-height: 400px;
  }
  .page-slot-games__hero-content {
    margin-bottom: 20px;
  }
}