/* General Styles for page-da-ga */
.page-da-ga {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
  font-size: 16px;
}

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

.page-da-ga__light-bg {
  background-color: #2A1212; /* Card BG */
  color: #FFF1E8;
}

.page-da-ga__dark-bg {
  background-color: #140C0C; /* Background */
  color: #FFF1E8;
}

.page-da-ga__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-da-ga__sub-title {
  font-size: clamp(22px, 2.5vw, 30px);
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-da-ga__text-block {
  font-size: 18px;
  margin-bottom: 25px;
  text-align: justify;
}

.page-da-ga__list-highlight {
  color: #FFB04A;
}

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

.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-da-ga__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C; /* Dark text for contrast */
  border: none;
}

.page-da-ga__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-da-ga__btn-secondary {
  background-color: transparent;
  color: #FFB04A;
  border: 2px solid #FFB04A;
}

.page-da-ga__btn-secondary:hover {
  background-color: #FFB04A;
  color: #140C0C; /* Dark text for contrast */
  transform: translateY(-2px);
}

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

.page-da-ga__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Hero Section */
.page-da-ga__hero-section {
  padding-top: 10px; /* Small top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-da-ga__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-da-ga__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-da-ga__hero-content-wrapper {
  max-width: 900px;
  padding: 30px 20px 50px;
  box-sizing: border-box;
  z-index: 1;
}

.page-da-ga__main-title {
  font-size: clamp(36px, 5vw, 56px);
  color: #F3C54D; /* Gold */
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-da-ga__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #FFF1E8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.page-da-ga__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-da-ga__content-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
  display: block;
}

.page-da-ga__text-content {
  flex: 1;
}

.page-da-ga__feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-da-ga__feature-list li {
  margin-bottom: 15px;
  font-size: 18px;
  padding-left: 30px;
  position: relative;
}

.page-da-ga__feature-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #F3C54D;
}

/* Bet Types Section */
.page-da-ga__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-da-ga__card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFF1E8;
}

.page-da-ga__card:hover {
  transform: translateY(-5px);
}

.page-da-ga__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-da-ga__card-title {
  font-size: 24px;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-da-ga__card-description {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-da-ga__card-link {
  display: inline-block;
  color: #FFB04A;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
}

.page-da-ga__card-link:hover {
  text-decoration: underline;
}

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

.page-da-ga__step-card {
  background-color: #140C0C; /* Background */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #FFF1E8;
}

.page-da-ga__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 20px;
}

.page-da-ga__step-title {
  font-size: 22px;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-da-ga__step-description {
  font-size: 16px;
}

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

.page-da-ga__strategy-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #FFF1E8;
}

.page-da-ga__strategy-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-da-ga__strategy-title {
  font-size: 22px;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-da-ga__strategy-description {
  font-size: 16px;
}

/* Safety Section */
.page-da-ga__safety-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-da-ga__feature-item {
  background-color: #140C0C; /* Background */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #FFF1E8;
}

.page-da-ga__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-da-ga__feature-title {
  font-size: 22px;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* FAQ Section */
.page-da-ga__faq-list {
  margin-top: 40px;
}

.page-da-ga__faq-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF1E8;
}

.page-da-ga__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  list-style: none;
}

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

.page-da-ga__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #FFB04A;
  transition: transform 0.3s ease;
}

.page-da-ga__faq-item[open] .page-da-ga__faq-toggle {
  transform: rotate(45deg);
}

.page-da-ga__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #FFF1E8;
}

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

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

  .page-da-ga__image-text-layout {
    flex-direction: column;
  }

  .page-da-ga__content-image {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-da-ga__hero-section {
    padding-top: 10px; /* Small top padding */
  }

  .page-da-ga__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-da-ga__main-title {
    font-size: clamp(30px, 8vw, 40px);
  }

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

  .page-da-ga__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* 按钮与按钮容器 */
  .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__cta-buttons,
  .page-da-ga__button-group,
  .page-da-ga__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

  /* 长文区 */
  .page-da-ga__container {
    padding: 20px 15px;
  }

  .page-da-ga__section-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-da-ga__sub-title {
    font-size: clamp(20px, 6vw, 28px);
  }

  .page-da-ga__text-block,
  .page-da-ga p,
  .page-da-ga li,
  .page-da-ga__card-description,
  .page-da-ga__step-description,
  .page-da-ga__strategy-description,
  .page-da-ga__feature-description,
  .page-da-ga__faq-answer p {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-da-ga__image-text-layout {
    flex-direction: column;
    gap: 20px;
  }

  /* 通用图片与容器 */
  .page-da-ga img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-da-ga__section,
  .page-da-ga__card,
  .page-da-ga__container,
  .page-da-ga__strategy-item,
  .page-da-ga__step-card,
  .page-da-ga__feature-item,
  .page-da-ga__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-da-ga__grid-cards,
  .page-da-ga__steps-layout,
  .page-da-ga__strategy-grid,
  .page-da-ga__safety-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-da-ga__card-image,
  .page-da-ga__strategy-image {
    height: auto; /* Allow height to adjust */
  }

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