/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main color */
  background-color: #0A0A0A; /* Background color */
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #111111; /* Card BG color for background */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to bring content slightly over image bottom */
  background: rgba(17, 17, 17, 0.85); /* Slightly transparent Card BG */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border color */
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: bold;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-about__intro-text {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

/* Section Titles */
.page-about__section-title {
  font-size: 2.5em;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #FFF6D6;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-about__paragraph-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 15px;
}

/* Buttons */
.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

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

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for bright button */
  border: 2px solid #F2C14E;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #FFE89C 0%, #F2C14E 100%);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-about__btn-secondary {
  background: #111111; /* Card BG color */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E;
}

.page-about__btn-secondary:hover {
  background: #222222;
  color: #FFD36B;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-about__btn-large {
  min-width: 200px;
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Feature Grid */
.page-about__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding-bottom: 60px;
}

.page-about__feature-card {
  background: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(242, 193, 78, 0.2);
}

.page-about__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

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

.page-about__feature-text {
  color: #FFF6D6;
  font-size: 0.95em;
}

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

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

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

.page-about__content-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-about__game-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-about__list-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  padding: 12px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: #FFF6D6;
  display: flex;
  align-items: center;
}

.page-about__list-item strong {
  color: #FFD36B;
  margin-right: 8px;
}

.page-about__btn-explore,
.page-about__btn-learn-more,
.page-about__btn-contact {
  margin-top: 20px;
}

/* CTA Banner */
.page-about__cta-banner {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 15px;
  padding: 50px 30px;
  text-align: center;
  margin-top: 80px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

.page-about__cta-title {
  font-size: 2.2em;
  color: #F2C14E;
  margin-bottom: 20px;
}

.page-about__cta-description {
  font-size: 1.1em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* FAQ Section */
.page-about__faq-section {
  padding-bottom: 60px;
}

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

.page-about__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: #1A1A1A; /* Slightly darker for question */
  color: #F2C14E;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease;
}

.page-about__faq-question:hover {
  background: #2A2A2A;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 0.95em;
}

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

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

/* Get Started Section */
.page-about__get-started-section {
  padding: 80px 0;
  text-align: center;
}

.page-about__cta-buttons--large .page-about__btn-primary,
.page-about__cta-buttons--large .page-about__btn-secondary {
  min-width: 250px;
}

/* Background colors for sections */
.page-about__dark-bg {
  background-color: #0A0A0A;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-content {
    margin-top: -60px;
  }
  .page-about__content-grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__content-grid--reverse {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__container {
    padding: 15px;
  }
  .page-about__hero-content {
    padding: 30px 15px;
    margin-top: -40px;
  }
  .page-about__main-title {
    font-size: 2em;
  }
  .page-about__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }
  .page-about__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 10px;
    font-size: 1em;
  }
  .page-about__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__content-grid {
    gap: 20px;
    margin-bottom: 50px;
    padding: 20px 0;
  }
  .page-about__list-item {
    padding: 10px 15px;
  }
  .page-about__cta-banner {
    padding: 40px 15px;
    margin-top: 50px;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__cta-buttons--large .page-about__btn-primary,
  .page-about__cta-buttons--large .page-about__btn-secondary {
    min-width: unset;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__welcome-section,
  .page-about__gaming-experience-section,
  .page-about__trust-section,
  .page-about__community-support-section,
  .page-about__faq-section,
  .page-about__get-started-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; /* Ensure small padding for hero */
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__cta-buttons--large {
    flex-direction: column;
  }
  .page-about__faq-question {
    font-size: 1em;
  }
}