/* General styles for the dai-ly page */
.page-dai-ly {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  background-color: var(--background-color, #ffffff);
  line-height: 1.6;
}

.page-dai-ly__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  text-align: center;
}

.page-dai-ly__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
}

.page-dai-ly__hero-content {
  max-width: 900px;
  margin: 20px auto 0;
  padding: 0 20px;
}

.page-dai-ly__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-dai-ly__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

.page-dai-ly__btn-primary,
.page-dai-ly__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-dai-ly__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-dai-ly__btn-primary:hover {
  background-color: #1a7fb2;
  border-color: #1a7fb2;
}

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

.page-dai-ly__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a7fb2;
}

.page-dai-ly__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-dai-ly__section-description {
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-dai-ly__benefits-section,
.page-dai-ly__commission-section,
.page-dai-ly__join-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-dai-ly__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-dai-ly__dark-bg .page-dai-ly__section-title,
.page-dai-ly__dark-bg .page-dai-ly__section-description,
.page-dai-ly__dark-bg .page-dai-ly__step-title,
.page-dai-ly__dark-bg .page-dai-ly__step-text,
.page-dai-ly__dark-bg .page-dai-ly__support-title,
.page-dai-ly__dark-bg .page-dai-ly__support-text {
  color: #ffffff;
}

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

.page-dai-ly__benefit-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-dai-ly__benefit-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px;
  min-height: 150px;
}

.page-dai-ly__benefit-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-dai-ly__benefit-text {
  font-size: 0.95rem;
  color: #666666;
  flex-grow: 1;
}

.page-dai-ly__how-it-works-section {
  padding: 60px 20px;
}

.page-dai-ly__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-dai-ly__step-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

.page-dai-ly__step-title {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-dai-ly__step-text {
  font-size: 0.95rem;
  color: #f0f0f0;
}

.page-dai-ly__commission-chart {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 150px;
}

.page-dai-ly__commission-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 800px;
  font-size: 1.1rem;
  color: #333333;
}

.page-dai-ly__commission-list li {
  background-color: #f8f8f8;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
}

.page-dai-ly__support-section {
  padding: 60px 20px;
}

.page-dai-ly__support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-dai-ly__support-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

.page-dai-ly__support-title {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-dai-ly__support-text {
  font-size: 0.95rem;
  color: #f0f0f0;
}

.page-dai-ly__support-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  max-width: 1000px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 150px;
}

.page-dai-ly__join-steps {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 800px;
  counter-reset: step-counter;
}

.page-dai-ly__join-steps li {
  counter-increment: step-counter;
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
  font-size: 1.1rem;
  color: #333333;
}

.page-dai-ly__join-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #26A9E0;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

.page-dai-ly__faq-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-dai-ly__faq-container {
  margin-top: 40px;
}

.page-dai-ly__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-dai-ly__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
}

.page-dai-ly__faq-question::-webkit-details-marker {
  display: none;
}

.page-dai-ly__faq-item[open] .page-dai-ly__faq-question {
  background-color: #e0f2f7;
  border-bottom-color: #26A9E0;
}

.page-dai-ly__faq-item[open] .page-dai-ly__faq-toggle {
  content: '-';
}

.page-dai-ly__faq-toggle {
  font-size: 1.5rem;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-dai-ly__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #555555;
}

.page-dai-ly__cta-section {
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-dai-ly__cta-section .page-dai-ly__btn-primary {
  margin-top: 30px;
  background-color: #EA7C07; /* Login color for CTA */
  border-color: #EA7C07;
}

.page-dai-ly__cta-section .page-dai-ly__btn-primary:hover {
  background-color: #c96700;
  border-color: #c96700;
}

/* Common image styles */
.page-dai-ly img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Placeholder for the long text gold frame, not strictly applicable here but included for consistency with the prompt's '必写清单' */
.page-dai-ly__home-content {
  /* This section is not present in dai-ly.html but is required in the CSS output for the '必写清单' */
  border: 1px solid #FBB00D; /* Example gold border */
  border-radius: 10px;
  padding: 30px;
  margin: 40px auto;
  max-width: 1000px;
  height: 650px; /* Example fixed height */
  overflow-y: auto;
  background-color: #ffffff;
  color: #333333;
}

.page-dai-ly__home-content h2 {
  font-size: 2.2rem; /* Example font size */
  color: #26A9E0;
}

/* Placeholder for game carousel, not strictly applicable here */
.page-dai-ly__row-games, .page-dai-ly__row-sport, .page-dai-ly__row-coop {
  /* This section is not present in dai-ly.html but is required in the CSS output for the '必写清单' */
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}

.page-dai-ly__games-title, .page-dai-ly__sport-title, .page-dai-ly__coop-title {
  color: #fff;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.page-dai-ly__slider-wrapper {
  overflow: hidden;
  margin-top: 30px;
}

.page-dai-ly__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transform: translateX(0);
  transition: transform 0.5s ease-in-out;
}

.page-dai-ly__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  background-color: #333;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 150px;
}

/* Placeholder for partner grid, not strictly applicable here */
.page-dai-ly__banners-top-wrapper {
  /* This section is not present in dai-ly.html but is required in the CSS output for the '必写清单' */
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 40px auto;
}

.page-dai-ly__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
  min-
  min-
}

