.page-about {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
}

.page-about__dark-bg {
  background: #0D0E12;
  color: #FFF3E6; /* Text Main */
}

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

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

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FF8C1A; /* Primary color for titles */
}

.page-about__dark-bg .page-about__section-title {
  color: #FFF3E6;
}

.page-about__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 16px;
}

.page-about__text-block ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}

.page-about__text-block li {
  margin-bottom: 8px;
}

.page-about__image-block {
  flex: 1;
  text-align: center;
}

.page-about__image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__link-text {
  color: #FF8C1A;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__link-text:hover {
  color: #D96800;
  text-decoration: underline;
}

/* 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 */
  background-color: #f0f0f0; /* Light background for contrast */
}

.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%; /* Ensure it takes full width within its container */
}

.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: 8px;
  object-fit: cover;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #333333; /* Ensure contrast against light hero background */
}

.page-about__hero-content h1 {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FF8C1A;
}

.page-about__hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
}

.page-about__cta-button--primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button--secondary {
  background: #ffffff;
  color: #FF8C1A;
  border-color: #FF8C1A;
}

.page-about__cta-button--secondary:hover {
  background: #f0f0f0;
  color: #D96800;
  border-color: #D96800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

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

.page-about__feature-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__feature-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 4px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__feature-item h3 {
  font-size: 22px;
  color: #FF8C1A;
  margin-bottom: 10px;
}

.page-about__feature-item p {
  font-size: 15px;
  color: #555555;
}

/* Game Offerings */
.page-about__game-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__game-list li {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__game-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__game-list li h3 {
  font-size: 24px;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 10px;
}

.page-about__game-list li p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 20px;
}

.page-about__game-list li a {
  display: inline-block;
  background: #FF8C1A;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-about__game-list li a:hover {
  background: #D96800;
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  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: #f5f5f5;
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* CTA Download Section */
.page-about__cta-download {
  text-align: center;
}

.page-about__cta-download .page-about__section-title,
.page-about__cta-download .page-about__section-description {
  color: #FFF3E6;
}

.page-about__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 30px;
  }
  .page-about__section-description {
    font-size: 16px;
  }
  .page-about__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__content-wrapper--reverse {
    flex-direction: column-reverse;
  }
  .page-about__hero-content h1 {
    font-size: clamp(24px, 5vw, 40px);
  }
  .page-about__hero-content p {
    font-size: clamp(15px, 2.5vw, 18px);
  }
  .page-about__game-list,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-image img {
    border-radius: 4px;
  }
  .page-about__hero-content h1 {
    font-size: clamp(22px, 6vw, 36px);
  }
  .page-about__hero-content p {
    font-size: clamp(14px, 3vw, 16px);
  }
  .page-about__cta-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .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;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__section-title {
    font-size: 28px;
  }
  .page-about__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-about__image-block img,
  .page-about__feature-item img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__feature-item,
  .page-about__game-list li {
    padding: 20px;
  }
  .page-about__feature-item h3,
  .page-about__game-list li h3 {
    font-size: 20px;
  }
  details.page-about__faq-item summary.page-about__faq-question { padding: 15px; }
  .page-about__faq-qtext { font-size: 15px; }
  details.page-about__faq-item .page-about__faq-answer { padding: 0 15px 15px; }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 24px;
  }
  .page-about__hero-content h1 {
    font-size: clamp(20px, 7vw, 30px);
  }
  .page-about__hero-content p {
    font-size: clamp(14px, 4vw, 15px);
  }
  .page-about__cta-button {
    padding: 12px 20px;
    font-size: 15px;
  }
  .page-about__features-grid,
  .page-about__game-list {
    gap: 20px;
  }
}