/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light background */
  line-height: 1.6;
  background-color: #FFFFFF;
}

.page-about__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.page-about__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-about__hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6); /* Overlay for readability */
  padding: 20px;
  box-sizing: border-box;
}

.page-about__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin-bottom: 30px;
  color: #FFFFFF;
}

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

.page-about__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px; /* Ensure button minimum size */
  text-align: center;
  box-sizing: border-box;
  font-size: 1em;
}

.page-about__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-about__button--register:hover {
  background-color: #F0F0F0;
}

.page-about__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__button--login:hover {
  background-color: #E0A030;
}

.page-about__content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-about__story-section, .page-about__vision-mission-section, .page-about__values-section, .page-about__why-choose-us-section, .page-about__security-fair-play-section, .page-about__responsible-gaming-section, .page-about__cta-section {
  padding: 60px 0;
}

.page-about__story-section {
  background-color: #F8F8F8;
}

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

.page-about__story-text p {
  margin-bottom: 15px;
  color: #333333;
}

.page-about__story-image-wrapper {
  text-align: center;
}

.page-about__story-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-about__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 20px;
}

.page-about__button--learn-more:hover {
  background-color: #333333;
}

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

.page-about__vision, .page-about__mission {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-about__mission-list {
  list-style: none;
  padding: 0;
}

.page-about__mission-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #333333;
}

.page-about__mission-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #FCBC45;
  font-weight: bold;
}

.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: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-about__value-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-about__why-choose-us-section {
  background-color: #F8F8F8;
}

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

.page-about__why-choose-us-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-about__why-choose-us-item .page-about__sub-title {
  color: #FCBC45;
}

.page-about__image-wrapper {
  text-align: center;
}

.page-about__why-choose-us-main-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

.page-about__intro-paragraph, .page-about__outro-paragraph {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #333333;
}

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

.page-about__security-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-about__security-item .page-about__sub-title {
  color: #000000;
}

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

.page-about__security-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

.page-about__responsible-gaming-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto;
}

.page-about__responsible-gaming-item {
  background-color: #FFFFFF;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #FCBC45;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-about__button--responsible {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
}

.page-about__button--responsible:hover {
  background-color: #333333;
}

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

.page-about__cta-section .page-about__section-title {
  color: #FCBC45;
}

.page-about__cta-section .page-about__section-title::after {
  background-color: #FFFFFF;
}

.page-about__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 20px auto 40px auto;
  color: #F0F0F0;
}

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

.page-about__button--register-large {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-about__button--register-large:hover {
  background-color: #E0A030;
}

.page-about__button--login-large {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-about__button--login-large:hover {
  background-color: #F0F0F0;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-about__story-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-about__vision-mission-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-about__hero-title {
    font-size: 4.5em;
  }
  .page-about__hero-description {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__button {
    width: 100%;
    max-width: 300px;
  }
  .page-about__hero-buttons, .page-about__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-about__story-grid {
    grid-template-columns: 1fr;
  }
  .page-about__vision-mission-grid {
    grid-template-columns: 1fr;
  }
  .page-about__why-choose-us-grid, .page-about__security-grid, .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  /* Ensure all content images are responsive and do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__story-image,
  .page-about__value-image,
  .page-about__why-choose-us-main-image,
  .page-about__security-image {
    min-width: 200px;
    min-height: 200px;
    width: 100%;
    height: auto;
  }
}