.page-about {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  overflow: hidden;
}

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

.page-about__main-title {
  font-size: 3.5em;
  font-weight: 700;
  color: #e44d26;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-about__hero-description {
  font-size: 1.25em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: #e44d26;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(228, 77, 38, 0.4);
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-about__cta-button:hover {
  background: #cf4322;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(228, 77, 38, 0.6);
}

.page-about__cta-button--secondary {
  background: #1a1a1a;
  border: 2px solid #e44d26;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-about__cta-button--secondary:hover {
  background: #0d0d0d;
  border-color: #ff6633;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.page-about__cta-button--dark {
  background: #1a1a1a;
  border: 2px solid #e44d26;
  color: #e44d26;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-about__cta-button--dark:hover {
  background: #0d0d0d;
  border-color: #ff6633;
  color: #ff6633;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.page-about__cta-button--light {
  background: #e44d26;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(228, 77, 38, 0.4);
}

.page-about__cta-button--light:hover {
  background: #cf4322;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(228, 77, 38, 0.6);
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%) brightness(0.7);
}

.page-about__section {
  padding: 60px 20px;
  position: relative;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #e44d26;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-about__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  color: #f0f0f0;
  margin-bottom: 25px;
  text-align: justify;
}

.page-about__text-block a {
  color: #e44d26;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__text-block a:hover {
  color: #ff6633;
  text-decoration: underline;
}

/* Light background sections */
.page-about__light-bg {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-about__light-bg .page-about__section-title {
  color: #e44d26;
}

.page-about__light-bg .page-about__text-block {
  color: #f0f0f0;
}

.page-about__light-bg .page-about__text-block a {
  color: #e44d26;
}

/* Dark background sections */
.page-about__dark-section {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-about__dark-section .page-about__section-title {
  color: #e44d26;
}

.page-about__dark-section .page-about__text-block {
  color: #f0f0f0;
}

.page-about__dark-section .page-about__text-block a {
  color: #e44d26;
}

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

.page-about__grid-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__grid-title {
  font-size: 1.8em;
  color: #e44d26;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(228, 77, 38, 0.1);
}

.page-about__feature-title {
  font-size: 1.6em;
  color: #e44d26;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-about__image--centered {
  margin-left: auto;
  margin-right: auto;
}

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

.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: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  background-color: rgba(228, 77, 38, 0.08);
}

.page-about__value-title {
  font-size: 1.6em;
  color: #e44d26;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__security-list,
.page-about__responsible-gaming-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__security-item,
.page-about__responsible-gaming-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__security-item:hover,
.page-about__responsible-gaming-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-about__security-item-title,
.page-about__responsible-gaming-item-title {
  font-size: 1.5em;
  color: #e44d26;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__security-item p,
.page-about__responsible-gaming-item p {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-about__contact-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-about__contact-info {
  margin-top: 30px;
  font-size: 1.1em;
  line-height: 1.8;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-about__contact-info a {
  color: #e44d26;
  text-decoration: none;
  font-weight: bold;
}

.page-about__contact-info a:hover {
  text-decoration: underline;
}

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

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

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

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-about__grid,
  .page-about__features-grid,
  .page-about__values-grid,
  .page-about__security-list,
  .page-about__responsible-gaming-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-about__grid-item,
  .page-about__feature-card,
  .page-about__value-card,
  .page-about__security-item,
  .page-about__responsible-gaming-item {
    padding: 20px;
  }

  .page-about__grid-title,
  .page-about__feature-title,
  .page-about__value-title,
  .page-about__security-item-title,
  .page-about__responsible-gaming-item-title {
    font-size: 1.4em;
  }

  .page-about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__image--margin-top {
    margin-top: 40px;
  }

  .page-about__contact-section {
    padding-bottom: 60px;
  }

  .page-about__contact-info {
    font-size: 1em;
  }
}

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

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

  .page-about__section-title {
    font-size: 1.6em;
  }

  .page-about__grid-title,
  .page-about__feature-title,
  .page-about__value-title,
  .page-about__security-item-title,
  .page-about__responsible-gaming-item-title {
    font-size: 1.2em;
  }
}

/* Ensure all images are responsive and do not exceed container */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__container,
  .page-about__hero-container,
  .page-about__hero-image-wrapper,
  .page-about__cta-buttons,
  .page-about__grid,
  .page-about__features-grid,
  .page-about__values-grid,
  .page-about__security-list,
  .page-about__responsible-gaming-list,
  .page-about__contact-info {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}