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

.page-about__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 60px;
  background-color: #0A2463; /* Dark blue background for hero */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-about__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E3B23C; /* Gold accent for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-about__button--primary {
  background-color: #E3B23C; /* Gold */
  color: #0A2463; /* Dark blue */
  border: 2px solid #E3B23C;
}

.page-about__button--primary:hover {
  background-color: #f0c55a;
  transform: translateY(-2px);
}

.page-about__button--secondary {
  background-color: transparent;
  color: #E3B23C; /* Gold */
  border: 2px solid #E3B23C;
}

.page-about__button--secondary:hover {
  background-color: rgba(227, 178, 60, 0.1);
  transform: translateY(-2px);
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.page-about__section {
  padding: 80px 20px;
}

.page-about__section--dark {
  background-color: #0A2463;
  color: #ffffff;
}

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

.page-about__section-title {
  font-size: 2.8em;
  color: #0A2463;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.page-about__section--dark .page-about__section-title {
  color: #E3B23C;
}

.page-about__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__image {
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  width: 100%; /* Default to full width for responsiveness */
  height: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* Ensure content area images are not smaller than 200px */
.page-about img {
  min-width: 200px;
  min-height: 200px;
  width: auto;
  height: auto;
}

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

.page-about__value-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__section--dark .page-about__value-card {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

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

.page-about__value-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-about__section--dark .page-about__value-title {
  color: #E3B23C;
}

.page-about__value-text {
  font-size: 1em;
  color: #555555;
}

.page-about__section--dark .page-about__value-text {
  color: #cccccc;
}

.page-about__why-choose-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-about__why-choose-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__why-choose-heading {
  font-size: 1.6em;
  color: #E3B23C;
  margin-bottom: 10px;
}

.page-about__why-choose-description {
  font-size: 1em;
  color: #cccccc;
}

.page-about__responsible-gaming-section .page-about__button {
  margin-top: 30px;
}

.page-about__join-us-section {
  text-align: center;
  padding: 100px 20px;
}

.page-about__join-us-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section {
    padding: 60px 15px;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__text {
    font-size: 1em;
  }
  .page-about__values-grid,
  .page-about__why-choose-list {
    grid-template-columns: 1fr;
  }
  .page-about__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__hero-actions,
  .page-about__join-us-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area images are not smaller than 200px in mobile */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-about {
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__hero-container {
    padding: 30px 15px;
  }
  .page-about__value-title,
  .page-about__why-choose-heading {
    font-size: 1.4em;
  }
}