/* style/about.css */

/* Biến màu sắc */
:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f8f8f8;
  --background-dark: #0A2463;
}

/* Base styles for the page content */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: transparent; /* Body background is #000 from shared.css */
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color); /* Gold color for main titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-about__hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a7a 100%);
  padding: 100px 20px 80px;
  text-align: center;
  color: var(--text-light);
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-about__hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color); /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-about__hero-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 22px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-about__hero-cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__introduction-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background */
  color: var(--text-light);
}

.page-about__introduction-section p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: var(--background-light); /* Light background for contrast */
  color: var(--text-dark);
}

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-about__card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
  border: 1px solid #e0e0e0;
}

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

.page-about__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-about__card p {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

.page-about__values-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-about__value-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__value-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.page-about__value-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-about__value-item p {
  font-size: 16px;
  color: #f0f0f0;
}

.page-about__why-choose-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: var(--text-light);
}

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

.page-about__feature-item {
  text-align: center;
  background-color: #1a1a1a; /* Darker background for features */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
}

.page-about__feature-item img {
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-about__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

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

.page-about__game-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    text-align: left;
}

.page-about__game-list li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #e0e0e0;
    position: relative;
    padding-left: 20px;
}

.page-about__game-list li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-about__game-list li a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__game-list li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-about__btn-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-about__btn-link:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-about__responsible-gaming-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

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

.page-about__responsible-gaming-content p {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-about__responsible-gaming-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
  font-size: 17px;
  color: #f0f0f0;
}

.page-about__responsible-gaming-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-about__responsible-gaming-list li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
}

.page-about__technology-security-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: var(--text-light);
}

.page-about__technology-security-section p {
  font-size: 18px;
  margin-bottom: 25px;
  text-align: justify;
}

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

.page-about__tech-security-item {
  background-color: #1a1a1a;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #e0e0e0;
  text-align: center;
}

.page-about__tech-security-item .page-about__card-title {
  color: var(--secondary-color);
  font-size: 20px;
}

.page-about__tech-security-item p {
  font-size: 15px;
  line-height: 1.7;
  color: #cccccc;
}

.page-about__customer-support-section {
  padding: 80px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
  text-align: center;
}

.page-about__customer-support-section p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #555555;
}

.page-about__support-channels {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  font-size: 17px;
  color: var(--text-dark);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-about__support-channels li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-about__support-channels li strong {
  color: var(--primary-color);
}

.page-about__support-channels li::before {
  content: '•';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
}

.page-about__btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-about__btn-primary:hover {
  background: #071b4a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-about__community-future-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: var(--text-light);
}

.page-about__community-future-section p {
  font-size: 18px;
  margin-bottom: 25px;
  text-align: justify;
}

.page-about__final-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a7a 100%);
  color: var(--text-light);
  text-align: center;
}

.page-about__final-cta-section .page-about__section-title {
  color: var(--secondary-color);
}

.page-about__final-cta-section p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  color: var(--secondary-color);
  text-decoration: none;
  border: 2px solid var(--secondary-color);
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.page-about__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

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

  .page-about__hero-section {
    padding: 80px 15px 60px;
    min-height: auto;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

  .page-about__hero-title {
    font-size: 36px;
  }

  .page-about__hero-description {
    font-size: 18px;
  }

  .page-about__hero-cta-button {
    padding: 12px 30px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-about__introduction-section,
  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__why-choose-section,
  .page-about__responsible-gaming-section,
  .page-about__technology-security-section,
  .page-about__customer-support-section,
  .page-about__community-future-section,
  .page-about__final-cta-section {
    padding: 60px 0;
  }

  .page-about__introduction-section p,
  .page-about__mission-vision-section p,
  .page-about__values-item p,
  .page-about__why-choose-section p,
  .page-about__responsible-gaming-content p,
  .page-about__technology-security-section p,
  .page-about__customer-support-section p,
  .page-about__community-future-section p,
  .page-about__final-cta-section p {
    font-size: 16px;
  }

  .page-about__mission-vision-grid,
  .page-about__values-grid,
  .page-about__features-grid,
  .page-about__tech-security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card,
  .page-about__feature-item,
  .page-about__value-item,
  .page-about__tech-security-item {
    padding: 25px;
  }

  .page-about__card-title,
  .page-about__feature-title,
  .page-about__value-title {
    font-size: 20px;
  }

  .page-about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0;
  }

  .page-about__responsible-gaming-list,
  .page-about__support-channels {
    padding: 0 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
  }

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

  /* Ensure all images and containers adapt to mobile */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !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; This is handled by .page-about__container */
  }
}

/* Color contrast fixes based on body background #000 (dark) */
.page-about__dark-section {
  background: var(--background-dark); /* #0A2463 */
  color: var(--text-light); /* #ffffff */
}

.page-about__light-bg {
  background: var(--background-light); /* #f8f8f8 */
  color: var(--text-dark); /* #333333 */
}

.page-about__light-bg .page-about__section-title {
  color: var(--primary-color); /* Dark blue title on light background */
}

.page-about__light-bg .page-about__section-title::after {
  background-color: var(--primary-color);
}

.page-about__light-bg .page-about__card-title {
  color: var(--primary-color);
}

.page-about__light-bg .page-about__card p {
  color: #555555;
}

.page-about__light-bg .page-about__support-channels li strong {
  color: var(--primary-color);
}

.page-about__light-bg .page-about__support-channels li::before {
  color: var(--primary-color);
}

.page-about__light-bg .page-about__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-about__light-bg .page-about__btn-primary:hover {
  background: #071b4a;
}

.page-about__dark-section .page-about__btn-link {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-about__dark-section .page-about__btn-link:hover {
  background-color: #e6c200;
  color: var(--primary-color);
}

.page-about__introduction-section .page-about__section-title,
.page-about__why-choose-section .page-about__section-title,
.page-about__community-future-section .page-about__section-title {
  color: var(--secondary-color);
}

.page-about__introduction-section .page-about__section-title::after,
.page-about__why-choose-section .page-about__section-title::after,
.page-about__community-future-section .page-about__section-title::after {
  background-color: var(--secondary-color);
}