/* 首页试玩布局 CSS (boilerplate from prompt, even for about page) */
@media (max-width: 1023px) {
  .page-about__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-about__hero-brand,
  .page-about__hero-jackpot {
    display: none !important;
  }
  .page-about__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-about__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-about__game-trial-topbar,
  .page-about__game-trial-bottombar {
    display: none !important;
  }
  .page-about__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-about__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-about__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-about__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-about__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-about__hero-brand,
  .page-about__hero-jackpot,
  .page-about__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-about__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-about__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-about__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-about__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-about__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  /* Placeholder for other PC modules */
  .page-about__promo-strip { margin-top: 16px; }
  .page-about__promo-strip-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .page-about__hot-games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
}

/* General page styles for about.html */
.page-about {
  color: #333333; /* Default text color for light body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #f5f5f5;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-about__hero-content {
  z-index: 1;
  max-width: 800px;
  padding: 0 15px;
  margin-bottom: 30px;
}

.page-about__main-title {
  font-size: 38px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-about__cta-button:hover {
  background-color: #1a8cc7;
}

.page-about__cta-button--primary {
  background-color: #26A9E0;
  color: #ffffff;
  border-color: #26A9E0;
}

.page-about__cta-button--primary:hover {
  background-color: #1a8cc7;
  border-color: #1a8cc7;
}

.page-about__cta-button--secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #26A9E0;
  margin-left: 15px;
}

.page-about__cta-button--secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc7;
  border-color: #1a8cc7;
}

.page-about__introduction-section,
.page-about__values-section,
.page-about__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-about__mission-vision-section,
.page-about__why-choose-us-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-about__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__section-title--light {
  color: #ffffff;
}

.page-about__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.page-about__card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-about__card--dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__card-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-about__card-title--light {
  color: #ffffff;
}

.page-about__card-text {
  font-size: 15px;
  line-height: 1.7;
}

.page-about__card-text--light {
  color: #f0f0f0;
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.page-about__value-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #26A9E0;
}

.page-about__value-title {
  font-size: 20px;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-about__value-description {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
}

.page-about__why-choose-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__feature-icon {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__feature-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-about__feature-description {
  font-size: 15px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-about__cta-container {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* FAQ styles */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #f5f5f5;
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Mobile responsiveness for about.html */
@media (max-width: 768px) {
  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__hero-section {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .page-about__main-title {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .page-about__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-about__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  
  .page-about__cta-button--secondary {
    margin-left: 0;
    margin-top: 10px;
  }

  .page-about__cta-container {
    flex-direction: column;
    gap: 10px;
  }

  .page-about__introduction-section,
  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__why-choose-us-section,
  .page-about__faq-section {
    padding: 30px 0;
  }

  .page-about__section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .page-about__mission-vision-grid,
  .page-about__values-grid,
  .page-about__why-choose-us-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card,
  .page-about__value-item,
  .page-about__feature-item {
    padding: 20px;
  }

  .page-about__card-title,
  .page-about__feature-title {
    font-size: 20px;
  }

  .page-about__card-icon,
  .page-about__feature-icon {
    width: 60px;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-about__faq-item summary.page-about__faq-question { padding: 15px; }
  .page-about__faq-qtext { font-size: 15px; }
  details.page-about__faq-item .page-about__faq-answer { padding: 0 15px 15px; }

  /* Placeholder for other 768px modules if they were on homepage */
  .page-about__promo-strip-track {
    grid-template-columns: repeat(1, 1fr) !important; /* Single column for mobile */
    overflow-x: hidden;
    gap: 10px;
  }
  .page-about__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .page-about__winner-ticker { /* Assuming this would be a fixed bottom bar */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: #333; /* Example dark background */
    color: #fff;
    padding: 8px 15px;
    box-sizing: border-box;
  }
  body {
    padding-bottom: 50px; /* Example offset for fixed footer/ticker */
  }
}