/* General Styles */
.page-da-ga {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #f5f5f5); /* Fallback to light grey if --background-color is not defined */
}

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

.page-da-ga__section-title {
  font-size: 2.5em;
  color: #C91F17; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-da-ga__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

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

/* Color Contrast Adjustments */
.page-da-ga__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-da-ga__dark-bg {
  background-color: #7A0E0E; /* Deep Red from custom palette */
  color: #FFF5E1; /* Text Main from custom palette */
}

.page-da-ga__dark-bg .page-da-ga__section-title,
.page-da-ga__dark-bg .page-da-ga__highlight {
  color: #F4D34D; /* Gold from custom palette */
}

.page-da-ga__dark-card {
  background-color: #D32F2F; /* Card BG from custom palette */
  color: #FFF5E1; /* Text Main from custom palette */
  border: 1px solid #F2B544; /* Border from custom palette */
}

.page-da-ga__dark-card .page-da-ga__card-title {
  color: #F4D34D; /* Gold from custom palette */
}

/* Buttons */
.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-da-ga__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient from custom palette */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F2B544; /* Border Gold from custom palette */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-da-ga__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-da-ga__btn-secondary {
  background-color: transparent;
  color: #F4D34D; /* Gold from custom palette */
  border: 2px solid #F4D34D; /* Gold border from custom palette */
}

.page-da-ga__btn-secondary:hover {
  background-color: #F4D34D;
  color: #7A0E0E; /* Deep Red for contrast */
}

.page-da-ga__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-da-ga__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

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

.page-da-ga__text-link {
  color: #E53935; /* Auxiliary brand color */
  text-decoration: underline;
}

.page-da-ga__text-link:hover {
  color: #C91F17;
}

/* Hero Section */
.page-da-ga__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: #7A0E0E; /* Deep Red for hero background */
}

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

.page-da-ga__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-da-ga__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  color: #FFF5E1; /* Text Main for hero content */
  max-width: 900px;
  margin: 0 auto;
}

.page-da-ga__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.2;
  color: #F4D34D; /* Gold for main title */
}

.page-da-ga__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.page-da-ga__introduction-section {
  padding: 60px 0;
}

.page-da-ga__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-da-ga__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-da-ga__image-block img,
.page-da-ga__image-center img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* Types Section */
.page-da-ga__types-section {
  padding: 60px 0;
}

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

