.page-slot-games {
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg); /* Inherit from shared.css, assumed dark */
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

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

.page-slot-games__hero-title {
  font-size: 3.5em;
  color: #E6B34B; /* Gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

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

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

.page-slot-games__center-buttons {
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #E6B34B; /* Gold primary button */
  color: #0A2240; /* Dark blue text for contrast */
  border: 2px solid #E6B34B;
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #E6B34B; /* Gold text for secondary */
  border: 2px solid #E6B34B;
}

.page-slot-games__btn-secondary:hover {
  background-color: #E6B34B;
  color: #0A2240;
}

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

.page-slot-games__dark-section {
  background-color: #0A2240;
  color: #ffffff;
}

.page-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  color: #f0f0f0; /* Light text for general content on dark background */
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #E6B34B;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E6B34B;
  border-radius: 2px;
}

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

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

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

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

.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-card,
.page-slot-games__promotion-card {
  background-color: #1a3a5a; /* Slightly lighter dark background for cards */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__feature-card:hover,
.page-slot-games__promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games__card-title {
  font-size: 1.8em;
  color: #E6B34B;
  margin-bottom: 15px;
}

.page-slot-games__card-description {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

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

.page-slot-games__step-item {
  background-color: #1a3a5a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
}

.page-slot-games__step-number {
  width: 60px;
  height: 60px;
  background-color: #E6B34B;
  color: #0A2240;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

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

.page-slot-games__step-description {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

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

.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: #f0f0f0;
}

.page-slot-games__list li {
  background-color: #1a3a5a;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-left: 5px solid #E6B34B;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.6;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.page-slot-games__list li strong {
  color: #E6B34B;
}

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border: 1px solid #0A2240;
  border-radius: 8px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #0A2240;
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  color: #ffffff; /* Ensure contrast on dark background */
  font-size: 1.2em;
}

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: #1a3a5a; /* Slightly lighter dark background for answer */
  color: #f0f0f0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-slot-games__faq-answer p {
  margin: 15px 0;
  color: #f0f0f0; /* Ensure contrast on dark background */
}

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

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

.page-slot-games__conclusion-section {
  text-align: center;
  padding: 80px 20px;
}

/* Image and Video Responsive Styles */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Ensure no filter is applied to images */
  filter: none;
}

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

.page-slot-games__video-section,
.page-slot-games__video-container,
.page-slot-games__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-slot-games__hero-section {
    height: auto;
    min-height: 400px;
    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__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 1em;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-slot-games__feature-card,
  .page-slot-games__promotion-card,
  .page-slot-games__step-item {
    padding: 20px;
  }

  .page-slot-games__card-image {
    height: 180px;
  }

  .page-slot-games__card-title {
    font-size: 1.5em;
  }

  .page-slot-games__card-description,
  .page-slot-games__step-description,
  .page-slot-games__text-block,
  .page-slot-games__list li {
    font-size: 0.95em;
  }

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

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

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .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__faq-question h3 {
    font-size: 1em;
  }

  .page-slot-games__faq-answer p {
    font-size: 0.9em;
  }
}