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

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-about__hero-content {
  position: relative; /* Ensure content is above image but not overlapping */
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -100px; /* Pull content up slightly, but not over image */
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-about__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

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

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  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: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-about__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #F2C14E; /* Main Color */
}

.page-about__btn-secondary:hover {
  background: #F2C14E; /* Main Color */
  color: #111111; /* Dark text for contrast */
  transform: translateY(-3px);
}

.page-about__btn-tertiary {
  background: transparent;
  color: #FFD36B; /* Glow */
  border: 1px solid #FFD36B;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-about__btn-tertiary:hover {
  background: #FFD36B;
  color: #111111;
}

.page-about__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  font-weight: 700;
}

.page-about__section-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  color: #FFF6D6;
}

.page-about__dark-section {
  background-color: #111111; /* Card BG */
  padding: 80px 0;
}

.page-about__mission-vision-section {
  padding: 80px 0;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-about__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
}

.page-about__card-title {
  font-size: 1.8rem;
  color: #F2C14E; /* Main Color */
  margin-bottom: 20px;
  text-align: center;
}

.page-about__card-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-about__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

.page-about__history-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

.page-about__timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: #3A2A12; /* Border */
  transform: translateX(-50%);
}

.page-about__timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.page-about__timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.page-about__timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.page-about__timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 12px;
  height: 12px;
  background: #F2C14E; /* Main Color */
  border-radius: 50%;
  z-index: 1;
  border: 2px solid #111111; /* Card BG */
}

.page-about__timeline-item:nth-child(odd)::before {
  right: -6px;
}

.page-about__timeline-item:nth-child(even)::before {
  left: -6px;
}

.page-about__timeline-year {
  font-size: 1.5rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-about__timeline-description {
  font-size: 1rem;
  color: #FFF6D6;
}

.page-about__offerings-section {
  padding: 80px 0;
}

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

.page-about__offering-card {
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.page-about__offering-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 20px;
  display: block;
}

.page-about__offering-card .page-about__card-title {
  margin-top: 0;
  padding: 0 20px;
}

.page-about__offering-card .page-about__card-text {
  padding: 0 20px;
}

.page-about__offering-card .page-about__btn-tertiary {
  margin: 20px auto 30px auto;
}

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

.page-about__security-fairplay-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-about__feature-card {
  text-align: center;
}

.page-about__responsible-gaming-section {
  padding: 80px 0;
}

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

.page-about__responsible-gaming-card {
  text-align: center;
}

.page-about__customer-support-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-about__support-card {
  text-align: center;
}

.page-about__why-choose-section {
  padding: 80px 0;
}

.page-about__advantage-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-about__advantage-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #FFF6D6;
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-about__advantage-item::before {
  content: '✓';
  color: #F2C14E; /* Main Color */
  font-size: 1.5rem;
  font-weight: bold;
}

.page-about__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.page-about__faq-toggle {
  font-size: 1.8rem;
  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, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1rem;
  line-height: 1.7;
}

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

/* Responsive styles */
@media (min-width: 769px) {
  .page-about__content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-about__hero-content {
    margin-top: -50px;
    padding: 20px;
  }

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

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-tertiary {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-about__section-intro {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .page-about__timeline::before {
    left: 18px;
  }

  .page-about__timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 20px;
    text-align: left;
  }

  .page-about__timeline-item:nth-child(odd),
  .page-about__timeline-item:nth-child(even) {
    left: 0;
  }

  .page-about__timeline-item:nth-child(odd)::before,
  .page-about__timeline-item:nth-child(even)::before {
    left: 12px;
  }

  .page-about__card-title {
    font-size: 1.5rem;
  }

  .page-about__advantage-item {
    font-size: 1rem;
    padding: 15px;
  }

  .page-about__faq-question {
    font-size: 1.1rem;
  }

  /* Mobile image responsive styles */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__hero-image {
    width: 100%; /* Ensure hero image takes full width */
  }

  .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;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* Small top padding for hero on mobile */
  }
  .page-about__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-about__cta-buttons.flex-column {
    flex-direction: column;
  }
  /* Ensure no content images are smaller than 200px */
  .page-about__card-image, .page-about__offering-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}