.page-about {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
  font-size: 16px;
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-about__hero-image {
  width: 100%;
  height: 600px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(17, 17, 17, 0.85); /* Card B G with transparency */
  border-radius: 10px;
  margin-top: -100px; /* Overlap with image slightly for visual effect */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-about__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-about__btn-primary,
.page-about__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for contrast */
  border: none;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.6);
  opacity: 0.9;
}

.page-about__btn-secondary {
  background: #111111; /* Card B G */
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

.page-about__btn-secondary:hover {
  transform: translateY(-3px);
  background: #222222;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

.page-about__section {
  padding: 60px 20px;
  margin-bottom: 20px;
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #F2C14E, transparent);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-about__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
  text-align: justify;
}

.page-about__text-block strong {
  color: #FFD36B; /* Glow */
}

.page-about__dark-section {
  background-color: #111111; /* Card B G */
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
}

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

.page-about__card {
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-about__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
}

.page-about__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-about__card-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-about__card-text {
  font-size: 1rem;
  color: #FFF6D6;
  line-height: 1.6;
  text-align: justify;
  flex-grow: 1;
}

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

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

.page-about__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-about__security-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about__security-item img {
  
  
  margin-bottom: 15px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5)); /* Subtle glow for icons */
}

.page-about__item-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-about__item-text {
  font-size: 0.95rem;
  color: #FFF6D6;
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card B G */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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;
  color: #F2C14E; /* Main color */
}

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: #222222;
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 25px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 8px 8px;
  color: #FFF6D6;
  font-size: 1rem;
}

details.page-about__faq-item .page-about__faq-answer p {
  margin-bottom: 10px;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-about__hero-image {
    height: 500px;
  }
  .page-about__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }
  .page-about__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-about__subtitle {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  }
  .page-about__section {
    padding: 50px 15px;
  }
  .page-about__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  }
  .page-about__text-block {
    font-size: 1rem;
  }
  .page-about__cta-buttons {
    gap: 15px;
  }
  .page-about__btn-primary, .page-about__btn-secondary {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-about__grid-layout, .page-about__features-grid, .page-about__game-categories, .page-about__security-features {
    gap: 20px;
  }
  .page-about__card-title {
    font-size: 1.3rem;
  }
  .page-about__faq-qtext {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .page-about__hero-image {
    height: 350px;
    max-height: 350px !important;
    aspect-ratio: unset !important;
  }
  .page-about__hero-image img {
    object-fit: contain !important; /* Ensure image is not cropped on mobile */
    width: 100% !important;
    height: auto !important;
  }
  .page-about__hero-content {
    margin-top: -50px;
    padding: 25px 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .page-about__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }
  .page-about__subtitle {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    margin-bottom: 20px;
  }
  .page-about__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically on mobile */
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__cta-buttons--centered {
    margin-top: 30px;
  }
  .page-about__btn-primary, .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1rem !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;
  }
  .page-about__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-about__text-block {
    font-size: 0.95rem;
    text-align: left;
  }
  .page-about__grid-layout, .page-about__features-grid, .page-about__game-categories, .page-about__security-features {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-about__card, .page-about__security-item {
    padding: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-about__card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__card-title {
    font-size: 1.2rem;
  }
  .page-about__faq-item summary.page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-qtext {
    font-size: 1rem;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 20px 20px;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}