/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Main text color */
  background-color: #08160F; /* Overall background */
}

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

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

.page-about__section:nth-of-type(even) {
  background-color: #11271B; /* Card BG for alternating sections */
}

.page-about__heading {
  font-size: 2.8em;
  color: #57E38D; /* Glow color for headings */
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.5);
}

.page-about__subheading {
  font-size: 1.8em;
  color: #F2C14E; /* Gold color for subheadings */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-about__text-block {
  font-size: 1.1em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__link {
  color: #2AD16F; /* Button gradient start for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__link:hover {
  color: #57E38D; /* Glow color on hover */
  text-decoration: underline;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  overflow: hidden;
  color: #F2FFF6;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5);
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-about__main-title {
  color: #57E38D; /* Glow color */
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
  line-height: 1.2;
}

.page-about__subtitle {
  font-size: 1.3em;
  color: #F2FFF6;
  margin-bottom: 30px;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
  background-color: #2AD16F;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Introduction Section */
.page-about__introduction {
  padding-top: 60px;
}

.page-about__values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.page-about__value-item {
  flex: 1 1 45%;
  background-color: #0A4B2C; /* Deep Green */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 300px;
}

.page-about__value-title {
  color: #F2C14E; /* Gold */
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-about__value-description,
.page-about__value-list {
  color: #A7D9B8;
  font-size: 1em;
}

.page-about__value-list {
  list-style: none;
  padding-left: 0;
}

.page-about__value-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.page-about__value-list li::before {
  content: '✔';
  color: #2AD16F;
  position: absolute;
  left: 0;
}

/* History Section */
.page-about__history {
  padding-top: 60px;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-about__image--centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  max-width: 50%;
}

.page-about__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  max-width: 50%;
}

.page-about__image--full-width {
  max-width: 100%;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__milestone-list {
  list-style: none;
  padding-left: 0;
  color: #A7D9B8;
}

.page-about__milestone-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  font-size: 1.1em;
}

.page-about__milestone-list li::before {
  content: '📅';
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

/* Security Section */
.page-about__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Light text for dark background */
}

.page-about__dark-section .page-about__heading {
  color: #F2C14E; /* Gold for headings on dark background */
}

.page-about__dark-section .page-about__text-block {
  color: #A7D9B8;
}

.page-about__security-details {
  margin-top: 40px;
  text-align: left;
  overflow: hidden; /* Clear floats */
}

.page-about__security-list {
  list-style: none;
  padding-left: 0;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-about__security-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  font-size: 1.05em;
}

.page-about__security-list li::before {
  content: '🔒';
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

/* Ecosystem Section */
.page-about__ecosystem {
  padding-top: 60px;
}

.page-about__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-about__game-card {
  background-color: #0A4B2C; /* Deep Green */
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-about__game-link {
  color: #F2C14E; /* Gold for game titles */
  text-decoration: none;
}

.page-about__game-link:hover {
  color: #57E38D; /* Glow on hover */
  text-decoration: underline;
}

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

/* Customer Experience Section */
.page-about__customer-experience {
  padding-top: 60px;
}

.page-about__experience-details {
  margin-top: 40px;
  text-align: left;
  overflow: hidden; /* Clear floats */
}

/* Social Responsibility Section */
.page-about__social-responsibility {
  padding-top: 60px;
}

.page-about__responsibility-details {
  margin-top: 40px;
  text-align: left;
}

/* Future Section */
.page-about__future {
  padding-top: 60px;
}

.page-about__future-outlook {
  margin-top: 40px;
  text-align: left;
}

.page-about__future-list {
  list-style: none;
  padding-left: 0;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-about__future-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  font-size: 1.05em;
}

.page-about__future-list li::before {
  content: '✨';
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

/* Call to Action Bottom */
.page-about__cta-bottom {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-about__cta-container {
  max-width: 800px;
}

.page-about__cta-title {
  color: #57E38D; /* Glow */
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-about__cta-description {
  color: #A7D9B8;
  font-size: 1.2em;
  margin-bottom: 40px;
}

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

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

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-about__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  color: #F2FFF6;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-about__faq-item[open] > .page-about__faq-question,
.page-about__faq-question:hover {
  background-color: #1E3A2A; /* Divider color for hover/open */
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  color: #A7D9B8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__heading {
    font-size: 2.2em;
  }
  .page-about__subheading {
    font-size: 1.6em;
  }
  .page-about__value-item {
    flex: 1 1 100%;
  }
  .page-about__image--right,
  .page-about__image--left {
    float: none;
    margin: 30px auto;
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-content {
    padding: 15px;
  }
  .page-about__main-title {
    font-size: 2.2em;
  }
  .page-about__subtitle {
    font-size: 1.1em;
  }
  .page-about__heading {
    font-size: 1.8em;
  }
  .page-about__subheading {
    font-size: 1.4em;
  }
  .page-about__text-block {
    font-size: 1em;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    width: 100% !important; /* Force full width */
    max-width: 100% !important;
    margin: 10px 0 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-about__game-categories {
    grid-template-columns: 1fr;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-about__section,
  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__hero-section,
  .page-about__introduction,
  .page-about__history,
  .page-about__security,
  .page-about__ecosystem,
  .page-about__customer-experience,
  .page-about__social-responsibility,
  .page-about__future,
  .page-about__cta-bottom,
  .page-about__faq {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__cta-bottom {
    padding: 60px 0;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }
  .page-about__subtitle {
    font-size: 1em;
  }
  .page-about__heading {
    font-size: 1.5em;
  }
  .page-about__value-item,
  .page-about__game-card {
    padding: 20px;
  }
  .page-about__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-about__faq-answer {
    padding: 0 15px 12px 15px;
  }
}