.page-da-ga__card {
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-da-ga__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-da-ga__card-text {
  font-size: 1em;
  line-height: 1.5;
}

/* Guide Section */
.page-da-ga__guide-section {
  padding: 60px 0;
}

.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: #FFF5E1; /* Text Main for step background */
  border: 1px solid #F2B544; /* Gold border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-da-ga__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #C91F17; /* Main brand color */
  color: #FFF5E1; /* Text Main */
  border-radius: 50%;
  font-size: 1.5em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-da-ga__step-title {
  font-size: 1.3em;
  color: #7A0E0E; /* Deep Red */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-da-ga__step-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Tips Section */
.page-da-ga__tips-section {
  padding: 60px 0;
}

.page-da-ga__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-da-ga__tips-list li {
  background-color: #D32F2F; /* Card BG */
  border-left: 5px solid #F4D34D; /* Gold */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05em;
  color: #FFF5E1; /* Text Main */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-da-ga__tips-list li strong {
  color: #F4D34D; /* Gold */
}

/* Promotions Section */
.page-da-ga__promotions-section {
  padding: 60px 0;
}

.page-da-ga__promotion-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-da-ga__promotion-card {
  background-color: #FFF5E1; /* Text Main */
  border: 1px solid #F2B544; /* Gold border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-da-ga__promotion-card .page-da-ga__promotion-title {
  font-size: 1.4em;
  color: #C91F17; /* Main brand color */
  margin: 20px 15px 10px 15px;
  font-weight: bold;
}

.page-da-ga__promotion-card .page-da-ga__promotion-text {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

/* Safety Section */
.page-da-ga__safety-section {
  padding: 60px 0;
}

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

.page-da-ga__safety-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  color: #FFF5E1; /* Text Main */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-da-ga__safety-title {
  font-size: 1.4em;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-da-ga__safety-text {
  font-size: 0.95em;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-da-ga__faq-section {
  padding: 60px 0;
}

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

.page-da-ga__faq-item {
  background-color: #FFF5E1; /* Text Main */
  border: 1px solid #F2B544; /* Gold border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-da-ga__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #7A0E0E; /* Deep Red */
  background-color: #FFD86A; /* Button gradient start color */
  border-bottom: 1px solid #F2B544;
  list-style: none; /* For details/summary native marker */
}

.page-da-ga__faq-question::-webkit-details-marker {
  display: none;
}

.page-da-ga__faq-qtext {
  flex-grow: 1;
}

.page-da-ga__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  margin-left: 15px;
  color: #7A0E0E;
}

.page-da-ga__faq-item[open] .page-da-ga__faq-toggle {
  content: '-';
}

.page-da-ga__faq-answer {
  padding: 15px 25px;
  background-color: #FFF5E1;
  color: #333333;
  font-size: 1em;
  border-top: 1px solid #F2B544;
}

.page-da-ga__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-da-ga__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-da-ga__container {
    padding: 20px 30px;
  }

  .page-da-ga__section-title {
    font-size: 2em;
  }

  .page-da-ga__hero-content {
    padding: 30px 20px;
  }

  .page-da-ga__main-title {
    font-size: clamp(1.8em, 3.5vw, 3em);
  }

  .page-da-ga__hero-description {
    font-size: 1.1em;
  }

  .page-da-ga__content-grid {
    grid-template-columns: 1fr;
  }

  .page-da-ga__image-block {
    order: -1; /* Image above text on smaller screens */
  }

  .page-da-ga__card-grid,
  .page-da-ga__steps-grid,
  .page-da-ga__promotion-card-grid,
  .page-da-ga__safety-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-da-ga__promotion-image {
    height: 180px;
  }
}

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

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

  /* HERO 主图区域 */
  .page-da-ga__hero-section {
    padding-top: 10px !important; /* Small top padding */
  }

  .page-da-ga__hero-image-wrapper {
    max-height: 300px; /* Adjust height for mobile */
  }

  .page-da-ga__hero-content {
    padding: 20px 15px;
  }

  .page-da-ga__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em) !important; /* Smaller H1 for mobile */
  }

  .page-da-ga__hero-description {
    font-size: 1em;
  }

  .page-da-ga__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

  .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-left: 15px;
    padding-right: 15px;
  }

  .page-da-ga__section-title {
    font-size: 1.8em !important;
  }

  .page-da-ga__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-da-ga__introduction-section,
  .page-da-ga__types-section,
  .page-da-ga__guide-section,
  .page-da-ga__tips-section,
  .page-da-ga__promotions-section,
  .page-da-ga__safety-section,
  .page-da-ga__faq-section,
  .page-da-ga__conclusion-section {
    padding: 40px 0 !important;
  }

  .page-da-ga__content-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .page-da-ga__card-grid,
  .page-da-ga__steps-grid,
  .page-da-ga__promotion-card-grid,
  .page-da-ga__safety-grid {
    grid-template-columns: 1fr !important; /* Single column for cards/steps on mobile */
    gap: 20px !important;
  }

  .page-da-ga__promotion-image {
    height: 150px !important;
  }

  .page-da-ga__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-da-ga__faq-answer {
    padding: 10px 20px;
  }

  /* No long text gold frame or game/brand carousels on this non-homepage */
  /* Placeholders for required CSS for non-homepage, ensuring full coverage */
  /* These are not applicable for da-ga.html as it's not the homepage. */
  /* The general responsive rules above cover all content sections. */
}

/* No specific CSS for __home-content, __row-games, __slider-track, __game-slide, __banners-top-wrapper, __banner-item, __blog-masonry, __blog-card-link, __btn-outline, __blog-slider-track, __blog-slide as this is not the homepage. */
/* The provided template CSS for homepage elements is intentionally excluded for non-homepage files. */