.page-about {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
  padding-top: 10px; /* Small top padding for the first section, relying on body padding-top for header offset */
}

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

.page-about__section-spacing {
  padding: 60px 0;
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-about__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.page-about__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.page-about__hero-content {
  padding: 20px;
  max-width: 900px;
}

.page-about__main-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-about__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-about__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
  border: none;
}

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-about__section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #FF8C1A;
  position: relative;
  padding-bottom: 10px;
}

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

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__text-content p {
  margin-bottom: 15px;
  color: #FFF3E6;
}

.page-about__image-wrapper {
  text-align: center;
}

.page-about__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  filter: none; /* Ensure no filter changes image color */
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-about__feature-card {
  background-color: #17191F;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
  transition: transform 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
}

.page-about__feature-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  filter: none; /* Ensure no filter changes image color */
}

.page-about__card-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFB04D;
}

.page-about__responsible-gaming-section .page-about__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-about__responsible-gaming-section .page-about__content-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  filter: none; /* Ensure no filter changes image color */
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-about__cta-content {
  text-align: center;
  background-color: #17191F;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid #A84F0C;
}

.page-about__cta-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #FF8C1A;
}

.page-about__cta-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-about__cta-button--large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-about__content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-about__responsible-gaming-section .page-about__content-wrapper {
    flex-direction: row;
  }
  .page-about__responsible-gaming-section .page-about__content-wrapper .page-about__text-content {
    text-align: left;
  }
  .page-about__responsible-gaming-section .page-about__content-wrapper img {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-image-wrapper img,
  .page-about__image-wrapper img,
  .page-about__feature-card img,
  .page-about__responsible-gaming-section .page-about__content-wrapper img {
    max-width: 100%;
    height: auto;
  }
  .page-about__hero-content {
    padding: 15px;
  }
  .page-about__section-spacing {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__section-title {
    margin-bottom: 30px;
  }
  .page-about__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-about__responsible-gaming-section .page-about__content-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 549px) {
  .page-about__main-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  .page-about__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }
  .page-about__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
  .page-about__card-title {
    font-size: 1.2rem;
  }
  .page-about__cta-title {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
  }
  .page-about__cta-description {
    font-size: 1rem;
  }
  .page-about__cta-button--large {
    padding: 12px 30px;
    font-size: 1rem;
  }
}