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

.page-about__dark-bg {
  background-color: #B71C1C; /* Deep Red background */
  color: #FFF5E1; /* Text Main for dark background */
}

.page-about__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.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);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-about__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: inherit;
}

/* 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: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.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: 1;
}

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about__main-title {
  font-size: clamp(28px, 4.5vw, 50px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFF5E1; /* Text Main for dark background */
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__intro-text {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #FFCC66; /* Gold color for intro text */
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red for button text */
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--secondary {
  background: #C91F17; /* Main color */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F4D34D; /* Gold border */
}

.page-about__cta-button--secondary:hover {
  background: #E53935; /* Auxiliary color */
  border-color: #FFCC66; /* Glow color */
}

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

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

.page-about__text-block {
  flex: 1;
  font-size: 17px;
  line-height: 1.8;
}

.page-about__text-block h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #C91F17;
}

.page-about__text-block p {
  margin-bottom: 15px;
}

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

.page-about__image-block img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-about__game-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF5E1; /* Text Main */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-about__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD86A; /* Gold-like for title */
}

.page-about__card-title a {
  color: #FFD86A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__card-title a:hover {
  color: #FFCC66;
}

.page-about__game-card p {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__card-link {
  display: inline-block;
  background: #E53935; /* Auxiliary color */
  color: #FFF5E1; /* Text Main */
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 1px solid #F4D34D;
}

.page-about__card-link:hover {
  background: #C91F17; /* Main color */
  border-color: #FFCC66;
}

/* Why Choose Us Section */
.page-about__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-about__feature-item {
  background-color: #ffffff;
  border: 1px solid #F2B544; /* Border color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-about__feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #C91F17; /* Main color */
}

.page-about__feature-item p {
  font-size: 16px;
  color: #555555;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544; /* Border color */
  overflow: hidden;
  background: #fff;
}

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #C91F17; /* Main color */
  font-weight: bold;
}

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

details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #fff5e1; /* Light hover background */
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Darker text for question */
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #E53935; /* Auxiliary color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

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

/* Bottom CTA Section */
.page-about__cta-bottom-section {
  padding: 80px 20px;
  text-align: center;
}

.page-about__cta-bottom-section .page-about__section-title {
  color: #FFF5E1;
}

.page-about__cta-bottom-section .page-about__section-description {
  color: #FFCC66;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__container {
    padding: 30px 15px;
  }
  .page-about__content-grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__content-grid--reverse {
    flex-direction: column;
  }
  .page-about__hero-image img {
    border-radius: 6px;
  }
  .page-about__image-block img {
    border-radius: 8px;
  }
  .page-about__game-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-about__feature-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__main-title {
    font-size: clamp(24px, 7vw, 40px);
    margin-bottom: 15px;
  }
  .page-about__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-about__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-about__text-block {
    font-size: 16px;
  }
  .page-about__text-block h3 {
    font-size: 20px;
  }
  .page-about__image-block img {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__game-card {
    padding: 25px;
  }
  .page-about__card-title {
    font-size: 20px;
  }
  .page-about__game-card p {
    font-size: 15px;
  }
  .page-about__feature-title {
    font-size: 20px;
  }
  .page-about__feature-item p {
    font-size: 15px;
  }
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-qtext {
    font-size: 15px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }
  .page-about__cta-bottom-section {
    padding: 60px 15px;
  }
  /* All images responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    padding-bottom: 30px;
  }
  .page-about__hero-image img {
    border-radius: 4px;
  }
  .page-about__game-cards {
    grid-template-columns: 1fr;
  }
  .page-about__feature-list {
    grid-template-columns: 1fr;
  }
  .page-about__cta-bottom-section {
    padding: 40px 15px;
  }
}