.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8;
}

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

/* Hero Section */
.page-about__hero-section {
  padding: 80px 20px 60px;
  text-align: center;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); /* Gold gradient */
  color: #333333;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-about__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #8B0000; /* Dark red for contrast */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.page-about__intro-text {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333333;
}

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

.page-about__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-about__btn-primary {
  background: #8B0000; /* Auxiliary color */
  color: #ffffff;
}

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

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

.page-about__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* General Section Styles */
.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #8B0000;
  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: #FFD700;
  border-radius: 2px;
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555555;
}

/* Card Styles */
.page-about__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

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

.page-about__card-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #8B0000;
}

.page-about__card-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

.page-about__card-image, .page-about__feature-icon, .page-about__game-image, .page-about__member-photo {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: #8B0000; /* Auxiliary color as background */
  color: #ffffff;
}

.page-about__mission-vision-section .page-about__section-title {
  color: #FFD700;
}

.page-about__mission-vision-section .page-about__section-title::after {
  background: #ffffff;
}

.page-about__mission-vision-section .page-about__card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__mission-vision-section .page-about__card-title {
  color: #FFD700;
}

.page-about__mission-vision-section .page-about__card-text {
  color: #f0f0f0;
}

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

/* Why Choose Us Section */
.page-about__why-choose-us {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.page-about__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-about__feature-description {
  font-size: 0.95em;
  color: #555555;
}

.page-about__feature-description a {
  color: #8B0000;
  text-decoration: underline;
}

.page-about__feature-description a:hover {
  color: #FFD700;
}

/* Games Overview Section */
.page-about__games-overview {
  padding: 80px 0;
  background-color: #8B0000;
  color: #ffffff;
}

.page-about__games-overview .page-about__section-title {
  color: #FFD700;
}

.page-about__games-overview .page-about__section-title::after {
  background: #ffffff;
}

.page-about__games-overview .page-about__section-description {
  color: #f0f0f0;
}

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

.page-about__game-card {
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__game-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-about__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 20px;
  box-shadow: none;
}

.page-about__game-card .page-about__card-title {
  color: #FFD700;
  margin-top: 0;
}

.page-about__game-card .page-about__card-text {
  color: #f0f0f0;
}

/* Team & Expertise Section */
.page-about__team-expertise {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-about__member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #FFD700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__member-name {
  font-size: 1.6em;
  font-weight: 600;
  color: #8B0000;
  margin-top: 15px;
  margin-bottom: 5px;
}

.page-about__member-role {
  font-size: 0.95em;
  color: #666666;
}

/* CTA Section */
.page-about__cta-section {
  padding: 80px 0;
  background-color: #FFD700; /* Main brand color as background */
  color: #333333;
  text-align: center;
}

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

.page-about__cta-section .page-about__section-title::after {
  background: #8B0000;
}

.page-about__cta-section .page-about__section-description {
  color: #333333;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }

  .page-about__section-title {
    font-size: 2.2em;
  }

  .page-about__content-grid {
    grid-template-columns: 1fr;
  }

  .page-about__game-categories {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 15px 40px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-about__main-title {
    font-size: 2.2em;
  }

  .page-about__intro-text {
    font-size: 1.1em;
  }

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

  .page-about__cta-button {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-about__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-about__mission-vision-section, .page-about__why-choose-us, .page-about__games-overview, .page-about__team-expertise, .page-about__cta-section {
    padding: 60px 0;
  }

  .page-about__card {
    padding: 25px;
  }
  
  /* Mobile image adaptation */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__container, .page-about__content-grid, .page-about__features-grid, .page-about__game-categories, .page-about__team-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about__game-image {
    height: 150px;
  }
}

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

  .page-about__intro-text {
    font-size: 0.95em;
  }

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

  .page-about__card-title {
    font-size: 1.4em;
  }

  .page-about__feature-title {
    font-size: 1.3em;
  }
}