.page-about {
  color: #F3F8FF; /* Text Main for dark background */
  background-color: var(--deep-navy, #08162B);
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

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

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

.page-about__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
}

.page-about__section-subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: #F3F8FF;
}

.page-about__bullet-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #F3F8FF;
}

.page-about__bullet-list li {
  margin-bottom: 8px;
  color: #F3F8FF;
}

.page-about__cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 300px; /* Limit button width */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 20px;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Introduction Section */
.page-about__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

/* Why Choose Us Section */
.page-about__dark-section {
  background-color: #10233F; /* Card BG */
}

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

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

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

.page-about__feature-icon {
  font-size: 48px;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  display: block;
}

.page-about__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
}

.page-about__feature-description {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

/* Our Games Section */
.page-about__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.page-about__game-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #F3F8FF;
}

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

.page-about__game-card img {
  width: 100%;
  
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-about__game-title {
  font-size: 20px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin: 15px 10px 5px;
}

.page-about__game-description {
  font-size: 14px;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 10px 15px;
  flex-grow: 1;
}

/* Security & Fair Play Section */
.page-about__grid-reverse-mobile {
  grid-template-columns: 1fr 1fr;
}

/* Responsible Gaming Section */
.page-about__list-center {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  text-align: center;
}

.page-about__list-center li {
  margin-bottom: 10px;
}

.page-about__btn-secondary {
  background: #1D5FD1; /* Auxiliary color */
  color: #ffffff;
  border: 2px solid #1D5FD1;
  max-width: 400px;
}

.page-about__btn-secondary:hover {
  background: #113B7A; /* Main color */
  border-color: #113B7A;
}

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

.page-about__milestone-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__milestone-year {
  font-size: 50px;
  font-weight: 800;
  color: rgba(242, 193, 78, 0.1); /* Light gold for background year */
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.page-about__milestone-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.page-about__milestone-description {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  position: relative;
  z-index: 1;
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #1B3357; /* Divider color for hover */
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}
.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 8px 8px;
  color: #AFC4E8; /* Text Secondary */
}

/* Final CTA Section */
.page-about__cta-content {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 34px;
  }
  .page-about__hero-description {
    font-size: 18px;
  }
  .page-about__feature-title {
    font-size: 22px;
  }
  .page-about__game-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-about__section-padding {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-about__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem); /* Adjust H1 for mobile */
  }
  .page-about__hero-description {
    font-size: 16px;
  }
  .page-about__cta-button {
    font-size: 18px;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hero Section */
  .page-about__hero-section {
    padding-bottom: 40px;
  }
  .page-about__hero-image {
    object-fit: cover; /* Keep cover for hero */
    max-width: 100% !important;
    height: auto !important;
  }

  /* Introduction Section */
  .page-about__grid-two-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-about__grid-reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
  .page-about__image-block img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    min-width: 200px;
    min-height: 200px;
  }
  .page-about__text-block, .page-about__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Why Choose Us Section */
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__feature-card {
    padding: 25px;
  }
  .page-about__feature-title {
    font-size: 20px;
  }

  /* Our Games Section */
  .page-about__game-types-grid {
    grid-template-columns: 1fr;
  }
  .page-about__game-card img {
    height: 200px; /* Adjust height for mobile */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Milestones Section */
  .page-about__milestones-grid {
    grid-template-columns: 1fr;
  }
  .page-about__milestone-year {
    font-size: 40px;
  }
  .page-about__milestone-title {
    font-size: 20px;
  }

  /* FAQ Section */
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-qtext {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 20px 15px;
  }

  /* Buttons in general */
  .page-about a[class*="button"], .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__cta-buttons, .page-about__button-group, .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-about__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 24px;
  }
  .page-about__main-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }
  .page-about__feature-icon {
    font-size: 40px;
  }
  .page-about__game-card img {
    
  }
}