/* style/fortune-tiger.css */
.page-fortune-tiger {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #FFF6D6; /* Text Main color for dark body background */
  line-height: 1.6;
  background-color: #0A0A0A; /* Matches body background */
}

.page-fortune-tiger__section {
  padding: 60px 20px;
  text-align: center;
  background-color: #0A0A0A; /* Default section background */
}

.page-fortune-tiger__section-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 40px;
  color: #F2C14E; /* Main color for titles */
  letter-spacing: 1.5px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

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

/* Hero Section */
.page-fortune-tiger__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 */
  background-color: #0A0A0A;
  overflow: hidden;
}

.page-fortune-tiger__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-fortune-tiger__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-fortune-tiger__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.page-fortune-tiger__hero-image img:hover {
  transform: scale(1.03);
}

.page-fortune-tiger__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-fortune-tiger__hero-content h1 {
  color: #FFD36B; /* Accent color for H1 */
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
  font-size: clamp(2.2em, 4vw, 3.5em);
  line-height: 1.2;
}

.page-fortune-tiger__hero-content p {
  font-size: 1.2em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-fortune-tiger__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button color */
  color: #FFF6D6;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-fortune-tiger__cta-button:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-fortune-tiger__cta-button--small {
  padding: 12px 30px;
  font-size: 1em;
  margin-top: 15px;
}

/* Content Wrappers */
.page-fortune-tiger__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-fortune-tiger__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-fortune-tiger__text-block {
  flex: 1;
  min-width: 400px;
}

.page-fortune-tiger__text-block p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-fortune-tiger__text-block strong {
  color: #FFD36B;
}

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

.page-fortune-tiger__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* About Game Section */
.page-fortune-tiger__about-game-section {
  background-color: #111111; /* Card BG color */
}

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

.page-fortune-tiger__ordered-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-fortune-tiger__ordered-list li {
  background-color: rgba(242, 193, 78, 0.1);
  border-left: 5px solid #F2C14E;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.05em;
  color: #FFF6D6;
  transition: background-color 0.3s ease;
}

.page-fortune-tiger__ordered-list li:hover {
  background-color: rgba(242, 193, 78, 0.2);
}

/* Strategies Section */
.page-fortune-tiger__strategies-section {
  background-color: #111111; /* Card BG color */
}

/* Bonuses Section */
.page-fortune-tiger__bonuses-section {
  background-color: #0A0A0A;
}

/* Security Section */
.page-fortune-tiger__security-section {
  background-color: #111111; /* Card BG color */
}

/* FAQ Section */
.page-fortune-tiger__faq-section {
  background-color: #0A0A0A;
}

details.page-fortune-tiger__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6;
}
details.page-fortune-tiger__faq-item summary.page-fortune-tiger__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-fortune-tiger__faq-item summary.page-fortune-tiger__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fortune-tiger__faq-item summary.page-fortune-tiger__faq-question:hover {
  background: rgba(255, 211, 107, 0.1);
}
.page-fortune-tiger__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E;
}
.page-fortune-tiger__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fortune-tiger__faq-item .page-fortune-tiger__faq-answer {
  padding: 0 20px 20px;
  background: rgba(17, 17, 17, 0.8); /* Slightly transparent Card BG */
  border-radius: 0 0 5px 5px;
  font-size: 1em;
}

.page-fortune-tiger__faq-answer p {
  margin-top: 10px;
  color: #FFF6D6;
}

/* Related Content Section */
.page-fortune-tiger__related-content-section {
  background-color: #111111; /* Card BG */
}

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

.page-fortune-tiger__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-fortune-tiger__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-fortune-tiger__card img {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

.page-fortune-tiger__card h3 {
  font-size: 1.4em;
  color: #FFD36B;
  padding: 15px 20px 0;
  margin-bottom: 10px;
}

.page-fortune-tiger__card h3 a {
  color: #FFD36B;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fortune-tiger__card h3 a:hover {
  color: #F2C14E;
}

.page-fortune-tiger__card p {
  font-size: 0.95em;
  color: #FFF6D6;
  padding: 0 20px 15px;
}

.page-fortune-tiger__card-link {
  display: inline-block;
  background-color: #F2C14E;
  color: #111111;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-fortune-tiger__card-link:hover {
  background-color: #FFD36B;
  color: #0A0A0A;
}

/* CTA Final Section */
.page-fortune-tiger__cta-final-section {
  padding: 80px 20px;
  background-color: #0A0A0A;
}

.page-fortune-tiger__cta-final-section p {
  font-size: 1.3em;
  max-width: 900px;
  margin: 20px auto 40px auto;
  color: #FFF6D6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fortune-tiger__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-fortune-tiger__content-wrapper--reversed {
    flex-direction: column;
  }
  .page-fortune-tiger__text-block, .page-fortune-tiger__image-block {
    min-width: unset;
    width: 100%;
  }
  .page-fortune-tiger__hero-content h1 {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-fortune-tiger__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-fortune-tiger__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }
  .page-fortune-tiger__section {
    padding: 40px 15px;
  }
  .page-fortune-tiger__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-fortune-tiger__hero-content h1 {
    font-size: 2.2em;
    line-height: 1.3;
  }
  .page-fortune-tiger__hero-content p {
    font-size: 1em;
  }
  .page-fortune-tiger__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fortune-tiger__cta-button--small {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-fortune-tiger__text-block p {
    font-size: 1em;
  }
  .page-fortune-tiger__ordered-list li {
    font-size: 0.95em;
    padding: 12px 15px;
  }
  details.page-fortune-tiger__faq-item summary.page-fortune-tiger__faq-question {
    padding: 15px;
  }
  .page-fortune-tiger__faq-qtext {
    font-size: 1em;
  }
  details.page-fortune-tiger__faq-item .page-fortune-tiger__faq-answer {
    padding: 0 15px 15px;
  }
  .page-fortune-tiger__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fortune-tiger__card img {
    
  }
  .page-fortune-tiger__card h3 {
    font-size: 1.2em;
  }
  .page-fortune-tiger__card p {
    font-size: 0.9em;
  }
  .page-fortune-tiger__card-link {
    margin: 0 15px 15px;
  }
  /* Mobile image and button handling */
  .page-fortune-tiger img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fortune-tiger__section,
  .page-fortune-tiger__card,
  .page-fortune-tiger__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-fortune-tiger__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-fortune-tiger__hero-content h1 {
    font-size: 1.8em;
  }
  .page-fortune-tiger__section-title {
    font-size: 1.8em;
  }
  .page-fortune-tiger__cta-button {
    font-size: 1em;
  }
}