.page-fortune-ox {
  color: #F2FFF6; /* Main text color for the dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #08160F; /* Overall page background */
}

/* Ensure all images are responsive by default */
.page-fortune-ox img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensures images cover their area without distortion */
}

/* Responsive video base styles */
.page-fortune-ox video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-fortune-ox__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 50px; /* Space for content below image */
}

.page-fortune-ox__hero-image {
  width: 100%;
  height: 600px; /* Fixed height for hero image, adjust as needed */
  object-fit: cover;
}

.page-fortune-ox__hero-content {
  position: relative; /* Ensure content is above the image if needed, but not overlaying */
  z-index: 2;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the bottom part of the image */
  background-color: rgba(17, 40, 27, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid #2E7A4E;
}

.page-fortune-ox__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fortune-ox__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Secondary Text */
  margin-bottom: 30px;
}

.page-fortune-ox__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

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

.page-fortune-ox__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-fortune-ox__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-fortune-ox__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-fortune-ox__section {
  padding: 60px 20px;
  background-color: #08160F;
}

.page-fortune-ox__dark-section {
  background-color: #11271B; /* Card BG */
}

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

.page-fortune-ox__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fortune-ox__sub-title {
  font-size: 1.8em;
  color: #2AD16F;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fortune-ox__text-block {
  font-size: 1.1em;
  color: #A7D9B8; /* Secondary Text */
  margin-bottom: 20px;
  text-align: justify;
}

.page-fortune-ox__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-fortune-ox__grid-item {
  flex: 1;
  min-width: 300px;
}

.page-fortune-ox__image-content {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: auto;
}

.page-fortune-ox__image-full-width {
  margin-top: 30px;
  margin-bottom: 30px;
}

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

.page-fortune-ox__list-item {
  background-color: rgba(46, 122, 78, 0.2); /* Divider with transparency */
  border-left: 5px solid #2AD16F;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #F2FFF6;
  font-size: 1.05em;
}

.page-fortune-ox__list-item strong {
  color: #F2C14E; /* Gold */
}

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

.page-fortune-ox__feature-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

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

.page-fortune-ox__feature-title {
  font-size: 1.5em;
  color: #2AD16F;
  margin-bottom: 15px;
}

.page-fortune-ox__feature-text {
  color: #A7D9B8; /* Secondary Text */
  font-size: 1em;
}

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

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

.page-fortune-ox__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Main Text */
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-fortune-ox__faq-question:hover {
  background-color: #13994A; /* Darker green for hover */
}

.page-fortune-ox__faq-toggle {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  line-height: 1;
}

.page-fortune-ox__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #A7D9B8; /* Secondary Text */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-fortune-ox__faq-item[open] .page-fortune-ox__faq-answer {
  max-height: 500px; /* Sufficiently large for content */
  padding: 10px 25px 20px;
}

.page-fortune-ox__faq-answer p {
  margin-bottom: 0;
  color: #A7D9B8;
}

.page-fortune-ox__cta-final {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Video Section Specific Styles */
.page-fortune-ox__video-section {
  position: relative;
  width: 100%; /* Desktop: width: 100% */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A4B2C; /* Deep Green */
}

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

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

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .page-fortune-ox {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-fortune-ox__hero-image {
    height: 400px;
  }

  .page-fortune-ox__hero-content {
    margin-top: -100px;
    padding: 15px;
    width: calc(100% - 30px);
  }

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

  .page-fortune-ox__description {
    font-size: 1em;
  }

  .page-fortune-ox__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-fortune-ox__btn-primary,
  .page-fortune-ox__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100%; /* Ensure buttons take full width */
  }

  .page-fortune-ox__section {
    padding: 40px 15px;
  }

  .page-fortune-ox__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-fortune-ox__sub-title {
    font-size: 1.5em;
  }

  .page-fortune-ox__grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-fortune-ox__grid-item {
    min-width: unset;
    width: 100%;
  }

  .page-fortune-ox__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-fortune-ox__container {
    padding-left: 0px !important; /* Padding for container handled by section */
    padding-right: 0px !important; /* Padding for container handled by section */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-fortune-ox__feature-card {
    padding: 20px;
  }

  .page-fortune-ox__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .page-fortune-ox__faq-item[open] .page-fortune-ox__faq-answer {
    padding: 10px 20px 15px;
  }

  .page-fortune-ox__video-section {
    padding-top: 10px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fortune-ox__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .page-fortune-ox__video-container video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
  }
}