:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-bg: #C30808;
  --login-button-bg: #C30808;
  --button-text-color: #FFFF00; /* For register/login buttons specifically */
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
}

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-text-color); /* Default text color for light backgrounds */
  background-color: var(--secondary-color); /* Body background from shared.css */
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-about__section-title--white {
  color: var(--light-text-color);
}

.page-about__sub-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-about__description {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 30px;
}

.page-about__description--white {
  color: var(--light-text-color);
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px auto;
}

.page-about__image--full-width {
  width: 100%;
}

/* HERO Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: var(--primary-color); /* Dark section background */
  color: var(--light-text-color);
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2; /* Ensure content is above image if layered */
}

.page-about__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-about__hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--light-text-color);
}

.page-about__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
}

.page-about__hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
  justify-content: center;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-register {
  background: var(--register-button-bg);
  color: var(--button-text-color);
  border: 2px solid var(--register-button-bg);
}

.page-about__btn-register:hover {
  background: #A30707; /* Darker red */
  border-color: #A30707;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__btn-login {
  background: var(--login-button-bg);
  color: var(--button-text-color);
  border: 2px solid var(--login-button-bg);
}

.page-about__btn-login:hover {
  background: #A30707; /* Darker red */
  border-color: #A30707;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Helper classes for background/text color contrast */
.page-about__dark-section {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  padding: 80px 0;
}

.page-about__light-bg {
  background-color: var(--secondary-color);
  color: var(--dark-text-color);
  padding: 80px 0;
}

/* Mission & Vision Section */
.page-about__mission-vision .page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.page-about__mission-vision .page-about__grid-item {
  text-align: center;
}

/* Values Section */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
  margin-top: 40px;
}

.page-about__value-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-about__value-icon {
  width: 200px; /* Display size 200x200 to meet minimum image size requirement */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 15px; /* Internal padding to make the graphic slightly smaller within the 200x200 frame */
}

.page-about__value-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--light-text-color);
}

.page-about__value-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* Commitment Section */
.page-about__commitment-content {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.page-about__commitment-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 30px;
}

.page-about__commitment-list li {
  background-color: #f0f0f0;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid var(--primary-color);
  border-radius: 5px;
  font-size: 17px;
  line-height: 1.7;
}

.page-about__commitment-list li strong {
  color: var(--primary-color);
}


/* Game Offerings Section */
.page-about__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__game-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-about__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency, ensures min 200px height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-about__game-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--light-text-color);
}