/* dy-s.autos — 霓虹影院播放器风格 */
:root {
  --ink: #050508;
  --stage: #0e0e14;
  --panel: #16161f;
  --panel-2: #1f1f2c;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f2f7;
  --soft: #9a9ab0;
  --cyan: #00f2ea;
  --pink: #ff0050;
  --gold: #ffb020;
  --glow-c: rgba(0, 242, 234, 0.35);
  --glow-p: rgba(255, 0, 80, 0.35);
  --max: 1080px;
  --header-h: 56px;
  --fixed-dl-h: 88px;
  --tab-h: 62px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.85;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--pink); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* 固定下载栏 — 导航栏下方，横排四个换行 */
.dl-sticky {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(5, 5, 8, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transform: translateY(calc(-100% - var(--header-h)));
  transition: transform 0.3s ease;
  padding: 8px 0 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.dl-sticky.is-visible { transform: translateY(0); }
.dl-sticky.is-hidden { display: none; }

.dl-sticky-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.dl-sticky-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-align: center;
}

.dl-sticky .ads-grid {
  width: 100%;
  justify-content: center;
  gap: 8px 6px;
}

.dl-sticky .ads-grid > div {
  flex: 0 0 calc(25% - 5px);
  max-width: calc(25% - 5px);
  min-width: 0;
}

.dl-sticky .ads-grid img {
  width: 58px;
  height: 58px;
  margin: 0 auto;
}

@media (max-width: 380px) {
  .dl-sticky .ads-grid img {
    width: 52px;
    height: 52px;
  }
}

/* 顶栏 */
.v-header {
  position: sticky;
  top: 0;
  z-index: 1001;
  height: var(--header-h);
  background: rgba(5, 5, 8, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.v-header.is-scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5); }

.v-header-row {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.v-logo img { height: 32px; width: auto; }

.v-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.v-nav a {
  color: var(--soft);
  font-size: 0.85rem;
  padding: 6px 11px;
  border-radius: 6px;
  transition: 0.2s;
}

.v-nav a:hover,
.v-nav a.active { color: var(--text); background: var(--panel-2); }

.v-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: linear-gradient(135deg, var(--pink), #c4003f);
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 16px var(--glow-p);
}

.v-dl-btn:hover { opacity: 0.92; color: #fff !important; }

@media (max-width: 768px) {
  .v-dl-btn { display: none; }
}

.v-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

/* 广告下载区 */
.ad-block {
  scroll-margin-top: calc(var(--header-h) + 12px);
  padding: 16px 0 12px;
  background: linear-gradient(180deg, rgba(255, 0, 80, 0.06) 0%, transparent 100%);
}

.ad-block.is-hidden { display: none; }

.ad-block-box {
  background: var(--panel);
  border: 1px solid rgba(255, 0, 80, 0.25);
  border-radius: var(--radius);
  padding: 16px 14px 12px;
  text-align: center;
}

.ad-block-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.ad-block-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.ad-block-desc {
  font-size: 0.82rem;
  color: var(--soft);
  margin-bottom: 12px;
}

.ads-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 10px 8px;
}

.ads-grid > div {
  flex: 0 0 calc(25% - 6px);
  max-width: calc(25% - 6px);
  min-width: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ads-grid figure { margin: 0; }

.ads-grid a {
  display: inline-block;
  border-radius: 15px;
  text-decoration: none;
}

.ads-grid img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: none;
  background: linear-gradient(135deg, #fff, #fff);
}

.ads-grid img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.18);
}

.ads-grid .caption {
  height: 15px;
  font-size: 11px;
  color: #666;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

/* 播放器 Hero */
.player-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--stage);
}

.player-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 0, 80, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0, 242, 234, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #12121a 0%, var(--ink) 100%);
}

.player-hero-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
}

.player-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 28px 0 24px;
}

.player-ui-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.75rem;
  color: var(--soft);
}

.player-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pink);
  font-weight: 600;
}

.player-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 1.4s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.player-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #fff 0%, var(--cyan) 50%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.player-sub {
  font-size: 0.95rem;
  color: var(--soft);
  max-width: 640px;
  margin-bottom: 18px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.player-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #ff3377);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px var(--glow-p);
  flex-shrink: 0;
}

.player-progress-wrap { flex: 1; }

.player-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--soft);
  margin-bottom: 4px;
}

.player-bar {
  height: 4px;
  background: var(--panel-2);
  border-radius: 2px;
  overflow: hidden;
}

.player-bar-fill {
  height: 100%;
  width: 38%;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  border-radius: 2px;
  animation: progress 8s linear infinite;
}

@keyframes progress {
  0% { width: 5%; }
  100% { width: 95%; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--pink), #d40045);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px var(--glow-p);
}

.btn-primary:hover { color: #fff; opacity: 0.92; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid rgba(0, 242, 234, 0.4);
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 999px;
  background: rgba(0, 242, 234, 0.06);
}

.btn-outline:hover { background: rgba(0, 242, 234, 0.12); color: var(--cyan); }

/* 频道标签带 */
.channel-ribbon {
  padding: 14px 0;
  background: var(--stage);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.channel-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.channel-scroll::-webkit-scrollbar { display: none; }

.channel-pill {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--soft);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}

.channel-pill.hot {
  color: var(--pink);
  border-color: rgba(255, 0, 80, 0.35);
  background: rgba(255, 0, 80, 0.08);
}

/* 内容区 3:7 图文 */
.content-main { padding: 28px 0 80px; }

.reel-section {
  margin-bottom: 36px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.reel-section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 3px solid var(--pink);
  line-height: 1.35;
}

.reel-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 18px 0 8px;
  color: var(--cyan);
}

