.page-about {
  color: #ffffff; /* Body background is #000000 (dark), so text should be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-about__dark-bg {
  background-color: #000000; /* Main background from shared.css */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

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

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

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

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

.page-about__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: -200px; /* Pull content up over the image for visual effect, but not overlapping text */
  color: #ffffff;
}

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

.page-about__intro-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #26A9E0;
}

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

.page-about__values-section,
.page-about__ecosystem-section,
.page-about__tech-security-section,
.page-about__promotions-support-section,
.page-about__cta-section {
  padding: 80px 0;
}

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

.page-about__value-card,
.page-about__game-card,
.page-about__tech-item,
.page-about__promo-card,
.page-about__support-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.page-about__value-card:hover,
.page-about__game-card:hover,
.page-about__tech-item:hover,
.page-about__promo-card:hover,
.page-about__support-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-about__value-image,
.page-about__game-image,
.page-about__tech-image,
.page-about__promo-image,
.page-about__support-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 20px auto;
  display: block;
  object-fit: cover;
}

.page-about__value-title,
.page-about__game-title,
.page-about__tech-title,
.page-about__promo-title,
.page-about__support-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-about__value-text,
.page-about__game-text,
.page-about__tech-text,
.page-about__promo-text,
.page-about__support-text {
  font-size: 1rem;
  color: #e0e0e0;
  flex-grow: 1;
}

.page-about__btn-link {
  margin-top: 20px;
  background-color: #EA7C07; /* Login color for action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-about__promotions-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-about__cta-content {
  text-align: center;
  max-width: 900px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__hero-content {
    margin-top: -150px;
  }
}

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

  .page-about__hero-content {
    margin-top: -100px;
    padding: 15px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .page-about__intro-text {
    font-size: 1rem;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .page-about__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-about__values-section,
  .page-about__ecosystem-section,
  .page-about__tech-security-section,
  .page-about__promotions-support-section,
  .page-about__cta-section {
    padding: 50px 0;
  }

  .page-about__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__values-grid,
  .page-about__games-grid,
  .page-about__tech-grid,
  .page-about__promotions-support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__value-card,
  .page-about__game-card,
  .page-about__tech-item,
  .page-about__promo-card,
  .page-about__support-card {
    padding: 25px;
  }

  .page-about__value-image,
  .page-about__game-image,
  .page-about__tech-image,
  .page-about__promo-image,
  .page-about__support-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all images and their containers are responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper,
  .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;
    overflow: hidden !important;
  }

  .page-about__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-about__hero-content {
    margin-top: -80px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }

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

  .page-about__section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }
}