/* style/fortune-mouse.css */
.page-fortune-mouse {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
}

.page-fortune-mouse__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-fortune-mouse__section {
  padding: 60px 0;
  text-align: center;
}

.page-fortune-mouse__dark-section,
.page-fortune-mouse__dark-bg {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-fortune-mouse__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-fortune-mouse__section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #FFF5E1;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fortune-mouse__light-bg .page-fortune-mouse__section-title {
  color: #C91F17; /* Main Color */
}

.page-fortune-mouse__section-description,
.page-fortune-mouse__paragraph {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fortune-mouse__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-fortune-mouse__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-fortune-mouse__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-fortune-mouse__hero-content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  text-align: center;
}

.page-fortune-mouse__main-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #F4D34D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-fortune-mouse__hero-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: #FFF5E1;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

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

.page-fortune-mouse__btn-primary,
.page-fortune-mouse__btn-secondary,
.page-fortune-mouse__video-cta,
.page-fortune-mouse__cta-bottom,
.page-fortune-mouse__cta-large {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-fortune-mouse__btn-primary,
.page-fortune-mouse__video-cta,
.page-fortune-mouse__cta-bottom,
.page-fortune-mouse__cta-large {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #333333; /* Dark text for contrast on yellow gradient */
  border: 2px solid #F2B544; /* Border */
}

.page-fortune-mouse__btn-primary:hover,
.page-fortune-mouse__video-cta:hover,
.page-fortune-mouse__cta-bottom:hover,
.page-fortune-mouse__cta-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

.page-fortune-mouse__btn-secondary {
  background-color: transparent;
  color: #FFF5E1;
  border: 2px solid #FFF5E1;
}

.page-fortune-mouse__btn-secondary:hover {
  background-color: #FFF5E1;
  color: #C91F17; /* Main Color */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Video Section */
.page-fortune-mouse__video-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

.page-fortune-mouse__video-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-fortune-mouse__video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-fortune-mouse__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-fortune-mouse__video-cta {
  margin-top: 30px;
}

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

.page-fortune-mouse__grid-layout--two-cols {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-fortune-mouse__grid-item,
.page-fortune-mouse__feature-card,
.page-fortune-mouse__benefit-item,
.page-fortune-mouse__game-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF5E1; /* Text Main */
  border: 1px solid #7A0E0E; /* Deep Red */
}

.page-fortune-mouse__light-bg .page-fortune-mouse__grid-item,
.page-fortune-mouse__light-bg .page-fortune-mouse__feature-card,
.page-fortune-mouse__light-bg .page-fortune-mouse__benefit-item,
.page-fortune-mouse__light-bg .page-fortune-mouse__game-card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-fortune-mouse__grid-item:hover,
.page-fortune-mouse__feature-card:hover,
.page-fortune-mouse__benefit-item:hover,
.page-fortune-mouse__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.page-fortune-mouse__image,
.page-fortune-mouse__card-image,
.page-fortune-mouse__benefit-icon {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fortune-mouse__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-fortune-mouse__image--center {
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-fortune-mouse__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 30px;
  width: 400px;
  height: auto;
}

.page-fortune-mouse__grid-title,
.page-fortune-mouse__card-title,
.page-fortune-mouse__benefit-title,
.page-fortune-mouse__list-title {
  font-size: 1.7rem;
  margin-bottom: 15px;
  font-weight: bold;
  color: #F4D34D; /* Gold */
}

.page-fortune-mouse__light-bg .page-fortune-mouse__grid-title,
.page-fortune-mouse__light-bg .page-fortune-mouse__card-title,
.page-fortune-mouse__light-bg .page-fortune-mouse__benefit-title,
.page-fortune-mouse__light-bg .page-fortune-mouse__list-title {
  color: #C91F17; /* Main Color */
}

/* Links within text */
.page-fortune-mouse a {
  color: #F4D34D; /* Gold */
  text-decoration: underline;
}

.page-fortune-mouse a:hover {
  color: #FFCC66; /* Glow */
}

.page-fortune-mouse__light-bg a {
  color: #E53935; /* Auxiliary Color */
}

.page-fortune-mouse__light-bg a:hover {
  color: #C91F17; /* Main Color */
}

/* Lists */
.page-fortune-mouse__numbered-list,
.page-fortune-mouse__bullet-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
}

.page-fortune-mouse__numbered-list li,
.page-fortune-mouse__bullet-list li {
  margin-bottom: 25px;
  font-size: 1.1rem;
  position: relative;
  padding-left: 40px;
}

.page-fortune-mouse__numbered-list li:last-child,
.page-fortune-mouse__bullet-list li:last-child {
  margin-bottom: 0;
}

.page-fortune-mouse__numbered-list li::before {
  content: counter(list-item);
  counter-increment: list-item;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #F4D34D; /* Gold */
  color: #333333;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.page-fortune-mouse__bullet-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  color: #F4D34D; /* Gold */
  font-size: 1.5rem;
  line-height: 1;
}

/* Other Games Grid */
.page-fortune-mouse__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fortune-mouse__game-card {
  text-decoration: none;
  display: block;
  height: 100%;
}

/* FAQ Section */
.page-fortune-mouse__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-fortune-mouse__faq-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border: 1px solid #7A0E0E; /* Deep Red */
}

.page-fortune-mouse__light-bg .page-fortune-mouse__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

.page-fortune-mouse__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: #F4D34D; /* Gold */
  user-select: none;
}

