/* Base styles for About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Light text for dark body background */
  background-color: #140C0C; /* Matches body background from shared.css */
}

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

.page-about__section {
  padding: 40px 0;
  text-align: center;
}

.page-about__dark-section {
  background-color: #2A1212; /* Card BG color for dark sections */
}

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F3C54D; /* Gold color for main titles */
  text-transform: uppercase;
}

.page-about__text-block {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.8;
}

/* Hero Section */
.page-about__hero-section {
  padding-top: 10px; /* Small top padding to avoid double spacing with body padding-top */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

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

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__main-title {
  font-size: 48px;
  font-weight: 900;
  color: #FFF1E8;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__description {
  font-size: 20px;
  color: #FFF1E8;
  margin-bottom: 30px;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: none;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
  background: #F3C54D;
  color: #2A1212;
}

/* Mission & Vision Section */
.page-about__mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
  text-align: left;
}

.page-about__mission-card {
  background-color: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
}

.page-about__mission-card .page-about__card-title {
  color: #F3C54D;
  font-size: 24px;
  margin-bottom: 15px;
}

.page-about__mission-card p {
  color: #FFF1E8;
  font-size: 16px;
}

/* Why Choose ho88 Section */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  text-align: left;
}

.page-about__feature-item {
  background-color: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
}

.page-about__feature-item .page-about__card-title {
  color: #F3C54D;
  font-size: 22px;
  margin-bottom: 10px;
}

.page-about__feature-item p {
  color: #FFF1E8;
  font-size: 16px;
}

.page-about__feature-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  object-fit: cover;
}

/* Our Values Section */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  text-align: left;
}

.page-about__value-card {
  background-color: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
}

.page-about__value-card .page-about__card-title {
  color: #F3C54D;
  font-size: 22px;
  margin-bottom: 10px;
}

.page-about__value-card p {
  color: #FFF1E8;
  font-size: 16px;
}

.page-about__values-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  object-fit: cover;
}

/* Team Section */
.page-about__team-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
}

/* History Section */
.page-about__timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 40px;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #6A1E1E;
  transform: translateX(-50%);
}

.page-about__timeline-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.page-about__timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.page-about__timeline-item .page-about__timeline-year {
  font-size: 28px;
  font-weight: bold;
  color: #F3C54D;
  width: 15%;
  text-align: center;
  flex-shrink: 0;
  margin-top: 0;
}

.page-about__timeline-item p {
  background-color: #2A1212; /* Card BG */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
  width: 40%;
  text-align: left;
  position: relative;
  color: #FFF1E8;
  font-size: 16px;
}

.page-about__timeline-item p::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 0;
  height: 0;
  border-style: solid;
}

.page-about__timeline-item:nth-child(even) p::before {
  right: -20px;
  border-width: 10px 0 10px 20px;
  border-color: transparent transparent transparent #2A1212;
}

.page-about__timeline-item:nth-child(odd) p::before {
  left: -20px;
  border-width: 10px 20px 10px 0;
  border-color: transparent #2A1212 transparent transparent;
}

.page-about__timeline-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #F3C54D;
  border: 2px solid #FFF1E8;
  transform: translateX(-50%);
  z-index: 1;
}

.page-about__history-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  object-fit: cover;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #2A1212; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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: #3A1C1C;
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF1E8;
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F3C54D;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #140C0C;
  border-radius: 0 0 10px 10px;
  color: #FFF1E8;
  text-align: left;
}

.page-about__faq-answer p {
  margin-bottom: 0;
  font-size: 16px;
}

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

.page-about__cta-bottom p {
  margin-bottom: 20px;
  font-size: 18px;
}

/* Responsive Design */
@media (max-width: 1023px) {
  .page-about__mission-content {
    grid-template-columns: 1fr;
  }
  .page-about__timeline::before {
    left: 15px;
    transform: translateX(0);
  }
  .page-about__timeline-item {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
  }
  .page-about__timeline-item:nth-child(odd) {
    flex-direction: column;
  }
  .page-about__timeline-item .page-about__timeline-year {
    width: auto;
    text-align: left;
    margin-left: 40px;
    font-size: 24px;
  }
  .page-about__timeline-item p {
    width: calc(100% - 40px);
    margin-left: 40px;
    margin-top: 10px;
  }
  .page-about__timeline-item p::before {
    display: none;
  }
  .page-about__timeline-item::after {
    left: 15px;
    top: 10px;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .page-about__section-title {
    font-size: 28px;
  }
  .page-about__main-title {
    font-size: 36px;
  }
  .page-about__description {
    font-size: 18px;
  }
  .page-about__text-block {
    font-size: 16px;
  }
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__cta-bottom .page-about__cta-button {
    margin-left: 0;
    margin-right: 0;
    display: block;
  }
  .page-about__features-grid,
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__mission-card,
  .page-about__feature-item,
  .page-about__value-card {
    padding: 20px;
  }
  .page-about__mission-card .page-about__card-title,
  .page-about__feature-item .page-about__card-title,
  .page-about__value-card .page-about__card-title {
    font-size: 20px;
  }
  .page-about__faq-qtext {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  .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;
  }
  .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: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-about__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  .page-about__timeline-item .page-about__timeline-year {
    margin-left: 30px;
  }
  .page-about__timeline-item p {
    margin-left: 30px;
    width: calc(100% - 30px);
  }
  .page-about__timeline::before {
    left: 10px;
  }
  .page-about__timeline-item::after {
    left: 10px;
  }
}

/* No homepage specific CSS blocks for game trial, promo strip, hot games, etc. */
/* This page is 'about.html', not 'index.html' */