.page-slot-game-mechanics {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-slot-game-mechanics__hero-section {
  position: relative;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%);
  color: #ffffff;
  overflow: hidden;
}

.page-slot-game-mechanics__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-slot-game-mechanics__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

.page-slot-game-mechanics__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%; /* Adjust as needed */
  height: auto;
  opacity: 0.3;
  z-index: 0;
}

.page-slot-game-mechanics__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-slot-game-mechanics__content-area,
.page-slot-game-mechanics__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333333;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.page-slot-game-mechanics__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-slot-game-mechanics__section-title--light {
  color: #ffffff;
}

.page-slot-game-mechanics__subsection-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 5px;
}

.page-slot-game-mechanics p {
  margin-bottom: 1em;
  font-size: 1.1em;
  color: #333333;
}

.page-slot-game-mechanics__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-slot-game-mechanics__list {
  list-style: disc inside;
  margin-bottom: 1em;
  padding-left: 20px;
}

.page-slot-game-mechanics__list li {
  margin-bottom: 0.5em;
  font-size: 1.1em;
  color: #333333;
}

.page-slot-game-mechanics__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-slot-game-mechanics__btn-primary,
.page-slot-game-mechanics__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;
  text-align: center;
}

.page-slot-game-mechanics__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-slot-game-mechanics__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
  transform: translateY(-2px);
}

.page-slot-game-mechanics__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-slot-game-mechanics__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-slot-game-mechanics__btn-center {
  margin: 40px auto;
  display: block;
  width: fit-content;
}

.page-slot-game-mechanics__cta-buttons--center {
  margin: 40px auto;
}

.page-slot-game-mechanics__video-section {
  background: linear-gradient(45deg, #1a1a1a 0%, #0a0a0a 100%);
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
}

.page-slot-game-mechanics__video-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-game-mechanics__video-wrapper {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-game-mechanics__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-slot-game-mechanics__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-slot-game-mechanics__faq-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #333333;
}

.page-slot-game-mechanics__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-slot-game-mechanics__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-game-mechanics__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #eaf7ff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-slot-game-mechanics__faq-question:hover {
  background-color: #d8edf8;
}

.page-slot-game-mechanics__faq-title {
  font-size: 1.2em;
  color: #26A9E0;
  margin: 0;
}

.page-slot-game-mechanics__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #EA7C07;
  transition: transform 0.3s ease;
}

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

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

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

.page-slot-game-mechanics__conclusion-section {
  background: linear-gradient(135deg, #1a7bbd 0%, #26A9E0 100%);
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
  border-radius: 8px;
  max-width: 1200px;
  margin: 40px auto;
}

.page-slot-game-mechanics__conclusion-text {
  font-size: 1.15em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-game-mechanics__main-title {
    font-size: 2.5em;
  }
  .page-slot-game-mechanics__hero-image-wrapper {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .page-slot-game-mechanics__hero-section {
    flex-direction: column;
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-slot-game-mechanics__hero-content {
    max-width: 100%;
  }

  .page-slot-game-mechanics__main-title {
    font-size: 2em;
  }

  .page-slot-game-mechanics__intro-text {
    font-size: 1em;
  }

  .page-slot-game-mechanics__hero-image-wrapper {
    position: static;
    width: 100%;
    opacity: 1;
    margin-top: 30px;
  }

  .page-slot-game-mechanics__content-area,
  .page-slot-game-mechanics__faq-section,
  .page-slot-game-mechanics__conclusion-section {
    padding: 30px 15px;
    margin-left: 15px;
    margin-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-game-mechanics__section-title {
    font-size: 2em;
  }

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

  .page-slot-game-mechanics p,
  .page-slot-game-mechanics__list li {
    font-size: 1em;
  }

  .page-slot-game-mechanics__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-game-mechanics__btn-primary,
  .page-slot-game-mechanics__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-slot-game-mechanics__content-image,
  .page-slot-game-mechanics__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-game-mechanics__video-section {
    padding: 30px 15px;
  }

  .page-slot-game-mechanics__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-game-mechanics__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .page-slot-game-mechanics__faq-question {
    padding: 12px 15px;
  }

  .page-slot-game-mechanics__faq-title {
    font-size: 1.1em;
  }

  .page-slot-game-mechanics__faq-answer {
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-game-mechanics__main-title {
    font-size: 1.8em;
  }

  .page-slot-game-mechanics__section-title {
    font-size: 1.8em;
  }

  .page-slot-game-mechanics__subsection-title {
    font-size: 1.3em;
  }
  .page-slot-game-mechanics__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
}