.page-fortunetiger {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

/* Intelligent contrast for light background sections */
.page-fortunetiger__light-bg {
  background-color: #F2FFF6; /* Text Main as light background */
  color: #08160F; /* Background as dark text */
}

.page-fortunetiger__text-contrast-fix {
  color: #08160F; /* Ensure dark text on light background */
}

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

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

.page-fortunetiger__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Slightly dim the background image for text readability */
}

.page-fortunetiger__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-fortunetiger__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fortunetiger__intro-text {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-fortunetiger__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fortunetiger__btn-primary,
.page-fortunetiger__btn-secondary,
.page-fortunetiger__btn-large {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
}

.page-fortunetiger__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fortunetiger__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Button highlight color */
  border: 2px solid #2AD16F;
}

.page-fortunetiger__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F; /* Background color for text on hover */
  transform: translateY(-2px);
}

.page-fortunetiger__btn-large {
  padding: 18px 40px;
  font-size: 1.3rem;
  min-width: 250px;
}

.page-fortunetiger__section {
  padding: 80px 0;
  text-align: center;
}

.page-fortunetiger__container {
  width: 100%; /* Desktop: width 100% with max-width for content */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-fortunetiger__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
  font-weight: 700;
}

.page-fortunetiger__light-bg .page-fortunetiger__section-title {
  color: #08160F; /* Background color as dark text */
}

.page-fortunetiger__text-block {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fortunetiger__light-bg .page-fortunetiger__text-block {
  color: #08160F; /* Background color as dark text */
}

.page-fortunetiger__image-content {
  width: 100%;
  height: auto;
  max-width: 800px; /* Recommended content image size */
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
  min-width: 200px; /* Minimum size */
  min-height: 200px; /* Minimum size */
}

.page-fortunetiger__ordered-list,
.page-fortunetiger__unordered-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

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

.page-fortunetiger__light-bg .page-fortunetiger__list-item {
  background-color: #FFFFFF; /* White for light background */
  border-color: #E0E0E0;
}

.page-fortunetiger__list-title {
  font-size: 1.4rem;
  color: #2AD16F; /* Highlight color */
  margin-bottom: 10px;
}

.page-fortunetiger__light-bg .page-fortunetiger__list-title {
  color: #13994A; /* Darker green for contrast on light bg */
}

.page-fortunetiger__list-description {
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-fortunetiger__light-bg .page-fortunetiger__list-description {
  color: #08160F; /* Background color as dark text */
}

.page-fortunetiger__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-fortunetiger__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fortunetiger__light-bg .page-fortunetiger__faq-item {
  background-color: #FFFFFF;
  border-color: #E0E0E0;
}

.page-fortunetiger__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #11A84E; /* Main color */
  border-bottom: 1px solid #2E7A4E; /* Border */
  list-style: none; /* For <summary> tag */
}

.page-fortunetiger__faq-item[open] > .page-fortunetiger__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

.page-fortunetiger__light-bg .page-fortunetiger__faq-question {
  color: #F2FFF6; /* Text Main */
  background-color: #13994A; /* Darker green for contrast on light bg */
  border-bottom-color: #2E7A4E;
}

.page-fortunetiger__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Ensure clicking summary opens/closes details */
}

.page-fortunetiger__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  pointer-events: none; /* Ensure clicking summary opens/closes details */
}

.page-fortunetiger__faq-answer {
  padding: 20px 25px;
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

.page-fortunetiger__light-bg .page-fortunetiger__faq-answer {
  color: #08160F; /* Background color as dark text */
}

.page-fortunetiger__faq-answer p {
  margin-bottom: 0;
}

.page-fortunetiger__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

.page-fortunetiger__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-fortunetiger__cta-section .page-fortunetiger__section-title {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 0;
}

.page-fortunetiger__cta-section .page-fortunetiger__text-block {
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
}

/* Links within text */
.page-fortunetiger a {
  color: #57E38D; /* Glow */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-fortunetiger a:hover {
  color: #F2C14E; /* Gold */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fortunetiger__hero-content {
    padding: 15px;
  }
  .page-fortunetiger__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-fortunetiger__intro-text {
    font-size: 1.1rem;
  }
  .page-fortunetiger__btn-primary,
  .page-fortunetiger__btn-secondary,
  .page-fortunetiger__btn-large {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-fortunetiger__btn-large {
    min-width: 200px;
  }
  .page-fortunetiger__section {
    padding: 60px 0;
  }
  .page-fortunetiger__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  .page-fortunetiger__text-block {
    font-size: 1rem;
  }
  .page-fortunetiger__list-title {
    font-size: 1.3rem;
  }
  .page-fortunetiger__list-description {
    font-size: 0.95rem;
  }
  .page-fortunetiger__faq-question {
    font-size: 1.1rem;
    padding: 18px 20px;
  }
  .page-fortunetiger__faq-answer {
    font-size: 1rem;
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  .page-fortunetiger__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
    min-height: 500px;
  }
  .page-fortunetiger__hero-content {
    padding: 10px;
  }
  .page-fortunetiger__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-fortunetiger__intro-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-fortunetiger__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fortunetiger__btn-primary,
  .page-fortunetiger__btn-secondary,
  .page-fortunetiger__btn-large {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    font-size: 1rem;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fortunetiger__section {
    padding: 40px 0;
  }
  .page-fortunetiger__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll for containers */
  }
  .page-fortunetiger__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }
  .page-fortunetiger__text-block {
    font-size: 0.95rem;
  }
  .page-fortunetiger__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 30px auto;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
  }
  .page-fortunetiger__list-item {
    padding: 20px;
  }
  .page-fortunetiger__list-title {
    font-size: 1.2rem;
  }
  .page-fortunetiger__list-description {
    font-size: 0.9rem;
  }
  .page-fortunetiger__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-fortunetiger__faq-answer {
    font-size: 0.95rem;
    padding: 15px 20px;
  }
  .page-fortunetiger__cta-section {
    padding: 40px 15px;
  }
  .page-fortunetiger__cta-section .page-fortunetiger__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .page-fortunetiger__cta-section .page-fortunetiger__text-block {
    font-size: 0.95rem;
  }

  /* Universal image responsive styles */
  .page-fortunetiger img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important; /* Ensure padding/border included in width */
  }

  /* Container for images to prevent overflow */
  .page-fortunetiger__section,
  .page-fortunetiger__card,
  .page-fortunetiger__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll for containers */
  }
}