/* style/fortune-ox.css */

/* Base Styles & Typography */
.page-fortune-ox {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-fortune-ox__light-bg {
  background-color: #08160F; /* Background, slightly adjusted for contrast on 'light' areas */
  color: #F2FFF6; /* Text Main */
}

.page-fortune-ox__dark-bg {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-fortune-ox__section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-fortune-ox__main-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.1;
  max-width: 900px;
}

.page-fortune-ox__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-fortune-ox__text-link {
  color: #2AD16F; /* A vibrant green for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fortune-ox__text-link:hover {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

/* Buttons */
.page-fortune-ox__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  max-width: 300px;
  width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fortune-ox__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

.page-fortune-ox__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fortune-ox__text-block {
  flex: 1;
  min-width: 300px;
}

.page-fortune-ox__image-block {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fortune-ox__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

/* Sections */
.page-fortune-ox__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 60px;
  overflow: hidden;
  text-align: center;
  min-height: 500px;
  padding-top: 10px; /* Small top padding as body handles header offset */
}

.page-fortune-ox__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fortune-ox__hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.page-fortune-ox__about-game,
.page-fortune-ox__how-to-play,
.page-fortune-ox__game-features,
.page-fortune-ox__why-chegoubet,
.page-fortune-ox__tips-strategies,
.page-fortune-ox__faq-section,
.page-fortune-ox__cta-final {
  padding: 80px 0;
}

.page-fortune-ox__how-to-play {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-fortune-ox__step-card {
  background-color: #11271B; /* Card B G */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-fortune-ox__step-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-fortune-ox__section-intro {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 20px auto 40px;
}

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

.page-fortune-ox__feature-card {
  background-color: #11271B; /* Card B G */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-fortune-ox__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-fortune-ox__feature-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

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

.page-fortune-ox__benefit-card {
  background-color: #11271B; /* Card B G */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-fortune-ox__benefit-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

/* Tips List */
.page-fortune-ox__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fortune-ox__tip-item {
  background-color: #11271B; /* Card B G */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #2E7A4E; /* Border */
}

.page-fortune-ox__tip-item:last-child {
  margin-bottom: 0;
}

.page-fortune-ox__tip-title {
  font-size: 1.3rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

/* FAQ Section */
.page-fortune-ox__faq-list {
  margin-top: 40px;
}

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

.page-fortune-ox__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card B G */
  list-style: none;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-fortune-ox__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

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

.page-fortune-ox__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #2AD16F;
  margin-left: 15px;
}

.page-fortune-ox__faq-item[open] .page-fortune-ox__faq-toggle {
  content: '−';
}

.page-fortune-ox__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* CTA Wrapper */
.page-fortune-ox__cta-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

/* Images */
.page-fortune-ox img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-fortune-ox__hero-section {
    padding: 60px 15px 40px;
  }

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

  .page-fortune-ox__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .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__container {
    padding: 0 15px;
  }

  .page-fortune-ox__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 30px;
  }

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

  .page-fortune-ox__about-game,
  .page-fortune-ox__how-to-play,
  .page-fortune-ox__game-features,
  .page-fortune-ox__why-chegoubet,
  .page-fortune-ox__tips-strategies,
  .page-fortune-ox__faq-section,
  .page-fortune-ox__cta-final {
    padding: 60px 0;
  }

  .page-fortune-ox__steps-grid,
  .page-fortune-ox__features-grid,
  .page-fortune-ox__benefits-grid {
    gap: 20px;
  }

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

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

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

  .page-fortune-ox__faq-toggle {
    font-size: 1.5rem;
  }

  /* Force responsive images */
  .page-fortune-ox img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fortune-ox__hero-image-wrapper,
  .page-fortune-ox__image-block,
  .page-fortune-ox__image-wrapper,
  .page-fortune-ox__cta-wrapper,
  .page-fortune-ox__container,
  .page-fortune-ox__content-wrapper,
  .page-fortune-ox__steps-grid,
  .page-fortune-ox__features-grid,
  .page-fortune-ox__benefits-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-fortune-ox__hero-section {
    padding-top: 10px !important;
  }
}

/* Ensure no image filter changes color */
.page-fortune-ox img {
  filter: none; /* Reset any potential filter */
}

/* Content area image size constraint check */
.page-fortune-ox img:not(.page-fortune-ox__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

.page-fortune-ox__feature-icon {
  min-width: unset; /* Override min-width for smaller icons/graphics if needed, but still > 200px as per imageRequirements */
  min-height: unset;
  max-width: 200px; /* Adjust to ensure it's not too small but still fits */
  height: auto;
}

/* Specific adjustment for feature icons to respect overall image sizing, but allow for smaller visual presence */
@media (min-width: 769px) {
  .page-fortune-ox__feature-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
  }
}

/* Desktop video container width */
.page-fortune-ox__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}