.page-fortunemouse {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color for dark background */
  background-color: var(--bg, #08160F); /* Default background color */
}

.page-fortunemouse__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--bg, #08160F);
  overflow: hidden;
}

.page-fortunemouse__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fortunemouse__hero-content {
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -100px; /* Overlap image slightly for visual appeal */
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, rgba(8, 22, 15, 1) 50%);
  border-radius: 10px;
}

.page-fortunemouse__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--gold, #F2C14E);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-fortunemouse__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

.page-fortunemouse__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* Ensure high contrast */
  border: none;
  cursor: pointer;
}

.page-fortunemouse__hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fortunemouse__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-fortunemouse__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--gold, #F2C14E);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-fortunemouse__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--deep-green, #0A4B2C);
  border-radius: 2px;
}

.page-fortunemouse__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-fortunemouse__text-block {
  font-size: 1.05em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
  text-align: justify;
}

.page-fortunemouse__text-block p {
  margin-bottom: 1em;
}

.page-fortunemouse__text-block a {
  color: var(--glow, #57E38D);
  text-decoration: underline;
}

.page-fortunemouse__text-block a:hover {
  color: var(--main-color, #11A84E);
}

.page-fortunemouse__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-fortunemouse__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-secondary, #A7D9B8);
}

.page-fortunemouse__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--glow, #57E38D);
  font-weight: bold;
}

.page-fortunemouse__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

.page-fortunemouse__numbered-list .page-fortunemouse__list-item {
  padding-left: 0;
}

.page-fortunemouse__numbered-list .page-fortunemouse__list-item::before {
  content: none;
}

.page-fortunemouse__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-fortunemouse__image--center {
  max-width: 800px;
}

.page-fortunemouse__image--left {
  max-width: 800px;
  float: left;
  margin-right: 30px;
}

.page-fortunemouse__image--right {
  max-width: 800px;
  float: right;
  margin-left: 30px;
}

.page-fortunemouse__about-section, .page-fortunemouse__features-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fortunemouse__about-section .page-fortunemouse__text-block, .page-fortunemouse__features-section .page-fortunemouse__text-block {
  max-width: 800px;
  text-align: left;
}

/* Background and text color for light sections */
.page-fortunemouse__light-bg {
  background-color: var(--card-bg, #11271B);
  color: var(--text-secondary, #A7D9B8);
}

.page-fortunemouse__light-bg .page-fortunemouse__section-title,
.page-fortunemouse__light-bg .page-fortunemouse__sub-title {
  color: var(--gold, #F2C14E);
}

/* Background and text color for dark sections */
.page-fortunemouse__dark-bg {
  background-color: var(--bg, #08160F);
  color: var(--text-secondary, #A7D9B8);
}

.page-fortunemouse__dark-bg .page-fortunemouse__section-title,
.page-fortunemouse__dark-bg .page-fortunemouse__sub-title {
  color: var(--gold, #F2C14E);
}

.page-fortunemouse__cta-button, .page-fortunemouse__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* Ensure high contrast */
  border: none;
  cursor: pointer;
  margin-top: 20px;
  text-align: center;
}

.page-fortunemouse__cta-button:hover, .page-fortunemouse__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fortunemouse__faq-section {
  padding-bottom: 60px;
}

.page-fortunemouse__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-fortunemouse__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fortunemouse__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--deep-green, #0A4B2C);
  border-bottom: 1px solid var(--border, #2E7A4E);
}

.page-fortunemouse__faq-item[open] .page-fortunemouse__faq-question {
  border-bottom: 1px solid var(--border, #2E7A4E);
}

.page-fortunemouse__faq-question::-webkit-details-marker {
  display: none;
}

.page-fortunemouse__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow, #57E38D);
  transition: transform 0.3s ease;
}

.page-fortunemouse__faq-item[open] .page-fortunemouse__faq-toggle {
  transform: rotate(45deg);
}

.page-fortunemouse__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.7;
}

.page-fortunemouse__faq-answer p {
  margin-bottom: 1em;
}

.page-fortunemouse__final-cta-section {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 80px;
  background-color: var(--bg, #08160F);
}

.page-fortunemouse__final-cta-section .page-fortunemouse__description {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
}

/* General button styles for consistency */
.page-fortunemouse a[class*="btn"],
.page-fortunemouse a[class*="button"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fortunemouse__hero-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-fortunemouse__section-title {
    font-size: 2em;
  }
  .page-fortunemouse__image--left, .page-fortunemouse__image--right {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-fortunemouse__hero-content {
    margin-top: -50px;
    padding: 30px 15px;
  }
  .page-fortunemouse__hero-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-fortunemouse__hero-description {
    font-size: 1em;
  }
  .page-fortunemouse__section-title {
    font-size: 1.8em;
  }
  .page-fortunemouse__content-area {
    padding: 40px 15px;
  }
  .page-fortunemouse__image {
    margin: 20px auto;
  }
  .page-fortunemouse__text-block {
    font-size: 0.95em;
  }
  .page-fortunemouse__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-fortunemouse__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile responsive for images */
  .page-fortunemouse img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fortunemouse__section,
  .page-fortunemouse__card,
  .page-fortunemouse__container,
  .page-fortunemouse__hero-section,
  .page-fortunemouse__about-section,
  .page-fortunemouse__how-to-play-section,
  .page-fortunemouse__features-section,
  .page-fortunemouse__faq-section,
  .page-fortunemouse__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fortunemouse__hero-section {
    padding-top: 10px !important; /* body já tem padding-top */
  }
  /* Mobile responsive for buttons */
  .page-fortunemouse__cta-button,
  .page-fortunemouse__btn-primary,
  .page-fortunemouse__btn-secondary,
  .page-fortunemouse a[class*="button"],
  .page-fortunemouse a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fortunemouse__cta-buttons,
  .page-fortunemouse__button-group,
  .page-fortunemouse__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-fortunemouse__cta-buttons {
    display: flex;
    flex-direction: column; /* Vertical alignment for multiple buttons */
  }
}

@media (max-width: 480px) {
  .page-fortunemouse__hero-content {
    margin-top: -30px;
  }
  .page-fortunemouse__hero-title {
    font-size: clamp(1.2em, 7vw, 2em);
  }
  .page-fortunemouse__hero-cta {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-fortunemouse__section-title {
    font-size: 1.5em;
  }
  .page-fortunemouse__sub-title {
    font-size: 1.4em;
  }
}