.page-slot-games-high-payout-slots {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #222; /* Inherited from shared.css, set for contrast */
}

.page-slot-games-high-payout-slots__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  min-height: 600px;
  text-align: center;
  background: linear-gradient(135deg, #017439, #005f2f);
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-slot-games-high-payout-slots__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-slot-games-high-payout-slots__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Custom color for prominent titles */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games-high-payout-slots__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-games-high-payout-slots__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  overflow: hidden;
}

.page-slot-games-high-payout-slots__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.page-slot-games-high-payout-slots__section {
  padding: 60px 20px;
}

.page-slot-games-high-payout-slots__dark-bg {
  background-color: #222;
  color: #ffffff;
}

.page-slot-games-high-payout-slots__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-slot-games-high-payout-slots__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: #017439; /* Brand color for section titles on light background */
}

.page-slot-games-high-payout-slots__dark-bg .page-slot-games-high-payout-slots__section-title {
  color: #FFFF00; /* Custom color for section titles on dark background */
}

.page-slot-games-high-payout-slots__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-slot-games-high-payout-slots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games-high-payout-slots__grid--two-columns {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-slot-games-high-payout-slots__card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-slot-games-high-payout-slots__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-slot-games-high-payout-slots__card--transparent {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games-high-payout-slots__card--transparent .page-slot-games-high-payout-slots__card-title {
  color: #FFFF00;
}

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

.page-slot-games-high-payout-slots__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #017439;
}

.page-slot-games-high-payout-slots__card-text {
  font-size: 1.1em;
  color: #555555;
}

.page-slot-games-high-payout-slots__card--transparent .page-slot-games-high-payout-slots__card-text {
  color: #f0f0f0;
}

.page-slot-games-high-payout-slots__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

.page-slot-games-high-payout-slots__light-bg .page-slot-games-high-payout-slots__text-block {
  color: #555555;
}

.page-slot-games-high-payout-slots__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-slot-games-high-payout-slots__text-content {
  flex: 1;
  min-width: 300px;
}

.page-slot-games-high-payout-slots__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

.page-slot-games-high-payout-slots__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 30px;
  font-size: 1.1em;
  color: #555555;
}

.page-slot-games-high-payout-slots__dark-bg .page-slot-games-high-payout-slots__list {
  color: #f0f0f0;
}

.page-slot-games-high-payout-slots__list li {
  margin-bottom: 10px;
}

.page-slot-games-high-payout-slots__btn-primary,
.page-slot-games-high-payout-slots__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  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, transform 0.2s ease;
  margin: 10px;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-high-payout-slots__btn-primary {
  background-color: #C30808; /* Custom color for primary action buttons */
  color: #FFFF00; /* Custom font color for primary action buttons */
  border: 2px solid #C30808;
}

.page-slot-games-high-payout-slots__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
  transform: translateY(-2px);
}

.page-slot-games-high-payout-slots__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-slot-games-high-payout-slots__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-slot-games-high-payout-slots__dark-bg .page-slot-games-high-payout-slots__btn-secondary {
  color: #FFFF00;
  border-color: #FFFF00;
}

.page-slot-games-high-payout-slots__dark-bg .page-slot-games-high-payout-slots__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
}

.page-slot-games-high-payout-slots__btn-secondary--center {
  display: block;
  margin: 40px auto 0;
  max-width: 300px;
}

.page-slot-games-high-payout-slots__btn-primary--center {
  display: block;
  margin: 40px auto 0;
  max-width: 300px;
}

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

.page-slot-games-high-payout-slots__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games-high-payout-slots__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #017439;
  color: #ffffff;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(1, 116, 57, 0.5);
}

.page-slot-games-high-payout-slots__step-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-slot-games-high-payout-slots__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-slot-games-high-payout-slots__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-slot-games-high-payout-slots__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

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

.page-slot-games-high-payout-slots__faq-question:hover {
  background-color: #f0f0f0;
}

