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

.page-fortune-dragon__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 40px;
  position: relative;
  overflow: hidden;
  color: #F2FFF6;
}

.page-fortune-dragon__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-fortune-dragon__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-fortune-dragon__hero-content {
  max-width: 900px;
  padding: 0 15px;
  z-index: 1;
}

.page-fortune-dragon__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fortune-dragon__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fortune-dragon__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-fortune-dragon__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-fortune-dragon__cta-button--secondary {
  background: none;
  border: 2px solid #2E7A4E; /* Border */
  color: #F2FFF6;
  box-shadow: none;
}

.page-fortune-dragon__cta-button--secondary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  transform: translateY(-2px);
}

.page-fortune-dragon__section {
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-fortune-dragon__section--dark-bg {
  background-color: #11271B; /* Card BG */
}

.page-fortune-dragon__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 40px;
  font-weight: 700;
}

.page-fortune-dragon__sub-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #57E38D; /* Glow */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fortune-dragon__content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-fortune-dragon__content-wrapper--flex {
  flex-direction: row;
  text-align: left;
  align-items: flex-start;
}

.page-fortune-dragon__content-wrapper--flex-reverse {
  flex-direction: row-reverse;
  text-align: left;
  align-items: flex-start;
}

.page-fortune-dragon__text-content {
  flex: 1;
  min-width: 300px;
}

.page-fortune-dragon__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-fortune-dragon__highlight {
  color: #F2C14E;
  font-weight: 600;
}

.page-fortune-dragon__feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.page-fortune-dragon__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #A7D9B8;
}

.page-fortune-dragon__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2AD16F;
  font-weight: bold;
}

.page-fortune-dragon__image-card {
  flex: 0 0 400px;
  max-width: 100%;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.page-fortune-dragon__image-card-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-fortune-dragon__image-card-caption {
  padding: 15px;
  font-size: 0.95rem;
  color: #A7D9B8;
}

.page-fortune-dragon__faq-container {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

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

.page-fortune-dragon__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-fortune-dragon__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2);
}

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

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

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

.page-fortune-dragon__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8;
}

.page-fortune-dragon__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
}

.page-fortune-dragon__section--cta {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-fortune-dragon__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fortune-dragon__content-wrapper--flex,
  .page-fortune-dragon__content-wrapper--flex-reverse {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .page-fortune-dragon__image-card {
    margin-bottom: 30px;
  }
  .page-fortune-dragon__text-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-fortune-dragon {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-fortune-dragon__hero-image-wrapper {
    max-height: 400px;
  }

  .page-fortune-dragon__hero-image,
  .page-fortune-dragon__image-card-img,
  .page-fortune-dragon img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fortune-dragon__section,
  .page-fortune-dragon__hero-content,
  .page-fortune-dragon__content-wrapper,
  .page-fortune-dragon__cta-buttons,
  .page-fortune-dragon__faq-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

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

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

  .page-fortune-dragon__description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

  .page-fortune-dragon__cta-button,
  .page-fortune-dragon__cta-buttons a[class*="button"],
  .page-fortune-dragon__cta-buttons 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;
  }

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

  .page-fortune-dragon__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-fortune-dragon__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  .page-fortune-dragon__image-card {
    flex: 1 1 100%;
  }

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

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

/* Ensure images are not filtered */
.page-fortune-dragon img {
  filter: none; /* No CSS filters allowed on images */
}

/* Content area images CSS size lower bound */
.page-fortune-dragon img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-fortune-dragon__hero-image,
  .page-fortune-dragon__image-card-img,
  .page-fortune-dragon img {
    min-width: unset !important;
    min-height: unset !important;
  }
}