.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default background for page content */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #26A9E0; /* Primary brand color for hero background */
  color: #ffffff; /* White text for dark background */
  text-align: center;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-about__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-about__btn-primary:hover {
  background-color: #D46F05;
  border-color: #D46F05;
}

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

.page-about__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

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

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-about__about-us-section,
.page-about__products-services,
.page-about__responsible-gaming,
.page-about__achievements-section,
.page-about__faq-section {
  background-color: #ffffff;
  color: #333333;
}

.page-about__history-section,
.page-about__security-section,
.page-about__team-section,
.page-about__contact-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__history-section .page-about__section-title,
.page-about__security-section .page-about__section-title,
.page-about__team-section .page-about__section-title,
.page-about__contact-section .page-about__section-title {
  color: #ffffff;
}

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

.page-about__values,
.page-about__security-features,
.page-about__service-grid,
.page-about__team-grid,
.page-about__achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-about__value-card,
.page-about__feature-card,
.page-about__service-card,
.page-about__team-member,
.page-about__achievement-card {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__history-section .page-about__value-card,
.page-about__security-section .page-about__feature-card,
.page-about__team-section .page-about__team-member,
.page-about__contact-section .page-about__contact-info-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__value-card:hover,
.page-about__feature-card:hover,
.page-about__service-card:hover,
.page-about__team-member:hover,
.page-about__achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-about__value-title,
.page-about__feature-title,
.page-about__service-title,
.page-about__member-name,
.page-about__achievement-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-about__history-section .page-about__value-title,
.page-about__security-section .page-about__feature-title,
.page-about__team-section .page-about__member-name,
.page-about__contact-section .page-about__contact-info-item h3 {
  color: #ffffff;
}

.page-about__service-image,
.page-about__team-avatar {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-about__team-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
}

.page-about__btn-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  display: inline-block;
}

.page-about__btn-text:hover {
  text-decoration: underline;
}

.page-about__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-about__timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 20px;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
}

.page-about__timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 30px;
}

.page-about__timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 5px;
  width: 20px;
  height: 20px;
  background-color: #EA7C07;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.page-about__timeline-year {
  font-size: 1.3em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
}

.page-about__timeline-description {
  font-size: 1em;
  color: #ffffff;
}

.page-about__responsibility-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

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

.page-about__responsibility-list li::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__contact-info {
  margin-top: 30px;
  text-align: center;
  color: #ffffff;
}

.page-about__contact-info p {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-about__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: 600;
  font-size: 1.1em;
  color: #333333;
  cursor: pointer;
  list-style: none;
  outline: none;
}

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-about__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  .page-about__description {
    font-size: 1em;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 20px;
  }

  .page-about__values,
  .page-about__security-features,
  .page-about__service-grid,
  .page-about__team-grid,
  .page-about__achievement-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__hero-image,
  .page-about__service-image,
  .page-about__team-avatar,
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__service-card,
  .page-about__team-member,
  .page-about__achievement-card,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__timeline {
    padding-left: 15px;
  }

  .page-about__timeline-item {
    padding-left: 25px;
  }

  .page-about__timeline-item::before {
    left: -10px;
  }

  .page-about__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

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

  /* Ensure all video elements are responsive */
  .page-about video,
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}