/* style/fortune-ox.css */

/* Base styles for the page, ensuring text contrast on dark body background */
.page-fortune-ox {
  color: #FFF5E1; /* Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css #B71C1C */
}

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

.page-fortune-ox__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #FFD86A; /* Gold-like for titles */
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-fortune-ox__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #F4D34D; /* Gold */
}

.page-fortune-ox__section-text {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fortune-ox__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.page-fortune-ox__link {
  color: #FFD86A; /* Gold for links */
  text-decoration: none;
  font-weight: bold;
}

.page-fortune-ox__link:hover {
  text-decoration: underline;
  color: #E6B800; /* Darker gold on hover */
}

/* CTA Button Styles */
.page-fortune-ox__cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #333333; /* Dark text for contrast on gold button */
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #F2B544; /* Border */
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fortune-ox__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.page-fortune-ox__cta-button--wide {
  width: 80%;
  max-width: 400px;
}

.page-fortune-ox__cta-button--highlight {
  background: linear-gradient(180deg, #F4D34D 0%, #FFCC66 100%); /* Brighter gold */
  color: #7A0E0E; /* Deep Red for highlight button text */
  border: 2px solid #FFCC66; /* Glow border */
}

/* Hero Section */
.page-fortune-ox__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #B71C1C; /* Background */
}

.page-fortune-ox__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height for hero image */
  overflow: hidden;
}

.page-fortune-ox__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center bottom;
  min-height: 300px; /* Ensure minimum size */
}

.page-fortune-ox__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
}

.page-fortune-ox__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #FFD86A; /* Gold-like */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fortune-ox__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1; /* Text Main */
}

/* Section General Styles */
.page-fortune-ox__introduction-section,
.page-fortune-ox__how-to-play-section,
.page-fortune-ox__bonuses-section,
.page-fortune-ox__security-section,
.page-fortune-ox__faq-section,
.page-fortune-ox__cta-final {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-fortune-ox__introduction-section {
  padding-top: 30px;
}

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

.page-fortune-ox__card {
  background-color: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #FFF5E1; /* Text Main */
  border: 1px solid #7A0E0E; /* Deep Red border */
}

.page-fortune-ox__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD86A; /* Gold-like */
}

.page-fortune-ox__card-text {
  font-size: 1rem;
  line-height: 1.5;
}

/* Content Row with Image */
.page-fortune-ox__content-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
  gap: 30px;
}

.page-fortune-ox__content-row--reverse {
  flex-direction: row-reverse;
}

.page-fortune-ox__content-col {
  flex: 1;
  min-width: 300px;
}

.page-fortune-ox__image-responsive {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

.page-fortune-ox__list-item {
  background-color: #D32F2F; /* Card BG */
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  color: #FFF5E1; /* Text Main */
  border-left: 5px solid #FFD86A; /* Gold-like accent */
}

.page-fortune-ox__list-item strong {
  color: #FFD86A; /* Gold-like */
  margin-right: 8px;
}

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

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

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

.page-fortune-ox__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-fortune-ox__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F4D34D; /* Gold */
}

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

.page-fortune-ox__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  line-height: 1.5;
  color: #FFF5E1; /* Text Main */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-fortune-ox {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fortune-ox__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-fortune-ox__hero-content {
    margin-top: -40px;
  }

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

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

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

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

  .page-fortune-ox__section-text {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-fortune-ox__cta-button,
  .page-fortune-ox a[class*="button"],
  .page-fortune-ox a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0;
    margin-right: 0;
  }

  .page-fortune-ox__cta-button--wide {
    width: 100%;
    max-width: 100%;
  }

  .page-fortune-ox__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fortune-ox__content-row {
    flex-direction: column;
    gap: 20px;
  }

  .page-fortune-ox__content-row--reverse {
    flex-direction: column;
  }

  .page-fortune-ox__content-col {
    min-width: unset;
    width: 100%;
  }

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

  .page-fortune-ox__hero-image-wrapper,
  .page-fortune-ox__content-col,
  .page-fortune-ox__card,
  .page-fortune-ox__faq-item,
  .page-fortune-ox__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* Video responsive for mobile (if video is added) */
  .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__cta-buttons,
  .page-fortune-ox__button-group,
  .page-fortune-ox__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure buttons stack */
  }
}

/* Specific contrast fixes if needed */
.page-fortune-ox__dark-bg {
  color: #FFF5E1; /* Text Main */
}

.page-fortune-ox__card {
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
}

.page-fortune-ox__cta-button {
  color: #333333; /* Dark text on gold button */
}

.page-fortune-ox__cta-button--highlight {
  color: #7A0E0E; /* Deep Red text on brighter gold button */
}