/* dy-s.baby — 影院级视频播放器官网 · 移动端优先 */
:root {
  --bg: #06060a;
  --bg-panel: #0e0e14;
  --bg-card: #16161f;
  --bg-elevated: #1c1c28;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 45, 85, 0.35);
  --text: #ededf4;
  --text-soft: #9898ae;
  --text-dim: #5e5e72;
  --red: #ff2d55;
  --red-deep: #d91a42;
  --red-glow: rgba(255, 45, 85, 0.4);
  --gold: #ffc940;
  --gold-deep: #e6a800;
  --cyan: #00e5ff;
  --magenta: #ff2d7a;
  --grad-hero: linear-gradient(135deg, #ff2d55 0%, #ff6b35 50%, #ffc940 100%);
  --grad-red: linear-gradient(90deg, var(--red), var(--magenta));
  --header-h: 52px;
  --fixed-h: 0px;
  --max: 1080px;
  --radius: 14px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  font-size: 15px;
  min-height: 100vh;
  overflow-x: hidden;
}

body.has-fixed-dl { padding-top: var(--fixed-h); }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.03) 2px,
    rgba(255, 255, 255, 0.03) 4px
  );
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--gold); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

/* ===== Fixed download bar ===== */
.dyb-fixed-dl {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 190;
  background: rgba(6, 6, 10, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-strong);
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
  pointer-events: none;
}

.dyb-fixed-dl.is-show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.dyb-fixed-dl-inner {
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.dyb-hidden { display: none !important; }

/* ===== Ads ===== */
#ads,
.dyb-ad-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 12px;
  background: transparent;
}

#ads > div,
.dyb-ad-row > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
}

#ads img,
.dyb-ad-row img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(255, 45, 85, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 2px solid rgba(255, 45, 85, 0.25);
}

#ads a,
.dyb-ad-row a {
  display: inline-block;
  border-radius: 16px;
}

#ads img:hover,
.dyb-ad-row img:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px var(--red-glow);
}

#ads .caption,
.dyb-ad-row .caption {
  height: 15px;
  font-size: 11px;
  color: var(--text-soft);
  text-align: center;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

/* ===== Header ===== */
.dyb-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(6, 6, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.dyb-header.is-lit {
  border-color: var(--line-strong);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.dyb-header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 12px;
}

.dyb-logo img {
  height: 30px;
  width: auto;
}

.dyb-nav {
  display: none;
  gap: 4px;
  margin-left: auto;
}

.dyb-nav a {
  color: var(--text-soft);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.dyb-nav a:hover,
.dyb-nav a.is-on {
  color: var(--text);
  background: rgba(255, 45, 85, 0.12);
}

.dyb-btn-dl {
  display: none;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 7px 16px;
  background: var(--grad-red);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 4px 16px var(--red-glow);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.dyb-btn-dl:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--red-glow);
}

.dyb-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.dyb-menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.dyb-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dyb-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.dyb-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.dyb-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  background: rgba(6, 6, 10, 0.97);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.dyb-drawer.is-open { transform: translateX(0); }

.dyb-drawer a {
  color: var(--text);
  font-size: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border-bottom: 1px solid var(--line);
}

.dyb-drawer a:hover { background: rgba(255, 45, 85, 0.1); color: var(--red); }

@media (min-width: 768px) {
  .dyb-nav { display: flex; }
  .dyb-btn-dl {
    display: inline-flex;
    margin-left: 0;
  }
  .dyb-menu-btn { display: none; }
  .dyb-drawer { display: none; }
}

/* ===== Ad stage ===== */
.dyb-ad-stage {
  padding: 16px 0 12px;
  background: linear-gradient(180deg, rgba(255, 45, 85, 0.06) 0%, transparent 100%);
  border-bottom: 1px solid var(--line);
}

.dyb-ad-stage-head {
  text-align: center;
  margin-bottom: 12px;
}

.dyb-ad-stage-head h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.dyb-ad-stage-head p {
  font-size: 13px;
  color: var(--text-soft);
}

/* ===== Hero — Video Player Mockup ===== */
.dyb-hero {
  padding: 24px 0 32px;
  position: relative;
}

.dyb-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.dyb-hero-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.dyb-hero-text h1 {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #fff 30%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dyb-hero-text .dyb-lead {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.dyb-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.dyb-hero-tags span {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 45, 85, 0.15);
  color: var(--red);
  border: 1px solid rgba(255, 45, 85, 0.3);
}

.dyb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dyb-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  background: var(--gold);
  color: #1a1000 !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(255, 201, 64, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.dyb-btn-primary:hover {
  color: #1a1000 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 201, 64, 0.45);
}

.dyb-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border: 1px solid var(--line-strong);
  color: var(--text) !important;
  font-size: 14px;
  border-radius: 24px;
  transition: border-color 0.2s, background 0.2s;
}

.dyb-btn-outline:hover {
  border-color: var(--red);
  background: rgba(255, 45, 85, 0.08);
  color: var(--text) !important;
}

.dyb-player {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 45, 85, 0.1);
}

.dyb-player-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
}

.dyb-player-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.dyb-player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
}

.dyb-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(255, 45, 85, 0.25), 0 8px 32px var(--red-glow);
  animation: dyb-pulse 2.5s ease infinite;
}

.dyb-play-btn svg { margin-left: 4px; }

@keyframes dyb-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(255, 45, 85, 0.25), 0 8px 32px var(--red-glow); }
  50% { box-shadow: 0 0 0 14px rgba(255, 45, 85, 0.12), 0 8px 40px var(--red-glow); }
}

