/* 抖阴官网 - dyvoso.org */
:root {
  --bg-dark: #0a0a12;
  --bg-card: #12121f;
  --bg-card-hover: #1a1a2e;
  --primary: #fe2c55;
  --primary-dark: #d91f45;
  --accent: #25f4ee;
  --text: #f0f0f5;
  --text-muted: #9a9ab0;
  --border: rgba(255, 255, 255, 0.08);
  --gradient: linear-gradient(135deg, #fe2c55 0%, #ff6b8a 50%, #25f4ee 100%);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
  z-index: 1002;
}

.logo img { width: 36px; height: 36px; border-radius: 8px; }

.site-nav { display: flex; align-items: center; }

.nav-menu { display: flex; gap: 28px; list-style: none;     width: 100%; }

.nav-menu a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-menu a:hover, .nav-menu a.active { color: var(--text); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 1002;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle-bar + .nav-toggle-bar { margin-top: 5px; }

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 999;
}

body.nav-open { overflow: hidden; }

/* Hero */
.hero {
  padding: 120px 0 80px;
  background: radial-gradient(ellipse at 50% 0%, rgba(254, 44, 85, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(37, 244, 238, 0.08) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(254, 44, 85, 0.15);
  border: 1px solid rgba(254, 44, 85, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(254, 44, 85, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone img {
  max-width: 320px;
  border-radius: 24px;
  box-shadow: var(--shadow), 0 0 60px rgba(254, 44, 85, 0.2);
}

/* Section */
.section { padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}

.stat-card:hover { border-color: rgba(254, 44, 85, 0.3); }

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label { color: var(--text-muted); margin-top: 8px; font-size: 0.95rem; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(254, 44, 85, 0.25);
}

.feature-img { aspect-ratio: 9/16; overflow: hidden; max-height: 360px; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.feature-body { padding: 24px; }

.feature-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-body p { color: var(--text-muted); font-size: 0.92rem; }

/* Showcase */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.showcase-row:nth-child(even) { direction: rtl; }
.showcase-row:nth-child(even) > * { direction: ltr; }

.showcase-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.showcase-content h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.showcase-content p { color: var(--text-muted); margin-bottom: 12px; }

.showcase-list { list-style: none; margin-top: 16px; }

.showcase-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-muted);
}

.showcase-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Download */
.download-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}

.download-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.download-step { text-align: center; }

.step-num {
  width: 48px; height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.download-step h4 { margin-bottom: 8px; }
.download-step p { color: var(--text-muted); font-size: 0.9rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: var(--bg-card);
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover { background: var(--bg-card-hover); }

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  display: none;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-icon { font-size: 1.4rem; transition: transform 0.2s; color: var(--primary); }

/* Page content */
.page-hero {
  padding: 100px 0 40px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(254, 44, 85, 0.1) 0%, transparent 60%);
}

.page-hero h1 { font-size: 2.25rem; margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); }

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.page-content h2 {
  font-size: 1.35rem;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.page-content h3 { font-size: 1.1rem; margin: 24px 0 12px; }

.page-content p, .page-content li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.page-content ul, .page-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content li { margin-bottom: 8px; }

/* Footer */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p { color: var(--text-muted); margin-top: 16px; font-size: 0.9rem; }

.footer-col h4 { font-size: 1rem; margin-bottom: 16px; }

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }

/* 404 */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.error-page h1 { font-size: 1.75rem; margin: 16px 0; }
.error-page p { color: var(--text-muted); margin-bottom: 32px; }

/* Breadcrumb */
.breadcrumb {
  padding: 80px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .showcase-row { grid-template-columns: 1fr; }
  .showcase-row:nth-child(even) { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .download-steps { grid-template-columns: 1fr; }
}

/* Channel tags */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.channel-card:hover {
  border-color: rgba(254, 44, 85, 0.35);
  transform: translateY(-3px);
}

.channel-icon {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.channel-card h3 { font-size: 1rem; margin-bottom: 8px; }
.channel-card p { color: var(--text-muted); font-size: 0.82rem; }

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(254, 44, 85, 0.1);
  border: 1px solid rgba(254, 44, 85, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tag.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Nav modules */
.nav-modules {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.nav-module {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
}

.nav-module-icon { font-size: 1.5rem; margin-bottom: 8px; }
.nav-module h4 { font-size: 0.9rem; margin-bottom: 6px; }
.nav-module p { color: var(--text-muted); font-size: 0.78rem; line-height: 1.5; }

/* Creator list */
.creator-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.creator-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.creator-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.creator-stats { color: var(--text-muted); font-size: 0.8rem; }
.creator-stats span { margin-right: 12px; }

.creator-follow {
  padding: 6px 16px;
  background: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  color: #fff;
  white-space: nowrap;
}

/* Promo milestones */
.milestone-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.milestone-item {
  text-align: center;
  padding: 16px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.milestone-reward { font-size: 0.9rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.milestone-target { color: var(--text-muted); font-size: 0.78rem; }

/* Compare table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: left;
  border: 1px solid var(--border);
}

.compare-table th {
  background: var(--bg-card);
  font-weight: 600;
}

.compare-table td { color: var(--text-muted); font-size: 0.92rem; }
.compare-table tr:hover td { background: rgba(254, 44, 85, 0.04); }

.check { color: var(--primary); font-weight: 700; }

/* SEO text block */
.seo-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.seo-block h2 { font-size: 1.5rem; margin-bottom: 20px; }
.seo-block h3 { font-size: 1.15rem; margin: 24px 0 12px; color: var(--text); }
.seo-block p { color: var(--text-muted); margin-bottom: 14px; font-size: 0.95rem; }

/* Detail section with image side */
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.detail-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.detail-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}

.detail-content h3 { font-size: 1.35rem; margin-bottom: 14px; }
.detail-content p { color: var(--text-muted); margin-bottom: 12px; }

.intro-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; }

@media (max-width: 992px) {
  .channel-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-modules { grid-template-columns: repeat(3, 1fr); }
  .milestone-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-block { grid-template-columns: 1fr; }
  .detail-block img { position: static; }
}

@media (max-width: 768px) {
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-modules { grid-template-columns: repeat(2, 1fr); }
  .creator-grid { grid-template-columns: 1fr; }
  .milestone-grid { grid-template-columns: repeat(2, 1fr); }
  .seo-block { padding: 24px; }
  .compare-table { font-size: 0.82rem; }
  .compare-table th, .compare-table td { padding: 10px 8px; }
  .nav-toggle { display: flex; flex-direction: column; }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    z-index: 1001;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .site-header.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--border);
  }

  .nav-menu li:last-child { border-bottom: none; }

  .nav-menu a {
    display: block;
    padding: 14px 8px;
    font-size: 1rem;
  }

  .nav-menu a.active {
    color: var(--primary);
  }

  .hero h1 { font-size: 2rem; }
  .hero { padding: 100px 0 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
