/* style/about.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại tại đây */

:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --page-bg: #F4F7FB;
  --text-main: #1F2D3D;
  --text-black: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

.page-about {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--page-bg);
  line-height: 1.6;
}

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

.page-about__container--flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--text-black);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--text-black);
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.page-about__text-block {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--text-main);
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--primary-color);
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  position: relative;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim image for text readability */
}

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-size: clamp(32px, 5vw, 56px); /* Use clamp for responsive H1 */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__description {
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 30px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.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: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-about__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
}

/* Intro Section */
.page-about__intro-section {
  padding: 80px 0;
  background-color: var(--page-bg);
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-about__mission-vision-section .page-about__sub-title {
  color: #ffffff;
}

.page-about__mission-vision-section .page-about__text-block {
  color: #ffffff;
}

.page-about__image-block {
  flex: 1;
  min-width: 300px;
}

.page-about__content-block {
  flex: 1;
  min-width: 300px;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: var(--page-bg);
}

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

.page-about__feature-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-about__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 15px;
  color: var(--text-main);
}

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

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
  padding: 80px 0;
  background-color: var(--page-bg);
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: var(--page-bg);
}

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

.page-about__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__faq-item details > summary {
  list-style: none;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-black);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #f0f0f0;
}

.page-about__faq-item[open] .page-about__faq-question {
  background-color: var(--secondary-color);
  color: #ffffff;
  border-bottom-color: transparent;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  color: #ffffff;
}

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

.page-about__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  font-weight: 700;
  color: var(--primary-color);
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.6;
}

.page-about__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Bottom CTA Section */
.page-about__cta-bottom-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: #ffffff;
  text-align: center;
}

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

.page-about__cta-bottom-section .page-about__text-block {
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__container--flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__hero-content {
    max-width: 80%;
  }

  .page-about__hero-image {
    filter: brightness(0.6);
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px;
  }

  .page-about__hero-section {
    padding-bottom: 40px;
  }

  .page-about__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 20px 15px;
    margin-top: -100px; /* Pull content up over image a bit for better visibility */
  }

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

  .page-about__main-title {
    font-size: 32px; /* Fixed size for mobile to avoid being too large */
  }

  .page-about__description {
    font-size: 16px;
  }

  .page-about__section-title {
    font-size: 28px;
  }

  .page-about__sub-title {
    font-size: 24px;
  }

  .page-about__intro-section,
  .page-about__mission-vision-section,
  .page-about__why-choose-us-section,
  .page-about__responsible-gaming-section,
  .page-about__faq-section,
  .page-about__cta-bottom-section {
    padding: 40px 0;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-about__container--reverse-mobile {
    flex-direction: column-reverse;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-image-wrapper,
  .page-about__image-block,
  .page-about__feature-card,
  .page-about__container,
  .page-about__section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

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

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

  .page-about__description {
    font-size: 15px;
  }

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

  .page-about__sub-title {
    font-size: 22px;
  }
}