.page-fortune-mouse__light-bg .page-fortune-mouse__faq-question {
  color: #C91F17; /* Main Color */
}

.page-fortune-mouse__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-fortune-mouse__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05rem;
  color: #FFF5E1;
}

.page-fortune-mouse__light-bg .page-fortune-mouse__faq-answer {
  color: #333333;
}

.page-fortune-mouse__faq-answer p {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-fortune-mouse__cta-final-section {
  padding-bottom: 80px;
}

.page-fortune-mouse__center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-fortune-mouse__cta-large {
  padding: 20px 40px;
  font-size: 1.5rem;
  margin-top: 30px;
}

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

  .page-fortune-mouse__main-title {
    font-size: clamp(2rem, 5vw, 4rem);
  }

  .page-fortune-mouse__hero-description {
    font-size: 1.1rem;
  }

  .page-fortune-mouse__image--right {
    float: none;
    margin: 30px auto;
    width: 80%;
  }
}

@media (max-width: 768px) {
  .page-fortune-mouse__section {
    padding: 40px 0;
  }

  .page-fortune-mouse__container {
    padding: 0 15px;
  }

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

  .page-fortune-mouse__section-description,
  .page-fortune-mouse__paragraph,
  .page-fortune-mouse__faq-answer {
    font-size: 1rem;
  }

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

  .page-fortune-mouse__hero-description {
    font-size: 1rem;
  }

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

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

  .page-fortune-mouse__video-wrapper {
    padding-bottom: 75%; /* Adjust for mobile aspect ratio if needed, or keep 16:9 */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .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 {
    padding-top: 10px !important;
  }

  .page-fortune-mouse__image,
  .page-fortune-mouse__card-image,
  .page-fortune-mouse__benefit-icon {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fortune-mouse__grid-item,
  .page-fortune-mouse__feature-card,
  .page-fortune-mouse__benefit-item,
  .page-fortune-mouse__game-card {
    padding: 20px;
  }

  .page-fortune-mouse__game-cards-grid {
    grid-template-columns: 1fr;
  }

  .page-fortune-mouse__numbered-list li,
  .page-fortune-mouse__bullet-list li {
    font-size: 1rem;
    padding-left: 35px;
  }

  .page-fortune-mouse__numbered-list li::before {
    width: 25px;
    height: 25px;
    font-size: 0.9rem;
  }

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

  .page-fortune-mouse__faq-answer {
    padding: 0 15px 15px;
  }

  /* Ensure all containers containing images/videos/buttons are responsive */
  .page-fortune-mouse__section,
  .page-fortune-mouse__card,
  .page-fortune-mouse__container,
  .page-fortune-mouse__cta-buttons,
  .page-fortune-mouse__button-group,
  .page-fortune-mouse__btn-container,
  .page-fortune-mouse__video-section,
  .page-fortune-mouse__video-container,
  .page-fortune-mouse__video-wrapper,
  .page-fortune-mouse__grid-layout,
  .page-fortune-mouse__benefits-grid,
  .page-fortune-mouse__game-cards-grid,
  .page-fortune-mouse__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Important for preventing horizontal scroll */
  }
  
  /* Specific adjustments for images that might float */
  .page-fortune-mouse__image--right {
    float: none;
    margin: 20px auto;
    width: 100%; /* Ensure it takes full width when floated */
  }
}

/* Contrast Fixes (as per instructions) */
.page-fortune-mouse__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-fortune-mouse__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}