.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #FFF6D6); /* Default text color for dark background */
  background-color: var(--bg-color, #0A0A0A); /* Default background color */
}

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

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

.page-about__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--text-main-color, #FFF6D6);
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: 28px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-main-color, #FFF6D6);
}

.page-about__description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 246, 214, 0.9);
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #000000; /* Ensure high contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

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

.page-about__cta-button--secondary {
  background: var(--card-bg-color, #111111);
  color: var(--text-main-color, #FFF6D6);
  border: 1px solid var(--border-color, #3A2A12);
  margin-left: 20px;
}

.page-about__cta-button--secondary:hover {
  background: var(--border-color, #3A2A12);
  color: var(--glow-color, #FFD36B);
}

/* HERO Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--bg-color, #0A0A0A);
}

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

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color, #3A2A12);
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  border-radius: 12px;
  color: var(--text-main-color, #FFF6D6);
}

.page-about__main-title {
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--glow-color, #FFD36B);
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.page-about__introduction-section {
  background-color: var(--bg-color, #0A0A0A);
  color: var(--text-main-color, #FFF6D6);
}

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

.page-about__feature-item {
  background-color: var(--card-bg-color, #111111);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color, #3A2A12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-about__feature-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color, #3A2A12);
  object-fit: cover;
}

.page-about__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--glow-color, #FFD36B);
}

.page-about__feature-item p {
  font-size: 16px;
  color: rgba(255, 246, 214, 0.8);
}

/* Mission Section */
.page-about__mission-section {
  background-color: var(--card-bg-color, #111111);
  color: var(--text-main-color, #FFF6D6);
  border-top: 1px solid var(--border-color, #3A2A12);
  border-bottom: 1px solid var(--border-color, #3A2A12);
}

.page-about__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-about__text-block {
  flex: 1;
  min-width: 300px;
}

.page-about__text-block p {
  margin-bottom: 20px;
  color: rgba(255, 246, 214, 0.85);
}

.page-about__value-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__value-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: rgba(255, 246, 214, 0.9);
}

.page-about__value-list li::before {
  content: '✓';
  color: var(--glow-color, #FFD36B);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Security Section */
.page-about__security-section {
  background-color: var(--bg-color, #0A0A0A);
  color: var(--text-main-color, #FFF6D6);
}

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

.page-about__security-item {
  background-color: var(--card-bg-color, #111111);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color, #3A2A12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-about__security-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color, #3A2A12);
  object-fit: cover;
}

.page-about__security-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--glow-color, #FFD36B);
}

.page-about__security-item p {
  font-size: 16px;
  color: rgba(255, 246, 214, 0.8);
}

/* Games Section */
.page-about__games-section {
  background-color: var(--card-bg-color, #111111);
  color: var(--text-main-color, #FFF6D6);
  border-top: 1px solid var(--border-color, #3A2A12);
}

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

.page-about__game-item {
  background-color: var(--bg-color, #0A0A0A);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color, #3A2A12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-about__game-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color, #3A2A12);
  object-fit: cover;
}

.page-about__game-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--glow-color, #FFD36B);
}

.page-about__game-item p {
  font-size: 16px;
  color: rgba(255, 246, 214, 0.8);
}

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

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #3A2A12);
  overflow: hidden;
  background-color: var(--card-bg-color, #111111);
  color: var(--text-main-color, #FFF6D6);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  text-align: left;
}

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-color: rgba(255, 211, 107, 0.1);
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main-color, #FFF6D6);
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--glow-color, #FFD36B);
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 25px;
  background-color: var(--bg-color, #0A0A0A);
  border-radius: 0 0 8px 8px;
}

.page-about__faq-answer p {
  font-size: 16px;
  color: rgba(255, 246, 214, 0.8);
}

/* Join Us Section */
.page-about__join-us-section {
  background-color: var(--glow-color, #FFD36B);
  color: #000000; /* Dark text for light background */
  padding: 80px 0;
  border-top: 1px solid var(--border-color, #3A2A12);
}

.page-about__join-us-section .page-about__section-title {
  color: #000000;
  text-shadow: none;
}

.page-about__join-us-section .page-about__description {
  color: rgba(0, 0, 0, 0.8);
}

.page-about__join-us-section .page-about__cta-button {
  background: var(--card-bg-color, #111111);
  color: var(--text-main-color, #FFF6D6);
}

.page-about__join-us-section .page-about__cta-button:hover {
  background: var(--border-color, #3A2A12);
  color: var(--glow-color, #FFD36B);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 38px;
  }
  .page-about__section-title {
    font-size: 32px;
  }
  .page-about__sub-title {
    font-size: 24px;
  }
  .page-about__description {
    font-size: 17px;
  }
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-image img {
    border-radius: 8px;
  }
  .page-about__hero-content {
    padding: 15px;
  }
  .page-about__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .page-about__description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 28px;
  }
  .page-about__sub-title {
    font-size: 20px;
  }
  .page-about__features-grid, .page-about__security-details, .page-about__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__feature-item, .page-about__security-item, .page-about__game-item {
    padding: 20px;
  }
  .page-about__feature-title, .page-about__security-title, .page-about__game-title {
    font-size: 20px;
  }
  .page-about__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
  }
  .page-about__cta-button--secondary {
    margin-left: 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-qtext {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    margin-left: 10px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }
  .page-about__join-us-section {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 26px;
  }
  .page-about__section-title {
    font-size: 24px;
  }
  .page-about__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
}