/* style/fortunetiger.css */

/* Base Styles for the page */
.page-fortunetiger {
  font-family: Arial, sans-serif;
  color: #F2FFF6; /* Text Main - light text for dark background */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

/* Sections padding and max-width */
.page-fortunetiger__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-fortunetiger__hero-section,
.page-fortunetiger__about-game-section,
.page-fortunetiger__how-to-play-section,
.page-fortunetiger__strategy-section,
.page-fortunetiger__why-3lbet-section,
.page-fortunetiger__responsible-gaming-section,
.page-fortunetiger__faq-section,
.page-fortunetiger__cta-section {
  padding: 60px 0;
  position: relative;
  overflow: hidden; /* Ensure no overflow */
}

/* Hero Section */
.page-fortunetiger__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #08160F; /* Ensure background color */
}

.page-fortunetiger__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image wrapper */
  margin-bottom: 30px;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-fortunetiger__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Minimum height for hero image */
}

.page-fortunetiger__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-fortunetiger__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-fortunetiger__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* Titles */
.page-fortunetiger__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fortunetiger__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #11A84E 0%, #22C768 100%); /* Main and Aux colors */
  border-radius: 2px;
}

.page-fortunetiger__grid-title,
.page-fortunetiger__card-title {
  font-size: clamp(1.5em, 3vw, 2em);
  color: #F2FFF6; /* Text Main */
  margin-top: 20px;
  margin-bottom: 15px;
  text-align: center;
}

/* Text Blocks */
.page-fortunetiger__text-block {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

.page-fortunetiger__text-block strong {
  color: #F2FFF6; /* Emphasize keywords */
}

.page-fortunetiger__text-block a {
  color: #2AD16F; /* Button primary start color */
  text-decoration: underline;
}

/* Buttons */
.page-fortunetiger__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-fortunetiger__cta-buttons--center {
  margin-top: 40px;
}

.page-fortunetiger__btn-primary,
.page-fortunetiger__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  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-fortunetiger__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2AD16F;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4); /* Glow effect */
}

.page-fortunetiger__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

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

.page-fortunetiger__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #F2FFF6;
  border-color: #F2FFF6;
  transform: translateY(-2px);
}

/* Image Styles */
.page-fortunetiger__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 20px auto;
  object-fit: cover;
  min-width: 200px; /* Minimum size for all images */
  min-height: 200px;
}

/* Grid Layout */
.page-fortunetiger__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fortunetiger__content-grid--reverse {
  flex-direction: column-reverse; /* For mobile-first content order */
}

.page-fortunetiger__grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Cards */
.page-fortunetiger__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure cards are same height */
  color: #F2FFF6; /* Text Main */
}

.page-fortunetiger__card-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  text-align: justify;
  flex-grow: 1; /* Push content to bottom */
}

.page-fortunetiger__card .page-fortunetiger__image {
  margin-top: 15px;
  margin-bottom: 20px;
}

/* Lists */
.page-fortunetiger__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.page-fortunetiger__list-item {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  font-size: 1.1em;
}

.page-fortunetiger__list-item::before {
  content: '✓';
  color: #2AD16F; /* Primary button start color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-fortunetiger__list-item strong {
  color: #F2FFF6; /* Text Main */
}

/* FAQ Section */
.page-fortunetiger__faq-list {
  margin-top: 40px;
}

.page-fortunetiger__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-fortunetiger__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green for summary background */
  border-bottom: 1px solid #1E3A2A; /* Divider */
  list-style: none; /* Remove default marker for details/summary */
}

.page-fortunetiger__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for webkit browsers */
}

.page-fortunetiger__faq-question:hover {
  background-color: #11A84E; /* Main color on hover */
}

.page-fortunetiger__faq-item[open] .page-fortunetiger__faq-question {
  border-bottom: 1px solid #1E3A2A; /* Keep border when open */
}

.page-fortunetiger__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

.page-fortunetiger__faq-item[open] .page-fortunetiger__faq-toggle {
  transform: rotate(45deg);
}

.page-fortunetiger__faq-answer {
  padding: 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  border-top: none;
}

.page-fortunetiger__faq-answer p {
  margin: 0;
  text-align: justify;
}

/* CTA Section specific */
.page-fortunetiger__cta-content {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fortunetiger__hero-image {
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .page-fortunetiger__hero-section,
  .page-fortunetiger__about-game-section,
  .page-fortunetiger__how-to-play-section,
  .page-fortunetiger__strategy-section,
  .page-fortunetiger__why-3lbet-section,
  .page-fortunetiger__responsible-gaming-section,
  .page-fortunetiger__faq-section,
  .page-fortunetiger__cta-section {
    padding: 40px 0;
  }

  .page-fortunetiger__container {
    padding: 0 15px;
  }

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

  .page-fortunetiger__hero-description {
    font-size: 1em;
  }

  .page-fortunetiger__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-fortunetiger__grid-title,
  .page-fortunetiger__card-title {
    font-size: 1.3em;
  }

  .page-fortunetiger__text-block,
  .page-fortunetiger__list-item,
  .page-fortunetiger__card-text,
  .page-fortunetiger__faq-answer {
    font-size: 0.95em;
  }

  .page-fortunetiger__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%; /* Ensure buttons take full width of container */
  }

  .page-fortunetiger__btn-primary,
  .page-fortunetiger__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-fortunetiger__content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fortunetiger__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Ensure all image containers are responsive */
  .page-fortunetiger__hero-image-wrapper,
  .page-fortunetiger__grid-item,
  .page-fortunetiger__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fortunetiger__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
}

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

  .page-fortunetiger__section-title {
    font-size: 1.6em;
  }
}