/* style/fortune-tiger.css */

/* Base styles for the page, assuming a dark theme based on brand colors */
.page-fortune-tiger {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #FFF5E1; /* Text Main color */
  line-height: 1.6;
  background-color: var(--background-color, #1a1a1a); /* Fallback if shared.css doesn't define */
}

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

.page-fortune-tiger__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F4D34D; /* Gold color for titles */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
  line-height: 1.2;
}

.page-fortune-tiger__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fortune-tiger__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Section Backgrounds */
.page-fortune-tiger__dark-bg {
  background-color: #B71C1C; /* Background color */
  color: #FFF5E1;
}

.page-fortune-tiger__light-bg {
  background-color: #f8f9fa; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-fortune-tiger__dark-section {
  background-color: #D32F2F; /* Card BG color */
  color: #FFF5E1;
}

/* Hero Section */
.page-fortune-tiger__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-fortune-tiger__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-fortune-tiger__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the background image for text readability */
}

.page-fortune-tiger__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 10px;
  margin-top: 80px; /* Push content down to avoid header overlap */
}

.page-fortune-tiger__main-title {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive H1 font size */
  font-weight: 700;
  color: #FFCC66; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-fortune-tiger__description {
  font-size: clamp(1em, 2vw, 1.3em);
  margin-bottom: 30px;
  color: #FFF5E1;
}

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

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

.page-fortune-tiger__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-fortune-tiger__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

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

.page-fortune-tiger__btn-secondary:hover {
  background-color: #F2B544;
  color: #7A0E0E; /* Deep Red for text on gold button */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

/* Video Section */
.page-fortune-tiger__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  width: 100%; /* Desktop width for video container */
}

.page-fortune-tiger__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

/* Lists */
.page-fortune-tiger__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  color: #FFF5E1;
}

.page-fortune-tiger__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 15px;
  border-left: 5px solid #F4D34D; /* Gold accent */
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-fortune-tiger__list-item strong {
  color: #FFCC66; /* Glow color for strong text */
}

/* FAQ Section */
.page-fortune-tiger__faq-list {
  margin-top: 30px;
}

.page-fortune-tiger__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  color: #FFF5E1;
}

.page-fortune-tiger__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 25px;
  background-color: #C91F17; /* Main color */
  font-weight: bold;
  font-size: 1.2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  color: #FFF5E1;
}

.page-fortune-tiger__faq-item summary::-webkit-details-marker {
  display: none;
}

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

.page-fortune-tiger__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #F4D34D;
}

.page-fortune-tiger__faq-answer {
  padding: 15px 25px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  font-size: 1.05em;
  color: #FFF5E1;
}

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

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

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

  .page-fortune-tiger__hero-content {
    padding: 20px;
    margin-top: 60px;
  }

  .page-fortune-tiger__main-title {
    font-size: 2.2em;
  }

  .page-fortune-tiger__description {
    font-size: 1em;
  }

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

  .page-fortune-tiger__btn-primary,
  .page-fortune-tiger__btn-secondary,
  .page-fortune-tiger a[class*="button"],
  .page-fortune-tiger 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-tiger__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-bottom: 56.25% !important; /* Ensure aspect ratio */
  }

  .page-fortune-tiger__video {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important; /* Use 100% height for video to fill wrapper */
    display: block !important;
  }

  .page-fortune-tiger img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fortune-tiger__intro-section,
  .page-fortune-tiger__how-to-play-section,
  .page-fortune-tiger__features-section,
  .page-fortune-tiger__strategy-section,
  .page-fortune-tiger__why-beti-nacional-section,
  .page-fortune-tiger__faq-section,
  .page-fortune-tiger__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-fortune-tiger__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-fortune-tiger__faq-answer {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-fortune-tiger__main-title {
    font-size: 1.8em;
  }
  .page-fortune-tiger__section-title {
    font-size: 1.8em;
  }
}