.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--Text-Main);
  background-color: var(--Card-B-G);
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--Deep-Navy);
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
}

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

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

.page-about__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--Text-Main);
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-about__hero-description {
  font-size: 1.15rem;
  color: var(--Text-Secondary);
  margin-bottom: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 0 15px var(--Glow);
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--Text-Main);
  border: 2px solid var(--Border);
}

.page-about__btn-secondary:hover {
  background: var(--Border);
  color: #ffffff;
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--Text-Main);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-about__story-section,
.page-about__responsible-gambling-section {
  padding: 80px 0;
}

.page-about__dark-section {
  background-color: var(--Deep-Navy);
  color: var(--Text-Main);
}

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

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  font-size: 1.1rem;
  color: var(--Text-Secondary);
}

.page-about__text-block h2 {
  text-align: left;
  margin-top: 0;
  margin-bottom: 20px;
}

.page-about__text-block p {
  margin-bottom: 1.5em;
}

.page-about__image-block {
  flex: 1;
  min-width: 200px; /* Enforce min-width for image block */
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__features-section {
  padding: 80px 0;
  background-color: var(--Card-B-G);
}

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

.page-about__feature-card {
  background-color: var(--Card-B-G);
  border: 1px solid var(--Border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--Text-Main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
  object-fit: cover;
}

.page-about__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--Text-Main);
  margin-bottom: 15px;
}

.page-about__feature-description {
  font-size: 1rem;
  color: var(--Text-Secondary);
}

.page-about__cta-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--Deep-Navy) 0%, var(--Card-B-G) 100%);
  text-align: center;
}

.page-about__cta-description {
  font-size: 1.15rem;
  color: var(--Text-Secondary);
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__content-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__content-grid--reverse {
    flex-direction: column;
  }

  .page-about__text-block h2 {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-bottom: 40px;
  }

  .page-about__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }
  
  .page-about__hero-cta {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
  }

  .page-about__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-about__story-section,
  .page-about__features-section,
  .page-about__responsible-gambling-section,
  .page-about__cta-section {
    padding: 50px 0;
  }

  .page-about__text-block {
    font-size: 1rem;
  }

  .page-about__image {
    border-radius: 8px;
  }

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

  .page-about__feature-card {
    padding: 25px;
  }

  .page-about__feature-icon {
    max-width: 200px;
    min-width: 200px;
    min-height: 200px;
  }

  /* Mobile responsive image styles - MUST BE PRESENT */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-image-wrapper,
  .page-about__image-block,
  .page-about__features-grid,
  .page-about__feature-card,
  .page-about__cta-buttons,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-about__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}