.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from body, explicit for context */
}

.page-about__hero-section {
  position: relative;
  padding: 80px 20px 60px; /* Adjusted padding for content */
  text-align: center;
  background-color: #330066; /* Main brand color for hero */
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-about__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 80px; /* Add padding here to push content down from header */
}

.page-about__main-title {
  font-size: 42px;
  font-weight: bold;
  color: #FFD700; /* Auxiliary color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__intro-description {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-about__hero-image-wrapper {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about__section {
  padding: 80px 20px;
}

.page-about__dark-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-about__light-section {
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: #FFD700; /* Auxiliary color for section titles */
}

.page-about__light-section .page-about__section-title {
  color: #330066; /* Main brand color for titles on light background */
}

.page-about__text-block {
  font-size: 17px;
  margin-bottom: 25px;
  line-height: 1.7;
  text-align: justify;
}

.page-about__light-section .page-about__text-block {
  color: #555555;
}

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

.page-about__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-about__grid-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-about__grid-title {
  font-size: 24px;
  font-weight: bold;
  color: #330066;
  margin-bottom: 20px;
}

.page-about__image-wrapper--mission {
  margin-top: 60px;
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__value-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__value-description {
  font-size: 16px;
  color: #e0e0e0;
}

.page-about__security-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-about__security-text {
  flex: 1;
}

.page-about__security-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-about__security-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-about__security-list li {
  margin-bottom: 15px;
  font-size: 17px;
  position: relative;
  padding-left: 30px;
  color: #555555;
}

.page-about__security-list li::before {
  content: '✔';
  color: #330066; /* Main brand color for checkmark */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-about__list-strong {
  color: #333333;
}

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

.page-about__game-type-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__game-type-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__game-type-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-about__game-type-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-about__game-type-description {
  font-size: 16px;
  color: #e0e0e0;
}

.page-about__customer-support-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-about__support-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-about__support-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__support-text {
  flex: 1;
}

.page-about__support-channels {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-about__support-channels li {
  margin-bottom: 15px;
  font-size: 17px;
  position: relative;
  padding-left: 30px;
  color: #555555;
}

.page-about__support-channels li::before {
  content: '📞'; /* Using an emoji for visual appeal */
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-about__reason-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__reason-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__reason-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__reason-description {
  font-size: 16px;
  color: #e0e0e0;
}

.page-about__cta-buttons {
  margin-top: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

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

.page-about__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

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

.page-about__btn-secondary:hover {
  background-color: #FFD700;
  color: #330066;
}

/* General image responsiveness */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 36px;
  }

  .page-about__intro-description {
    font-size: 17px;
  }

  .page-about__section-title {
    font-size: 32px;
  }

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

  .page-about__security-content,
  .page-about__customer-support-content {
    flex-direction: column;
  }

  .page-about__security-text,
  .page-about__support-text {
    order: 2;
  }

  .page-about__security-image-wrapper,
  .page-about__support-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }

  .page-about__games-overview-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

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

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

  .page-about__hero-container {
    padding-top: 60px; /* Mobile header offset */
  }

  .page-about__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-about__intro-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-about__section {
    padding: 60px 15px;
  }

  .page-about__section-title {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .page-about__text-block {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-about__grid-item {
    padding: 25px;
  }

  .page-about__grid-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .page-about__value-card,
  .page-about__game-type-card,
  .page-about__reason-card {
    padding: 25px;
  }

  .page-about__value-title,
  .page-about__game-type-title,
  .page-about__reason-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page-about__value-description,
  .page-about__game-type-description,
  .page-about__reason-description {
    font-size: 15px;
  }

  .page-about__security-content,
  .page-about__customer-support-content {
    gap: 30px;
  }

  .page-about__security-list li,
  .page-about__support-channels li {
    font-size: 15px;
    padding-left: 25px;
  }

  .page-about__security-list li::before,
  .page-about__support-channels li::before {
    font-size: 18px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important; /* Force full width */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Ensure all images are responsive and do not cause overflow */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* General content containers for mobile */
  .page-about__container,
  .page-about__hero-container {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }
}