.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-slot-games__dark-bg {
  background-color: #4A148C; /* Main brand color for dark sections */
  color: #ffffff;
  padding: 60px 0;
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #FFD700;
  color: #4A148C;
  border: 2px solid #FFD700;
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #4A148C;
}

.page-slot-games__center-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  text-align: center;
  overflow: hidden;
  background-color: #1a1a2e;
  padding: 80px 20px;
  box-sizing: border-box;
}

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-slot-games__hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 900;
}

.page-slot-games__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

/* Intro Section */
.page-slot-games__intro-section {
  padding: 80px 0;
}

.page-slot-games__intro-image {
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

.page-slot-games__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__feature-heading {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-slot-games__feature-item ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
  color: #f0f0f0;
}

.page-slot-games__feature-item ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-slot-games__feature-item ul li::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-slot-games__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

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

.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: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__game-title {
  font-size: 1.5em;
  color: #FFD700;
  margin: 20px 15px 10px 15px;
  font-weight: bold;
}

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

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

.page-slot-games__game-description {
  font-size: 0.95em;
  color: #f0f0f0;
  line-height: 1.5;
  padding: 0 15px;
  margin-bottom: 20px;
}

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

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

.page-slot-games__guide-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__guide-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD700;
  color: #4A148C;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #4A148C;
}

.page-slot-games__guide-heading {
  font-size: 1.6em;
  color: #FFD700;
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__guide-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-slot-games__guide-image {
  display: block;
  margin: 60px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 80px 0;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-slot-games__tips-list li {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__tips-list li strong {
  color: #FFD700;
}

.page-slot-games__tips-image {
  display: block;
  margin: 60px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

.page-slot-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin: 20px 15px 10px 15px;
  font-weight: bold;
}

.page-slot-games__promo-text {
  font-size: 0.95em;
  color: #f0f0f0;
  line-height: 1.5;
  padding: 0 15px;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
}

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

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  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: #FFD700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-heading {
  margin: 0;
  color: #FFD700;
  font-size: 1.2em;
}

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

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

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

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

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

/* CTA Section */
.page-slot-games__cta-section {
  padding: 80px 0;
  background-color: #4A148C; /* Main brand color */
}

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

.page-slot-games__cta-section .page-slot-games__section-description {
  color: #f0f0f0;
}

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

/* Global image/video/button responsive styles for mobile */
.page-slot-games img,
.page-slot-games video,
.page-slot-games__video {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-slot-games__video-section,
.page-slot-games__video-container,
.page-slot-games__video-wrapper,
.page-slot-games__section,
.page-slot-games__card,
.page-slot-games__container,
.page-slot-games__cta-buttons,
.page-slot-games__button-group,
.page-slot-games__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 500px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-title {
    font-size: 2.2em;
  }

  .page-slot-games__hero-description {
    font-size: 1.1em;
  }

  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .page-slot-games__section-description {
    font-size: 1em;
    padding: 0 15px;
  }

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

  .page-slot-games__feature-grid,
  .page-slot-games__game-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__tips-list,
  .page-slot-games__promotion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-slot-games__guide-number {
    top: -15px;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }

  .page-slot-games__guide-heading {
    font-size: 1.4em;
  }

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

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

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

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 10px 20px 20px 20px;
  }

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

  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__cta-buttons,
  .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;
    overflow: hidden !important;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}