/* style/fortune-tiger.css */
.page-fortune-tiger {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #f5f5f5);
}

.page-fortune-tiger__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fortune-tiger__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #C91F17;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fortune-tiger__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #C91F17, #E53935);
  border-radius: 2px;
}

.page-fortune-tiger__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fortune-tiger__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #1a1a1a; /* Dark background for hero content */
  color: #ffffff;
  overflow: hidden;
}

.page-fortune-tiger__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.page-fortune-tiger__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-fortune-tiger__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-fortune-tiger__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Clamp for responsive H1 */
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF5E1; /* Text Main */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-fortune-tiger__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

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

.page-fortune-tiger__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-fortune-tiger__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-fortune-tiger__btn-secondary {
  background-color: transparent;
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 15px rgba(242, 181, 68, 0.2);
}

.page-fortune-tiger__btn-secondary:hover {
  background-color: #F2B544;
  color: #7A0E0E; /* Deep Red for contrast */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 181, 68, 0.4);
}

/* About Game Section */
.page-fortune-tiger__about-game-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-fortune-tiger__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fortune-tiger__feature-card {
  background-color: #D32F2F; /* Card B G */
  color: #FFF5E1; /* Text Main */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fortune-tiger__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.page-fortune-tiger__feature-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fortune-tiger__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin: 25px 15px 15px;
  color: #FFF5E1;
}

.page-fortune-tiger__card-description {
  font-size: 1em;
  margin: 0 20px 25px;
  color: #f0f0f0;
}

/* Why wj cassino 777 Section */
.page-fortune-tiger__why-wj-cassino-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-fortune-tiger__advantage-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 30px;
  max-width: 800px;
  text-align: left;
}

.page-fortune-tiger__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #333333;
}

.page-fortune-tiger__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #E53935;
  font-weight: 700;
}

/* How to Play Section */
.page-fortune-tiger__how-to-play-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-fortune-tiger__step-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 30px;
  max-width: 800px;
  counter-reset: step-counter;
}

.page-fortune-tiger__step-list .page-fortune-tiger__list-item {
  font-size: 1.1em;
  margin-bottom: 20px;
  padding-left: 45px;
  position: relative;
  color: #333333;
}

.page-fortune-tiger__step-list .page-fortune-tiger__list-item strong {
  color: #C91F17;
}

.page-fortune-tiger__step-list .page-fortune-tiger__list-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #E53935;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9em;
}

/* Gameplay Tips Section */
.page-fortune-tiger__gameplay-tips-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-fortune-tiger__tip-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 30px;
  max-width: 800px;
  text-align: left;
}

.page-fortune-tiger__tip-list .page-fortune-tiger__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #333333;
}

.page-fortune-tiger__tip-list .page-fortune-tiger__list-item::before {
  content: '★';
  position: absolute;
  left: 0;
  color: #F4D34D; /* Gold */
  font-weight: 700;
}

.page-fortune-tiger__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto 0;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Dark Section */
.page-fortune-tiger__dark-section {
  background-color: #B71C1C; /* Background color */
  color: #FFF5E1; /* Text Main */
  padding: 60px 0;
  text-align: center;
}

.page-fortune-tiger__dark-section .page-fortune-tiger__section-title {
  color: #FFF5E1;
}

.page-fortune-tiger__dark-section .page-fortune-tiger__section-title::after {
  background: linear-gradient(90deg, #F4D34D, #FFCC66);
}

.page-fortune-tiger__dark-section .page-fortune-tiger__text-block {
  color: #f0f0f0;
}

.page-fortune-tiger__dark-section .page-fortune-tiger__btn-secondary {
  color: #FFF5E1;
  border-color: #FFF5E1;
}

.page-fortune-tiger__dark-section .page-fortune-tiger__btn-secondary:hover {
  background-color: #FFF5E1;
  color: #B71C1C;
}

/* FAQ Section */
.page-fortune-tiger__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-fortune-tiger__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-fortune-tiger__faq-item {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-fortune-tiger__faq-item[open] {
  background-color: #fff;
  border-color: #C91F17;
}

.page-fortune-tiger__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 700;
  color: #333333;
  cursor: pointer;
  list-style: none; /* Remove default marker for details summary */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-fortune-tiger__faq-qtext {
  flex-grow: 1;
  color: #C91F17;
}

.page-fortune-tiger__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #E53935;
  margin-left: 15px;
  width: 25px;
  text-align: center;
}

.page-fortune-tiger__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.1em;
  color: #555555;
}

.page-fortune-tiger__faq-answer p {
  margin: 0;
  text-align: left;
}

/* Final CTA Section */
.page-fortune-tiger__final-cta-section {
  padding: 80px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fortune-tiger__hero-content {
    padding: 30px 15px;
  }
  .page-fortune-tiger__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-fortune-tiger__hero-description {
    font-size: 1.1em;
  }
  .page-fortune-tiger__section-title {
    font-size: 2em;
  }
  .page-fortune-tiger__text-block {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-fortune-tiger__container {
    padding: 0 15px;
  }
  .page-fortune-tiger__hero-section {
    padding: 10px 0;
  }
  .page-fortune-tiger__hero-content {
    padding: 20px 15px;
  }
  .page-fortune-tiger__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
  }
  .page-fortune-tiger__hero-description {
    font-size: 1em;
  }
  .page-fortune-tiger__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fortune-tiger__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-fortune-tiger__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fortune-tiger__btn-primary,
  .page-fortune-tiger__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fortune-tiger__about-game-section,
  .page-fortune-tiger__why-wj-cassino-section,
  .page-fortune-tiger__how-to-play-section,
  .page-fortune-tiger__gameplay-tips-section,
  .page-fortune-tiger__responsible-gaming-section,
  .page-fortune-tiger__faq-section,
  .page-fortune-tiger__final-cta-section {
    padding: 40px 0;
  }
  .page-fortune-tiger__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-fortune-tiger__feature-image {
    height: 200px;
  }
  .page-fortune-tiger__card-title {
    font-size: 1.3em;
    margin: 20px 10px 10px;
  }
  .page-fortune-tiger__card-description {
    font-size: 0.9em;
    margin: 0 15px 20px;
  }
  .page-fortune-tiger__list-item {
    font-size: 1em;
    padding-left: 25px;
  }
  .page-fortune-tiger__step-list .page-fortune-tiger__list-item {
    padding-left: 40px;
  }
  .page-fortune-tiger__content-image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-top: 30px;
  }
  .page-fortune-tiger__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-fortune-tiger__faq-answer {
    font-size: 1em;
    padding: 0 15px 15px;
  }
  .page-fortune-tiger img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fortune-tiger__section,
  .page-fortune-tiger__card,
  .page-fortune-tiger__container,
  .page-fortune-tiger__hero-image-wrapper,
  .page-fortune-tiger__video-section,
  .page-fortune-tiger__video-container,
  .page-fortune-tiger__video-wrapper,
  .page-fortune-tiger__cta-buttons,
  .page-fortune-tiger__button-group,
  .page-fortune-tiger__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fortune-tiger__video-section {
    padding-top: 10px !important;
  }
}