.page-about {
  color: #ffffff; /* Text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-about__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-about__main-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__intro-text {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-about__cta-buttons--center {
  margin-top: 40px;
}

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

.page-about__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-about__btn-primary:hover {
  background-color: #d16b06;
  transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
  transform: translateY(-2px);
}

.page-about__section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__section:last-of-type {
  border-bottom: none;
}

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

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

.page-about__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: -20px auto 60px auto;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__text-block {
  padding: 20px;
}

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

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

.page-about__content-grid .page-about__text-block,
.page-about__content-grid .page-about__image {
  flex: 1;
}

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

.page-about__image--large {
  width: 100%;
  height: auto;
  margin-top: 40px;
}

.page-about__core-values {
  margin-top: 60px;
  text-align: center;
}

.page-about__value-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-about__value-list li {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px 30px;
  border-radius: 8px;
  flex: 1 1 calc(33% - 40px);
  max-width: calc(33% - 40px);
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
  border-left: 5px solid #26A9E0;
}

.page-about__value-list li strong {
  color: #26A9E0;
  display: block;
  margin-bottom: 10px;
  font-size: 1.2em;
}

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

.page-about__product-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__card-title {
  font-size: 1.4em;
  margin: 20px 15px 10px 15px;
}

.page-about__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__card-title a:hover {
  text-decoration: underline;
}

.page-about__product-card p {
  color: #ccc;
  padding: 0 15px 20px 15px;
  font-size: 0.95em;
}

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

.page-about__commitment-item,
.page-about__support-item,
.page-about__future-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-right: 5px solid #26A9E0;
}

.page-about__commitment-item a,
.page-about__support-item a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__commitment-item a:hover,
.page-about__support-item a:hover {
  text-decoration: underline;
}

.page-about__item-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__commitment-item p,
.page-about__support-item p,
.page-about__future-item p {
  color: #ccc;
  font-size: 0.95em;
}

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

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__sub-title,
.page-about__dark-section .page-about__item-title {
  color: #26A9E0;
}

.page-about__dark-section .page-about__section-description,
.page-about__dark-section p {
  color: #f0f0f0;
}

.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Plus sign to X */
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  color: #ccc;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Ensure it expands fully */
  padding: 15px 25px 25px 25px;
}

.page-about__faq-answer p {
  margin-bottom: 0;
}

.page-about__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__faq-answer a:hover {
  text-decoration: underline;
}

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

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

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

  .page-about__value-list li {
    flex: 1 1 calc(50% - 30px);
    max-width: calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px;
  }

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

  .page-about__main-title {
    font-size: 2.2em;
  }

  .page-about__intro-text {
    font-size: 1em;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    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;
    overflow: hidden !important;
  }

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

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

  .page-about__section-description {
    margin-bottom: 40px;
  }

  .page-about__sub-title {
    font-size: 1.4em;
  }

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

  .page-about__content-grid .page-about__text-block {
    order: 2;
  }

  .page-about__content-grid .page-about__image {
    order: 1;
    margin-bottom: 20px;
  }

  .page-about__value-list li {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-about__product-card,
  .page-about__commitment-item,
  .page-about__support-item,
  .page-about__future-item {
    padding: 20px;
  }

  .page-about__product-image {
    height: 180px;
  }

  .page-about__card-title {
    font-size: 1.2em;
  }

  .page-about__item-title {
    font-size: 1.3em;
  }

  .page-about__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  /* Responsive image rules */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__values,
  .page-about__products,
  .page-about__commitment,
  .page-about__support,
  .page-about__future,
  .page-about__faq,
  .page-about__content-grid,
  .page-about__product-grid,
  .page-about__commitment-grid,
  .page-about__support-grid,
  .page-about__future-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Content area images CSS dimensions lower bound */
  /* This is a global rule for .page-about img, ensuring it's not smaller than 200px. */
  /* In mobile, max-width: 100% will take precedence, but it won't force it smaller than 200px if the container allows. */
  /* The important thing is that no *explicit* width/height in CSS makes it smaller than 200px. */
  .page-about img:not(.shared-header__logo, .shared-footer__payment-icon, .shared-footer__social-icon, .shared-footer__game-provider-icon) {
    min-width: 200px;
    min-height: 200px;
  }

}

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

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

  .page-about__intro-text {
    font-size: 0.95em;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 12px 20px;
  }
}