.page-slot-games-high-payout-slots__faq-question h3 {
  margin: 0;
  color: #017439;
}

.page-slot-games-high-payout-slots__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-slot-games-high-payout-slots__faq-item.active .page-slot-games-high-payout-slots__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games-high-payout-slots__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f8f8f8;
  color: #555555;
}

.page-slot-games-high-payout-slots__faq-item.active .page-slot-games-high-payout-slots__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px 25px;
}

.page-slot-games-high-payout-slots__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

.page-slot-games-high-payout-slots__cta-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: #017439;
  color: #ffffff;
  text-align: left;
  gap: 40px;
}

.page-slot-games-high-payout-slots__cta-content {
  flex: 1;
  max-width: 600px;
}

.page-slot-games-high-payout-slots__cta-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFF00;
}

.page-slot-games-high-payout-slots__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-games-high-payout-slots__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.page-slot-games-high-payout-slots__cta-image-wrapper {
  flex: 1;
  max-width: 500px;
  min-width: 300px;
  text-align: center;
}

.page-slot-games-high-payout-slots__cta-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games-high-payout-slots__hero-title {
    font-size: 3em;
  }
  .page-slot-games-high-payout-slots__section-title {
    font-size: 2em;
  }
  .page-slot-games-high-payout-slots__grid--two-columns {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .page-slot-games-high-payout-slots__cta-section {
    flex-direction: column;
    text-align: center;
  }
  .page-slot-games-high-payout-slots__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-slot-games-high-payout-slots {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games-high-payout-slots__hero-section {
    min-height: 450px;
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-games-high-payout-slots__hero-title {
    font-size: 2.2em;
  }
  .page-slot-games-high-payout-slots__hero-description {
    font-size: 1em;
  }
  .page-slot-games-high-payout-slots__section {
    padding: 40px 15px;
  }
  .page-slot-games-high-payout-slots__section-title {
    font-size: 1.8em;
  }
  .page-slot-games-high-payout-slots__grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games-high-payout-slots__card {
    padding: 20px;
  }
  .page-slot-games-high-payout-slots__card-image {
    max-width: 100%;
    height: auto;
  }
  .page-slot-games-high-payout-slots__content-wrapper {
    flex-direction: column;
  }
  .page-slot-games-high-payout-slots__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games-high-payout-slots__list {
    margin-left: 0;
    padding-left: 20px;
  }
  .page-slot-games-high-payout-slots__btn-primary,
  .page-slot-games-high-payout-slots__btn-secondary,
  .page-slot-games-high-payout-slots a[class*="button"],
  .page-slot-games-high-payout-slots a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important;
  }
  .page-slot-games-high-payout-slots__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-slot-games-high-payout-slots__cta-section {
    padding: 60px 15px;
  }
  .page-slot-games-high-payout-slots__cta-title {
    font-size: 2em;
  }
  .page-slot-games-high-payout-slots__cta-text {
    font-size: 1em;
  }
  .page-slot-games-high-payout-slots__faq-question,
  .page-slot-games-high-payout-slots__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Mobile image and container overrides */
  .page-slot-games-high-payout-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games-high-payout-slots__section,
  .page-slot-games-high-payout-slots__card,
  .page-slot-games-high-payout-slots__container,
  .page-slot-games-high-payout-slots__image-wrapper,
  .page-slot-games-high-payout-slots__cta-section,
  .page-slot-games-high-payout-slots__cta-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }
}

@media (max-width: 480px) {
  .page-slot-games-high-payout-slots__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games-high-payout-slots__hero-description {
    font-size: 0.9em;
  }
  .page-slot-games-high-payout-slots__section-title {
    font-size: 1.5em;
  }
  .page-slot-games-high-payout-slots__card-title {
    font-size: 1.4em;
  }
  .page-slot-games-high-payout-slots__btn-primary,
  .page-slot-games-high-payout-slots__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}