:root {
    --bg-deep: #0a1b2b;
    --bg-panel: #0e2438;
    --bg-card: #122c42;
    --primary: #5fd0d8;
    --primary-dim: #2a9fb0;
    --gold: #e6c988;
    --text-main: #e8f0f5;
    --text-muted: #8fa9bd;
    --border: rgba(95, 208, 216, 0.18);
    --radius: 16px;
    --transition: all 0.3s ease;
  }

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

  body {
    background-color: var(--bg-deep);
    background-image: 
      radial-gradient(circle at 15% 10%, rgba(42, 159, 176, 0.12) 0%, transparent 40%),
      radial-gradient(circle at 85% 80%, rgba(230, 201, 136, 0.06) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  }

  a { text-decoration: none; color: inherit; }
  img { display: block; max-width: 100%; object-fit: cover; }
  ul { list-style: none; }

  /* Typography */
  h1, h2, h3 { font-weight: 600; line-height: 1.3; }
  h1 { font-size: 2.2rem; margin-bottom: 1rem; }
  h2 { font-size: 1.6rem; margin-bottom: 2rem; display: flex; align-items: center; gap: 10px; }
  h2::before {
    content: ''; display: inline-block; width: 4px; height: 20px;
    background: var(--primary); border-radius: 2px;
  }
  p { color: var(--text-muted); font-size: 0.95rem; }

  .container {
    width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px;
  }

  /* Navigation */
  header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    background: rgba(10, 27, 43, 0.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner {
    display: flex; justify-content: space-between; align-items: center;
    height: 64px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.2rem; letter-spacing: 1px;}
  .brand img { height: 32px; border-radius: 6px; }
  
  .nav-links { display: none; gap: 20px; font-size: 0.9rem; }
  .nav-links a { transition: var(--transition); }
  .nav-links a:hover { color: var(--primary); }
  
  .nav-actions { display: flex; align-items: center; gap: 12px; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 20px; border-radius: 30px; font-size: 0.9rem; font-weight: 500;
    transition: var(--transition); cursor: pointer; border: none; font-family: inherit;
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dim) 100%);
    color: #0a1b2b;
  }
  .btn-primary:hover { box-shadow: 0 4px 15px rgba(95, 208, 216, 0.3); transform: translateY(-1px); }
  .btn-outline {
    background: transparent; border: 1px solid var(--primary); color: var(--primary);
  }
  .btn-outline:hover { background: rgba(95, 208, 216, 0.1); }
  
  .menu-toggle {
    display: block; font-size: 1.5rem; cursor: pointer; color: var(--primary);
  }

  /* Hero */
  .hero {
    padding: 120px 0 60px;
    display: flex; flex-direction: column; gap: 40px;
    position: relative; overflow: hidden;
  }
  .hero::after {
    content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(95, 208, 216, 0.15) 0%, transparent 70%);
    border-radius: 50%; z-index: -1;
  }
  .hero-content { flex: 1; z-index: 1; }
  .badge-top {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    background: rgba(95, 208, 216, 0.1); border: 1px solid var(--border);
    color: var(--primary); font-size: 0.8rem; margin-bottom: 20px;
  }
  .hero h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 15px; }
  .hero h1 span { color: var(--gold); }
  .hero p { font-size: 1.05rem; margin-bottom: 25px; max-width: 500px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; }
  .hero-actions .btn { padding: 12px 28px; font-size: 1rem; }
  
  .stats-row { display: flex; gap: 30px; border-top: 1px solid var(--border); padding-top: 20px; flex-wrap: wrap;}
  .stat-item .num { font-family: monospace; font-size: 1.6rem; font-weight: bold; color: var(--primary); }
  .stat-item .label { font-size: 0.8rem; color: var(--text-muted); }

  .hero-visual {
    flex: 1; position: relative; display: flex; justify-content: center; align-items: center;
    min-height: 400px;
  }
  .light-tower {
    position: absolute; width: 100%; height: 100%; top: 0; left: 0;
    pointer-events: none; z-index: -1;
  }
  .light-beam {
    position: absolute; top: 10%; left: 50%; width: 200%; height: 200%;
    background: conic-gradient(from 180deg at 50% 10%, transparent 0deg, rgba(95, 208, 216, 0.15) 15deg, transparent 30deg);
    transform-origin: 50% 10%;
    animation: rotateBeam 20s linear infinite;
  }
  @keyframes rotateBeam { 100% { transform: rotate(360deg); } }
  
  .poster-card {
    position: relative; width: 240px; aspect-ratio: 2/3;
    border-radius: var(--radius); overflow: hidden;
    border: 2px solid rgba(230, 201, 136, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 2;
  }
  .poster-card img { width: 100%; height: 100%; transition: var(--transition); }
  .poster-card:hover img { transform: scale(1.05); }
  .badge-float {
    position: absolute; padding: 6px 12px; border-radius: 20px; font-size: 0.75rem;
    background: rgba(18, 44, 66, 0.9); border: 1px solid var(--primary);
    color: var(--primary); backdrop-filter: blur(4px); z-index: 3;
    animation: floatY 3s ease-in-out infinite;
  }
  .badge-float.top-right { top: 20px; right: -20px; }
  .badge-float.bottom-left { bottom: 30px; left: -30px; animation-delay: 1.5s; border-color: var(--gold); color: var(--gold); }
  @keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

  /* Sections Common */
  section { padding: 80px 0; }
  .section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
  
  /* Content Types */
  .grid-4 { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .type-card {
    background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; transition: var(--transition);
  }
  .type-card:hover { transform: translateY(-5px); background: var(--bg-card); border-color: var(--primary); }
  .type-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.1rem; }

  /* Hot Library */
  .scroll-row {
    display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px;
    scroll-snap-type: x mandatory; outline: none;
  }
  .scroll-row::-webkit-scrollbar { height: 6px; }
  .scroll-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
  .scroll-row::-webkit-scrollbar-track { background: transparent; }

  .lib-card {
    flex: 0 0 160px; scroll-snap-align: start; cursor: pointer;
  }
  .lib-poster { position: relative; width: 100%; aspect-ratio: 2/3; border-radius: 12px; overflow: hidden; }
  .lib-poster img { width: 100%; height: 100%; transition: var(--transition); }
  .lib-card:hover .lib-poster img { transform: scale(1.08); }
  .lib-tag {
    position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 4px;
    background: rgba(10, 27, 43, 0.8); font-size: 0.7rem; color: var(--gold); border: 1px solid rgba(230, 201, 136, 0.3);
  }
  .lib-score { position: absolute; bottom: 8px; right: 8px; font-family: monospace; font-weight: bold; color: var(--gold); font-size: 0.9rem;}
  .lib-info { padding: 10px 0; }
  .lib-info h4 { font-size: 0.95rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lib-info p { font-size: 0.75rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* Hot Ranking & Analysis */
  .split-layout { display: flex; flex-direction: column; gap: 40px; }
  .rank-list { display: flex; flex-direction: column; gap: 15px; }
  .rank-item {
    display: flex; align-items: center; gap: 15px; background: var(--bg-panel);
    padding: 15px; border-radius: 12px; border: 1px solid transparent; transition: var(--transition);
  }
  .rank-item:hover { border-color: var(--border); background: var(--bg-card); }
  .rank-num { font-family: monospace; font-size: 1.2rem; font-weight: bold; color: var(--text-muted); width: 20px; text-align: center;}
  .rank-item:nth-child(1) .rank-num { color: var(--gold); }
  .rank-item:nth-child(2) .rank-num { color: var(--primary); }
  .rank-item:nth-child(3) .rank-num { color: var(--primary-dim); }
  .rank-info { flex: 1; }
  .rank-info h4 { font-size: 1rem; margin-bottom: 4px; }
  .rank-info span { font-size: 0.75rem; color: var(--text-muted); }
  .rank-heat { font-family: monospace; color: var(--primary); font-size: 0.9rem; }

  .analysis-card {
    background: linear-gradient(145deg, var(--bg-panel), var(--bg-deep));
    border: 1px solid var(--border); border-radius: var(--radius); padding: 30px;
    position: relative; overflow: hidden;
  }
  .analysis-card::before {
    content: '3'; position: absolute; right: 20px; top: 0; font-size: 8rem; font-family: monospace;
    font-weight: bold; color: rgba(95, 208, 216, 0.05); line-height: 1;
  }
  .analysis-card h3 { color: var(--gold); margin-bottom: 20px; font-size: 1.3rem;}
  .analysis-list { display: flex; flex-direction: column; gap: 15px; }
  .analysis-list li { position: relative; padding-left: 20px; font-size: 0.9rem; color: var(--text-main); }
  .analysis-list li::before {
    content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
    background: var(--primary); border-radius: 50%;
  }

  /* Category Filter */
  .category-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
  .cat-btn {
    padding: 8px 16px; border-radius: 20px; background: var(--bg-panel); border: 1px solid var(--border);
    color: var(--text-muted); cursor: pointer; transition: var(--transition); font-size: 0.9rem;
  }
  .cat-btn.active, .cat-btn:hover { background: var(--primary); color: #0a1b2b; border-color: var(--primary); }

  /* Content Grid */
  .content-tools { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap;}
  .search-box {
    flex: 1; min-width: 200px; padding: 10px 16px; border-radius: 20px;
    background: var(--bg-panel); border: 1px solid var(--border); color: var(--text-main);
    outline: none; transition: var(--transition);
  }
  .search-box:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(95,208,216,0.2); }
  
  .grid-episodes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ep-card { background: var(--bg-card); border-radius: 12px; overflow: hidden; transition: var(--transition); }
  .ep-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
  .ep-card img { width: 100%; aspect-ratio: 2/3; }
  .ep-info { padding: 12px; }
  .ep-info h4 { font-size: 0.9rem; margin-bottom: 4px; }
  .ep-info p { font-size: 0.75rem; color: var(--text-muted); }
  .empty-state { padding: 40px 0; text-align: center; color: var(--text-muted); display: none; }

  /* Vertical Experience */
  .experience-layout { display: flex; flex-direction: column; gap: 40px; align-items: center; }
  .exp-text { flex: 1; }
  .exp-text ul { margin-top: 20px; display: flex; flex-direction: column; gap: 15px; }
  .exp-text li { display: flex; gap: 12px; align-items: flex-start; }
  .exp-text li span { color: var(--primary); font-weight: bold; }
  
  .phone-mockup {
    width: 260px; height: 520px; border-radius: 36px; border: 8px solid #000;
    background: #000; position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  }
  .phone-screen { width: 100%; height: 100%; position: relative; overflow: hidden;}
  .phone-frames { display: flex; flex-direction: column; transition: transform 0.5s ease; }
  .phone-frames img { width: 100%; height: 520px; object-fit: cover; }
  .phone-indicator {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 6px; z-index: 2;
  }
  .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: var(--transition); }
  .dot.active { background: var(--primary); height: 12px; border-radius: 3px; }
  .swipe-hint {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: 0.75rem; background: rgba(0,0,0,0.5); padding: 4px 12px; border-radius: 20px;
    animation: bounceUp 2s infinite;
  }
  @keyframes bounceUp { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }

  /* Wish List */
  .wish-list { display: flex; flex-direction: column; gap: 15px; }
  .wish-item { display: flex; align-items: center; gap: 15px; background: var(--bg-panel); padding: 15px; border-radius: 12px; }
  .wish-info { flex: 1; }
  .wish-info h4 { font-size: 1rem; margin-bottom: 6px; }
  .wish-bar-bg { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
  .wish-bar { height: 100%; background: var(--gold); width: 0; transition: width 0.8s ease; }
  .wish-count { font-family: monospace; font-size: 0.9rem; color: var(--gold); margin-left: 10px; white-space: nowrap;}
  .btn-wish { padding: 6px 12px; font-size: 0.8rem; border-radius: 15px; }
  .btn-wish.added { background: transparent; border: 1px solid var(--border); color: var(--text-muted); cursor: default; }

  /* Reviews */
  .reviews-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .review-card { background: var(--bg-card); padding: 20px; border-radius: 12px; border: 1px solid var(--border); }
  .review-user { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-dim); display: flex; align-items: center; justify-content: center; font-weight: bold; color: #fff;}
  .review-user h4 { font-size: 0.9rem; }
  .review-user span { font-size: 0.75rem; color: var(--text-muted); }
  .review-card p { font-size: 0.9rem; color: var(--text-main); }
  .score-badge { display: inline-flex; align-items: baseline; gap: 5px; font-family: monospace; margin-bottom: 20px; color: var(--gold); }
  .score-badge span:first-child { font-size: 3rem; font-weight: bold; line-height: 1;}

  /* FAQ */
  .faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 800px; margin: 0 auto; }
  .faq-item { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
  .faq-q { padding: 18px 20px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
  .faq-q::after { content: '+'; color: var(--primary); font-size: 1.2rem; transition: var(--transition); }
  .faq-item.open .faq-q::after { content: '-'; }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 20px; }
  .faq-item.open .faq-a { max-height: 200px; padding-bottom: 18px; }

  /* Download CTA & Footer */
  .cta-section {
    text-align: center; padding: 80px 20px;
    background: linear-gradient(to top, rgba(95, 208, 216, 0.05), transparent);
    border-top: 1px solid var(--border);
  }
  .cta-section h2 { justify-content: center; }
  .cta-section h2::before { display: none; }
  .cta-section p { font-size: 1.1rem; margin-bottom: 30px; color: var(--text-main); }
  .cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
  
  footer {
    background: #07131e; padding: 40px 0; border-top: 1px solid rgba(95, 208, 216, 0.1);
    font-size: 0.8rem; color: var(--text-muted);
  }
  .footer-inner { display: flex; flex-direction: column; gap: 20px; }
  .footer-brand { display: flex; align-items: center; gap: 10px; }
  .footer-brand img { height: 24px; }
  .footer-brand span { font-size: 1rem; color: var(--text-main); font-weight: bold; }
  .footer-nav { display: flex; flex-wrap: wrap; gap: 15px; }
  .footer-nav a { transition: var(--transition); }
  .footer-nav a:hover { color: var(--primary); }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; color: #5a7385;}
  .footer-bottom a { color: inherit; display: inline-block; }

  /* Animation */
  .fade-up { opacity: 1; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
  .fade-up.visible { opacity: 1; transform: translateY(0); }

  /* Responsive Breakpoints */
  @media (min-width: 768px) {
    .nav-links { display: flex; }
    .menu-toggle { display: none; }
    
    .hero { flex-direction: row; align-items: center; padding: 140px 0 80px; }
    .hero-content { flex: 1.2; }
    .hero-visual { flex: 1; }
    .hero h1 { font-size: 3rem; }
    
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .split-layout { flex-direction: row; }
    .split-layout > * { flex: 1; }
    
    .grid-episodes { grid-template-columns: repeat(4, 1fr); }
    .experience-layout { flex-direction: row; justify-content: space-between; }
    .exp-text { flex: 1.2; }
    
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    
    .footer-bottom { flex-direction: row; justify-content: space-between; }
  }

  @media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .grid-episodes { grid-template-columns: repeat(5, 1fr); }
    .reviews-grid { grid-template-columns: repeat(3, 1fr); }
    .scroll-row { padding-bottom: 30px; }
  }