/* style/index-about-hello88.css */

/* Custom Colors */
:root {
  --hello88-primary: #11A84E;
  --hello88-secondary: #22C768;
  --hello88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --hello88-card-bg: #11271B;
  --hello88-background: #08160F;
  --hello88-text-main: #F2FFF6;
  --hello88-text-secondary: #A7D9B8;
  --hello88-border: #2E7A4E;
  --hello88-glow: #57E38D;
  --hello88-gold: #F2C14E;
  --hello88-divider: #1E3A2A;
  --hello88-deep-green: #0A4B2C;
}

.page-index-about-hello88 {
  color: var(--hello88-text-main); /* Default text color for the page, assuming dark body bg */
  background-color: var(--hello88-background); /* Specific background for main content sections */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-index-about-hello88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-about-hello88__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-about-hello88__dark-section {
  background-color: var(--hello88-deep-green);
  color: var(--hello88-text-main);
}

.page-index-about-hello88__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--hello88-gold);
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-index-about-hello88__description-secondary {
  color: var(--hello88-text-secondary);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-index-about-hello88__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--hello88-background);
}

.page-index-about-hello88__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
}

.page-index-about-hello88__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--hello88-background);
}

.page-index-about-hello88__main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--hello88-gold);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.page-index-about-hello88__description {
  font-size: 18px;
  color: var(--hello88-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-about-hello88__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-about-hello88__btn-primary,
.page-index-about-hello88__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-about-hello88__btn-primary {
  background: var(--hello88-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-index-about-hello88__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-index-about-hello88__btn-secondary {
  background: none;
  color: var(--hello88-primary);
  border: 2px solid var(--hello88-primary);
}

.page-index-about-hello88__btn-secondary:hover {
  background-color: var(--hello88-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-index-about-hello88__btn-center {
  margin: 0 auto;
  display: table;
}

/* Content Layouts */
.page-index-about-hello88__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-index-about-hello88__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-index-about-hello88__text-block {
  flex: 1;
  min-width: 300px;
}

.page-index-about-hello88__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--hello88-text-main);
}

.page-index-about-hello88__image-aside {
  flex: 1;
  max-width: 50%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
}

.page-index-about-hello88__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
}

/* Value Cards */
.page-index-about-hello88__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-about-hello88__card {
  background-color: var(--hello88-card-bg);
  border: 1px solid var(--hello88-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: var(--hello88-text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-about-hello88__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-about-hello88__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--hello88-gold);
  margin-bottom: 15px;
}

/* Product Grid */
.page-index-about-hello88__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-about-hello88__product-card {
  text-align: left;
  padding: 20px;
}

.page-index-about-hello88__product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-index-about-hello88__product-card .page-index-about-hello88__card-title {
  font-size: 22px;
  text-align: left;
}

.page-index-about-hello88__product-card p {
  font-size: 16px;
  color: var(--hello88-text-secondary);
  margin-bottom: 20px;
}

.page-index-about-hello88__product-card .page-index-about-hello88__btn-primary {
  width: auto;
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
}

/* Promotions Grid */
.page-index-about-hello88__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-about-hello88__promo-card {
  text-align: left;
  padding: 25px;
}

.page-index-about-hello88__promo-card .page-index-about-hello88__card-title {
  font-size: 22px;
  text-align: left;
}

.page-index-about-hello88__promo-card p {
  font-size: 16px;
  color: var(--hello88-text-secondary);
  margin-bottom: 20px;
}

.page-index-about-hello88__promo-card .page-index-about-hello88__btn-primary {
  width: auto;
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
}

/* Responsibility List */
.page-index-about-hello88__responsibility-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-index-about-hello88__list-item {
  background-color: var(--hello88-card-bg);
  border: 1px solid var(--hello88-border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--hello88-text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-index-about-hello88__list-item strong {
  color: var(--hello88-gold);
}

/* FAQ Section */
.page-index-about-hello88__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-index-about-hello88__faq-item {
  background-color: var(--hello88-card-bg);
  border: 1px solid var(--hello88-border);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-index-about-hello88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--hello88-gold);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.page-index-about-hello88__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-about-hello88__faq-item summary {
  list-style: none;
}

.page-index-about-hello88__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: var(--hello88-gold);
  transition: transform 0.3s ease;
}

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

.page-index-about-hello88__faq-answer {
  padding: 0 20px 20px;
  font-size: 16px;
  color: var(--hello88-text-secondary);
  line-height: 1.6;
}

/* Call to action at bottom */
.page-index-about-hello88__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-about-hello88__hero-image {
    max-height: 500px;
  }

  .page-index-about-hello88__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-index-about-hello88__content-wrapper--reversed {
    flex-direction: column;
  }

  .page-index-about-hello88__image-aside {
    max-width: 80%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-index-about-hello88__section {
    padding: 40px 0;
  }

  .page-index-about-hello88__section-title {
    font-size: 30px;
  }

  .page-index-about-hello88__description-secondary {
    font-size: 16px;
  }

  .page-index-about-hello88__hero-image {
    max-height: 300px;
  }

  .page-index-about-hello88__main-title {
    font-size: 36px;
  }

  .page-index-about-hello88__description {
    font-size: 16px;
  }

  .page-index-about-hello88__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-index-about-hello88__btn-primary,
  .page-index-about-hello88__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-index-about-hello88__text-block {
    min-width: unset;
  }

  .page-index-about-hello88__text-block p {
    font-size: 16px;
  }

  .page-index-about-hello88__image-aside,
  .page-index-about-hello88__image-full-width,
  .page-index-about-hello88__product-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-index-about-hello88__container,
  .page-index-about-hello88__card,
  .page-index-about-hello88__section,
  .page-index-about-hello88__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-about-hello88__hero-section {
    padding-top: 10px !important;
  }

  .page-index-about-hello88__product-grid,
  .page-index-about-hello88__promotions-grid,
  .page-index-about-hello88__values-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-index-about-hello88__list-item,
  .page-index-about-hello88__faq-item {
    padding: 15px;
  }

  .page-index-about-hello88__faq-question {
    font-size: 16px;
    padding: 15px;
  }

  .page-index-about-hello88__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-about-hello88__main-title {
    font-size: 28px;
  }

  .page-index-about-hello88__section-title {
    font-size: 24px;
  }

  .page-index-about-hello88__hero-content {
    padding: 20px 10px;
  }
}