.page-about {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-about__hero-section {
  background-color: #000000; /* Main dark background for hero */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-about__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFFFFF;
}

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

.page-about__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-about__btn--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-about__btn--register:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

.page-about__btn--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__btn--login:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

.page-about__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-about__section-intro {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  color: #555555;
}

.page-about__vision-mission,
.page-about__history,
.page-about__why-choose,
.page-about__responsible-gaming,
.page-about__cta {
  padding: 80px 0;
}

.page-about__vision-mission {
  background-color: #f8f8f8;
}

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

.page-about__card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-about__card-icon {
  width: 250px;
  height: 167px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

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

.page-about__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #eee;
  transform: translateX(-50%);
}

.page-about__timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

.page-about__timeline-item::before {
  content: '';
  position: absolute;
  top: 25px;
  width: 20px;
  height: 20px;
  background-color: #FCBC45;
  border-radius: 50%;
  border: 4px solid #000000;
  z-index: 1;
}

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

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

.page-about__timeline-year {
  font-size: 1.5em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-about__timeline-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-about__why-choose {
  background-color: #FFFFFF;
}

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

.page-about__feature-card {
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #000000;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #FCBC45;
}

.page-about__feature-icon {
  width: 250px;
  height: 167px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about__feature-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
}

.page-about__feature-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
}

.page-about__responsible-gaming {
  background-color: #f0f0f0;
  text-align: center;
}

.page-about__btn--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 30px;
}

.page-about__btn--secondary:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
}

.page-about__cta {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 100px 20px;
}

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

.page-about__cta-description {
  font-size: 1.2em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 40px;
}

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

.page-about__btn--register-large {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-about__btn--register-large:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
}

.page-about__btn--login-large {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-about__btn--login-large:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

.page-about__btn--download {
  background-color: #333333;
  color: #FFFFFF;
  border: 2px solid #333333;
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-about__btn--download:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
}

.page-about__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-about__floating-btn {
  display: block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__floating-btn--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-about__floating-btn--register:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

.page-about__floating-btn--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__floating-btn--login:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

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

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

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

  .page-about__timeline-item:nth-child(odd),
  .page-about__timeline-item:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    left: 0;
    padding-left: 50px;
  }

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

  .page-about__timeline-item:nth-child(odd)::before,
  .page-about__timeline-item:nth-child(even)::before {
    right: auto;
  }

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

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 15px 30px;
  }

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

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

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

  .page-about__btn {
    width: 100%;
    padding: 12px 20px;
  }

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

  .page-about__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-about__vision-mission,
  .page-about__history,
  .page-about__why-choose,
  .page-about__responsible-gaming,
  .page-about__cta {
    padding: 60px 0;
  }

  .page-about__card-icon,
  .page-about__feature-icon {
    width: 200px; /* Min size */
    height: 133px; /* Proportionate height */
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .page-about__cta-actions {
    flex-direction: column;
  }

  .page-about__btn--register-large,
  .page-about__btn--login-large,
  .page-about__btn--download {
    width: 100%;
    padding: 15px 25px;
    font-size: 1.1em;
  }

  .page-about__floating-buttons {
    flex-direction: row;
    bottom: 15px;
    right: 15px;
    left: 15px;
    width: auto;
    justify-content: space-around;
  }

  .page-about__floating-btn {
    flex: 1;
    text-align: center;
  }

  .page-about__container img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

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

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

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

  .page-about__card-icon,
  .page-about__feature-icon {
    width: 200px;
    height: 133px;
  }
}