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

.page-about__hero-section {
  padding-top: 0; /* Handled by body padding-top in shared.css */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #26A9E0; /* Brand color as background */
  color: #ffffff;
  padding-bottom: 40px;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__hero-content {
  max-width: 900px;
  padding: 20px;
  margin-top: 20px;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-about__btn-primary:hover {
  background: #d46b00;
  border-color: #d46b00;
}

.page-about__btn-secondary {
  background: #ffffff;
  color: #26A9E0; /* Brand color for secondary action */
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87bb;
  border-color: #1e87bb;
}

.page-about__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-about__intro-section .page-about__section-title,
.page-about__products-section .page-about__section-title,
.page-about__support-section .page-about__section-title,
.page-about__why-choose-us-section .page-about__section-title,
.page-about__faq-section .page-about__section-title {
  color: #26A9E0;
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__text-block {
  color: #ffffff;
}

.page-about__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.page-about__highlight {
  font-weight: 600;
  color: #26A9E0;
}

.page-about__dark-section .page-about__highlight {
  color: #FFFFFF;
}

.page-about__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-about__dark-section {
  background: #26A9E0;
  color: #ffffff;
}

.page-about__values-grid,
.page-about__security-grid,
.page-about__product-grid,
.page-about__why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #333333;
}

.page-about__dark-section .page-about__card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__value-image,
.page-about__icon-image,
.page-about__product-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
}

.page-about__value-image {
  height: 200px;
  object-fit: cover;
}

.page-about__icon-image {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-about__dark-section .page-about__card-title {
  color: #FFFFFF;
}

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

.page-about__product-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-about__product-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__product-title a:hover {
  text-decoration: underline;
}

.page-about__product-description {
  font-size: 1rem;
  color: #555555;
}

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

.page-about__support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__support-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-about__support-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #333333;
}

.page-about__support-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-about__support-link:hover {
  text-decoration: underline;
}

.page-about__support-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-about__responsible-list {
  list-style: disc;
  text-align: left;
  max-width: 800px;
  margin: 20px auto;
  padding-left: 20px;
  color: #ffffff;
}

.page-about__responsible-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

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

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

.page-about__text-link {
  color: #EA7C07;
  text-decoration: none;
  font-weight: 600;
}

.page-about__text-link:hover {
  text-decoration: underline;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-about__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  outline: none;
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #26A9E0;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #555555;
  text-align: justify;
}

/* Desktop & Tablet specific adjustments (>= 769px) */
@media (min-width: 769px) {
  .page-about__hero-section {
    padding-bottom: 60px;
  }

  .page-about__hero-image {
    max-height: 500px;
  }

  .page-about__hero-content {
    margin-top: 40px;
  }

  .page-about__values-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-about__security-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-about__product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-about__why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-about__support-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .page-about__responsible-list {
    padding-left: 40px;
  }
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-about__section {
    padding: 50px 15px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-about__hero-description {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-about__values-grid,
  .page-about__product-grid,
  .page-about__why-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .page-about__security-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
  }

  .page-about__card-title,
  .page-about__product-title,
  .page-about__why-title {
    font-size: 1.3rem;
  }

  .page-about__text-block,
  .page-about__responsible-list li,
  .page-about__support-list li,
  .page-about__faq-item summary {
    font-size: 1rem;
  }

  .page-about__faq-answer {
    font-size: 0.95rem;
  }

  .page-about__support-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-about__support-image {
    order: -1; /* Image appears above text on tablet */
  }

  .page-about__intro-section .page-about__text-block,
  .page-about__products-section .page-about__text-block,
  .page-about__security-section .page-about__text-block,
  .page-about__responsible-gaming-section .page-about__text-block,
  .page-about__future-section .page-about__text-block {
    text-align: center;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding-top: 0 !important; /* Force no top padding */
    padding-bottom: 30px;
  }

  .page-about__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__hero-content {
    padding: 15px;
    margin-top: 15px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: clamp(0.9rem, 3vw, 1rem);
    margin-bottom: 20px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about 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: 12px 15px;
    font-size: 1rem;
  }

  .page-about__section {
    padding: 30px 0;
  }

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

  .page-about__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 25px;
  }

  .page-about__text-block {
    font-size: 1rem;
    text-align: center;
  }

  .page-about__values-grid,
  .page-about__security-grid,
  .page-about__product-grid,
  .page-about__why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-about__card,
  .page-about__product-item,
  .page-about__why-item {
    padding: 25px;
    text-align: center;
    align-items: center;
  }

  .page-about__card-title,
  .page-about__product-title,
  .page-about__why-title {
    font-size: 1.2rem;
    text-align: center;
  }

  .page-about__product-title a {
    display: block;
  }

  .page-about__product-image {
    height: 180px;
  }

  .page-about__support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .page-about__support-image {
    order: -1; /* Image appears above text */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__support-list {
    text-align: center;
    padding-left: 0;
  }

  .page-about__responsible-list {
    padding-left: 20px;
    text-align: left;
  }

  .page-about__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-image-wrapper,
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right should be handled by .page-about__container */
  }
  
  /* LOGO轮播项必须单独设置，保持固定尺寸 (if present, here for completeness) */
  .page-about__logo-item {
    width: 80px !important; /* 固定80px，禁止使用100% */
    height: 80px !important; /* 固定80px */
    max-width: 80px !important; /* 确保不被覆盖 */
    box-sizing: border-box;
    /* 禁止设置 padding-left và padding-right, giữ nguyên lề ban đầu */
  }
}