/* style/about.css */

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

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

.page-about__section {
  padding: 60px 0;
}

.page-about__section-title {
  font-size: 2.8em;
  color: #F2C14E; /* Primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small padding, main offset handled by body from shared.css */
  padding-bottom: 80px;
  background: linear-gradient(135deg, #0A0A0A 0%, rgba(242, 193, 78, 0.2) 100%); /* Blend with body background */
}

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

.page-about__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  color: #FFD36B; /* Auxiliary color for main title */
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 1px;
}

.page-about__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
  transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
  background-color: #F2C14E;
  color: #0A0A0A;
  border-color: #F2C14E;
  transform: translateY(-2px);
}

.page-about__btn-primary--large,
.page-about__btn-secondary--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Section Specific Styles */
.page-about__section--mission,
.page-about__section--standout,
.page-about__section--portfolio,
.page-about__section--commitment,
.page-about__section--partners,
.page-about__section--faq {
  background-color: #0A0A0A;
}

.page-about__section--journey {
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

.page-about__section--journey .page-about__section-title {
  color: #FFD36B;
}

.page-about__container--reversed {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
}

.page-about__content-column {
  flex: 1;
}

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

.page-about__image-full {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* Features Grid */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

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

.page-about__feature-icon {
  width: 100%;
  max-width: 200px; /* Ensure icons are not too big, but still > 200px if possible */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-about__feature-title {
  font-size: 1.6em;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__feature-description {
  font-size: 1em;
  color: #FFF6D6;
}

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

.page-about__category-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6;
}

.page-about__category-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.2);
}

.page-about__category-icon {
  width: 30px; /* Allowed small size for category icons */
  height: 30px; /* Allowed small size for category icons */
  margin-bottom: 15px;
  object-fit: contain;
}

.page-about__category-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__category-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__btn-link {
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  padding: 8px 15px;
  border: 1px solid #FFD36B;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.page-about__btn-link:hover {
  background-color: #FFD36B;
  color: #0A0A0A;
}

/* Commitment Section */
.page-about__commitment-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-about__image-full--commitment {
  max-width: 800px;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Partners Grid */
.page-about__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-about__partner-logo img {
   /* Fixed size for partner logos */
   /* Fixed size for partner logos */
  object-fit: contain;
  filter: grayscale(80%); /* Allowed for decorative logos to blend */
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.page-about__partner-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

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

.page-about__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2C14E;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

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

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

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

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

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

.page-about__faq-answer a {
  color: #F2C14E;
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: #FFD36B;
}

/* CTA Section */
.page-about__section--cta {
  background-color: #111111; /* Card BG */
  padding: 80px 0;
  text-align: center;
}

.page-about__section-title--cta {
  color: #FFD36B;
  margin-bottom: 20px;
}

.page-about__text-block--cta {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2em;
  color: #FFF6D6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-image {
    max-height: 500px;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__main-title {
    font-size: clamp(2em, 6vw, 3em);
  }
  .page-about__container--reversed {
    flex-direction: column;
  }
  .page-about__feature-icon {
    max-width: 150px;
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__hero-section {
    padding-bottom: 60px;
    padding-top: 10px; /* Small padding, body handles main offset */
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .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-left: 15px;
    padding-right: 15px;
  }
  .page-about__container,
  .page-about__section,
  .page-about__card,
  .page-about__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__feature-icon {
    max-width: 100px;
  }
  .page-about__partner-logo img {
    
    height: auto;
  }
  .page-about__features-grid,
  .page-about__game-categories,
  .page-about__partners-grid {
    grid-template-columns: 1fr;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__hero-section {
    padding-bottom: 40px;
  }
  .page-about__main-title {
    font-size: clamp(1.5em, 10vw, 2em);
  }
  .page-about__feature-title {
    font-size: 1.4em;
  }
  .page-about__category-title {
    font-size: 1.2em;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}