.reel-section p {
  margin-bottom: 12px;
  color: rgba(242, 242, 247, 0.88);
  font-size: 0.94rem;
}

.reel-section ul, .reel-section ol {
  margin: 0 0 14px 20px;
  color: rgba(242, 242, 247, 0.88);
  font-size: 0.94rem;
}

.reel-section li { margin-bottom: 6px; }

.reel-block {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 20px;
  align-items: start;
}

.reel-text { min-width: 0; }

.reel-visual {
  position: relative;
  min-width: 0;
}

.phone-shell {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, var(--cyan), var(--pink)) border-box;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--glow-c);
}

.phone-shell img { width: 100%; }

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 14px;
  background: var(--ink);
  border-radius: 0 0 10px 10px;
  z-index: 2;
}

.phone-caption {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--soft);
  text-align: center;
}

/* 特性网格 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.feature-card strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 4px;
}

.feature-card span {
  font-size: 0.78rem;
  color: var(--soft);
}

/* FAQ */
.faq-list { margin-top: 12px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--panel);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.faq-q::after {
  content: "+";
  color: var(--pink);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.faq-item.open .faq-q::after { content: "−"; }

.faq-a {
  display: none;
  padding: 0 16px 14px;
  font-size: 0.88rem;
  color: var(--soft);
}

.faq-item.open .faq-a { display: block; }

/* 内链卡片 */
.link-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.link-card {
  display: block;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.2s;
}

.link-card:hover {
  border-color: rgba(0, 242, 234, 0.4);
  color: var(--text);
}

.link-card small {
  display: block;
  color: var(--soft);
  font-size: 0.78rem;
  margin-top: 4px;
}

/* 页脚 */
.v-footer {
  background: var(--stage);
  border-top: 1px solid var(--line);
  padding: 28px 0 calc(var(--tab-h) + 16px);
}

.v-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.v-footer h4 {
  font-size: 0.85rem;
  color: var(--soft);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.v-footer ul { list-style: none; }

.v-footer li { margin-bottom: 6px; }

.v-footer a { font-size: 0.85rem; color: var(--soft); }
.v-footer a:hover { color: var(--cyan); }

.v-footer-copy {
  font-size: 0.78rem;
  color: rgba(154, 154, 176, 0.7);
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* 底部 Tab 栏 */
.bottom-tabs {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--tab-h);
  background: rgba(5, 5, 8, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-tabs a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--soft);
  font-size: 0.68rem;
  padding: 4px 8px;
}

.bottom-tabs a svg { width: 22px; height: 22px; }

.bottom-tabs a.active,
.bottom-tabs a:hover { color: var(--pink); }

/* 子页面 */
.page-hero {
  padding: 32px 0 24px;
  background: var(--stage);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero p { color: var(--soft); font-size: 0.9rem; }

.legal-body {
  padding: 28px 0 80px;
  max-width: 760px;
}

.legal-body h2 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
  color: var(--cyan);
}

.legal-body p, .legal-body li {
  font-size: 0.9rem;
  color: rgba(242, 242, 247, 0.85);
  margin-bottom: 10px;
}

.legal-body ul, .legal-body ol { margin-left: 20px; }

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 16px 80px;
}

.error-code {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-page h1 { font-size: 1.3rem; margin: 12px 0 8px; }
.error-page p { color: var(--soft); margin-bottom: 20px; max-width: 420px; }

/* 移动菜单 */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(0, 0, 0, 0.7);
}

.mobile-drawer.is-open { display: block; }

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(280px, 85vw);
  height: 100%;
  background: var(--panel);
  padding: 20px 16px;
  transform: translateX(100%);
  transition: transform 0.3s;
}

.mobile-drawer.is-open .mobile-drawer-panel { transform: translateX(0); }

.mobile-drawer a {
  display: block;
  padding: 12px 8px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

/* 截图展示网格 */
.shot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.shot-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.shot-card:hover { border-color: rgba(0, 242, 234, 0.35); }

.shot-card img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }

.shot-card figcaption {
  padding: 8px 10px;
  font-size: 0.76rem;
  color: var(--soft);
  text-align: center;
  border-top: 1px solid var(--line);
}

/* 纯文案 SEO 模块 */
.text-seo-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin-bottom: 28px;
}

.text-seo-block h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  border-left: none;
  padding-left: 0;
}

.text-seo-block h3 {
  font-size: 1rem;
  color: var(--pink);
  margin: 16px 0 8px;
}

.text-seo-block p {
  font-size: 0.92rem;
  color: rgba(242, 242, 247, 0.88);
  margin-bottom: 10px;
}

.text-seo-block ul, .text-seo-block ol {
  margin: 0 0 12px 20px;
  font-size: 0.92rem;
  color: rgba(242, 242, 247, 0.88);
}

.text-seo-block li { margin-bottom: 5px; }

/* 双图并排 */
.dual-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.dual-visual .phone-shell { font-size: 0.85rem; }

@media (max-width: 768px) {
  .v-nav { display: none; }
  .v-menu-btn { display: block; }

  .reel-block {
    grid-template-columns: 1fr;
  }

  .reel-visual { order: -1; max-width: 220px; margin: 0 auto 16px; }

  .feature-grid { grid-template-columns: 1fr; }

  .v-footer-grid { grid-template-columns: 1fr; }

  .link-cards { grid-template-columns: 1fr; }

  .ads-grid > div {
    flex: 0 0 calc(25% - 6px);
    max-width: calc(25% - 6px);
  }

  .shot-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .dual-visual { grid-template-columns: 1fr; max-width: 220px; margin: 0 auto; }
}

@media (min-width: 769px) {
  .bottom-tabs { display: none; }
  .v-footer { padding-bottom: 28px; }
}

@media (min-width: 900px) {
  .reel-block { gap: 28px; }
}
