:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* General Page Styling */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Light text on dark background */
  background-color: var(--background);
}

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

.page-about__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__section-description {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  border: none;
}

.page-about__cta-button:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--glow-color);
}

.page-about__cta-button.--secondary {
  background: none;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.page-about__cta-button.--secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: none;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background-color: var(--deep-green);
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

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

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__lead-text {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Content Grid Sections */
.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.page-about__content-grid.--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-secondary);
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* List Styling */
.page-about__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__list li {
  background: var(--card-bg);
  border-left: 5px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 17px;
  color: var(--text-main);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__list li strong {
  color: var(--glow-color);
}

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

.page-about__card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-secondary);
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.page-about__card-title {
  font-size: 24px;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

/* Games Section */
.page-about__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-about__game-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

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

.page-about__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__game-title {
  font-size: 22px;
  color: var(--text-main);
  margin-bottom: 10px;
  padding: 0 15px;
  text-align: center;
}

.page-about__game-card p {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__game-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-about__game-button:hover {
  opacity: 0.9;
  box-shadow: 0 0 10px var(--glow-color);
}

.page-about__cta-bottom {
  text-align: center;
  margin-top: 20px;
}

/* FAQ Section */
.page-about__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-about__faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-about__faq-item details > summary {
  list-style: none;
}

.page-about__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  background: var(--deep-green);
  color: var(--text-main);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: var(--primary-color);
}

.page-about__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider-color);
}

.page-about__faq-answer p {
  margin-bottom: 10px;
}

.page-about__faq-link {
  color: var(--glow-color);
  text-decoration: none;
  font-weight: bold;
}

.page-about__faq-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__content-grid {
    flex-direction: column;
  }

  .page-about__content-grid.--reverse {
    flex-direction: column;
  }

  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }

  .page-about__lead-text {
    font-size: clamp(15px, 2.2vw, 18px);
  }

  .page-about__card-image, .page-about__game-image {
    height: auto; /* Allow height to adjust */
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 20px 15px;
  }

  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-about__main-title {
    font-size: clamp(26px, 7vw, 38px);
    margin-bottom: 15px;
  }

  .page-about__lead-text {
    font-size: clamp(14px, 3.5vw, 16px);
    margin-bottom: 25px;
  }

  .page-about__section-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 30px;
  }

  .page-about__sub-title {
    font-size: clamp(20px, 5vw, 26px);
  }

  .page-about__cta-button,
  .page-about__game-button,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    margin-bottom: 10px; /* For stacked buttons */
  }

  .page-about__cta-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .page-about__commitment-grid,
  .page-about__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card-image,
  .page-about__game-image,
  .page-about__hero-image,
  .page-about__content-image,
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__image-block,
  .page-about__text-block,
  .page-about__card,
  .page-about__game-card,
  .page-about__faq-item,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    font-size: 15px;
    padding: 15px 20px;
  }
}