/* Base styles for the page */
.page-da-ga {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  line-height: 1.6;
}

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

.page-da-ga__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FF8C1A; /* Main color */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

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

.page-da-ga__content-area {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 17px;
  line-height: 1.8;
}

.page-da-ga__text-block {
  color: #FFF3E6;
}

.page-da-ga__text-block--white {
  color: #FFF3E6;
}

.page-da-ga__highlight {
  color: #FFA53A;
  font-weight: bold;
}

.page-da-ga__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-da-ga__list li {
  margin-bottom: 10px;
}

.page-da-ga__link-text {
  color: #FFA53A;
  text-decoration: underline;
}

.page-da-ga__link-text:hover {
  color: #FFB04D;
}

/* Buttons */
.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: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-da-ga__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 130, 26, 0.4);
}

.page-da-ga__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #E67A00 100%);
  box-shadow: 0 6px 20px rgba(255, 130, 26, 0.6);
}

.page-da-ga__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FFA53A;
  border: 2px solid #A84F0C; /* Border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-da-ga__btn-secondary:hover {
  background: #2a2d34;
  color: #FFB04D;
  border-color: #FF8C1A;
}

/* Hero Section */
.page-da-ga__hero-section {
  padding-top: 10px;
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #0D0E12;
  padding-bottom: 50px;
}

.page-da-ga__hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;
}

.page-da-ga__hero-image {
  width: 100%;
  height: 675px; /* HTML width="1200" height="675" */
  object-fit: cover;
  display: block;
  opacity: 0.7;
  filter: brightness(0.8);
}

.page-da-ga__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -300px; /* Adjust to place content over image */
  background: linear-gradient(to top, rgba(13, 14, 18, 0.95), rgba(13, 14, 18, 0.7));
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-da-ga__main-title {
  font-size: 56px;
  font-weight: 800;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-da-ga__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

/* Introduction Section */
.page-da-ga__introduction-section {
  padding: 80px 0;
  background-color: #0D0E12;
  color: #FFF3E6;
}

/* Features Section */
.page-da-ga__features-section {
  padding: 80px 0;
  background-color: #17191F; /* Card BG */
}

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

.page-da-ga__feature-card {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C;
  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;
}

.page-da-ga__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(255, 140, 26, 0.3);
}

.page-da-ga__feature-icon {
  width: 100%;
  height: 200px; /* HTML width="400" height="300" for this slot */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #FF8C1A;
}

.page-da-ga__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFA53A;
  margin-bottom: 15px;
}

.page-da-ga__feature-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* How-To-Play Section */
.page-da-ga__how-to-play-section {
  padding: 80px 0;
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-da-ga__guide-list {
  list-style: none;
  counter-reset: guide-counter;
  padding: 0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-da-ga__guide-list li {
  counter-increment: guide-counter;
  margin-bottom: 25px;
  padding-left: 40px;
  position: relative;
  font-size: 17px;
}

.page-da-ga__guide-list li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background: #FF8C1A;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.page-da-ga__guide-list li strong {
  color: #FFA53A;
}

.page-da-ga__cta-banner {
  background-color: #17191F; /* Card BG */
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px;
  margin-top: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #A84F0C;
}

.page-da-ga__cta-banner-image {
  width: 300px; /* HTML width="800" height="267" for this slot */
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid #FF8C1A;
}

.page-da-ga__cta-banner-content {
  flex-grow: 1;
}

.page-da-ga__cta-banner-title {
  font-size: 28px;
  font-weight: 700;
  color: #FFF3E6;
  margin-bottom: 10px;
}

.page-da-ga__cta-banner-text {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Types Section */
.page-da-ga__types-section {
  padding: 80px 0;
  background-color: #17191F; /* Card BG */
}

/* Testimonials Section */
.page-da-ga__testimonials-section {
  padding: 80px 0;
  background-color: #0D0E12;
  color: #FFF3E6;
}

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

.page-da-ga__testimonial-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-da-ga__testimonial-text {
  font-size: 16px;
  font-style: italic;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-da-ga__testimonial-author {
  font-size: 15px;
  font-weight: 600;
  color: #FFA53A;
  text-align: right;
}

/* FAQ Section */
.page-da-ga__faq-section {
  padding: 80px 0;
  background-color: #17191F; /* Card BG */
}

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

details.page-da-ga__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #0D0E12; /* Background */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

details.page-da-ga__faq-item summary.page-da-ga__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: #FFF3E6;
}

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: #1e2027; /* Slightly lighter than background */
}

.page-da-ga__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFA53A;
}

