.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__section-title--light {
  color: #FFFFFF;
}

.page-slot-games__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-slot-games__section-subtitle--light {
  color: #E0E0E0;
}

.page-slot-games__btn-primary {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  text-align: center;
}

.page-slot-games__btn-primary:hover {
  background-color: #005f2e;
}

.page-slot-games__btn-secondary {
  display: inline-block;
  background-color: #FFFFFF;
  color: #017439;
  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, border-color 0.3s ease;
  border: 2px solid #017439;
  box-sizing: border-box;
  text-align: center;
}

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

.page-slot-games__btn-register {
  background-color: #C30808;
  color: #FFFF00;
}

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

.page-slot-games__btn-download {
  background-color: #017439;
  color: #FFFFFF;
}

.page-slot-games__btn-download:hover {
  background-color: #005f2e;
}

.page-slot-games__text-link {
  color: #017439;
  text-decoration: underline;
}

.page-slot-games__text-link:hover {
  color: #005f2e;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-slot-games__hero-section > .page-slot-games__container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFFFF;
}

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

/* Intro Section */
.page-slot-games__intro-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-slot-games__intro-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-slot-games__intro-text {
  flex: 1;
}

.page-slot-games__intro-text p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-slot-games__intro-image-wrapper {
  flex: 1;
  min-width: 200px;
}

.page-slot-games__intro-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
}

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

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

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

.page-slot-games__feature-card--dark {
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

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

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

.page-slot-games__features-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
  padding: 80px 0;
  background-color: #F8F8F8;
  color: #333333;
}

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

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

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

.page-slot-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-slot-games__game-card > h3, .page-slot-games__game-card > p, .page-slot-games__game-card > a {
  padding: 0 20px;
}

.page-slot-games__game-title {
  font-size: 1.4em;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #017439;
}

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

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

.page-slot-games__game-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__game-card .page-slot-games__btn-secondary {
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
}

.page-slot-games__cta-buttons {
  text-align: center;
  margin-top: 60px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
}

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

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

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

.page-slot-games__promo-card--dark {
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

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

.page-slot-games__promo-description {
  font-size: 1em;
  color: #E0E0E0;
}

.page-slot-games__promo-text-bottom {
  font-size: 1.1em;
  margin-top: 40px;
  margin-bottom: 40px;
  color: #E0E0E0;
}

.page-slot-games__promo-text-bottom--light {
  color: #E0E0E0;
}

.page-slot-games__promotions-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-slot-games__guide-step {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-slot-games__guide-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
  background-color: #E6F3EC;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

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

.page-slot-games__guide-description {
  font-size: 1em;
  color: #555555;
}

.page-slot-games__guide-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Video Section */
.page-slot-games__video-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 50px;
  margin-bottom: 50px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #F8F8F8;
  color: #333333;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  border-bottom: 1px solid #EEEEEE;
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  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, 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 all content */
  padding: 15px 25px;
}

.page-slot-games__faq-answer p {
  margin-bottom: 10px;
  font-size: 1em;
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
}

.page-slot-games__cta-buttons-final {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__section-subtitle {
    font-size: 1em;
  }
  .page-slot-games__intro-content {
    flex-direction: column;
  }
  .page-slot-games__intro-image-wrapper {
    order: -1;
    margin-bottom: 30px;
  }
  .page-slot-games__features-grid,
  .page-slot-games__games-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__guide-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    min-height: 450px;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-games__hero-title {
    font-size: 2.2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-subtitle {
    font-size: 0.9em;
  }

  /* Image responsive rules */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__intro-image-wrapper,
  .page-slot-games__features-image,
  .page-slot-games__promotions-image,
  .page-slot-games__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Video responsive rules */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__video-section,
  .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;
  }

  /* Button responsive rules */
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important; /* Ensure full width on mobile */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__cta-buttons,
  .page-slot-games__cta-buttons-final,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column;
    gap: 15px;
  }

  /* General section padding */
  .page-slot-games__intro-section,
  .page-slot-games__features-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__promotions-section,
  .page-slot-games__guide-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding: 40px 0;
  }

  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .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__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games__hero-description {
    font-size: 0.9em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__hero-section {
    min-height: 380px;
  }
  .page-slot-games__guide-icon {
    font-size: 2em;
    width: 60px;
    height: 60px;
  }
}