:root {
      --primary-gold: #f6d88b;
      --accent-gold: #c59b27;
      --bg-dark: #070d19;
      --card-bg: rgba(18, 27, 48, 0.75);
      --glass-border: rgba(246, 216, 139, 0.25);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

    body {
      background: radial-gradient(circle at 50% 20%, #111e38 0%, #070d19 70%);
      color: #fff;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px 12px;
      position: relative;
      overflow-x: hidden;
    }

    body::before {
      content: '';
      position: fixed;
      top: -15vh;
      left: 10vw;
      width: 80vw;
      height: 70vh;
      background: radial-gradient(circle, rgba(197, 155, 39, 0.12) 0%, transparent 65%);
      z-index: 0;
      pointer-events: none;
      filter: blur(90px);
    }

    .download-container {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 680px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 20px;
      align-items: center;
    }

    /* 顶部品牌卡片 */
    .brand-header {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      margin-top: 10px;
    }
    .brand-logo {
      width: 86px;
      height: 86px;
      border-radius: 22px;
      object-fit: contain;
      background: rgba(255, 255, 255, 0.05);
      border: 1.5px solid var(--glass-border);
      box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(246, 216, 139, 0.15);
      padding: 8px;
    }
    .brand-title {
      font-size: 26px;
      font-weight: 800;
      background: linear-gradient(135deg, #ffffff 30%, var(--primary-gold) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      letter-spacing: 0.08em;
    }
    .brand-subtitle {
      font-size: 13px;
      color: rgba(255, 255, 255, 0.65);
      letter-spacing: 0.15em;
    }

    /* 主下载卡片 */
    .download-card {
      width: 100%;
      background: var(--card-bg);
      backdrop-filter: blur(25px);
      -webkit-backdrop-filter: blur(25px);
      border: 1px solid var(--glass-border);
      border-radius: 24px;
      padding: 24px;
      box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    /* 邀请码栏 */
    .invite-box {
      background: rgba(7, 13, 25, 0.6);
      border: 1px dashed rgba(246, 216, 139, 0.4);
      border-radius: 14px;
      padding: 12px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .invite-label {
      font-size: 13px;
      color: rgba(255, 255, 255, 0.7);
    }
    .invite-code-val {
      font-size: 18px;
      font-weight: 900;
      color: var(--primary-gold);
      letter-spacing: 0.1em;
    }
    .copy-btn {
      background: linear-gradient(135deg, #f6d88b, #c59b27);
      color: #070d19;
      border: none;
      padding: 8px 16px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(197, 155, 39, 0.3);
      transition: all 0.25s ease;
    }
    .copy-btn:hover, .copy-btn:active {
      transform: scale(1.05);
      filter: brightness(1.1);
    }

    /* 下载按钮群 */
    .download-actions {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    @media (max-width: 480px) {
      .download-actions { grid-template-columns: 1fr; }
    }

    .dl-btn {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 20px;
      border-radius: 14px;
      text-decoration: none;
      font-size: 15px;
      font-weight: 800;
      letter-spacing: 0.04em;
      transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }
    .dl-btn.ios {
      background: linear-gradient(135deg, #2d3748, #1a202c);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.2);
    }
    .dl-btn.android {
      background: linear-gradient(135deg, #f6d88b, #c59b27);
      color: #070d19;
      border: 1px solid rgba(255,255,255,0.4);
    }
    .dl-btn:hover, .dl-btn:active {
      transform: scale(1.04) translateY(-2px);
      box-shadow: 0 12px 30px rgba(197, 155, 39, 0.35);
    }
    .dl-btn svg { width: 22px; height: 22px; fill: currentColor; }

    /* 视频展示卡片 (自动播放一次) */
    .video-showcase-card {
      width: 100%;
      background: var(--card-bg);
      backdrop-filter: blur(25px);
      -webkit-backdrop-filter: blur(25px);
      border: 1px solid var(--glass-border);
      border-radius: 24px;
      padding: 18px;
      box-shadow: 0 20px 50px rgba(0,0,0,0.6);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .video-title {
      font-size: 15px;
      font-weight: 800;
      color: var(--primary-gold);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .video-wrapper {
      position: relative;
      width: 100%;
      border-radius: 16px;
      overflow: hidden;
      background: #000;
      border: 1px solid rgba(255,255,255,0.15);
      box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .video-wrapper video {
      width: 100%;
      height: auto;
      max-height: 400px;
      display: block;
      object-fit: cover;
    }

    /* 底部辅助链接 */
    .footer-links {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin-top: 10px;
    }
    .footer-link {
      color: rgba(255, 255, 255, 0.7);
      font-size: 13px;
      text-decoration: none;
      font-weight: 700;
      transition: color 0.2s;
    }
    .footer-link:hover { color: var(--primary-gold); }

    footer {
      margin-top: 20px;
      text-align: center;
      font-size: 11px;
      color: rgba(255, 255, 255, 0.4);
      letter-spacing: 0.05em;
    }

    /* 复制成功提示 Toast */
    .toast-tip {
      position: fixed;
      top: 24px;
      left: 50%;
      transform: translateX(-50%) translateY(-20px);
      background: linear-gradient(135deg, #f6d88b, #c59b27);
      color: #070d19;
      padding: 10px 24px;
      border-radius: 30px;
      font-weight: 800;
      font-size: 14px;
      box-shadow: 0 10px 30px rgba(197, 155, 39, 0.5);
      z-index: 999999;
      opacity: 0;
      pointer-events: none;
      transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .toast-tip.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
