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

.page-about__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  padding-bottom: 40px;
  text-align: center;
  background-color: #f5f5f5;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
}

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

.page-about__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-about__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #1e87c0;
}

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

.page-about__btn-link:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-about__section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-about__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

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

.page-about__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-about__sub-title {
  font-size: clamp(1.4em, 2.8vw, 2em);
  color: #333333;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-about__text-block {
  font-size: 1.05em;
  color: #555555;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
  object-fit: cover;
}

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

.page-about__card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-about__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__card-text {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
}

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

.page-about__game-categories .page-about__card {
  text-align: center;
}

.page-about__game-categories .page-about__card .page-about__card-title {
  margin-top: 15px;
}

.page-about__game-categories .page-about__card .page-about__btn {
  margin-top: 20px;
}

.page-about__cta-final {
  padding: 80px 0;
  text-align: center;
}

.page-about__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 60px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-about__dark-section .page-about__section-title {
  color: #FFFFFF;
}

.page-about__dark-section .page-about__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__dark-section .page-about__hero-cta {
  margin-top: 40px;
}

.page-about__dark-section .page-about__btn-primary {
  background-color: #EA7C07; /* Login color for CTA */
  border-color: #EA7C07;
}

.page-about__dark-section .page-about__btn-primary:hover {
  background-color: #d16e07;
  border-color: #d16e07;
}

.page-about__dark-section .page-about__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #FFFFFF;
}

.page-about__dark-section .page-about__btn-secondary:hover {
  background-color: #e0e0e0;
  border-color: #e0e0e0;
}

/* --- Responsive Styles --- */

/* Mobile-specific styles for .page-about img */
@media (max-width: 768px) {
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important; /* Allow smaller images on mobile if needed */
    min-height: unset !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__dark-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 20px;
  }

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

  .page-about__main-title {
    font-size: 1.8em; /* Adjust font size for mobile */
    margin-bottom: 10px;
  }

  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-about__hero-cta {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-about__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px; /* Add padding to prevent text overflow */
    padding-right: 15px;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 1.6em;
    margin-bottom: 25px;
  }

  .page-about__sub-title {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-about__text-block {
    font-size: 0.95em;
    margin-bottom: 15px;
  }

  .page-about__value-cards, .page-about__game-categories {
    grid-template-columns: 1fr; /* Single column layout for cards */
    gap: 20px;
  }

  .page-about__card {
    padding: 20px;
  }

  .page-about__card-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .page-about__card-text {
    font-size: 0.9em;
  }

  .page-about__cta-final {
    padding: 50px 0;
  }

  .page-about__dark-section {
    padding: 40px 20px;
  }
}

/* Desktop-specific styles for .page-about img */
@media (min-width: 769px) {
  .page-about img {
    min-width: 200px;
    min-height: 200px;
  }
}