/* roulang page: index */
:root {
      --deep-space: #1A0A2E;
      --nebula-purple: #6B21A8;
      --dark-core: #0D0618;
      --midnight-blue: #0F172A;
      --starlight-gold: #D4AF37;
      --antique-gold: #B8860B;
      --text-primary: #F5F0E8;
      --text-secondary: #B0A8C0;
      --text-muted: #7A7290;
      --card-bg: rgba(255, 255, 255, 0.04);
      --card-border: rgba(212, 175, 55, 0.25);
      --card-border-hover: rgba(212, 175, 55, 0.6);
      --radius-sm: 12px;
      --radius-md: 16px;
      --radius-lg: 24px;
      --radius-pill: 50px;
      --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);
      --shadow-glow: 0 0 22px rgba(212, 175, 55, 0.55);
      --transition-smooth: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 100px;
    }

    body {
      background-color: var(--deep-space);
      color: var(--text-primary);
      font-family: 'Inter', 'Noto Sans SC', sans-serif;
      line-height: 1.6;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 32px;
    }

    /* 深空星云背景动画 */
    .cosmic-bg {
      position: relative;
      background: radial-gradient(ellipse at 30% 40%, #1A0A2E 0%, #0D0618 55%, #0F172A 100%);
      overflow: hidden;
    }

    .cosmic-bg::before {
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background-image: radial-gradient(circle at 20% 30%, rgba(107,33,168,0.25) 0%, transparent 35%),
                        radial-gradient(circle at 80% 70%, rgba(212,175,55,0.1) 0%, transparent 40%),
                        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 0%, transparent 70%);
      animation: cosmicShift 18s infinite alternate ease-in-out;
      pointer-events: none;
    }

    @keyframes cosmicShift {
      0% { opacity: 0.7; transform: scale(1); }
      100% { opacity: 1; transform: scale(1.03); }
    }

    .cosmic-particles {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      background: radial-gradient(2px 2px at 15% 25%, rgba(255,255,255,0.5), transparent),
                  radial-gradient(2px 2px at 75% 40%, rgba(255,255,255,0.4), transparent),
                  radial-gradient(1px 1px at 55% 75%, rgba(212,175,55,0.6), transparent),
                  radial-gradient(3px 3px at 85% 15%, rgba(107,33,168,0.5), transparent);
      background-size: 250px 250px;
      animation: particleFloat 10s infinite alternate;
    }

    @keyframes particleFloat {
      0% { transform: translateY(0px); opacity: 0.7; }
      100% { transform: translateY(-15px); opacity: 1; }
    }

    /* 导航 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 100;
      background: rgba(10, 5, 20, 0.85);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(212, 175, 55, 0.2);
      padding: 12px 0 0;
    }

    .nav-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 32px 12px;
    }

    .logo {
      font-family: 'ZCOOL XiaoWei', 'Noto Serif SC', serif;
      font-size: 1.8rem;
      font-weight: 700;
      background: linear-gradient(135deg, #D4AF37 10%, #F0D080 50%, #B8860B 90%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: 2px;
      text-decoration: none;
    }

    .logo i {
      background: none;
      -webkit-text-fill-color: #D4AF37;
      font-size: 2rem;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .search-icon {
      color: var(--starlight-gold);
      font-size: 1.3rem;
      cursor: pointer;
    }

    .btn-pill {
      background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
      color: #1A0A2E;
      font-weight: 700;
      padding: 10px 24px;
      border-radius: var(--radius-pill);
      text-decoration: none;
      font-size: 0.95rem;
      box-shadow: 0 4px 12px rgba(212,175,55,0.4);
      transition: var(--transition-smooth);
      border: none;
    }

    .btn-pill:hover {
      box-shadow: 0 0 22px rgba(212,175,55,0.75);
      transform: translateY(-2px);
    }

    .nav-channels {
      display: flex;
      justify-content: center;
      gap: 12px;
      padding: 8px 32px 12px;
      overflow-x: auto;
      white-space: nowrap;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .nav-channels::-webkit-scrollbar { display: none; }

    .nav-pill {
      background: transparent;
      border: 1px solid rgba(255,255,255,0.25);
      color: var(--text-secondary);
      padding: 8px 18px;
      border-radius: 40px;
      font-size: 0.9rem;
      font-weight: 500;
      text-decoration: none;
      transition: var(--transition-smooth);
    }

    .nav-pill.active, .nav-pill:hover {
      background: var(--starlight-gold);
      border-color: var(--starlight-gold);
      color: #1A0A2E;
      font-weight: 700;
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding: 140px 32px 80px;
    }

    .hero-content {
      text-align: center;
      max-width: 900px;
      z-index: 5;
      position: relative;
    }

    .hero h1 {
      font-family: 'Noto Serif SC', 'ZCOOL XiaoWei', serif;
      font-size: 4rem;
      font-weight: 800;
      background: linear-gradient(180deg, #F5E7C6 0%, #D4AF37 70%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 20px;
      letter-spacing: 3px;
    }

    .hero-sub {
      font-size: 1.4rem;
      color: var(--text-secondary);
      margin-bottom: 36px;
    }

    .hero-buttons {
      display: flex;
      gap: 24px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-outline-gold {
      border: 2px solid var(--starlight-gold);
      color: var(--starlight-gold);
      background: transparent;
      padding: 12px 32px;
      border-radius: var(--radius-pill);
      font-weight: 600;
      text-decoration: none;
      transition: var(--transition-smooth);
    }

    .btn-outline-gold:hover {
      background: rgba(212,175,55,0.15);
      box-shadow: var(--shadow-glow);
    }

    .star-decoration {
      position: absolute;
      right: 5%;
      top: 25%;
      width: 120px;
      opacity: 0.7;
      animation: spinSlow 25s infinite linear;
    }

    @keyframes spinSlow { 100% { transform: rotate(360deg); } }

    /* 通用区块 */
    section {
      padding: 100px 0;
      position: relative;
    }

    .section-header {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-tag {
      color: var(--starlight-gold);
      letter-spacing: 4px;
      font-size: 0.9rem;
      margin-bottom: 10px;
    }

    h2 {
      font-family: 'Noto Serif SC', serif;
      font-size: 2.8rem;
      font-weight: 700;
      margin-bottom: 16px;
    }

    /* 卡片网格 */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .card {
      background: var(--card-bg);
      backdrop-filter: blur(10px);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      padding: 32px 24px;
      box-shadow: var(--shadow-card);
      transition: var(--transition-smooth);
    }

    .card:hover {
      border-color: var(--card-border-hover);
      transform: translateY(-6px);
      box-shadow: 0 12px 36px rgba(0,0,0,0.6);
    }

    .card-icon {
      color: var(--starlight-gold);
      font-size: 2.2rem;
      margin-bottom: 16px;
    }

    .card h3 {
      font-size: 1.6rem;
      margin-bottom: 12px;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      text-align: center;
    }

    .stat-number {
      font-size: 3rem;
      font-weight: 900;
      color: var(--starlight-gold);
    }

    .faq-item {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(212,175,55,0.15);
      border-radius: var(--radius-sm);
      margin-bottom: 16px;
      padding: 20px;
      cursor: pointer;
    }

    .contact-form input, .contact-form textarea {
      background: transparent;
      border: none;
      border-bottom: 2px solid rgba(212,175,55,0.4);
      padding: 14px 8px;
      color: white;
      width: 100%;
      margin-bottom: 24px;
    }

    .footer {
      background: #0D0418;
      border-top: 2px solid var(--starlight-gold);
      padding: 60px 0 30px;
    }

    @media (max-width: 1024px) {
      .grid-3 { grid-template-columns: repeat(2, 1fr); }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 768px) {
      .hero h1 { font-size: 2.5rem; }
      .grid-3, .stats-grid { grid-template-columns: 1fr; }
      .nav-channels { justify-content: flex-start; }
    }