.dyb-player-bar {
  padding: 10px 14px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.dyb-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}

.dyb-progress-fill {
  height: 100%;
  width: 38%;
  background: var(--grad-red);
  border-radius: 2px;
  position: relative;
}

.dyb-progress-fill::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red-glow);
}

.dyb-player-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-dim);
}

@media (min-width: 768px) {
  .dyb-hero-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* ===== Marquee ticker ===== */
.dyb-ticker {
  overflow: hidden;
  padding: 10px 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dyb-ticker-track {
  display: flex;
  gap: 32px;
  animation: dyb-scroll 30s linear infinite;
  white-space: nowrap;
}

.dyb-ticker-track span {
  font-size: 13px;
  color: var(--text-soft);
  flex-shrink: 0;
}

.dyb-ticker-track span em {
  color: var(--red);
  font-style: normal;
  margin-right: 6px;
}

@keyframes dyb-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Section common ===== */
.dyb-section {
  padding: 40px 0;
}

.dyb-section-head {
  margin-bottom: 28px;
}

.dyb-section-head h2 {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.dyb-section-head h2::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.dyb-section-head p {
  color: var(--text-soft);
  font-size: 14px;
  margin-top: 12px;
  max-width: 640px;
}

/* ===== 3:7 Split layout ===== */
.dyb-split {
  display: grid;
  gap: 20px;
  align-items: center;
}

.dyb-split-text {
  order: 2;
}

.dyb-split-img {
  order: 1;
  position: relative;
}

.dyb-split-img img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.dyb-split-img::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--red), transparent 60%);
  z-index: -1;
  opacity: 0.4;
}

.dyb-split-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.dyb-split-text p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.dyb-split-text ul {
  list-style: none;
  margin: 12px 0;
}

.dyb-split-text li {
  font-size: 14px;
  color: var(--text-soft);
  padding: 6px 0 6px 20px;
  position: relative;
}

.dyb-split-text li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 10px;
  top: 8px;
}

.dyb-split.reverse .dyb-split-text { order: 2; }
.dyb-split.reverse .dyb-split-img { order: 1; }

@media (min-width: 768px) {
  .dyb-split {
    grid-template-columns: 3fr 7fr;
    gap: 28px;
  }

  .dyb-split-text { order: 1; }
  .dyb-split-img { order: 2; }

  .dyb-split.reverse {
    grid-template-columns: 7fr 3fr;
  }

  .dyb-split.reverse .dyb-split-text { order: 2; }
  .dyb-split.reverse .dyb-split-img { order: 1; }
}

/* ===== Category chips ===== */
.dyb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.dyb-chip {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--bg-card);
  color: var(--text-soft);
  border: 1px solid var(--line);
  transition: border-color 0.2s, color 0.2s;
}

.dyb-chip.is-hot {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ===== Feature grid ===== */
.dyb-feat-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.dyb-feat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.dyb-feat-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.dyb-feat-card img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  width: 100%;
}

.dyb-feat-card-body {
  padding: 12px;
}

.dyb-feat-card-body h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.dyb-feat-card-body p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .dyb-feat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .dyb-feat-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Stats bar ===== */
.dyb-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 24px 0;
}

.dyb-stat {
  text-align: center;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.dyb-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 4px;
}

.dyb-stat span {
  font-size: 12px;
  color: var(--text-soft);
}

@media (min-width: 640px) {
  .dyb-stats { grid-template-columns: repeat(4, 1fr); }
}

/* ===== FAQ ===== */
.dyb-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dyb-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.dyb-faq-q {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font);
}

.dyb-faq-q::after {
  content: "+";
  font-size: 20px;
  color: var(--red);
  transition: transform 0.25s;
}

.dyb-faq-item.is-open .dyb-faq-q::after {
  transform: rotate(45deg);
}

.dyb-faq-a {
  display: none;
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
}

.dyb-faq-item.is-open .dyb-faq-a { display: block; }

/* ===== Prose block ===== */
.dyb-prose {
  max-width: 800px;
}

.dyb-prose h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text);
}

.dyb-prose p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.dyb-prose a { color: var(--cyan); }

.dyb-prose-wide { max-width: none; }

.dyb-prose-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  margin-bottom: 16px;
}

.dyb-prose-block h3 {
  margin-top: 0;
  font-size: 16px;
}

.dyb-seo-columns {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .dyb-seo-columns { grid-template-columns: 1fr 1fr; }
}

.dyb-inline-cta {
  text-align: center;
  margin-top: 24px;
}

/* ===== Footer ===== */
.dyb-footer {
  padding: 32px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-panel);
  margin-top: 20px;
}

.dyb-footer-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

.dyb-footer h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.dyb-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dyb-footer ul a {
  font-size: 13px;
  color: var(--text-soft);
}

.dyb-footer ul a:hover { color: var(--red); }

.dyb-footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

@media (min-width: 640px) {
  .dyb-footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ===== Sub pages ===== */
.dyb-page-hero {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--line);
}

.dyb-page-hero h1 {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
}

.dyb-page-hero p {
  color: var(--text-soft);
  font-size: 14px;
}

.dyb-legal {
  padding: 32px 0 48px;
}

.dyb-legal h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--text);
}

.dyb-legal h2:first-child { margin-top: 0; }

.dyb-legal p,
.dyb-legal li {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 10px;
  line-height: 1.85;
}

.dyb-legal ul,
.dyb-legal ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

/* ===== Error pages ===== */
.dyb-error {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 16px;
}

.dyb-error-code {
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.dyb-error h1 {
  font-size: 22px;
  margin-bottom: 8px;
}

.dyb-error p {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 24px;
}
