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

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

.page-da-ga__section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-da-ga__section:nth-of-type(even) {
  background-color: #ffffff;
}

/* Dark section specific styles */
.page-da-ga__dark-section {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
}

.page-da-ga__dark-section .page-da-ga__section-title {
  color: #ffffff;
}

.page-da-ga__dark-section .page-da-ga__inline-link {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.page-da-ga__dark-section .page-da-ga__step-description {
  color: #f0f0f0;
}

.page-da-ga__dark-section .page-da-ga__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-da-ga__dark-section .page-da-ga__btn-secondary:hover {
  background: #f0f0f0;
  color: #26A9E0;
}

/* Hero Section */
.page-da-ga__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  background-color: #26A9E0; /* Fallback background */
}

.page-da-ga__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
}

.page-da-ga__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop, will be contain on mobile */
  display: block;
}

.page-da-ga__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px 15px;
  color: #ffffff;
  margin-top: -100px; /* Overlap slightly for visual effect, but not text on image */
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.page-da-ga__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* H1 font size with clamp */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-da-ga__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-da-ga__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-da-ga__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-da-ga__btn-primary:hover {
  background-color: #d16e00;
  border-color: #d16e00;
}

.page-da-ga__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #ffffff;
}

.page-da-ga__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-da-ga__btn-secondary--white-text {
  color: #26A9E0;
  background-color: #ffffff;
  border-color: #ffffff;
}

.page-da-ga__btn-secondary--white-text:hover {
  background-color: #f0f0f0;
  color: #26A9E0;
}

/* Section Titles */
.page-da-ga__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #222222;
}

.page-da-ga__section-title--white {
  color: #ffffff;
}

/* Content Block & Article Body */
.page-da-ga__content-block {
  margin-bottom: 30px;
}

.page-da-ga__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.page-da-ga__article-body p {
  margin-bottom: 15px;
}

.page-da-ga__article-body strong.page-da-ga__highlight {
  color: #26A9E0; /* Brand color for highlights */
  font-weight: 700;
}

.page-da-ga__dark-section .page-da-ga__article-body strong.page-da-ga__highlight {
  color: #ffffff;
}

/* Images within content */
.page-da-ga__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Card Grid for Game Types */
.page-da-ga__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-da-ga__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-da-ga__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.page-da-ga__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-da-ga__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 20px 20px 10px;
  color: #222222;
}

.page-da-ga__card-description {
  font-size: 0.95rem;
  color: #555555;
  padding: 0 20px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-da-ga__btn-text-link {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px 20px;
  transition: color 0.3s ease;
}

.page-da-ga__btn-text-link:hover {
  color: #1a7bbd;
  text-decoration: underline;
}

/* How-to Steps */
.page-da-ga__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-da-ga__step-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark section */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-da-ga__dark-section .page-da-ga__step-item {
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-da-ga__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #EA7C07; /* Login color for numbers */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.page-da-ga__step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-da-ga__step-description {
  font-size: 0.95rem;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-da-ga__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Feature List (Advantages Section) */
.page-da-ga__feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-da-ga__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-left: 5px solid #26A9E0; /* Accent color */
}

.page-da-ga__feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222222;
}

.page-da-ga__feature-item p {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 10px;
}

.page-da-ga__inline-link {
  color: #26A9E0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-da-ga__inline-link:hover {
  color: #1a7bbd;
}

/* Tips List */
.page-da-ga__tips-list {
  list-style: decimal;
  padding-left: 25px;
  margin: 30px auto 0;
  max-width: 900px;
}

.page-da-ga__tip-item {
  margin-bottom: 20px;
  padding-left: 10px;
}

.page-da-ga__tip-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222222;
  margin-bottom: 8px;
}

.page-da-ga__tip-item p {
  font-size: 1rem;
  color: #555555;
}

/* FAQ Section */
.page-da-ga__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

