/* style/fortune-mouse.css */

/* Cores personalizadas */
:root {
  --page-fortune-mouse-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-fortune-mouse-card-bg: #11271B;
  --page-fortune-mouse-background: #08160F;
  --page-fortune-mouse-text-main: #F2FFF6;
  --page-fortune-mouse-text-secondary: #A7D9B8;
  --page-fortune-mouse-border: #2E7A4E;
  --page-fortune-mouse-glow: #57E38D;
  --page-fortune-mouse-gold: #F2C14E;
  --page-fortune-mouse-divider: #1E3A2A;
  --page-fortune-mouse-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-fortune-mouse {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-fortune-mouse-text-main); /* Default text color for dark backgrounds */
  background-color: var(--page-fortune-mouse-background); /* Default background for the page */
}

/* Section styles */
.page-fortune-mouse__hero-section,
.page-fortune-mouse__about-section,
.page-fortune-mouse__how-to-play,
.page-fortune-mouse__why-choose,
.page-fortune-mouse__bonuses,
.page-fortune-mouse__mobile-experience,
.page-fortune-mouse__faq-section,
.page-fortune-mouse__cta-final {
  padding: 60px 20px;
  text-align: center;
}

.page-fortune-mouse__dark-bg {
  background-color: var(--page-fortune-mouse-background);
  color: var(--page-fortune-mouse-text-main);
}

.page-fortune-mouse__light-bg {
  background-color: #f8f9fa; /* A light background for contrast */
  color: #333333; /* Dark text for light background */
}

/* Hero section specific styles */
.page-fortune-mouse__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 80px;
}

.page-fortune-mouse__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-fortune-mouse__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 1920px;
  margin: 0 auto;
}

.page-fortune-mouse__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 20px;
  padding: 0 15px;
}

.page-fortune-mouse__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-fortune-mouse-text-main);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fortune-mouse__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 30px;
  color: var(--page-fortune-mouse-text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* General content area */
.page-fortune-mouse__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-fortune-mouse__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  color: inherit; /* Inherits from section for contrast */
}

.page-fortune-mouse__sub-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: inherit;
}

.page-fortune-mouse__text-block {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit;
  text-align: justify;
}

.page-fortune-mouse__text-block a {
  color: var(--page-fortune-mouse-glow);
  text-decoration: underline;
}

/* Buttons */
.page-fortune-mouse__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-fortune-mouse__btn-primary,
.page-fortune-mouse__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  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;
}

.page-fortune-mouse__btn-primary {
  background: var(--page-fortune-mouse-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fortune-mouse__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fortune-mouse__btn-secondary {
  background-color: transparent;
  color: var(--page-fortune-mouse-glow);
  border: 2px solid var(--page-fortune-mouse-glow);
  box-shadow: none;
}

.page-fortune-mouse__btn-secondary:hover {
  background-color: var(--page-fortune-mouse-glow);
  color: var(--page-fortune-mouse-background);
  transform: translateY(-3px);
}

/* Image content */
.page-fortune-mouse__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Lists */
.page-fortune-mouse__ordered-list,
.page-fortune-mouse__unordered-list {
  list-style-position: inside;
  padding-left: 0;
  margin: 20px auto;
  text-align: left;
  max-width: 800px;
}

.page-fortune-mouse__ordered-list {
  list-style-type: decimal;
}

.page-fortune-mouse__unordered-list {
  list-style-type: disc;
}

.page-fortune-mouse__list-item {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  margin-bottom: 10px;
  color: inherit;
}

.page-fortune-mouse__list-item strong {
  color: var(--page-fortune-mouse-gold);
}

/* Cards Grid */
.page-fortune-mouse__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-fortune-mouse__card {
  background-color: var(--page-fortune-mouse-card-bg);
  border: 1px solid var(--page-fortune-mouse-border);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--page-fortune-mouse-text-main);
}

.page-fortune-mouse__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fortune-mouse__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure images are not too small */
}

.page-fortune-mouse__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-fortune-mouse-gold);
}

.page-fortune-mouse__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-fortune-mouse-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Mobile experience grid */
.page-fortune-mouse__mobile-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fortune-mouse__mobile-text {
  flex: 1;
  text-align: left;
}

.page-fortune-mouse__mobile-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FAQ section */
.page-fortune-mouse__faq-list {
  margin-top: 30px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fortune-mouse__faq-item {
  background-color: var(--page-fortune-mouse-card-bg);
  border: 1px solid var(--page-fortune-mouse-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-fortune-mouse-text-main);
}

.page-fortune-mouse__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--page-fortune-mouse-deep-green);
  color: var(--page-fortune-mouse-text-main);
  border-bottom: 1px solid var(--page-fortune-mouse-divider);
  list-style: none; /* For details tag */
}

.page-fortune-mouse__faq-question::-webkit-details-marker {
  display: none; /* For details tag */
}

.page-fortune-mouse__faq-qtext {
  flex-grow: 1;
}

.page-fortune-mouse__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 20px;
  text-align: center;
  color: var(--page-fortune-mouse-glow);
}

.page-fortune-mouse__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-fortune-mouse-text-secondary);
  text-align: justify;
}

.page-fortune-mouse__faq-item.active .page-fortune-mouse__faq-answer {
  max-height: 2000px !important; /* Ensure content is visible */
  transition: max-height 0.5s ease-out;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fortune-mouse__hero-content {
    padding: 0 20px;
  }

  .page-fortune-mouse__cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-fortune-mouse__mobile-grid {
    flex-direction: column;
  }

  .page-fortune-mouse__mobile-text,
  .page-fortune-mouse__mobile-image {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-fortune-mouse__hero-section,
  .page-fortune-mouse__about-section,
  .page-fortune-mouse__how-to-play,
  .page-fortune-mouse__why-choose,
  .page-fortune-mouse__bonuses,
  .page-fortune-mouse__mobile-experience,
  .page-fortune-mouse__faq-section,
  .page-fortune-mouse__cta-final {
    padding: 40px 15px;
  }

  .page-fortune-mouse__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-fortune-mouse__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  .page-fortune-mouse__section-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .page-fortune-mouse__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  .page-fortune-mouse__text-block,
  .page-fortune-mouse__list-item,
  .page-fortune-mouse__card-description,
  .page-fortune-mouse__faq-answer {
    font-size: 1rem;
  }

  .page-fortune-mouse__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-fortune-mouse__content-area,
  .page-fortune-mouse__cards-grid,
  .page-fortune-mouse__faq-list,
  .page-fortune-mouse__mobile-grid {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Image responsive */
  .page-fortune-mouse img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsive */
  .page-fortune-mouse video,
  .page-fortune-mouse__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fortune-mouse__video-section,
  .page-fortune-mouse__video-container,
  .page-fortune-mouse__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fortune-mouse__video-section {
    padding-top: 10px !important;
  }
  .page-fortune-mouse__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fortune-mouse__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
}