.page-slot-games-mega-moolah {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-slot-games-mega-moolah__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 40px 0; /* body handles header offset, small top padding for visual */
  background-color: #08160F;
  overflow: hidden;
}

.page-slot-games-mega-moolah__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-games-mega-moolah__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-slot-games-mega-moolah__hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(0deg, rgba(8, 22, 15, 0.9) 0%, rgba(8, 22, 15, 0.7) 50%, rgba(8, 22, 15, 0) 100%);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.page-slot-games-mega-moolah__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games-mega-moolah__intro-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games-mega-moolah__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.page-slot-games-mega-moolah__btn-primary,
.page-slot-games-mega-moolah__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games-mega-moolah__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-slot-games-mega-moolah__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games-mega-moolah__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button color for text */
  border: 2px solid #2AD16F;
}

.page-slot-games-mega-moolah__btn-secondary:hover {
  background: #2AD16F;
  color: #08160F;
}

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

.page-slot-games-mega-moolah__dark-bg {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-slot-games-mega-moolah__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-slot-games-mega-moolah__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games-mega-moolah__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-slot-games-mega-moolah__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games-mega-moolah__ordered-list,
.page-slot-games-mega-moolah__unordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-slot-games-mega-moolah__list-item {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-slot-games-mega-moolah__list-item strong {
  color: #2AD16F;
}

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

.page-slot-games-mega-moolah__feature-card,
.page-slot-games-mega-moolah__benefit-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games-mega-moolah__feature-card:hover,
.page-slot-games-mega-moolah__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games-mega-moolah__feature-title,
.page-slot-games-mega-moolah__benefit-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games-mega-moolah__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-slot-games-mega-moolah__feature-description,
.page-slot-games-mega-moolah__benefit-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-slot-games-mega-moolah__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games-mega-moolah__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games-mega-moolah__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-slot-games-mega-moolah__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games-mega-moolah__faq-question:hover {
  background-color: #1E3A2A; /* Divider for hover */
}

.page-slot-games-mega-moolah__faq-toggle {
  font-size: 1.5rem;
  color: #2AD16F;
  margin-left: 15px;
}

.page-slot-games-mega-moolah__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-slot-games-mega-moolah__floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 15px;
  z-index: 1000;
}

.page-slot-games-mega-moolah__floating-btn-register,
.page-slot-games-mega-moolah__floating-btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  white-space: nowrap;
  word-wrap: break-word;
}

.page-slot-games-mega-moolah__floating-btn-register {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
}

.page-slot-games-mega-moolah__floating-btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.5);
}

.page-slot-games-mega-moolah__floating-btn-login {
  background-color: #F2C14E; /* Gold */
  color: #08160F;
}

.page-slot-games-mega-moolah__floating-btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.5);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-slot-games-mega-moolah {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games-mega-moolah__hero-content {
    padding: 20px 15px;
    position: relative;
    background: none;
  }

  .page-slot-games-mega-moolah__hero-image {
    filter: brightness(1);
  }

  .page-slot-games-mega-moolah__main-title {
    font-size: 2.2rem;
    margin-top: 20px;
    position: relative;
    text-shadow: none;
  }

  .page-slot-games-mega-moolah__intro-text {
    font-size: 1rem;
  }

  .page-slot-games-mega-moolah__section {
    padding: 40px 15px;
  }

  .page-slot-games-mega-moolah__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-slot-games-mega-moolah__text-block,
  .page-slot-games-mega-moolah__list-item,
  .page-slot-games-mega-moolah__feature-description,
  .page-slot-games-mega-moolah__benefit-description {
    font-size: 0.95rem;
  }

  .page-slot-games-mega-moolah__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-mega-moolah__btn-primary,
  .page-slot-games-mega-moolah__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-slot-games-mega-moolah__features-grid,
  .page-slot-games-mega-moolah__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games-mega-moolah__feature-title,
  .page-slot-games-mega-moolah__benefit-title {
    font-size: 1.4rem;
  }

  .page-slot-games-mega-moolah__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }

  .page-slot-games-mega-moolah__faq-answer {
    padding: 0 15px 15px 15px;
  }

  /* Mobile image responsiveness */
  .page-slot-games-mega-moolah img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games-mega-moolah__hero-image-wrapper,
  .page-slot-games-mega-moolah__section,
  .page-slot-games-mega-moolah__content-wrapper,
  .page-slot-games-mega-moolah__feature-card,
  .page-slot-games-mega-moolah__benefit-card,
  .page-slot-games-mega-moolah__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure content doesn't overflow */
  }

  .page-slot-games-mega-moolah__hero-section {
    padding-top: 10px !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-slot-games-mega-moolah__floating-cta {
    flex-direction: row;
    bottom: 10px;
    left: 10px;
    right: 10px;
    justify-content: space-around;
    width: auto;
    gap: 10px;
  }

  .page-slot-games-mega-moolah__floating-btn-register,
  .page-slot-games-mega-moolah__floating-btn-login {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}