.page-about {
  color: #ffffff; /* Dark body background (#121212) requires light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%);
  color: #ffffff;
  overflow: hidden;
}

.page-about__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
}

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

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.2;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%);
}

.page-about__section {
  padding: 60px 20px;
  text-align: center;
}

.page-about__dark-section {
  background-color: #1a1a1a; /* Dark background for contrast */
  color: #ffffff;
}

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

.page-about__heading {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #FFD700;
  font-weight: bold;
}

.page-about__heading--white {
  color: #ffffff;
}

.page-about__sub-heading {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #FFD700;
  font-weight: bold;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for dark body background */
}

.page-about__paragraph--white {
  color: #ffffff;
}

.page-about__card-grid,
.page-about__feature-grid,
.page-about__game-grid,
.page-about__support-grid,
.page-about__info-grid,
.page-about__reason-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-about__card-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-about__card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark body */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #ffffff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-about__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__card-text {
  color: #f0f0f0;
}

.page-about__list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.page-about__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #f0f0f0;
}

.page-about__list-item::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-about__image-left {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__text-right {
  flex: 1;
  max-width: 50%;
}

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

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark body */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about__feature-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-about__feature-text {
  color: #f0f0f0;
}

.page-about__game-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-about__game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-about__game-image {
  width: 100%;\  height: 200px; /* Consistent height for game images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-about__game-title {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-about__game-title a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-about__game-title a:hover {
  text-decoration: underline;
}

.page-about__game-description {
  color: #f0f0f0;
  font-size: 0.95em;
}

.page-about__cta-section {
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(90deg, #FFD700 0%, #8B0000 100%);
  border-radius: 10px;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__cta-section .page-about__paragraph {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-about__btn-primary {
  background-color: #FFD700;
  color: #121212; /* Dark text for primary button on light background */
  border: 2px solid #FFD700;
}

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

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-about__btn-secondary:hover {
  background-color: #FFD700;
  color: #121212;
}

.page-about__support-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-about__support-card {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark body */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__support-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-about__support-text {
  color: #f0f0f0;
}

.page-about__info-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-about__info-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-about__info-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__info-text {
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-about__text-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

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

.page-about__reason-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-about__reason-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-about__reason-title {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-about__reason-text {
  color: #f0f0f0;
}

.page-about__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-about__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__faq-title {
  font-size: 1.2em;
  color: #FFD700;
  margin: 0;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 25px;
}

/* General image styling */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-about__hero-title {
    font-size: 2.2em;
  }

  .page-about__hero-description {
    font-size: 1em;
  }

  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-about__heading {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-about__sub-heading {
    font-size: 1.5em;
  }

  .page-about__paragraph {
    font-size: 0.95em;
  }

  .page-about__card-grid,
  .page-about__feature-grid,
  .page-about__game-grid,
  .page-about__support-grid,
  .page-about__info-grid,
  .page-about__reason-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__image-text-layout {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__image-left,
  .page-about__text-right {
    max-width: 100%;
    width: 100%;
  }

  .page-about__image-left {
    height: auto; /* Ensure image scales correctly */
  }

  .page-about__cta-section {
    padding: 30px 20px;
  }

  .page-about__cta-section .page-about__paragraph {
    font-size: 1.1em;
  }

  /* Mobile specific image/video/container rules */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__cta-section,
  .page-about__game-card,
  .page-about__support-card,
  .page-about__info-card,
  .page-about__reason-item,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-about__hero-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-about__game-image {
    height: auto; /* Allow game images to scale */
  }

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

  .page-about__faq-answer {
    padding: 0 20px;
  }

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px;
  }
}