.page-da-ga__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFF3E6;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-da-ga__faq-item .page-da-ga__faq-answer {
  padding: 0 25px 25px;
  background: #0D0E12; /* Background */
  border-radius: 0 0 8px 8px;
  color: #f0f0f0;
  font-size: 16px;
}

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

.page-da-ga__cta-final-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-da-ga__hero-image {
    height: 500px;
  }

  .page-da-ga__hero-content {
    margin-top: -200px;
  }

  .page-da-ga__main-title {
    font-size: 48px;
  }

  .page-da-ga__hero-description {
    font-size: 18px;
  }

  .page-da-ga__section-title {
    font-size: 34px;
  }

  .page-da-ga__feature-card {
    padding: 25px;
  }

  .page-da-ga__feature-title {
    font-size: 22px;
  }

  .page-da-ga__cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }

  .page-da-ga__cta-banner-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin-bottom: 20px;
  }

  .page-da-ga__cta-banner-title {
    font-size: 24px;
  }

  .page-da-ga__faq-qtext {
    font-size: 17px;
  }

  .page-da-ga__faq-toggle {
    font-size: 24px;
  }
}

@media (max-width: 849px) {
  .page-da-ga__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    height: auto !important; /* Allow height to adjust based on contain */
  }
}

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

  .page-da-ga__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-da-ga__hero-section {
    padding-top: 10px !important; /* 約 10px 頂距 */
    padding-bottom: 30px;
  }

  .page-da-ga__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* 移动端 contain */
    aspect-ratio: unset !important;
  }

  .page-da-ga__hero-content {
    margin-top: 20px; /* Adjust margin for mobile to be below image */
    padding: 20px;
    background: rgba(13, 14, 18, 0.95);
  }

  .page-da-ga__main-title {
    font-size: clamp(32px, 8vw, 40px); /* 标题字号 clamp */
    margin-bottom: 15px;
  }

  .page-da-ga__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-da-ga__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* General Sections */
  .page-da-ga__introduction-section,
  .page-da-ga__features-section,
  .page-da-ga__how-to-play-section,
  .page-da-ga__types-section,
  .page-da-ga__testimonials-section,
  .page-da-ga__faq-section,
  .page-da-ga__cta-final-section {
    padding: 40px 0;
  }

  .page-da-ga__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-da-ga__content-area,
  .page-da-ga__text-block {
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 10px;
  }

  /* 通用图片与容器 */
  .page-da-ga img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-da-ga__feature-icon {
    height: auto; /* Ensure auto height for mobile */
  }

  /* 按钮与按钮容器 */
  .page-da-ga__btn-primary,
  .page-da-ga__btn-secondary,
  .page-da-ga a[class*="button"],
  .page-da-ga 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 15px;
    font-size: 16px;
  }

  .page-da-ga__hero-cta-buttons,
  .page-da-ga__cta-final-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 10px;
    flex-direction: column !important; /* 多个按钮垂直排列 */
    gap: 10px;
  }

  .page-da-ga__features-grid,
  .page-da-ga__testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-da-ga__feature-card,
  .page-da-ga__testimonial-card {
    padding: 20px;
  }

  .page-da-ga__feature-title {
    font-size: 20px;
  }

  .page-da-ga__cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .page-da-ga__cta-banner-image {
    margin-bottom: 15px;
  }

  .page-da-ga__cta-banner-title {
    font-size: 22px;
  }

  .page-da-ga__cta-banner-text {
    font-size: 16px;
  }

  details.page-da-ga__faq-item summary.page-da-ga__faq-question {
    padding: 15px;
  }

  .page-da-ga__faq-qtext {
    font-size: 16px;
  }

  .page-da-ga__faq-toggle {
    font-size: 22px;
    width: 25px;
  }

  details.page-da-ga__faq-item .page-da-ga__faq-answer {
    padding: 0 15px 15px;
  }

  .page-da-ga__guide-list li {
    font-size: 16px;
    padding-left: 35px;
  }

  .page-da-ga__guide-list li::before {
    width: 25px;
    height: 25px;
    font-size: 16px;
  }

  .page-da-ga__cta-final-description {
    font-size: 18px;
  }
}