/* style/index-about-fly88.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần lặp lại */

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

.page-index-about-fly88 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--fly88-text-main);
  background-color: var(--fly88-background);
}

.page-index-about-fly88__section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-about-fly88__dark-section {
  background-color: var(--fly88-background);
  color: var(--fly88-text-main);
}

.page-index-about-fly88__light-bg {
  background-color: #1a362a; /* Slightly lighter for contrast, based on deep green */
  color: var(--fly88-text-main);
}

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

.page-index-about-fly88__heading-2 {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--fly88-gold-color);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
  line-height: 1.2;
}

.page-index-about-fly88__heading-3 {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--fly88-text-main);
}

.page-index-about-fly88__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--fly88-text-secondary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-about-fly88__btn-primary,
.page-index-about-fly88__btn-secondary,
.page-index-about-fly88__card-button,
.page-index-about-fly88__faq-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-about-fly88__btn-primary {
  background: var(--fly88-button-gradient);
  color: var(--fly88-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-index-about-fly88__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-index-about-fly88__btn-secondary {
  background: transparent;
  color: var(--fly88-primary-color);
  border: 2px solid var(--fly88-primary-color);
  box-shadow: none;
}

.page-index-about-fly88__btn-secondary:hover {
  background-color: var(--fly88-primary-color);
  color: var(--fly88-text-main);
  transform: translateY(-2px);
}

/* Hero Section */
.page-index-about-fly88__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  position: relative;
}

.page-index-about-fly88__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-index-about-fly88__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-index-about-fly88__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-index-about-fly88__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 800;
  color: var(--fly88-gold-color);
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-index-about-fly88__hero-description {
  font-size: 1.2em;
  color: var(--fly88-text-main);
  margin-bottom: 40px;
  line-height: 1.8;
}

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

/* Image and Text Block */
.page-index-about-fly88__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.page-index-about-fly88__image-block {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
  max-width: 100%;
  height: auto;
}

.page-index-about-fly88__text-block {
  flex: 1.5;
  min-width: 300px;
}

.page-index-about-fly88__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-index-about-fly88__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: var(--fly88-text-secondary);
  position: relative;
  padding-left: 25px;
}

.page-index-about-fly88__list-item::before {
  content: '✓';
  color: var(--fly88-gold-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Game Cards */
.page-index-about-fly88__game-cards,
.page-index-about-fly88__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-about-fly88__card {
  background-color: var(--fly88-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  text-align: left;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--fly88-border-color);
}

.page-index-about-fly88__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-index-about-fly88__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-index-about-fly88__card-title {
  font-size: 1.5em;
  padding: 0 20px;
  margin-bottom: 10px;
}

.page-index-about-fly88__card-title a {
  color: var(--fly88-gold-color);
  text-decoration: none;
}

.page-index-about-fly88__card-title a:hover {
  text-decoration: underline;
}

.page-index-about-fly88__card-description {
  font-size: 1em;
  color: var(--fly88-text-secondary);
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-index-about-fly88__card-button {
  margin: 0 20px;
  width: calc(100% - 40px);
  background: var(--fly88-button-gradient);
  color: var(--fly88-text-main);
  border: none;
}

.page-index-about-fly88__card-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-index-about-fly88__cta-section {
  margin-top: 60px;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.page-index-about-fly88__security-features,
.page-index-about-fly88__support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-about-fly88__feature-item,
.page-index-about-fly88__channel-item {
  background-color: var(--fly88-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid var(--fly88-border-color);
}

.page-index-about-fly88__feature-item:hover,
.page-index-about-fly88__channel-item:hover {
  transform: translateY(-5px);
}

.page-index-about-fly88__feature-icon,
.page-index-about-fly88__channel-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-index-about-fly88__app-features {
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

/* FAQ Section */
.page-index-about-fly88__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
  text-align: left;
}

.page-index-about-fly88__faq-item {
  background-color: var(--fly88-card-bg);
  border: 1px solid var(--fly88-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index-about-fly88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--fly88-text-main);
  cursor: pointer;
  background-color: var(--fly88-deep-green);
  border-bottom: 1px solid var(--fly88-border-color);
  list-style: none; /* For details/summary */
}

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

.page-index-about-fly88__faq-question:hover {
  background-color: var(--fly88-primary-color);
}

.page-index-about-fly88__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-index-about-fly88__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: var(--fly88-text-secondary);
  line-height: 1.7;
}

.page-index-about-fly88__faq-answer .page-index-about-fly88__paragraph {
  margin-bottom: 15px;
  text-align: left;
}

.page-index-about-fly88__faq-button {
  margin-top: 10px;
  width: auto;
  padding: 10px 20px;
  font-size: 0.95em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-about-fly88__heading-2 {
    font-size: 2.2em;
  }
  .page-index-about-fly88__heading-3 {
    font-size: 1.5em;
  }
  .page-index-about-fly88__paragraph {
    font-size: 1em;
  }
  .page-index-about-fly88__hero-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-index-about-fly88__section {
    padding: 60px 0;
  }
  .page-index-about-fly88__hero-section {
    min-height: 500px;
  }
  .page-index-about-fly88__hero-content {
    margin-top: 20px;
  }
  .page-index-about-fly88__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-index-about-fly88__hero-description {
    font-size: 1em;
  }
  .page-index-about-fly88__image-text-block {
    flex-direction: column;
    text-align: center;
  }
  .page-index-about-fly88__text-block {
    margin-top: 30px;
  }
  .page-index-about-fly88__list {
    text-align: left;
  }
  .page-index-about-fly88__game-cards,
  .page-index-about-fly88__promo-cards,
  .page-index-about-fly88__security-features,
  .page-index-about-fly88__support-channels {
    grid-template-columns: 1fr;
  }
  .page-index-about-fly88__card-image {
    height: 180px;
  }
  .page-index-about-fly88__feature-icon,
  .page-index-about-fly88__channel-icon {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-about-fly88__cta-section {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-about-fly88__btn-primary,
  .page-index-about-fly88__btn-secondary,
  .page-index-about-fly88__card-button,
  .page-index-about-fly88__faq-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-about-fly88__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-about-fly88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-about-fly88__section,
  .page-index-about-fly88__card,
  .page-index-about-fly88__container,
  .page-index-about-fly88__image-text-block,
  .page-index-about-fly88__game-cards,
  .page-index-about-fly88__promo-cards,
  .page-index-about-fly88__security-features,
  .page-index-about-fly88__support-channels,
  .page-index-about-fly88__app-features,
  .page-index-about-fly88__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-index-about-fly88__hero-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }
}