/* style/about.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần thêm */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Mặc định cho nền tối của body */
  background-color: #000000; /* Body background */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  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;
  filter: brightness(0.5); /* Giảm độ sáng để chữ dễ đọc hơn trên nền ảnh */
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-about__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-group {
  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: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  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: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

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

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

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

.page-about__text-block {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.page-about__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

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

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__feature-title,
.page-about__light-bg .page-about__game-title,
.page-about__light-bg .page-about__security-title,
.page-about__light-bg .page-about__promo-title,
.page-about__light-bg .page-about__support-title,
.page-about__light-bg .page-about__responsibility-title {
  color: #26A9E0;
}

.page-about__feature-grid,
.page-about__game-grid,
.page-about__security-features,
.page-about__promo-list,
.page-about__support-channels,
.page-about__responsibility-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-about__feature-item,
.page-about__security-item,
.page-about__promo-item,
.page-about__support-item,
.page-about__responsibility-item {
  background-color: rgba(255, 255, 255, 0.1); /* Light background for dark sections */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__light-bg .page-about__feature-item,
.page-about__light-bg .page-about__security-item,
.page-about__light-bg .page-about__promo-item,
.page-about__light-bg .page-about__support-item,
.page-about__light-bg .page-about__responsibility-item {
  background-color: #f8f9fa;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__feature-title,
.page-about__security-title,
.page-about__promo-title,
.page-about__support-title,
.page-about__responsibility-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-about__game-card {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__game-card p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__game-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__btn-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #EA7C07; /* Login color for action */
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-link:hover {
  background-color: #c96806;
}

.page-about__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
  display: block;
}

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

.page-about__join-us .page-about__cta-group {
  margin-top: 50px;
}

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

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  
  .page-about__main-title {
    font-size: 2.2rem;
  }

  .page-about__description {
    font-size: 1rem;
  }

  .page-about__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section {
    padding: 40px 15px;
  }

  .page-about__section-title {
    font-size: 1.8rem;
  }

  .page-about__text-block {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-about__feature-grid,
  .page-about__game-grid,
  .page-about__security-features,
  .page-about__promo-list,
  .page-about__support-channels,
  .page-about__responsibility-items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__image-full-width,
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-about__container,
  .page-about__feature-item,
  .page-about__game-card,
  .page-about__security-item,
  .page-about__promo-item,
  .page-about__support-item,
  .page-about__responsibility-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-image {
    filter: brightness(0.4); /* Tối hơn nữa trên di động */
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8rem;
  }

  .page-about__section-title {
    font-size: 1.5rem;
  }

  .page-about__feature-title,
  .page-about__game-title,
  .page-about__security-title,
  .page-about__promo-title,
  .page-about__support-title,
  .page-about__responsibility-title {
    font-size: 1.3rem;
  }
}