.page-about {
  color: #333333;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  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 {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

.page-about__hero-container {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.5); /* Overlay for readability */
  border-radius: 10px;
  max-width: 900px;
}

.page-about__hero-content {
  position: relative;
  z-index: 3;
}

.page-about__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFCC00; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #CC3333;
  color: #ffffff;
  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;
  border: none;
  cursor: pointer;
}

.page-about__cta-button:hover {
  background-color: #e64d4d;
  transform: translateY(-3px);
}

.page-about__section-title {
  font-size: 2.5em;
  color: #CC3333;
  text-align: center;
  margin: 60px 0 40px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-about__story-section, .page-about__mission-section, .page-about__values-section, .page-about__responsible-gaming-section, .page-about__why-choose-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
}

.page-about__story-section:nth-of-type(even), .page-about__values-section:nth-of-type(even), .page-about__why-choose-section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-about__story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__story-text p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #555555;
}

.page-about__story-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

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

.page-about__mission-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #CC3333;
}

.page-about__mission-subtitle {
  font-size: 1.8em;
  color: #CC3333;
  margin-bottom: 15px;
}

.page-about__mission-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__mission-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #555555;
  display: flex;
  align-items: flex-start;
}

.page-about__list-icon {
  color: #FFCC00;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-about__values-intro {
  text-align: center;
  font-size: 1.2em;
  color: #666666;
  margin-bottom: 50px;
}

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

.page-about__value-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-about__value-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

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

.page-about__value-description {
  color: #666666;
}

.page-about__responsible-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__responsible-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-about__responsible-content p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #555555;
}

.page-about__responsible-content a {
  color: #CC3333;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__responsible-content a:hover {
  color: #FFCC00;
}

.page-about__secondary-button {
  display: inline-block;
  background-color: #FFCC00;
  color: #333333;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about__secondary-button:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
}

.page-about__why-intro {
  text-align: center;
  font-size: 1.2em;
  color: #666666;
  margin-bottom: 50px;
}

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

.page-about__why-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #FFCC00;
  transition: transform 0.3s ease;
}

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

.page-about__why-title {
  font-size: 1.5em;
  color: #CC3333;
  margin-bottom: 15px;
}

.page-about__why-description {
  color: #666666;
  margin-bottom: 20px;
}

.page-about__why-link {
  display: inline-block;
  color: #CC3333;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFCC00;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-about__why-link:hover {
  color: #FFCC00;
  border-color: #CC3333;
}

.page-about__cta-section {
  background-color: #CC3333;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-about__cta-content {
  max-width: 900px;
}

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

.page-about__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-about__cta-button--primary {
  background-color: #FFCC00;
  color: #333333;
}

.page-about__cta-button--primary:hover {
  background-color: #e6b800;
}

.page-about__cta-button--secondary {
  background-color: #f0f0f0;
  color: #CC3333;
}

.page-about__cta-button--secondary:hover {
  background-color: #cccccc;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-about__story-grid, .page-about__responsible-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-about__mission-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-about__story-image {
    order: 2;
  }
  .page-about__story-text {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-about__main-title {
    font-size: 2.2em;
  }
  .page-about__intro-text {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 2em;
    margin: 40px 0 30px;
  }
  .page-about__hero-container {
    padding: 40px 15px;
  }
  .page-about__story-section, .page-about__mission-section, .page-about__values-section, .page-about__responsible-gaming-section, .page-about__why-choose-section {
    padding: 40px 0;
  }
  .page-about__values-grid, .page-about__why-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__cta-button {
    width: 100%;
  }
  /* Ensure images do not overflow on mobile */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Maintain min size for content images */
    min-height: 200px;
  }
}

/* Ensure all content images within .page-about meet minimum size requirements */
.page-about img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
  min-width: 200px;
  min-height: 200px;
  width: auto;
  height: auto;
}

/* Explicitly set width/height for content images to avoid smaller overrides */
.page-about__story-image img, .page-about__responsible-image img {
  width: 800px;
  height: 600px;
}
.page-about__value-icon {
  width: 600px;
  height: 400px;
}

@media (max-width: 768px) {
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-about {
    overflow-x: hidden;
  }
}