.page-about {
  color: #ffffff; /* Text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-about__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #1A202C;
  text-align: center;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

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

.page-about__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.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, color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about__btn--primary {
  background-color: #FFD700;
  color: #1A202C;
}

.page-about__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

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

.page-about__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-3px);
}

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

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

.page-about__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 60px;
  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: #FFD700;
  border-radius: 2px;
}

.page-about__story-section {
  background-color: #121212;
  padding: 80px 0;
}

.page-about__story-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__story-content {
  flex: 1;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-about__story-content p {
  margin-bottom: 20px;
}

.page-about__story-image-wrapper {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-about__mission-vision-section {
  background-color: #1A202C;
  padding: 80px 0;
}

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

.page-about__mv-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #FFD700;
}

.page-about__mv-card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__mv-card p {
  font-size: 1.05em;
  color: #c0c0c0;
}

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

.page-about__values-section {
  background-color: #121212;
  padding: 80px 0;
}

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

.page-about__value-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-bottom: 3px solid #FFD700;
}

.page-about__value-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__value-item p {
  color: #e0e0e0;
}

.page-about__why-choose-us-section {
  background-color: #1A202C;
  padding: 80px 0;
}

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

.page-about__why-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__why-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure image is block level */
}

.page-about__why-item-title {
  font-size: 1.7em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__why-item p {
  color: #c0c0c0;
  font-size: 1.05em;
}

.page-about__responsible-gaming-section {
  background-color: #121212;
  padding: 80px 0;
  text-align: center;
}

.page-about__rg-description {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-about__rg-image-wrapper {
  margin-top: 50px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__contact-cta-section {
  background-color: #1A202C;
  padding: 80px 0;
  text-align: center;
}

.page-about__contact-description {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__story-grid {
    flex-direction: column;
  }
  .page-about__story-image-wrapper {
    order: -1; /* Image appears above content on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-bottom: 60px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }
  .page-about__story-section, .page-about__mission-vision-section, .page-about__values-section, .page-about__why-choose-us-section, .page-about__responsible-gaming-section, .page-about__contact-cta-section {
    padding: 60px 0;
  }
  .page-about__mv-grid, .page-about__values-grid, .page-about__why-grid {
    grid-template-columns: 1fr;
  }
  /* Ensure all content images are responsive and do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__story-image, .page-about__why-image, .page-about__rg-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__btn {
    width: 90%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__mv-card-title, .page-about__value-title, .page-about__why-item-title {
    font-size: 1.4em;
  }
  .page-about__mv-card p, .page-about__value-item p, .page-about__why-item p, .page-about__rg-description, .page-about__contact-description {
    font-size: 0.95em;
  }
}