details.page-da-ga__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-da-ga__faq-item summary.page-da-ga__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-da-ga__faq-item summary.page-da-ga__faq-question::-webkit-details-marker {
  display: none;
}
details.page-da-ga__faq-item summary.page-da-ga__faq-question:hover {
  background: #f5f5f5;
}
.page-da-ga__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-da-ga__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-da-ga__faq-item .page-da-ga__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}
details.page-da-ga__faq-item .page-da-ga__faq-answer p {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-da-ga__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-da-ga__container--center {
  max-width: 800px;
}

.page-da-ga__description--white {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* --- Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-da-ga__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-da-ga__section {
    padding: 40px 0;
  }

  /* HERO 主图区域 */
  .page-da-ga__hero-section {
    padding-bottom: 40px;
    padding-top: 10px; /* Small top padding */
  }
  
  .page-da-ga__hero-image-wrapper {
    max-height: 300px; /* Adjust height for mobile */
  }

  .page-da-ga__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Remove aspect ratio constraint */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-da-ga__hero-content {
    margin-top: -60px; /* Adjust overlap */
    padding: 15px;
  }

  .page-da-ga__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-da-ga__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* 按钮与按钮容器 */
  .page-da-ga__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px; /* Add padding to container */
  }

  .page-da-ga__btn-primary,
  .page-da-ga__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* Section Titles */
  .page-da-ga__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
    padding: 0 15px;
  }

  /* Content Block & Article Body */
  .page-da-ga__article-body {
    font-size: 1rem;
    padding: 0 15px; /* Ensure content padding */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 通用图片与容器 */
  .page-da-ga img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  .page-da-ga__image-content {
    margin: 20px auto;
  }

  /* 产品展示图区域 (Card Grid) */
  .page-da-ga__card-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    padding: 0 15px; /* Add padding to container */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  
  .page-da-ga__card-image {
    height: 180px; /* Adjust card image height */
  }

  .page-da-ga__card-title {
    font-size: 1.15rem;
    margin: 15px 15px 8px;
  }

  .page-da-ga__card-description {
    font-size: 0.9rem;
    padding: 0 15px;
  }

  .page-da-ga__btn-text-link {
    padding: 8px 15px 15px;
  }

  /* How-to Steps */
  .page-da-ga__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-da-ga__step-item {
    padding: 25px;
  }

  .page-da-ga__step-number {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  .page-da-ga__step-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .page-da-ga__step-description {
    font-size: 0.9rem;
  }

  /* Feature List */
  .page-da-ga__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-da-ga__feature-item {
    padding: 20px;
  }

  .page-da-ga__feature-title {
    font-size: 1.1rem;
  }

  .page-da-ga__feature-item p {
    font-size: 0.9rem;
  }

  /* Tips List */
  .page-da-ga__tips-list {
    padding-left: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-da-ga__tip-item {
    padding-left: 5px;
  }

  .page-da-ga__tip-title {
    font-size: 1.1rem;
  }

  .page-da-ga__tip-item p {
    font-size: 0.9rem;
  }

  /* FAQ Section */
  details.page-da-ga__faq-item summary.page-da-ga__faq-question { padding: 15px; }
  .page-da-ga__faq-qtext { font-size: 15px; }
  details.page-da-ga__faq-item .page-da-ga__faq-answer { padding: 0 15px 15px; }

  /* Final CTA Section */
  .page-da-ga__cta-final-section {
    padding: 50px 0;
  }

  .page-da-ga__description--white {
    font-size: 1rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }
}

/* Ensure all content areas have padding on mobile to prevent overflow */
.page-da-ga__section,
.page-da-ga__card,
.page-da-ga__container,
.page-da-ga__content-block {
  box-sizing: border-box; /* Important for consistent padding */
}
/* This part is already handled by .page-da-ga__container for padding,
   but adding explicit max-width for safety on all main content blocks */
@media (max-width: 768px) {
  .page-da-ga__section,
  .page-da-ga__content-block,
  .page-da-ga__card-grid,
  .page-da-ga__steps-grid,
  .page-da-ga__feature-list,
  .page-da-ga__tips-list,
  .page-da-ga__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}