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

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

.page-about__heading {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__text {
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main-color);
}

.page-about__text-main {
  font-size: 17px;
  line-height: 1.7;
}

/* 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: var(--site-bg);
  color: var(--text-main-color);
}

.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: 8px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about__hero-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: bold;
}

.page-about__hero-description {
  font-size: 18px;
  color: var(--text-main-color);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__cta-group--center {
  margin-top: 50px;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary {
  background: var(--card-bg-color); /* #111111 */
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.page-about__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__link-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.page-about__link-button:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
}

/* Card Styles */
.page-about__card {
  background: var(--card-bg-color); /* #111111 */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__card h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 15px;
}

.page-about__card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-main-color);
}

/* Intro Section */
.page-about__intro-section {
  padding: 80px 0;
  background: var(--site-bg);
}

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

/* History Section */
.page-about__history-section {
  padding: 80px 0;
  background: #1a1a1a;
  color: var(--text-main-color);
}

.page-about__history-section .page-about__heading {
  color: var(--primary-color);
}

.page-about__timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 50px auto;
  max-width: 800px;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--primary-color);
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
}

.page-about__timeline-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.page-about__timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.page-about__timeline-item h3 {
  background: var(--primary-color);
  color: #000000;
  padding: 8px 15px;
  border-radius: 5px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 18px;
  font-weight: bold;
}

.page-about__timeline-item p {
  width: 45%;
  background: var(--card-bg-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 15px;
  border: 1px solid var(--border-color);
}

.page-about__timeline-item:nth-child(odd) p {
  text-align: right;
}

.page-about__history-image {
  display: block;
  margin: 50px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* Games Section */
.page-about__games-section {
  padding: 80px 0;
  background: var(--site-bg);
}

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

.page-about__game-card {
  padding: 20px;
}

.page-about__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.page-about__game-title a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
}

.page-about__game-title a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* Security Section */
.page-about__security-section {
  padding: 80px 0;
  background: #1a1a1a;
}

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

.page-about__feature-card {
  text-align: left;
}

.page-about__feature-card h3 {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 10px;
}

.page-about__feature-card p {
  font-size: 15px;
  color: var(--text-main-color);
}

.page-about__security-image {
  display: block;
  margin: 50px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* Customer Service Section */
.page-about__customer-service {
  padding: 80px 0;
  background: var(--site-bg);
}

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

.page-about__channel-card {
  text-align: center;
}

.page-about__channel-card h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 15px;
}

.page-about__channel-card p {
  font-size: 15px;
  color: var(--text-main-color);
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background: #1a1a1a;
}

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

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
}

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;
  color: var(--text-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: #1f1f1f;
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  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: #161616;
  border-radius: 0 0 8px 8px;
  font-size: 15px;
  color: var(--text-main-color);
}

/* Blog Section */
.page-about__blog-section {
  padding: 80px 0;
  background: var(--site-bg);
}

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

.page-about__blog-card {
  padding: 20px;
  text-align: left;
}

.page-about__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.page-about__blog-content {
  padding: 10px 0;
}

.page-about__blog-title a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  display: block;
  margin-bottom: 10px;
}

.page-about__blog-title a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-about__blog-date {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}

.page-about__blog-excerpt {
  font-size: 15px;
  color: var(--text-main-color);
  margin-bottom: 20px;
}

.page-about__read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}

.page-about__read-more:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* --- Variables --- */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg-color: #111111;
  --site-bg: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-content h1 {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-about__hero-description {
    font-size: 16px;
  }
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container {
    padding: 15px;
  }

  .page-about__heading {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 20px;
  }

  .page-about__text {
    font-size: 15px;
    margin-bottom: 30px;
  }

  /* Hero Section Mobile */
  .page-about__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    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(28px, 7vw, 38px);
  }

  .page-about__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-about__cta-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-about__cta-button,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
  }

  .page-about__cta-group,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Grid Layouts Mobile */
  .page-about__values-grid,
  .page-about__game-grid,
  .page-about__security-features,
  .page-about__service-channels,
  .page-about__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-about__card {
    padding: 20px;
  }

  .page-about__card h3 {
    font-size: 20px;
  }

  .page-about__card p {
    font-size: 14px;
  }

  /* Timeline Mobile */
  .page-about__timeline::before {
    left: 10px;
    transform: translateX(0);
  }

  .page-about__timeline-item {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
  }

  .page-about__timeline-item:nth-child(odd) {
    flex-direction: column;
  }

  .page-about__timeline-item h3 {
    position: static;
    transform: translateX(0);
    margin-left: 20px;
    margin-bottom: 10px;
    text-align: left;
  }

  .page-about__timeline-item p {
    width: calc(100% - 20px);
    margin-left: 20px;
    text-align: left;
  }

  .page-about__timeline-item:nth-child(odd) p {
    text-align: left;
  }

  /* Images Mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ Mobile */
  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;
  }

  .page-about__game-image,
  .page-about__blog-image {
    height: 180px;
  }

  .page-about__blog-title a {
    font-size: 18px;
  }
}