.page-about {
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF; /* Custom background color */
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* White text for dark background */
  gap: 40px;
}

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

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

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.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;
  white-space: nowrap;
}

.page-about__btn--primary {
  background-color: #FCBC45; /* Login color for main CTA */
  color: #000000; /* Black text for contrast */
  border: 2px solid #FCBC45;
}

.page-about__btn--primary:hover {
  background-color: #e0a53b;
  color: #000000;
}

.page-about__btn--secondary {
  background-color: #000000; /* Main color for secondary CTA */
  color: #FFFFFF; /* White text for contrast */
  border: 2px solid #FFFFFF;
}

.page-about__btn--secondary:hover {
  background-color: #333333;
  color: #FFFFFF;
}

.page-about__hero-image {
  max-width: 1000px;
  width: 100%;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-about__story-section, 
.page-about__mission-section, 
.page-about__why-us-section, 
.page-about__responsible-gaming-section, 
.page-about__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.page-about__story-container, 
.page-about__mission-container, 
.page-about__why-us-container, 
.page-about__responsible-gaming-container, 
.page-about__cta-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-about__story-container, .page-about__responsible-gaming-container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.page-about__story-content, 
.page-about__responsible-gaming-content {
  flex: 1;
  padding-right: 40px;
}

.page-about__story-image, 
.page-about__responsible-gaming-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.page-about__story-image img, 
.page-about__responsible-gaming-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block; /* Ensure it behaves as a block element */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__story-title, 
.page-about__mission-title, 
.page-about__why-us-title, 
.page-about__responsible-gaming-title, 
.page-about__cta-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #000000; /* Dark text for light background */
}

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

.page-about__mission-item, 
.page-about__why-us-item {
  background-color: #F8F8F8; /* Slightly off-white for card background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-about__mission-item-title, 
.page-about__why-us-item-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #000000;
}

.page-about__why-us-icon {
  margin-bottom: 20px;
}

.page-about__why-us-icon img {
  width: 200px; /* Enforce minimum size */
  height: 200px; /* Enforce minimum size */
  border-radius: 50%;
  object-fit: cover;
}

.page-about__cta-section {
  background-color: #000000; /* Main color for CTA background */
  color: #FFFFFF; /* White text for dark background */
  text-align: center;
  padding: 80px 20px;
}

.page-about__cta-title {
  color: #FCBC45; /* Login color for emphasis */
}

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__story-container, .page-about__responsible-gaming-container {
    flex-direction: column;
  }
  .page-about__story-content, .page-about__responsible-gaming-content {
    padding-right: 0;
    padding-bottom: 30px;
    text-align: center;
  }
  .page-about__responsible-gaming-image {
    order: -1; /* Image above text for mobile in responsible gaming section */
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
  }
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
  }
  .page-about__btn {
    width: 100%;
  }
  .page-about__story-section, 
  .page-about__mission-section, 
  .page-about__why-us-section, 
  .page-about__responsible-gaming-section, 
  .page-about__cta-section {
    padding: 60px 15px;
  }
  .page-about__story-title, 
  .page-about__mission-title, 
  .page-about__why-us-title, 
.page-about__responsible-gaming-title, 
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__why-us-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile content area image overflow prevention */
  .page-about img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__story-title, 
  .page-about__mission-title, 
  .page-about__why-us-title, 
  .page-about__responsible-gaming-title, 
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
}