/* ==========================================================================
   乌龟加速 (WuguiJS) - 全局核心样式表 (包含乌龟水印底层背景与超清封面图)
   域名: wuguijs.cfd
   风格: 现代极客暗黑 + 翡翠绿/霓虹青高能发光 + 乌龟专属背景纹理 + 响应式
   ========================================================================== */

:root {
  --bg-dark: #070b14;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-hover: rgba(30, 41, 59, 0.88);
  --primary-emerald: #10b981;
  --primary-emerald-glow: rgba(16, 185, 129, 0.4);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.3);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(16, 185, 129, 0.5);
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.25);
  --transition-fast: 0.25s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   【需求 2】：底层背景换成包含乌龟元素的龟壳纹理 + 巨型发光乌龟浮雕水印
   -------------------------------------------------------------------------- */
body {
  position: relative;
  min-height: 100vh;
  background-color: #050811;
  background-image: 
    url('assets/turtle_bg_pattern.svg'),
    radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, #0c1827 0%, #050811 80%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-size: 120px 120px, cover, cover, cover;
  background-attachment: fixed;
}

/* 背景大型乌龟龟壳元素浮雕 */
body::before {
  content: "";
  position: fixed;
  top: -10%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  bottom: -10%;
  left: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* 鼠标尾翼 Canvas */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* 排版辅助 */
a {
  color: var(--primary-emerald);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-cyan);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-emerald) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

/* 导航栏 Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.logo-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid var(--primary-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--primary-emerald-glow);
}

.logo-text span {
  color: var(--primary-emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-emerald);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-emerald) 0%, #059669 100%);
  color: #042f2e;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px var(--primary-emerald-glow);
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
  color: #042f2e;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-emerald);
  color: var(--primary-emerald);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 160px 0 90px;
  position: relative;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary-emerald);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-emerald);
  box-shadow: 0 0 10px var(--primary-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-content h1 {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--primary-emerald) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.stat-item h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-emerald);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mascot-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(16, 185, 129, 0.15);
  text-align: center;
}

.mascot-avatar-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(6, 182, 212, 0.05) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(16, 185, 129, 0.4);
  animation: spinGlow 20s linear infinite;
}

@keyframes spinGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.mascot-svg {
  width: 170px;
  height: 170px;
  animation: counterSpin 20s linear infinite;
}

@keyframes counterSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

.mascot-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.mascot-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 特色核心优势 Section */
.features {
  padding: 80px 0;
  position: relative;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* 价格展示一排 (Horizontal Pricing Row) */
.pricing-section {
  padding: 90px 0;
  position: relative;
  background: rgba(15, 23, 42, 0.3);
}

.pricing-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-emerald);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.pricing-card.popular {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 2px solid var(--primary-emerald);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-emerald) 0%, #059669 100%);
  color: #042f2e;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-header {
  margin-bottom: 24px;
  text-align: center;
}

.plan-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

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

.price-box {
  text-align: center;
  margin-bottom: 28px;
  padding: 16px 0;
  border-y: 1px solid var(--border-light);
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-emerald);
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-features li svg {
  width: 18px;
  height: 18px;
  color: var(--primary-emerald);
  flex-shrink: 0;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   【需求 1】：6 篇文章全部匹配专属超清动漫乌龟插画封面图 (Image Cover)
   -------------------------------------------------------------------------- */
.articles-section {
  padding: 90px 0;
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.article-card:hover .article-cover img {
  transform: scale(1.06);
}

.article-cover {
  height: 195px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.article-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--primary-emerald);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  z-index: 2;
}

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.45;
}

.article-body h3 a {
  color: #fff;
}

.article-body h3 a:hover {
  color: var(--primary-emerald);
}

.article-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

/* 用户评价 Testimonials */
.testimonials {
  padding: 80px 0;
  background: rgba(15, 23, 42, 0.2);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
}

.stars {
  color: #f59e0b;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 20px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-emerald), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #042f2e;
}

.user-meta h4 {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 700;
}

.user-meta span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* 常见问题 FAQ Accordion */
.faq-section {
  padding: 90px 0;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-emerald);
}

.faq-question {
  padding: 22px 28px;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary-emerald);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
}

/* CTA Banner */
.cta-banner {
  padding: 70px 0;
  margin-bottom: 60px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  backdrop-filter: blur(20px);
}

.cta-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   核心任务 2：页脚 PBN 权重精准输血管道 (Footer & PBN Link Hub)
   ========================================================================== */
footer.site-footer {
  background: #04070d;
  border-top: 1px solid var(--border-light);
  padding: 48px 0 32px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

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

.footer-brand p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 360px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

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

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

.footer-links a:hover {
  color: var(--primary-emerald);
}

/* 低调小字号 PBN 友情链接区 */
.pbn-link-hub {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 28px;
  text-align: center;
}

.pbn-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pbn-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  list-style: none;
  max-width: 960px;
  margin: 0 auto;
}

.pbn-links-list li a {
  font-size: 0.75rem;
  color: #475569;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.pbn-links-list li a:hover {
  color: var(--primary-emerald);
  text-decoration: underline;
}

.copyright {
  text-align: center;
  margin-top: 24px;
  font-size: 0.78rem;
  color: #334155;
}

/* 响应式适配 - Responsive Design */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #070b14;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    gap: 20px;
  }

  .nav-links.mobile-open .mobile-nav-cta {
    display: block;
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }

  .pricing-row {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-x: visible;
    padding-bottom: 20px;
  }

  .pricing-card {
    min-width: 0;
    width: 100%;
  }

  .feature-grid,
  .article-grid,
  .testimonial-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   客户端下载弹窗 (Universal Download Modal) - 遵循规范 4.2, 4.3, 9.7
   ========================================================================== */
.dl-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.dl-modal.active {
  display: flex;
}

.dl-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

.dl-modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(145deg, #0f172a 0%, #070b14 100%);
  border: 1px solid var(--border-active);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  max-height: calc(100dvh - 32px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.dl-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.dl-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: #ef4444;
}

.dl-modal-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.dl-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.dl-modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.5;
}

.dl-platform-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: #fff;
  min-height: 52px;
  transition: all var(--transition-fast);
}

.dl-btn:hover,
.dl-btn:focus-visible {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--primary-emerald);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
  transform: translateY(-2px);
}

.dl-btn-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--primary-emerald);
}

.dl-btn-info {
  flex: 1;
  min-width: 0;
}

.dl-btn-title {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.dl-btn-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.dl-btn-arrow {
  color: var(--primary-emerald);
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.dl-btn:hover .dl-btn-arrow {
  transform: translateX(3px);
}

.dl-modal-tips {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dl-tip-item {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.dl-modal-footer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dl-footer-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.84rem;
  transition: color var(--transition-fast);
}

.dl-footer-link:hover {
  color: var(--primary-emerald);
  text-decoration: underline;
}

/* 针对小屏手机优化 (320px - 390px) */
@media (max-width: 480px) {
  .dl-modal-card {
    padding: 22px 16px;
  }

  .dl-modal-title {
    font-size: 1.18rem;
  }

  .dl-modal-subtitle {
    font-size: 0.84rem;
    margin-bottom: 16px;
  }

  .dl-btn {
    padding: 12px 14px;
    gap: 10px;
  }

  .dl-btn-title {
    font-size: 0.9rem;
  }

  .dl-btn-desc {
    font-size: 0.72rem;
  }
}

