/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-about__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  color: #ffffff;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 60px;
  font-weight: bold;
  color: #26A9E0;
}

.page-about__sub-title {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
  color: #26A9E0;
  text-align: left;
}

.page-about__introduction-section, .page-about__team-section, .page-about__why-choose-us, .page-about__cta-section {
  padding: 80px 0;
  color: #ffffff;
}

.page-about__mission-vision-section, .page-about__responsible-gaming-section, .page-about__faq-section {
  padding: 80px 0;
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #0d0d0d; /* Slightly lighter dark for contrast with pure black body */
  color: #ffffff;
}

.page-about__dark-section {
  background-color: #050505; /* Darker background for contrast */
  color: #ffffff;
}

.page-about__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1em;
}

.page-about__text-block p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-about__text-block--end {
  margin-top: 40px;
  text-align: center;
}

.page-about__grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-about__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-about__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-about__card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__card-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-about__card p {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-about__image--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-about__image--card {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-about__image--round {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #26A9E0;
}

.page-about__values-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-about__values-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-about__values-list li:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-about__values-list li strong {
  color: #26A9E0;
  font-size: 1.1em;
  display: block;
  margin-bottom: 8px;
}

.page-about__feature-grid {
  margin-top: 50px;
}

.page-about__feature-card {
  height: 100%; /* Ensure cards in grid have same height */
}

.page-about__responsible-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-about__responsible-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #EA7C07; /* Use login color for emphasis */
  border-radius: 8px;
}

.page-about__responsible-list li strong {
  color: #EA7C07;
  font-size: 1.1em;
  display: block;
  margin-bottom: 8px;
}

.page-about__team-grid {
  margin-top: 50px;
}

.page-about__team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.page-about__member-bio {
  font-size: 0.95em;
  color: #cccccc;
}

/* Buttons */
.page-about__btn-primary, .page-about__btn-secondary, .page-about__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1em;
  text-align: center;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
  background: #1a7bbd;
  border-color: #1a7bbd;
  transform: translateY(-2px);
}

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

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

.page-about__btn-link {
  background: none;
  border: none;
  color: #26A9E0;
  text-decoration: underline;
  padding: 0;
  font-size: 1em;
  margin-top: 10px;
}

.page-about__btn-link:hover {
  color: #1a7bbd;
}

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

.page-about__cta-section {
  text-align: center;
  background: linear-gradient(90deg, #1a7bbd, #26A9E0);
  padding: 60px 0;
}

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

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

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

/* FAQ Section */
.page-about__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-about__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

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

.page-about__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #ffffff;
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #e0e0e0;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }

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

  .page-about__grid--3-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px;
  }

  .page-about__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-about__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary, .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }

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

  .page-about__introduction-section, .page-about__mission-vision-section,
  .page-about__why-choose-us, .page-about__responsible-gaming-section,
  .page-about__team-section, .page-about__faq-section, .page-about__cta-section {
    padding: 50px 0;
  }

  .page-about__grid {
    grid-template-columns: 1fr;
  }

  .page-about__card {
    padding: 25px;
  }

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

  .page-about__image, .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__video-section, .page-about__video-container, .page-about__video-wrapper,
  .page-about__section, .page-about__card, .page-about__container,
  .page-about__cta-buttons, .page-about__button-group, .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

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

  .page-about__faq-answer {
    font-size: 1em;
    padding: 18px 20px;
  }
}