/* style/index-about-five88-win.css */
/* body đã padding-top: var(--header-offset)；trang này KHÔNG được viết lại biến đó */
.page-index-about-five88-win {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-index-about-five88-win__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-index-about-five88-win__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative padding, body handles header offset */
  text-align: center;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-index-about-five88-win__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
  overflow: hidden;
}

.page-index-about-five88-win__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Min size constraint */
}

.page-index-about-five88-win__hero-content {
  width: 100%;
  max-width: 800px;
}

.page-index-about-five88-win__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 */
  font-weight: 700;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-about-five88-win__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-about-five88-win__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-index-about-five88-win__btn-primary,
.page-index-about-five88-win__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  min-width: 150px; /* Ensure buttons are not too small */
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-index-about-five88-win__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #F2FFF6; /* Main text color */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-index-about-five88-win__btn-secondary {
  background-color: transparent;
  color: #F2FFF6; /* Main text color */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-index-about-five88-win__btn-secondary:hover {
  background-color: #2E7A4E; /* Border color */
  color: #F2FFF6;
}

/* Sections */
.page-index-about-five88-win__about-section,
.page-index-about-five88-win__features-section,
.page-index-about-five88-win__philosophy-section,
.page-index-about-five88-win__future-section,
.page-index-about-five88-win__faq-section {
  padding: 80px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider color */
}

.page-index-about-five88-win__about-section.page-index-about-five88-win__dark-section,
.page-index-about-five88-win__philosophy-section.page-index-about-five88-win__dark-section,
.page-index-about-five88-win__faq-section.page-index-about-five88-win__dark-section {
  background-color: #0A4B2C; /* Deep Green for dark sections */
}

.page-index-about-five88-win__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

.page-index-about-five88-win__content-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-index-about-five88-win__content-block p {
  font-size: 1.05rem;
  color: #A7D9B8; /* Secondary text color */
  max-width: 800px;
  text-align: center;
}

.page-index-about-five88-win__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Min size constraint */
}

/* Features Grid */
.page-index-about-five88-win__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-about-five88-win__feature-card.page-index-about-five88-win__card {
  background-color: #11271B; /* Card BG color */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 450px; /* Ensure cards have enough height */
}

.page-index-about-five88-win__feature-card.page-index-about-five88-win__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-index-about-five88-win__card-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-about-five88-win__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Min size constraint */
}

.page-index-about-five88-win__feature-card p {
  color: #A7D9B8; /* Secondary text color */
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index-about-five88-win__btn-text {
  color: #57E38D; /* Glow color for text links */
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.page-index-about-five88-win__btn-text:hover {
  color: #F2C14E; /* Gold color on hover */
  text-decoration: underline;
}

/* FAQ Section */
.page-index-about-five88-win__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-about-five88-win__faq-item {
  background-color: #11271B; /* Card BG color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-about-five88-win__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6; /* Main text color */
  cursor: pointer;
  background-color: #11271B; /* Card BG color */
  position: relative;
  user-select: none;
}

.page-index-about-five88-win__faq-item details > summary { /* For details tag */
  list-style: none;
}
.page-index-about-five88-win__faq-item details > summary::-webkit-details-marker { /* For details tag */
  display: none;
}

.page-index-about-five88-win__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-index-about-five88-win__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Glow color */
}

.page-index-about-five88-win__faq-item[open] .page-index-about-five88-win__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'minus' effect */
}

.page-index-about-five88-win__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

.page-index-about-five88-win__faq-answer p {
  margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-index-about-five88-win__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-index-about-five88-win__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-index-about-five88-win__content-block {
    flex-direction: column;
    text-align: center;
  }
  .page-index-about-five88-win__image-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index-about-five88-win {
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Images responsive */
  .page-index-about-five88-win img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-index-about-five88-win__hero-image-wrapper,
  .page-index-about-five88-win__image-content,
  .page-index-about-five88-win__card-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Buttons responsive */
  .page-index-about-five88-win__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-index-about-five88-win__btn-primary,
  .page-index-about-five88-win__btn-secondary,
  .page-index-about-five88-win a[class*="button"],
  .page-index-about-five88-win 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-index-about-five88-win__cta-buttons,
  .page-index-about-five88-win__button-group,
  .page-index-about-five88-win__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;
  }

  /* Section padding and container */
  .page-index-about-five88-win__hero-section,
  .page-index-about-five88-win__about-section,
  .page-index-about-five88-win__features-section,
  .page-index-about-five88-win__philosophy-section,
  .page-index-about-five88-win__future-section,
  .page-index-about-five88-win__faq-section {
    padding: 40px 0;
  }

  .page-index-about-five88-win__container {
    padding: 0 15px;
  }
  
  .page-index-about-five88-win__hero-section {
    padding-top: 10px !important; /* body already has --header-offset */
  }

  .page-index-about-five88-win__feature-card.page-index-about-five88-win__card {
    min-height: auto; /* Allow height to adjust */
  }
}