.page-fortune-ox {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-fortune-ox__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #F5F7FA;
  text-align: center;
  overflow: hidden;
}

.page-fortune-ox__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fortune-ox__hero-content {
  padding: 40px 20px;
  max-width: 800px;
  box-sizing: border-box;
}

.page-fortune-ox__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
  color: #E53935; /* Main color */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-fortune-ox__hero-description {
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 30px;
}

.page-fortune-ox__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fortune-ox__cta-button:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
}

/* General Section Styling */
.page-fortune-ox__about-section,
.page-fortune-ox__how-to-play-section,
.page-fortune-ox__strategy-section,
.page-fortune-ox__faq-section,
.page-fortune-ox__cta-final-section {
  padding: 60px 0;
  text-align: center;
}

.page-fortune-ox__background {
  background-color: #F5F7FA; /* Background */
}

.page-fortune-ox__light-bg {
  background-color: #ffffff; /* Card BG */
  color: #333333;
}

.page-fortune-ox__dark-bg {
  background-color: #E53935; /* Main color */
  color: #ffffff; /* White text on dark background */
}

.page-fortune-ox__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: inherit; /* Inherit from parent section for contrast */
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.3;
}

.page-fortune-ox__section-text {
  font-size: 1rem;
  color: inherit; /* Inherit from parent section for contrast */
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-fortune-ox__card {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #333333;
}

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

.page-fortune-ox__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves like a block element */
}

.page-fortune-ox__feature-title,
.page-fortune-ox__step-title,
.page-fortune-ox__strategy-title {
  font-size: 1.4rem;
  color: #E53935; /* Main color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fortune-ox__feature-description,
.page-fortune-ox__step-description,
.page-fortune-ox__strategy-description {
  font-size: 1rem;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1; /* Allows descriptions to take available space */
}

/* How-To-Play Steps */
.page-fortune-ox__step-card {
  align-items: center;
  text-align: center;
}

.page-fortune-ox__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #E53935; /* Main color */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #E53935; /* Main color */
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fortune-ox__btn-secondary:hover {
  background-color: #E53935;
  color: #ffffff;
}

/* Video Section */
.page-fortune-ox__video-section {
  padding: 60px 0;
  padding-top: 10px; /* Small top padding for video section */
  background-color: #E53935; /* Main color */
  color: #ffffff;
}

.page-fortune-ox__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
}

.page-fortune-ox__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

.page-fortune-ox__cta-button--video {
  margin-top: 30px;
}

/* Strategy Section */
.page-fortune-ox__cta-wrapper {
  margin-top: 50px;
}

/* FAQ Section */
.page-fortune-ox__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fortune-ox__faq-item {
  margin-bottom: 20px;
  overflow: hidden; /* For details tag */
}

.page-fortune-ox__faq-item details {
  text-align: left;
}

.page-fortune-ox__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #E53935; /* Main color */
  list-style: none; /* Remove default marker for details */
}

.page-fortune-ox__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for details in webkit */
}

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

.page-fortune-ox__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-fortune-ox__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #333333;
  text-align: left;
}

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

/* Final CTA Section */
.page-fortune-ox__cta-final-section {
  padding: 80px 0;
  background-color: #FF5A4F; /* Auxiliary color */
  color: #ffffff;
}

.page-fortune-ox__cta-button--final {
  font-size: 1.3rem;
  padding: 18px 35px;
}

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

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

  .page-fortune-ox__hero-section {
    padding-bottom: 40px;
  }

  .page-fortune-ox__hero-content {
    padding: 30px 15px;
  }

  .page-fortune-ox__main-title {
    font-size: 2rem;
  }

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

  .page-fortune-ox__cta-button {
    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-ox__section-title {
    font-size: 1.6rem;
  }

  .page-fortune-ox__section-text {
    margin-bottom: 30px;
  }

  .page-fortune-ox__features-grid,
.page-fortune-ox__steps-grid,
.page-fortune-ox__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fortune-ox__feature-image {
    height: auto; /* Allow image to scale */
  }

  .page-fortune-ox__feature-card,
.page-fortune-ox__step-card,
.page-fortune-ox__strategy-item {
    padding: 20px;
  }

  .page-fortune-ox__feature-title,
.page-fortune-ox__step-title,
.page-fortune-ox__strategy-title {
    font-size: 1.2rem;
  }

  .page-fortune-ox__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Video responsive */
  .page-fortune-ox video,
  .page-fortune-ox__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fortune-ox__video-section,
  .page-fortune-ox__video-container,
  .page-fortune-ox__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-ox__video-section {
    padding-top: 10px !important;
  }

  .page-fortune-ox__faq-list {
    margin-top: 30px;
  }

  .page-fortune-ox__faq-item summary {
    padding: 15px;
    font-size: 1rem;
  }

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

  .page-fortune-ox__cta-final-section {
    padding: 60px 0;
  }

  .page-fortune-ox__cta-button--final {
    font-size: 1.1rem;
    padding: 15px 30px;
  }

  /* All images responsive */
  .page-fortune-ox img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fortune-ox__section,
  .page-fortune-ox__card,
  .page-fortune-ox__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button groups responsive */
  .page-fortune-ox__cta-buttons,
  .page-fortune-ox__button-group,
  .page-fortune-ox__btn-container {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }
}

/* Ensure no filter on images */
.page-fortune-ox img {
  filter: none;
}