.page-about {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background is dark (#0a0a0a), so text should be light */
  line-height: 1.6;
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: linear-gradient(135deg, #26A9E0, #0a0a0a);
  overflow: hidden;
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

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

.page-about__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

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

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

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

.page-about__btn-secondary:hover {
  background: #1e87b7;
  border-color: #1e87b7;
}

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

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

.page-about__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
}

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

/* Section specific styles */
.page-about__mission-section {
  background: #0d0d0d;
  color: #f0f0f0;
}

.page-about__mission-section .page-about__section-title {
  color: #26A9E0;
}

.page-about__why-choose-section {
  background: #1a1a1a;
  color: #ffffff;
}

.page-about__why-choose-section .page-about__section-title {
  color: #26A9E0;
}

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

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
}

.page-about__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-about__feature-description {
  font-size: 1rem;
  color: #e0e0e0;
}

.page-about__values-section {
  background: #0d0d0d;
  color: #f0f0f0;
}

.page-about__values-section .page-about__section-title {
  color: #26A9E0;
}

.page-about__values-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-about__value-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.05rem;
  color: #f0f0f0;
}

.page-about__value-item strong {
  color: #ffffff;
  font-size: 1.15rem;
  display: block;
  margin-bottom: 10px;
}

.page-about__security-section {
  background: #1a1a1a;
  color: #ffffff;
}

.page-about__security-section .page-about__section-title {
  color: #26A9E0;
}

.page-about__responsible-gaming-section {
  background: #0d0d0d;
  color: #f0f0f0;
}

.page-about__responsible-gaming-section .page-about__section-title {
  color: #26A9E0;
}

.page-about__team-section {
  background: #1a1a1a;
  color: #ffffff;
}

.page-about__team-section .page-about__section-title {
  color: #26A9E0;
}

.page-about__faq-section {
  background: #0d0d0d;
  color: #f0f0f0;
}

.page-about__faq-section .page-about__section-title {
  color: #26A9E0;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

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

.page-about__faq-item[open] > .page-about__faq-question {
  background: #26A9E0;
  border-bottom-color: transparent;
}

.page-about__faq-question a {
  color: #EA7C07;
  text-decoration: none;
}

.page-about__faq-question a:hover {
  text-decoration: underline;
}

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

.page-about__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-about__faq-answer p {
  margin: 0;
}

.page-about__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__faq-answer a:hover {
  text-decoration: underline;
}

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

.page-about__cta-section .page-about__section-title {
  color: #ffffff;
}

.page-about__keyword {
  color: #26A9E0;
  font-weight: 600;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-about__description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }
}

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

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

  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-about__description {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    margin-bottom: 25px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

  .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.6rem, 6vw, 2.2rem);
    margin-bottom: 25px;
  }

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

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

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

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

  .page-about__feature-title {
    font-size: 1.3rem;
  }

  .page-about__value-item {
    padding: 15px;
    font-size: 0.95rem;
  }

  .page-about__value-item strong {
    font-size: 1.05rem;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-about__faq-toggle {
    font-size: 1.5rem;
  }

  .page-about__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.9rem;
  }
  
  /* Ensure all content containers are constrained */
  .page-about__mission-section,
  .page-about__why-choose-section,
  .page-about__values-section,
  .page-about__security-section,
  .page-about__responsible-gaming-section,
  .page-about__team-section,
  .page-about__faq-section,
  .page-about__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}