.page-about {
  padding-top: var(--header-offset, 120px);
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__hero-section {
  background-color: #0A2342;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
}

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

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2342;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-about__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-about__story-section, .page-about__mission-section, .page-about__why-choose-section, .page-about__responsible-gaming-section, .page-about__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-about__story-section {
  background-color: #f9f9f9;
}

.page-about__story-title, .page-about__mission-title, .page-about__why-choose-title, .page-about__responsible-gaming-title, .page-about__cta-title {
  font-size: 2.5em;
  color: #0A2342;
  margin-bottom: 30px;
}

.page-about__story-paragraph {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: left;
}

.page-about__story-image {
  margin-top: 40px;
  width: 800px;
  height: 600px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__mission-section {
  background-color: #ffffff;
}

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

.page-about__value-card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
}

.page-about__value-icon {
  width: 400px;
  height: 300px;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 4px;
}

.page-about__value-heading {
  font-size: 1.5em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-about__value-description {
  font-size: 1em;
  color: #555555;
}

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

.page-about__why-choose-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-about__why-choose-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about__why-choose-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-about__why-choose-item::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__why-choose-image {
  flex: 1;
  min-width: 400px;
  width: 1000px;
  height: 750px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__why-choose-button {
  display: inline-block;
  background-color: #0A2342;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 40px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__why-choose-button:hover {
  background-color: #071a30;
  transform: translateY(-2px);
}

.page-about__responsible-gaming-section {
  background-color: #ffffff;
}

.page-about__responsible-gaming-paragraph {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: left;
}

.page-about__responsible-gaming-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2342;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 40px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__responsible-gaming-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-about__responsible-gaming-image {
  margin-top: 40px;
  width: 600px;
  height: 400px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__cta-section {
  background-color: #0A2342;
  color: #ffffff;
  padding: 80px 20px;
}

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

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

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

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--primary {
  background-color: #FFD700;
  color: #0A2342;
}

.page-about__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-about__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #0A2342;
  transform: translateY(-2px);
}

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

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

  .page-about__story-title, .page-about__mission-title, .page-about__why-choose-title, .page-about__responsible-gaming-title, .page-about__cta-title {
    font-size: 2em;
  }

  .page-about__why-choose-content {
    flex-direction: column;
  }

  .page-about__why-choose-image {
    order: -1; /* Image appears above text on smaller screens */
  }
}

@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__story-section, .page-about__mission-section, .page-about__why-choose-section, .page-about__responsible-gaming-section, .page-about__cta-section {
    padding: 40px 0;
  }

  .page-about__story-title, .page-about__mission-title, .page-about__why-choose-title, .page-about__responsible-gaming-title, .page-about__cta-title {
    font-size: 1.8em;
  }

  .page-about__story-paragraph, .page-about__responsible-gaming-paragraph {
    font-size: 0.95em;
    text-align: center;
  }

  .page-about__values-grid {
    grid-template-columns: 1fr;
  }

  .page-about__why-choose-item {
    font-size: 1em;
    padding-left: 25px;
  }

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

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

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

  .page-about__cta-button {
    width: 100%;
    max-width: 300px;
  }

  .page-about__hero-image, .page-about__story-image, .page-about__value-icon, .page-about__why-choose-image, .page-about__responsible-gaming-image {
    max-width: 100%;
    height: auto;
    width: auto; /* Allow image to scale down */
  }

  /* Ensure content images in mobile are not smaller than 200px and prevent overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
  }

  .page-about__content-wrapper {
    overflow-x: hidden;
  }
}

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

  .page-about__story-title, .page-about__mission-title, .page-about__why-choose-title, .page-about__responsible-gaming-title, .page-about__cta-title {
    font-size: 1.5em;
  }

  .page-about__hero-button, .page-about__why-choose-button, .page-about__responsible-gaming-button, .page-about__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }

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