/* style/about.css */

/* Body background is #0a0a0a (dark), so text must be light by default in main sections */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: transparent; /* Main content background is handled by sections */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for first section */
  color: #ffffff;
  overflow: hidden;
  min-height: 500px;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Slightly darker overlay for text */
  border-radius: 10px;
}

.page-about__main-title {
  font-size: clamp(2.2em, 5vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f8f8f8;
}

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

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

.page-about__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-about__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-about__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__text-block a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-about__feature-item {
  background-color: rgba(38, 169, 224, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__feature-item p {
  color: #f0f0f0;
}

.page-about__introduction-section .page-about__feature-item {
  background-color: #f9f9f9; /* Light background for feature items in light section */
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-about__introduction-section .page-about__feature-item p {
  color: #555555;
}

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

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

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border-color: #26A9E0;
}

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

.page-about__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b9;
  border-color: #1e87b9;
  transform: translateY(-2px);
}

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

.page-about__category-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-about__category-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
}

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

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

.page-about__category-description {
  color: #555555;
  font-size: 0.95em;
}

.page-about__promotion-list,
.page-about__support-channels {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-about__promotion-item,
.page-about__support-item {
  background-color: #f9f9f9;
  color: #333333;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  font-size: 1.05em;
}

.page-about__support-item {
  background-color: rgba(38, 169, 224, 0.1);
  color: #f0f0f0;
}

.page-about__support-item strong {
  color: #26A9E0;
}

.page-about__faq-section {
  padding-bottom: 80px;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #f9f9f9;
  color: #333333;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: left;
}

.page-about__faq-item details > summary {
  list-style: none;
}

.page-about__faq-item details > summary::-webkit-details-marker {
  display: none;
}

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

.page-about__faq-question:hover {
  background-color: #f0f0f0;
}

.page-about__faq-qtext {
  color: #333333;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  margin-left: 15px;
}

.page-about__faq-answer {
  padding: 15px 20px 20px;
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

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

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

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

.page-about__join-us-section .page-about__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1em;
}

.page-about__disclaimer {
  font-size: 0.9em;
  color: #aaa;
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__section {
    padding: 60px 15px;
  }
  .page-about__hero-section {
    padding: 40px 15px;
  }
  .page-about__hero-content {
    padding: 15px;
  }
  .page-about__game-categories,
  .page-about__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 15px;
  }
  .page-about__main-title {
    font-size: clamp(2em, 7vw, 2.8em);
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__container,
  .page-about__hero-section,
  .page-about__section,
  .page-about__feature-grid,
  .page-about__game-categories,
  .page-about__faq-list,
  .page-about__cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__hero-section {
    padding-top: 10px !important; /* body has --header-offset */
  }
  .page-about__image-centered,
  .page-about__image-full-width {
    margin-left: 0;
    margin-right: 0;
  }
  .page-about__text-block {
    text-align: left;
  }
  .page-about__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-about__faq-answer {
    padding: 10px 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-about__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
  }
  .page-about__hero-content {
    padding: 10px;
  }
}