/* Placeholder for blog cards, not strictly applicable here */
.page-dai-ly__blog-masonry {
  /* This section is not present in dai-ly.html but is required in the CSS output for the '必写清单' */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-dai-ly__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-dai-ly__blog-card-link:hover {
  transform: translateY(-5px);
}

.page-dai-ly__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  min-width: 200px;
  min-height: 150px;
}

.page-dai-ly__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-dai-ly__blog-card-title {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-dai-ly__blog-card-text {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-dai-ly__btn-outline {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #26A9E0;
  color: #26A9E0;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: auto;
  align-self: flex-start;
}

.page-dai-ly__btn-outline:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-dai-ly__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transform: translateX(0);
  transition: transform 0.5s ease-in-out;
}

.page-dai-ly__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
  min-width: 250px;
  min-height: 200px;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-dai-ly__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-dai-ly__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-dai-ly__benefits-grid, .page-dai-ly__steps-grid, .page-dai-ly__support-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-dai-ly__home-content {
    height: 550px;
  }
  .page-dai-ly__game-slide {
    flex: 0 0 180px;
    max-width: 180px;
  }
  .page-dai-ly__banners-top-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-dai-ly__blog-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-dai-ly__blog-slide {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

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

  /* HERO 主图区域 */
  .page-dai-ly__hero-section {
    padding-top: 10px !important; /* Small top padding */
    margin-bottom: 20px;
  }

  .page-dai-ly__hero-image {
    max-height: 300px !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-dai-ly__hero-content {
    padding: 0 15px;
  }

  .page-dai-ly__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

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

  .page-dai-ly__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 15px;
  }

  .page-dai-ly__section-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  /* Long text gold frame */
  .page-dai-ly__home-content {
    height: auto !important; /* Auto height on mobile */
    overflow-y: visible !important;
    padding: 20px 15px !important;
    margin: 20px auto !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-dai-ly__home-content h2 {
    font-size: 1.8rem !important;
  }

  /* Game carousel (placeholder) */
  .page-dai-ly__row-games, .page-dai-ly__row-sport, .page-dai-ly__row-coop {
    padding: 20px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-dai-ly__games-title, .page-dai-ly__sport-title, .page-dai-ly__coop-title {
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
  }

  .page-dai-ly__slider-wrapper {
    margin-top: 20px !important;
  }

  .page-dai-ly__slider-track {
    display: flex !important;
    flex-wrap: nowrap !important; /* Keep horizontal scroll */
    gap: 10px !important;
  }

  .page-dai-ly__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
    min-width: 160px !important;
    min-height: 120px !important;
  }

  /* Partner grid */
  .page-dai-ly__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* 3 columns on mobile */
    gap: 8px !important;
    margin: 20px auto !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-dai-ly__banner-item img {
    
    
    min-
    min-
  }

  /* Blog cards */
  .page-dai-ly__blog-masonry {
    grid-template-columns: 1fr !important; /* Single column on mobile */
    gap: 15px !important;
    margin-top: 20px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-dai-ly__blog-card-link {
    margin-bottom: 15px;
  }

  .page-dai-ly__blog-card-image {
    height: 180px !important;
    min-width: 200px !important;
    min-height: 120px !important;
  }

  .page-dai-ly__blog-card-title {
    font-size: 1.2rem !important;
  }

  .page-dai-ly__blog-card-text {
    font-size: 0.85rem !important;
  }

  .page-dai-ly__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important; /* Keep horizontal scroll */
    gap: 15px !important;
  }

  .page-dai-ly__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-width: 250px !important;
    min-height: 180px !important;
  }

  /* General images and containers */
  .page-dai-ly img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-dai-ly__benefits-section,
  .page-dai-ly__commission-section,
  .page-dai-ly__join-section,
  .page-dai-ly__how-it-works-section,
  .page-dai-ly__support-section,
  .page-dai-ly__faq-section,
  .page-dai-ly__cta-section {
    padding: 30px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-dai-ly__benefits-grid,
  .page-dai-ly__steps-grid,
  .page-dai-ly__support-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-dai-ly__benefit-card,
  .page-dai-ly__step-card,
  .page-dai-ly__support-item {
    padding: 25px !important;
  }

  .page-dai-ly__benefit-icon,
  .page-dai-ly__commission-chart,
  .page-dai-ly__support-image {
    max-width: 100% !important;
    min-width: 200px !important;
    min-height: 150px !important;
  }

  .page-dai-ly__commission-list,
  .page-dai-ly__join-steps {
    padding: 0 15px !important;
  }

  .page-dai-ly__faq-question {
    padding: 15px 20px !important;
    font-size: 1rem !important;
  }

  .page-dai-ly__faq-answer {
    padding: 10px 20px 15px !important;
    font-size: 0.95rem !important;
  }

  /* Buttons and button containers */
  .page-dai-ly__btn-primary,
  .page-dai-ly__btn-secondary,
  .page-dai-ly a[class*="button"],
  .page-dai-ly 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 !important;
    padding-right: 15px !important;
  }

  .page-dai-ly__cta-buttons,
  .page-dai-ly__button-group,
  .page-dai-ly__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important; /* For multiple buttons */
    gap: 10px !important;
  }

  .page-dai-ly__cta-section .page-dai-ly__btn-primary {
    margin-top: 20px;
  }
}