.page-about {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Sẽ được điều chỉnh bởi hệ thống màu thông minh nếu cần */
  background-color: #1a1a1a; /* Màu nền body từ shared.css */
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
  color: #ffffff;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-about__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

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

.page-about__section-title {
  font-size: 2.8em;
  color: #FF0000;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
  font-weight: bold;
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #cccccc;
  line-height: 1.6;
}

.page-about__sub-title {
  font-size: 2em;
  color: #FF0000;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-about__text-block p {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #cccccc;
}

.page-about__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-about__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.page-about__why-choose-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-about__card-title {
  font-size: 1.8em;
  color: #FF0000;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__feature-card p {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-about__feature-list {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.page-about__feature-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #e0e0e0;
  font-size: 0.95em;
}

.page-about__feature-list li::before {
  content: '✓';
  color: #FF0000;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__responsible-gaming-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-about__responsible-gaming-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__responsible-gaming-content .page-about__text-block {
  flex: 1;
}

.page-about__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-about__image-wrapper .page-about__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__technology-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-about__tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-about__tech-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__tech-title {
  font-size: 1.8em;
  color: #FF0000;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__tech-item p {
  color: #cccccc;
  line-height: 1.6;
}

.page-about__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-about__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-about__faq-toggle {
  font-size: 1.5em;
  color: #FF0000;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Đủ lớn để chứa mọi nội dung */
  padding: 15px 25px 25px 25px;
}

.page-about__faq-answer p {
  color: #cccccc;
  line-height: 1.6;
  font-size: 1em;
}

.page-about__cta-section {
  padding: 80px 0;
  background-color: #FF0000;
  text-align: center;
  color: #ffffff;
}

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

.page-about__cta-section .page-about__section-description {
  color: #f0f0f0;
}

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

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

.page-about__btn-primary {
  background-color: #000000;
  color: #ffffff;
  border: 2px solid #000000;
}

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

.page-about__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-about__btn-secondary:hover {
  background-color: #ffffff;
  color: #FF0000;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__sub-title,
  .page-about__card-title,
  .page-about__tech-title {
    font-size: 1.5em;
  }
  .page-about__grid-two-columns,
  .page-about__responsible-gaming-content {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .page-about__responsible-gaming-content .page-about__image-wrapper {
    order: -1; /* Đẩy hình ảnh lên trên trên mobile */
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 15px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }
  .page-about__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-about__sub-title,
  .page-about__card-title,
  .page-about__tech-title {
    font-size: 1.3em;
  }
  .page-about__mission-vision-section,
  .page-about__why-choose-section,
  .page-about__responsible-gaming-section,
  .page-about__technology-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 40px 0;
  }
  .page-about__feature-card,
  .page-about__tech-item {
    padding: 20px;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__hero-image-wrapper,
  .page-about__image-wrapper,
  .page-about__image-full-width,
  .page-about__card-image,
  .page-about__container,
  .page-about__hero-content,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__faq-question {
    font-size: 1em;
  }
}