/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

.page-about__hero-section {
  padding-top: var(--header-offset, 120px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(17, 17, 17, 0.7); /* Card BG with opacity */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-top: 20px; /* Small top margin for content below image */
}

.page-about__main-title {
  color: #FFD36B; /* Glow */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

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

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

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

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

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.8);
}

.page-about__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

.page-about__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.8);
}

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

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

.page-about__section-title {
  font-size: 2.8em;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-weight: 600;
}

.page-about__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
}

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

.page-about__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-about__text-content {
  flex: 2;
  min-width: 300px;
}

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

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

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

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.3);
}

.page-about__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-about__game-highlight {
  background-color: #111111; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  margin-top: 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-about__game-highlight-title {
  font-size: 2em;
  color: #FFD36B; /* Glow */
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__game-highlight-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-about__security-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.page-about__security-item {
  background-color: rgba(242, 193, 78, 0.1); /* Main Color with opacity */
  padding: 15px 20px;
  border-left: 4px solid #F2C14E; /* Main Color */
  border-radius: 5px;
  font-size: 1.05em;
  color: #FFF6D6;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  color: #F2C14E; /* Main Color */
  font-weight: 600;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1;
  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-out, padding 0.3s ease-out;
  color: #FFF6D6; /* Text Main */
}

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

.page-about__cta-section {
  background-color: #111111; /* Card BG */
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-content {
    max-width: 700px;
  }

  .page-about__main-title {
    font-size: 2.5em;
  }

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

  .page-about__image-and-text {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-about__hero-content {
    padding: 30px 15px;
    margin: 15px; /* Adjust margin for smaller screens */
  }

  .page-about__main-title {
    font-size: 2em;
  }

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

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

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__sub-title {
    font-size: 1.4em;
  }

  .page-about__text-block {
    font-size: 0.95em;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__feature-card {
    padding: 25px;
  }

  .page-about__game-highlight {
    padding: 30px 15px;
  }

  .page-about__game-highlight-title {
    font-size: 1.6em;
  }

  .page-about__security-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-about__security-item {
    font-size: 0.95em;
  }

  .page-about__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

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

  .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-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }

  .page-about__section-title {
    font-size: 1.6em;
  }

  .page-about__hero-content {
    border-radius: 5px;
  }
}