:root {
      --bg: #07051A;
      --card: #0f0d24;
      --border: #1e1b3a;
      --primary: #6837EE;
      --accent: #A89FFF;
      --green: #00ff88;
      --cyan: #00e5ff;
      --red: #ff5252;
      --yellow: #ffab00;
      --text: #ffffff;
      --text-dim: rgba(255, 255, 255, 0.6);
      --text-muted: rgba(255, 255, 255, 0.35);
      --radius: 0.5rem;
    }

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

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg);
      color: var(--text);
      min-height: 100vh;
      position: relative;
      overflow-x: hidden;
      background-image: url('../img/世界杯.jpg');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
    }
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      z-index: 0;
      background: radial-gradient(ellipse at center, rgba(7, 5, 26, 0.65) 0%, rgba(7, 5, 26, 0.85) 70%, rgba(7, 5, 26, 0.95) 100%);
      pointer-events: none;
    }
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      z-index: 0;
      background: radial-gradient(circle at 10% 20%, rgba(0, 255, 136, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(104, 55, 238, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.02) 0%, transparent 40%);
      pointer-events: none;
    }

    h1,
    h2,
    h3 {
      font-family: 'Exo 2', sans-serif;
    }

    /* Header */
    .header {
      position: sticky;
      top: 0;
      z-index: 50;position:relative;
      background: rgba(20, 14, 50, 0.92);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(168, 159, 255, 0.25);
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(168, 159, 255, 0.08) inset;
    }

    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 72px;
      display: flex;
      align-items: center;
      height: 5rem;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo-icon {
      width: 36px;
      height: 36px;
    }

    .logo-text {
      font-family: 'Exo 2', sans-serif;
      font-size: 18px;
      font-weight: 700;
    }

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

    .nav {
      display: flex;
      gap: 2rem;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }

    .nav a {
      color: rgba(255, 255, 255, 0.88);
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
    }

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

    .nav a.active {
      font-weight: 700;
    }

    .header-right {
      margin-left: auto;
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .btn-login,
    .btn-signup {
      height: 42px;
      padding: 0 24px;
      border-radius: 8px;
      font-size: 15px;
      font-weight: 500;
      cursor: pointer;
      font-family: inherit;
    }

    .btn-login {
      border: 1px solid var(--primary);
      background: transparent;
      color: #fff;
    }

    .btn-login:hover {
      background: rgba(104, 55, 238, 0.15);
    }

    .btn-signup {
      background: var(--primary);
      border: none;
      color: #fff;
    }

    .btn-signup:hover {
      background: #7c3aed;
    }

    .user-badge {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 6px 16px;
      border-radius: 8px;
      background: rgba(0, 255, 136, 0.08);
      border: 1px solid rgba(0, 255, 136, 0.2);
      font-size: 13px;
      color: var(--green);
      font-weight: 500;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 32px 72px;
    }

    .tabs {
      display: flex;
      margin-bottom: 24px;
      border-bottom: 1px solid var(--border);
    }
    #headerTabs {
      margin-bottom: 0;
      border-bottom: none;
      margin-left: 32px;
      gap: 4px;
    }
    #headerTabs .tab {
      padding: 8px 16px;
      font-size: 14px;
      border-bottom: 2px solid transparent;
    }
    #headerTabs .tab.active {
      border-bottom-color: var(--primary);
    }

    .tab {
      padding: 12px 24px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      color: var(--text-dim);
      border-bottom: 2px solid transparent;
      font-family: 'Exo 2', sans-serif;
      transition: all 0.2s;
    }

    .tab:hover {
      color: #fff;
    }

    .tab.active {
      color: var(--accent);
      border-bottom-color: var(--primary);
      font-weight: 700;
    }

    .paywall-banner {
      background: rgba(20, 15, 45, 0.92);
      border: 1px solid rgba(168, 159, 255, 0.3);
      border-radius: var(--radius);
      padding: 24px 32px;
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      backdrop-filter: blur(8px);
    }

    .paywall-banner h3 {
      font-size: 18px;
      color: #c4b5ff;
    }

    .paywall-banner p {
      font-size: 13px;
      color: rgba(255,255,255,0.7);
      margin-top: 4px;
    }

    .paywall-banner .price {
      font-size: 32px;
      font-weight: 700;
      color: #fff;
      font-family: 'Exo 2', sans-serif;
    }

    .paywall-banner .price small {
      font-size: 14px;
      color: var(--text-dim);
      font-weight: 400;
    }

    .btn-unlock {
      padding: 14px 32px;
      border-radius: 10px;
      background: var(--primary);
      color: #fff;
      border: none;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      font-family: 'Exo 2', sans-serif;
      transition: all 0.2s;
    }

    .btn-unlock:hover {
      background: #7c3aed;
      transform: scale(1.03);
    }

    .stats-bar {
      background: rgba(20, 16, 44, 0.92);
      border: 1px solid rgba(168, 159, 255, 0.2);
      border-radius: var(--radius);
      padding: 16px 24px;
      margin-bottom: 24px;
      display: flex;
      gap: 32px;
      backdrop-filter: blur(8px);
    }

    .stat {
      text-align: center;
    }

    .stat-value {
      font-size: 22px;
      font-weight: 700;
      color: #00ff88;
      font-family: 'Exo 2', sans-serif;
      text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
    }

    .stat-value.purple {
      color: #c4b5ff;
      text-shadow: 0 0 8px rgba(168, 159, 255, 0.3);
    }

    .stat-label {
      font-size: 11px;
      color: rgba(255, 255, 255, 0.7);
      margin-top: 2px;
    }

    /* Match Card */
    .match-card {
      position: relative;
      overflow: visible;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 16px 20px;
      margin-bottom: 12px;
      transition: all 0.3s;
    }

    .match-row {
      display: flex;
      align-items: center;
      gap: 12px;
      min-height: 48px;
    }

    .match-time {
      width: 56px;
      text-align: center;
      flex-shrink: 0;
    }

    .match-time .date {
      font-size: 10px;
      color: var(--text-muted);
    }

    .match-time .time {
      font-size: 16px;
      font-weight: 700;
      font-family: 'Exo 2', sans-serif;
    }

    .match-time .live-dot {
      display: inline-block;
      width: 6px;
      height: 6px;
      background: var(--red);
      border-radius: 50%;
      margin-right: 3px;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1
      }

      50% {
        opacity: 0.4
      }
    }

    .league-badge {
      width: 80px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .league-badge .dot {
      width: 6px;
      height: 6px;
      background: #8e54e9;
      border-radius: 50%;
    }

    .league-badge span {
      font-size: 11px;
      color: var(--text-dim);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .team {
      flex: 1;
      text-align: center;
      font-size: 14px;
      font-weight: 600;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .team.home {
      text-align: right;
    }

    .team.away {
      text-align: left;
    }

    .match-vs {
      width: 36px;
      text-align: center;
      font-size: 12px;
      color: var(--text-dim);
      flex-shrink: 0;
    }

    .match-score {
      width: 56px;
      text-align: center;
      flex-shrink: 0;
    }

    .match-score .main {
      font-size: 20px;
      font-weight: 700;
      font-family: 'Exo 2', sans-serif;
    }

    .match-score .ht {
      font-size: 10px;
      color: var(--text-muted);
    }

    .status {
      width: 72px;
      flex-shrink: 0;
      text-align: center;
    }

    .status-badge {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 600;
    }

    .s-upcoming {
      background: rgba(0, 255, 136, 0.1);
      color: var(--green);
    }

    .s-live {
      background: rgba(255, 82, 82, 0.1);
      color: var(--red);
    }

    .s-completed {
      background: rgba(168, 159, 255, 0.08);
      color: var(--accent);
    }

    /* Unlock button */
    .btn-unlock-predict {
      width: 96px;
      flex-shrink: 0;
      padding: 10px 0;
      border-radius: 10px;
      background: transparent;
      border: 1.5px solid var(--green);
      color: var(--green);
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      font-family: 'Exo 2', sans-serif;
      transition: all 0.3s;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .btn-unlock-predict::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 229, 255, 0.05));
      opacity: 0;
      transition: opacity 0.3s;
    }

    .btn-unlock-predict:hover {
      border-color: var(--cyan);
      color: var(--cyan);
      box-shadow: 0 0 24px rgba(0, 229, 255, 0.2), 0 0 8px rgba(0, 229, 255, 0.1);
      transform: translateY(-1px);
    }

    .btn-unlock-predict:hover::before {
      opacity: 1;
    }

    .btn-unlock-predict:disabled {
      opacity: 0.4;
      cursor: not-allowed;
      transform: none;
    }

    .btn-view-result {
      padding: 12px 28px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--green), var(--cyan));
      border: none;
      color: #000;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      font-family: 'Exo 2', sans-serif;
      transition: all 0.3s;
      text-align: center;
      animation: glowPulse 2s ease-in-out infinite;
    }

    @keyframes glowPulse {

      0%,
      100% {
        box-shadow: 0 0 16px rgba(0, 229, 255, 0.3)
      }

      50% {
        box-shadow: 0 0 36px rgba(0, 229, 255, 0.5), 0 0 64px rgba(0, 255, 136, 0.15)
      }
    }

    .btn-view-result:hover {
      transform: scale(1.05);
      box-shadow: 0 0 48px rgba(0, 229, 255, 0.7);
    }

    /* ═══════════════════════════════════════════ */
    /* MODEL PANEL v3 - 极致炫酷    */
    /* ═══════════════════════════════════════════ */
    .model-panel {
      margin-top: 14px;
      background: linear-gradient(180deg, #060418 0%, #0a0820 50%, #060418 100%);
      border: 1px solid rgba(0, 229, 255, 0.15);
      border-radius: 14px;
      overflow: hidden;
      animation: panelExpand 0.5s ease-out;
      position: relative;
    }

    .model-panel::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, var(--cyan) 30%, var(--green) 70%, transparent 100%);
      animation: bScan 3s linear infinite;
      z-index: 2;
    }

    .model-panel::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 229, 255, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 136, 0.03) 0%, transparent 40%);
      pointer-events: none;
      z-index: 0;
    }

    /* Hex grid background */
    .hex-bg {
      position: absolute;
      inset: 0;
      opacity: 0.04;
      background-image: url("data:image/svg+xml,%3Csvg width='60' height='52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 17.3v34.6L30 52 0 34.6V17.3z' fill='none' stroke='%2300e5ff' stroke-width='0.5'/%3E%3C/svg%3E");
      background-size: 60px 52px;
      pointer-events: none;
      z-index: 0;
      animation: hexFloat 20s linear infinite;
    }

    @keyframes hexFloat {
      0% {
        background-position: 0 0
      }

      100% {
        background-position: 60px 52px
      }
    }

    @keyframes bScan {
      0% {
        background-position: -200% 0
      }

      100% {
        background-position: 200% 0
      }
    }

    @keyframes panelExpand {
      0% {
        opacity: 0;
        max-height: 0;
        transform: translateY(-12px) scaleY(0.95)
      }

      100% {
        opacity: 1;
        max-height: 900px;
        transform: translateY(0) scaleY(1)
      }
    }

    /* Stage indicators bar */
    .stage-bar {
      display: flex;
      gap: 0;
      padding: 10px 16px;
      position: relative;
      z-index: 2;
      overflow-x: auto;
      border-bottom: 1px solid rgba(0, 229, 255, 0.06);
    }

    .stage-dot {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      font-family: 'Share Tech Mono', monospace;
      font-size: 10px;
      color: var(--text-muted);
      white-space: nowrap;
      position: relative;
      transition: all 0.5s;
    }

    .stage-dot .sd {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.15);
      transition: all 0.5s;
    }

    .stage-dot.active {
      color: var(--cyan);
    }

    .stage-dot.active .sd {
      background: var(--cyan);
      box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
      border-color: var(--cyan);
      animation: stageGlow 1s ease-in-out infinite;
    }

    .stage-dot.done {
      color: var(--green);
    }

    .stage-dot.done .sd {
      background: var(--green);
      border-color: var(--green);
      box-shadow: 0 0 6px rgba(0, 255, 136, 0.4);
      animation: none;
    }

    .stage-line {
      width: 16px;
      height: 1px;
      background: rgba(255, 255, 255, 0.08);
      align-self: center;
      flex-shrink: 0;
    }

    @keyframes stageGlow {

      0%,
      100% {
        box-shadow: 0 0 10px rgba(0, 229, 255, 0.6)
      }

      50% {
        box-shadow: 0 0 20px rgba(0, 229, 255, 1)
      }
    }

    /* Status row */
    .model-status-bar {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 20px;
      position: relative;
      z-index: 2;
    }

    .status-ring {
      width: 44px;
      height: 44px;
      position: relative;
      flex-shrink: 0;
    }

    .status-ring svg {
      width: 44px;
      height: 44px;
      transform: rotate(-90deg);
    }

    .status-ring .sr-bg {
      fill: none;
      stroke: rgba(255, 255, 255, 0.05);
      stroke-width: 3;
    }

    .status-ring .sr-fg {
      fill: none;
      stroke: var(--cyan);
      stroke-width: 3;
      stroke-linecap: round;
      transition: stroke-dashoffset 0.6s ease-out;
    }

    .status-ring .sr-icon {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      color: var(--cyan);
      animation: spinIcon 3s linear infinite;
    }

    .status-ring.done .sr-fg {
      stroke: var(--green);
    }

    .status-ring.done .sr-icon {
      color: var(--green);
      animation: none;
    }

    @keyframes spinIcon {
      0% {
        transform: rotate(0deg)
      }

      100% {
        transform: rotate(360deg)
      }
    }

    .model-status-info {
      flex: 1;
    }

    .model-status-info .msi-title {
      font-family: 'Exo 2', sans-serif;
      font-size: 15px;
      font-weight: 600;
      color: #fff;
    }

    .model-status-info .msi-sub {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 2px;
    }

    .model-elapsed {
      font-family: 'Share Tech Mono', monospace;
      font-size: 13px;
      color: var(--text-muted);
    }

    /* Metrics grid - bigger */
    .model-metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: rgba(0, 229, 255, 0.06);
      position: relative;
      z-index: 2;
    }

    .model-metric {
      padding: 16px 12px;
      text-align: center;
      background: rgba(6, 4, 24, 0.8);
      transition: all 0.6s;
      position: relative;
    }

    .model-metric .mv {
      font-family: 'Exo 2', sans-serif;
      font-size: 24px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.1);
      transition: all 0.6s;
    }

    .model-metric .mv.on {
      color: var(--cyan);
      text-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
    }

    .model-metric .ml {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 3px;
      transition: color 0.6s;
    }

    .model-metric .ml.on {
      color: rgba(0, 229, 255, 0.6);
    }

    /* Terminal - bigger, more content */
    .model-terminal {
      padding: 16px 20px;
      font-family: 'Share Tech Mono', monospace;
      font-size: 11.5px;
      line-height: 1.85;
      color: var(--text-dim);
      min-height: 180px;
      max-height: 320px;
      overflow-y: auto;
      background: rgba(0, 0, 0, 0.3);
      position: relative;
      z-index: 2;
    }

    .model-terminal::-webkit-scrollbar {
      width: 4px;
    }

    .model-terminal::-webkit-scrollbar-track {
      background: transparent;
    }

    .model-terminal::-webkit-scrollbar-thumb {
      background: rgba(0, 229, 255, 0.12);
      border-radius: 2px;
    }

    .model-terminal .ll {
      display: flex;
      gap: 8px;
      animation: logIn 0.25s ease-out;
    }

    @keyframes logIn {
      0% {
        opacity: 0;
        transform: translateX(-12px)
      }

      100% {
        opacity: 1;
        transform: translateX(0)
      }
    }

    .model-terminal .ll .lp {
      color: var(--green);
      flex-shrink: 0;
    }

    .model-terminal .ll .lt {
      color: var(--cyan);
      min-width: 56px;
      flex-shrink: 0;
      font-weight: 600;
    }

    .model-terminal .ll .lm {
      color: var(--text-dim);
    }

    .model-terminal .ll .lv {
      color: var(--yellow);
    }

    .model-terminal .ll .lg {
      color: var(--green);
    }

    .model-terminal .ll .lr {
      color: var(--red);
    }

    .model-terminal .ll .la {
      color: var(--accent);
    }


    /* Expert sub-stages (Stage 9 子阶段) */
    .expert-sub-stages {
      display: none;
      padding: 12px 20px 8px;
      background: rgba(255, 145, 0, 0.04);
      border-left: 2px solid rgba(255, 145, 0, 0.25);
      margin: 0 20px;
      position: relative;
      z-index: 2;
    }

    .expert-sub-stages.active {
      display: block;
      animation: essFadeIn 0.35s ease-out;
    }

    @keyframes essFadeIn {
      0% { opacity: 0; transform: translateY(-6px); }
      100% { opacity: 1; transform: translateY(0); }
    }

    .ess-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 6px 0;
      font-size: 12px;
      color: var(--text-muted);
      transition: all 0.3s;
    }

    .ess-item .ess-dot {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      border: 2px solid rgba(255, 255, 255, 0.1);
      flex-shrink: 0;
      transition: all 0.3s;
      position: relative;
    }

    .ess-item.active .ess-dot {
      border-color: var(--orange);
      background: rgba(255, 145, 0, 0.25);
      animation: essPulse 0.8s ease-in-out infinite;
    }

    @keyframes essPulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(255, 145, 0, 0.4); }
      50% { box-shadow: 0 0 0 6px rgba(255, 145, 0, 0); }
    }

    .ess-item.done .ess-dot {
      border-color: var(--green);
      background: rgba(0, 255, 148, 0.2);
    }

    .ess-item.done .ess-dot::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--green);
    }

    .ess-item .ess-label {
      flex: 1;
      transition: color 0.3s;
    }

    .ess-item.active .ess-label {
      color: var(--orange);
      font-weight: 600;
    }

    .ess-item.done .ess-label {
      color: var(--green);
    }

    .ess-item .ess-time {
      font-family: 'Share Tech Mono', monospace;
      font-size: 10px;
      color: var(--text-muted);
      flex-shrink: 0;
    }

    .ess-item.active .ess-time {
      color: var(--orange);
    }

    .expert-sub-stages.all-done {
      border-left-color: rgba(0, 255, 148, 0.3);
      background: rgba(0, 255, 148, 0.03);
    }

    /* Data flow lines */
    .data-stream {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 1;
      overflow: hidden;
    }

    .data-stream .ds-particle {
      position: absolute;
      width: 2px;
      height: 2px;
      background: var(--cyan);
      border-radius: 50%;
      box-shadow: 0 0 6px rgba(0, 229, 255, 0.5);
      animation: particleDrift linear infinite;
      opacity: 0;
    }

    @keyframes particleDrift {
      0% {
        opacity: 0;
        transform: translate(0, 0)
      }

      10% {
        opacity: 0.8
      }

      90% {
        opacity: 0.6
      }

      100% {
        opacity: 0;
        transform: translate(var(--dx), var(--dy))
      }
    }

    /* Complete section */
    .model-complete {
      display: none;
      align-items: center;
      justify-content: space-between;
      padding: 20px 24px;
      border-top: 1px solid rgba(0, 255, 136, 0.2);
      background: linear-gradient(90deg, rgba(0, 255, 136, 0.05), rgba(0, 229, 255, 0.03));
      position: relative;
      z-index: 2;
    }

    .model-complete .done-left {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .model-complete .done-icon-wrap {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(0, 255, 136, 0.1);
      border: 1px solid rgba(0, 255, 136, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
    }

    .model-complete .done-text {
      font-family: 'Exo 2', sans-serif;
      font-size: 14px;
      font-weight: 600;
      color: var(--green);
    }

    .model-complete .done-sub {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 2px;
    }

    /* Prediction bars for completed/live */
    .prediction {
      position: relative;
      width: 240px;
      flex-shrink: 0;
    }

    .prediction .bar-wrap {
      height: 8px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.1);
      overflow: hidden;
      display: flex;
    }

    .prediction .bar-h {
      height: 100%;
      background: var(--primary);
      border-radius: 4px 0 0 4px;
    }

    .prediction .bar-d {
      height: 100%;
      background: rgba(168, 159, 255, 0.5);
    }

    .prediction .bar-a {
      height: 100%;
      background: var(--red);
      border-radius: 0 4px 4px 0;
    }

    .prediction .labels {
      display: flex;
      justify-content: space-between;
      margin-top: 4px;
      font-size: 10px;
    }

    .prediction .labels .hl {
      color: #a78bfa;
    }

    .prediction .labels .dl {
      color: rgba(168, 159, 255, 0.7);
    }

    .prediction .labels .al {
      color: #f87171;
    }

    .confidence {
      width: 60px;
      flex-shrink: 0;
      text-align: center;
    }

    .confidence .val {
      font-size: 18px;
      font-weight: 700;
      font-family: 'Exo 2', sans-serif;
    }

    .confidence .lbl {
      font-size: 9px;
      color: var(--text-muted);
    }

    .conf-high {
      color: var(--green);
    }

    .conf-mid {
      color: var(--yellow);
    }

    .conf-low {
      color: var(--text-dim);
    }

    /* Lock overlay */
    .lock-overlay {
      position: absolute;
      inset: 0;
      background: rgba(15, 13, 36, 0.85);
      backdrop-filter: blur(4px);
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      cursor: pointer;
      font-size: 14px;
      color: var(--text-dim);
      font-weight: 600;
      transition: all 0.3s;
    }

    .lock-overlay:hover {
      color: var(--accent);
    }

    .blurred {
      position: relative;
      filter: blur(6px);
      opacity: 0.4;
    }

    /* Modal */
    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 999;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(4px);
      display: flex;
      align-items: center;
      justify-content: center;
      animation: fadeIn 0.2s ease;
    }
    @keyframes fadeIn{from{opacity:0}to{opacity:1}}

    .modal {
      background: rgba(22, 18, 48, 0.98);
      border: 1px solid rgba(168, 159, 255, 0.25);
      border-radius: 16px;
      padding: 40px 36px;
      width: 420px;
      max-width: 92vw;
      position: relative;
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
      animation: modalIn 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
    @keyframes modalIn{from{transform:translateY(20px) scale(0.96);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}

    .modal-logo{display:flex;align-items:center;gap:8px;justify-content:center;margin-bottom:8px;}
    .modal-logo .logo-icon{width:32px;height:32px;}

    .modal h2 {
      font-size: 24px;
      color: #fff;
      margin-bottom: 6px;
      text-align: center;
    }

    .modal-desc{text-align:center;font-size:13px;color:var(--text-dim);margin-bottom:24px;}

    .modal-tabs{display:flex;justify-content:center;gap:0;margin-bottom:16px;border-bottom:1px solid rgba(255,255,255,0.08);}
    .modal-tab{padding:10px 28px;font-size:15px;font-weight:500;color:rgba(255,255,255,0.45);cursor:pointer;border-bottom:2px solid transparent;transition:all 0.2s;font-family:'Exo 2',sans-serif;}
    .modal-tab:hover{color:rgba(255,255,255,0.75);}
    .modal-tab.active{color:var(--accent);border-bottom-color:var(--primary);font-weight:600;}

    .form-group {
      margin-bottom: 18px;
    }

    .form-group label {
      display: block;
      font-size: 13px;
      color: rgba(255, 255, 255, 0.7);
      margin-bottom: 8px;
      font-weight: 500;
    }

    .form-group input {
      width: 100%;
      padding: 12px 16px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(168, 159, 255, 0.2);
      color: #fff;
      font-size: 15px;
      font-family: inherit;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .form-group input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(104, 55, 238, 0.15);
    }
    .form-group input::placeholder{color:rgba(255,255,255,0.25);}

    .btn-submit {
      width: 100%;
      padding: 14px;
      border-radius: 10px;
      margin-top: 8px;
      background: var(--primary);
      color: #fff;
      border: none;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      font-family: 'Exo 2', sans-serif;
      transition: all 0.2s;
    }

    .btn-submit:hover {
      background: #7c3aed;
      box-shadow: 0 6px 20px rgba(104, 55, 238, 0.35);
    }
    .btn-submit:active{transform:scale(0.98);}

    .modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      background: rgba(255,255,255,0.06);
      border: none;
      color: rgba(255,255,255,0.5);
      font-size: 20px;
      cursor: pointer;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }
    .modal-close:hover{background:rgba(255,255,255,0.12);color:#fff;}

    .modal-footer{text-align:center;font-size:13px;color:var(--text-dim);margin-top:20px;}
    .modal-footer a{color:var(--accent);text-decoration:none;font-weight:500;}
    .modal-footer a:hover{text-decoration:underline;}

    .modal-error {
      background: rgba(255, 82, 82, 0.1);
      border: 1px solid rgba(255, 82, 82, 0.25);
      color: var(--red);
      font-size: 13px;
      margin-bottom: 16px;
      padding: 10px 14px;
      border-radius: 8px;
    }

    .disclaimer {
      margin-top: 32px;
      padding: 16px 20px;
      background: rgba(10, 8, 30, 0.85);
      border: 1px solid rgba(168, 159, 255, 0.15);
      border-radius: var(--radius);
      font-size: 11px;
      color: rgba(255, 255, 255, 0.5);
      line-height: 1.7;
      backdrop-filter: blur(8px);
    }

    @media(max-width:1024px) {
      .header-inner {
        padding: 0 16px;
        height: 72px;
      }

      .nav {
        display: none;
      }
      #headerTabs {
        display: none;
      }

      .container {
        padding: 16px 12px;
      }

      .league-badge {
        width: 56px;
      }

      .prediction {
        position: relative;
        width: 140px;
      }

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

      .paywall-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
      }

      .paywall-banner .price {
        font-size: 28px;
      }

      .stats-bar {
        gap: 16px;
        padding: 12px 16px;
        overflow-x: auto;
      }

      .stat {
        flex-shrink: 0;
      }

      .matchup {
        padding: 28px 12px;
      }

      .matchup .team .name {
        font-size: 20px;
      }
      .card-teams .ct-home,.card-teams .ct-away{font-size:14px;}
      .card-info .ci-time{font-size:14px;}
      .card-stamp{width:60px;height:60px;font-size:16px;top:4px;right:4px;border-width:2px;}
      .card-body{padding:10px 12px;}
      .card-teams .ct-home,.card-teams .ct-away{font-size:14px;}
      .card-info .ci-time{font-size:15px;}
      .card-body{padding:12px;}
      .card-stamp{width:60px;height:60px;font-size:15px;top:4px;right:6px;border-width:2px;}
      .card-strip{height:260px;}
      .card-item{width:400px;height:225px;}
      .card-item.pos-1{transform:translate(calc(-50% + 180px),-50%) scale(0.82) rotateY(-5deg);}
      .card-item.pos-neg1{transform:translate(calc(-50% - 180px),-50%) scale(0.82) rotateY(5deg);}
      .card-item.pos-2{transform:translate(calc(-50% + 300px),-50%) scale(0.65) rotateY(-10deg);}
      .card-item.pos-neg2{transform:translate(calc(-50% - 300px),-50%) scale(0.65) rotateY(10deg);}
          }

    /* ── 手机端 (<768px) ── */
    @media(max-width:768px) {
      .header-inner {
        height: 56px;
      }

      .logo-text {
        font-size: 14px;
      }

      .logo-icon {
        width: 28px;
        height: 28px;
      }

      .btn-login,
      .btn-signup {
        height: 32px;
        padding: 0 14px;
        font-size: 13px;
      }

      .user-badge {
        font-size: 11px;
        padding: 4px 10px;
        gap: 6px;
      }

      /* Match card 紧凑布局 */
      .match-card {
        overflow: visible;
        padding: 10px 12px;
        margin-bottom: 8px;
      }

      .match-row {
        gap: 6px;
        flex-wrap: wrap;
      }

      .match-time {
        width: 44px;
      }

      .match-time .time {
        font-size: 14px;
      }

      .match-time .date {
        font-size: 9px;
      }

      .team {
        font-size: 13px;
        min-width: 0;
      }

      .match-vs {
        width: 28px;
        font-size: 11px;
      }

      .match-score {
        width: 44px;
      }

      .match-score .main {
        font-size: 17px;
      }

      .status {
        width: 56px;
      }

      .status-badge {
        font-size: 9px;
        padding: 3px 6px;
      }

      .prediction {
        position: relative;
        width: 110px;
      }

      .prediction .bar-wrap {
        height: 6px;
      }

      .prediction .labels {
        font-size: 9px;
      }

      .confidence {
        width: 44px;
      }

      .confidence .val {
        font-size: 15px;
      }

      .confidence .lbl {
        font-size: 8px;
      }

      /* 解锁按钮 */
      .btn-unlock-predict {
        width: 68px;
        padding: 8px 0;
        font-size: 11px;
        border-radius: 8px;
      }

      /* Tabs */
      .tabs {
        gap: 0;
        margin-bottom: 16px;
      }

      .tab {
        padding: 10px 14px;
        font-size: 13px;
      }

      /* Paywall */
      .paywall-banner {
        padding: 16px;
        gap: 10px;
      }

      .paywall-banner h3 {
        font-size: 16px;
      }

      .paywall-banner p {
        font-size: 11px;
      }

      .paywall-banner .price {
        font-size: 24px;
      }

      .btn-unlock {
        padding: 12px 24px;
        font-size: 14px;
      }

      /* Stats */
      .stats-bar {
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 12px;
      }

      .stat-value {
        font-size: 18px;
      }

      .stat-label {
        font-size: 10px;
      }

      /* ── Model Panel 手机端 ── */
      .model-panel {
        border-radius: 10px;
      }

      /* 8 段进度条 → 横向滚动 */
      .stage-bar {
        padding: 8px 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        flex-wrap: nowrap;
      }

      .stage-dot {
        padding: 4px 6px;
        font-size: 8px;
        gap: 3px;
        flex-shrink: 0;
      }

      .stage-dot .sd {
        width: 6px;
        height: 6px;
      }

      .stage-line {
        width: 8px;
        flex-shrink: 0;
      }

      /* 状态栏 */
      .model-status-bar {
        padding: 10px 14px;
        gap: 8px;
      }

      .status-ring {
        width: 32px;
        height: 32px;
      }

      .status-ring svg {
        width: 32px;
        height: 32px;
      }

      .msi-title {
        font-size: 13px;
      }

      .msi-sub {
        font-size: 10px;
      }

      .model-elapsed {
        font-size: 11px;
      }

      /* 指标 2 列 */
      .model-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .model-metric {
        padding: 12px 8px;
      }

      .model-metric .mv {
        font-size: 18px;
      }

      .model-metric .ml {
        font-size: 10px;
      }

      /* 终端 */
      .model-terminal {
        padding: 10px 14px;
        font-size: 10px;
        line-height: 1.7;
        min-height: 140px;
        max-height: 220px;
      }

      .model-terminal .ll {
        gap: 5px;
      }

      .model-terminal .ll .lt {
        min-width: 42px;
      }

      /* 完成区域 → 竖向堆叠 */
      .model-complete {
        padding: 14px 16px;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        text-align: center;
      }

      .model-complete .done-left {
        justify-content: center;
      }

      .btn-view-result {
        width: 100%;
        padding: 12px;
        font-size: 14px;
      }

      /* 模态 */
      .modal {
        padding: 24px 20px;
        width: 92vw;
      }

      .modal h2 {
        font-size: 18px;
      }
      .card-img{width:100%;height:100px;}
      .card-body{padding:10px 12px;}
      .card-teams .ct-home,.card-teams .ct-away{font-size:13px;}
      .card-info .ci-time{font-size:14px;}
      .card-stamp{width:48px;height:48px;font-size:13px;top:4px;right:6px;border-width:2px;}
      .card-strip{height:auto;}
      .card-item{position:relative;left:auto;top:auto;width:92vw;max-width:400px;height:auto;aspect-ratio:16/9;margin:8px auto;transform:none!important;}
      .card-item.pos-1,.card-item.pos-neg1,.card-item.pos-2,.card-item.pos-neg2{transform:none!important;opacity:1;z-index:1;}
      .card-item.pos-0{transform:none!important;z-index:2;}
    }

    /* ── 超窄 (<400px) ── */
    @media(max-width:400px) {
      .header-inner {
        padding: 0 10px;
      }

      .logo-text {
        font-size: 12px;
      }

      .btn-login,
      .btn-signup {
        height: 28px;
        padding: 0 10px;
        font-size: 11px;
      }

      .container {
        padding: 12px 8px;
      }

      .match-time {
        width: 40px;
      }

      .match-time .time {
        font-size: 12px;
      }

      .match-vs {
        width: 24px;
        font-size: 10px;
      }

      .team {
        font-size: 11px;
      }

      .prediction {
        position: relative;
        width: 90px;
      }

      .prediction .labels {
        font-size: 8px;
      }

      .confidence {
        width: 36px;
      }

      .confidence .val {
        font-size: 13px;
      }

      .btn-unlock-predict {
        width: 56px;
        font-size: 10px;
        padding: 6px 0;
      }

      .status {
        width: 48px;
      }

      .status-badge {
        font-size: 8px;
        padding: 2px 5px;
      }

      .model-terminal {
        font-size: 9px;
        min-height: 100px;
        max-height: 180px;
      }

      .stage-dot {
        font-size: 7px;
      }
    }

    /* ═══════════════════════════════════════════ */
    /* HOME HERO SECTION      */
    /* ═══════════════════════════════════════════ */
    .home-hero {
      position: relative;
      padding: 48px 0 40px;
      overflow: visible;
    }

    .home-hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 900px;
      height: 500px;
      background: radial-gradient(ellipse at center, rgba(104, 55, 238, 0.12) 0%, transparent 70%);
      pointer-events: none;
    }

    .home-hero::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 300px;
      height: 400px;
      background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-title-wrap {
      position: relative;
      z-index: 2;
      text-align: center;
      padding-top: 32px;
    }

    .hero-title {
      font-family: 'Exo 2', sans-serif;
      font-size: 64px;
      font-weight: 700;
      line-height: 1.25;
      color: #fff;
      letter-spacing: -0.02em;
    }

    .hero-title .hl {
      color: var(--accent);
    }

    .hero-title .hl-grad {
      background: linear-gradient(135deg, var(--accent), var(--cyan));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-subtitle {
      color: var(--text-dim);
      font-size: 18px;
      line-height: 1.6;
      max-width: 500px;
      margin: 12px auto 0;
      text-align: center;
    }

    .hero-cta-row {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-top: 36px;
      position: relative;
      z-index: 2;
    }

    .hero-cta-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      height: 56px;
      padding: 0 36px;
      border-radius: 12px;
      background: var(--primary);
      color: #fff;
      font-size: 18px;
      font-weight: 600;
      font-family: 'Exo 2', sans-serif;
      cursor: pointer;
      border: none;
      transition: all 0.3s;
    }

    .hero-cta-primary:hover {
      background: #7c3aed;
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(104, 55, 238, 0.35);
    }

    .hero-cta-primary .cta-arrow {
      font-size: 20px;
      transition: transform 0.3s;
    }

    .hero-cta-primary:hover .cta-arrow {
      transform: translateX(3px);
    }

    .hero-stats {
      position: relative;
      z-index: 2;
      display: flex;
      justify-content: center;
      gap: 48px;
      margin-top: 20px;
      padding: 0 24px;
    }

    .hero-stat {
      text-align: center;
    }

    .hero-stat-val {
      font-family: 'Exo 2', sans-serif;
      font-size: 56px;
      font-weight: 700;
      color: #fff;
    }

    .hero-stat-val.accent {
      color: var(--accent);
    }

    .hero-stat-val.green {
      color: var(--green);
    }

    .hero-stat-val.green {
      color: var(--green);
    }
    .hero-stat-val.red {
      color: #ff1a1a;
      text-shadow: 0 0 12px rgba(255, 26, 26, 0.4);
    }
    .hero-stat-val.cyan {
      color: var(--cyan);
    }

    .hero-stat-lbl {
      font-size: 13px;
      color: var(--text-muted);
      margin-top: 4px;
    }

    /* Card Carousel — Simple Flat Layout */
.card-strip{position:relative;height:360px;margin:40px auto 0;max-width:1100px;z-index:2;perspective:1000px;}
.card-item{position:absolute;left:50%;top:50%;width:560px;height:315px;
  background:linear-gradient(135deg,#1a163a 0%,#0f0d24 100%);
  border:1px solid rgba(168,159,255,0.2);border-radius:16px;overflow:hidden;
  display:flex;flex-direction:row;
  box-shadow:0 12px 48px rgba(0,0,0,0.5);
  cursor:pointer;
  transition:transform 0.5s cubic-bezier(0.22,0.61,0.36,1),opacity 0.5s,margin 0.5s;}
.card-item.pos-0{transform:translate(-50%,-50%) scale(1) rotateY(0deg);z-index:5;opacity:1;
  border-color:rgba(168,159,255,0.5);box-shadow:0 16px 64px rgba(104,55,238,0.3);}
.card-item.pos-1{transform:translate(calc(-50% + 260px),-50%) scale(0.82) rotateY(-6deg);z-index:4;opacity:0.8;}
.card-item.pos-neg1{transform:translate(calc(-50% - 260px),-50%) scale(0.82) rotateY(6deg);z-index:4;opacity:0.8;}
.card-item.pos-2{transform:translate(calc(-50% + 460px),-50%) scale(0.65) rotateY(-12deg);z-index:3;opacity:0.55;}
.card-item.pos-neg2{transform:translate(calc(-50% - 460px),-50%) scale(0.65) rotateY(12deg);z-index:3;opacity:0.55;}
/* Card inner */
.card-img{width:55%;height:100%;display:flex;align-items:center;justify-content:center;position:relative;flex-shrink:0;}
.card-body{flex:1;padding:16px 18px;display:flex;flex-direction:column;justify-content:center;position:relative;}
.card-league{font-family:'Exo 2',sans-serif;font-size:12px;color:var(--accent);margin-bottom:6px;letter-spacing:0.08em;}
.card-teams{margin:6px 0;}
.card-teams .ct-home,.card-teams .ct-away{font-family:'Exo 2',sans-serif;font-size:17px;font-weight:700;color:#fff;display:block;line-height:1.3;}
.card-teams .ct-vs{font-size:11px;color:rgba(255,255,255,0.5);display:block;margin:4px 0;}
.card-info{margin-top:8px;display:flex;align-items:center;gap:10px;}
.card-info .ci-date{font-size:11px;color:var(--text-dim);}
.card-info .ci-time{font-family:'Exo 2',sans-serif;font-size:17px;font-weight:700;color:#fff;}

.card-stamp{position:absolute;top:8px;right:8px;width:82px;height:82px;border:3px solid rgba(200,30,30,0.85);border-radius:50%;display:flex;align-items:center;justify-content:center;transform:rotate(18deg);color:rgba(200,30,30,0.85);font-size:22px;font-weight:900;font-family:'Exo 2',sans-serif;text-align:center;line-height:1.15;pointer-events:none;z-index:5;text-shadow:2px 2px 0 rgba(0,0,0,0.35);box-shadow:0 0 14px rgba(200,30,30,0.25),inset 0 0 14px rgba(200,30,30,0.1);}

  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>FootballPredict - 模型驱动的足球数据分析</title>
  <link
    href="https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&family=Share+Tech+Mono&display=swap"
    rel="stylesheet">
  <style>
    :root {
      --bg: #07051A;
      --card: #0f0d24;
      --border: #1e1b3a;
      --primary: #6837EE;
      --accent: #A89FFF;
      --green: #00ff88;
      --cyan: #00e5ff;
      --red: #ff5252;
      --yellow: #ffab00;
      --text: #ffffff;
      --text-dim: rgba(255, 255, 255, 0.6);
      --text-muted: rgba(255, 255, 255, 0.35);
      --radius: 0.5rem;
    }

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

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg);
      color: var(--text);
      min-height: 100vh;
      position: relative;
      overflow-x: hidden;
      background-image: url('../img/世界杯.jpg');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
    }
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      z-index: 0;
      background: radial-gradient(ellipse at center, rgba(7, 5, 26, 0.65) 0%, rgba(7, 5, 26, 0.85) 70%, rgba(7, 5, 26, 0.95) 100%);
      pointer-events: none;
    }
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      z-index: 0;
      background: radial-gradient(circle at 10% 20%, rgba(0, 255, 136, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(104, 55, 238, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.02) 0%, transparent 40%);
      pointer-events: none;
    }

    h1,
    h2,
    h3 {
      font-family: 'Exo 2', sans-serif;
    }

    /* Header */
    .header {
      position: sticky;
      top: 0;
      z-index: 50;position:relative;
      background: rgba(20, 14, 50, 0.92);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(168, 159, 255, 0.25);
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(168, 159, 255, 0.08) inset;
    }

    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 72px;
      display: flex;
      align-items: center;
      height: 5rem;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo-icon {
      width: 36px;
      height: 36px;
    }

    .logo-text {
      font-family: 'Exo 2', sans-serif;
      font-size: 18px;
      font-weight: 700;
    }

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

    .nav {
      display: flex;
      gap: 2rem;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }

    .nav a {
      color: rgba(255, 255, 255, 0.88);
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
    }

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

    .nav a.active {
      font-weight: 700;
    }

    .header-right {
      margin-left: auto;
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .btn-login,
    .btn-signup {
      height: 42px;
      padding: 0 24px;
      border-radius: 8px;
      font-size: 15px;
      font-weight: 500;
      cursor: pointer;
      font-family: inherit;
    }

    .btn-login {
      border: 1px solid var(--primary);
      background: transparent;
      color: #fff;
    }

    .btn-login:hover {
      background: rgba(104, 55, 238, 0.15);
    }

    .btn-signup {
      background: var(--primary);
      border: none;
      color: #fff;
    }

    .btn-signup:hover {
      background: #7c3aed;
    }

    .user-badge {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 6px 16px;
      border-radius: 8px;
      background: rgba(0, 255, 136, 0.08);
      border: 1px solid rgba(0, 255, 136, 0.2);
      font-size: 13px;
      color: var(--green);
      font-weight: 500;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 32px 72px;
    }

    .tabs {
      display: flex;
      margin-bottom: 24px;
      border-bottom: 1px solid var(--border);
    }
    #headerTabs {
      margin-bottom: 0;
      border-bottom: none;
      margin-left: 32px;
      gap: 4px;
    }
    #headerTabs .tab {
      padding: 8px 16px;
      font-size: 14px;
      border-bottom: 2px solid transparent;
    }
    #headerTabs .tab.active {
      border-bottom-color: var(--primary);
    }

    .tab {
      padding: 12px 24px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      color: var(--text-dim);
      border-bottom: 2px solid transparent;
      font-family: 'Exo 2', sans-serif;
      transition: all 0.2s;
    }

    .tab:hover {
      color: #fff;
    }

    .tab.active {
      color: var(--accent);
      border-bottom-color: var(--primary);
      font-weight: 700;
    }

    .paywall-banner {
      background: rgba(20, 15, 45, 0.92);
      border: 1px solid rgba(168, 159, 255, 0.3);
      border-radius: var(--radius);
      padding: 24px 32px;
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      backdrop-filter: blur(8px);
    }

    .paywall-banner h3 {
      font-size: 18px;
      color: #c4b5ff;
    }

    .paywall-banner p {
      font-size: 13px;
      color: rgba(255,255,255,0.7);
      margin-top: 4px;
    }

    .paywall-banner .price {
      font-size: 32px;
      font-weight: 700;
      color: #fff;
      font-family: 'Exo 2', sans-serif;
    }

    .paywall-banner .price small {
      font-size: 14px;
      color: var(--text-dim);
      font-weight: 400;
    }

    .btn-unlock {
      padding: 14px 32px;
      border-radius: 10px;
      background: var(--primary);
      color: #fff;
      border: none;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      font-family: 'Exo 2', sans-serif;
      transition: all 0.2s;
    }

    .btn-unlock:hover {
      background: #7c3aed;
      transform: scale(1.03);
    }

    .stats-bar {
      background: rgba(20, 16, 44, 0.92);
      border: 1px solid rgba(168, 159, 255, 0.2);
      border-radius: var(--radius);
      padding: 16px 24px;
      margin-bottom: 24px;
      display: flex;
      gap: 32px;
      backdrop-filter: blur(8px);
    }

    .stat {
      text-align: center;
    }

    .stat-value {
      font-size: 22px;
      font-weight: 700;
      color: #00ff88;
      font-family: 'Exo 2', sans-serif;
      text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
    }

    .stat-value.purple {
      color: #c4b5ff;
      text-shadow: 0 0 8px rgba(168, 159, 255, 0.3);
    }

    .stat-label {
      font-size: 11px;
      color: rgba(255, 255, 255, 0.7);
      margin-top: 2px;
    }

    /* Match Card */
    .match-card {
      position: relative;
      overflow: visible;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 16px 20px;
      margin-bottom: 12px;
      transition: all 0.3s;
    }

    .match-row {
      display: flex;
      align-items: center;
      gap: 12px;
      min-height: 48px;
    }

    .match-time {
      width: 56px;
      text-align: center;
      flex-shrink: 0;
    }

    .match-time .date {
      font-size: 10px;
      color: var(--text-muted);
    }

    .match-time .time {
      font-size: 16px;
      font-weight: 700;
      font-family: 'Exo 2', sans-serif;
    }

    .match-time .live-dot {
      display: inline-block;
      width: 6px;
      height: 6px;
      background: var(--red);
      border-radius: 50%;
      margin-right: 3px;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1
      }

      50% {
        opacity: 0.4
      }
    }

    .league-badge {
      width: 80px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .league-badge .dot {
      width: 6px;
      height: 6px;
      background: #8e54e9;
      border-radius: 50%;
    }

    .league-badge span {
      font-size: 11px;
      color: var(--text-dim);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .team {
      flex: 1;
      text-align: center;
      font-size: 14px;
      font-weight: 600;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .team.home {
      text-align: right;
    }

    .team.away {
      text-align: left;
    }

    .match-vs {
      width: 36px;
      text-align: center;
      font-size: 12px;
      color: var(--text-dim);
      flex-shrink: 0;
    }

    .match-score {
      width: 56px;
      text-align: center;
      flex-shrink: 0;
    }

    .match-score .main {
      font-size: 20px;
      font-weight: 700;
      font-family: 'Exo 2', sans-serif;
    }

    .match-score .ht {
      font-size: 10px;
      color: var(--text-muted);
    }

    .status {
      width: 72px;
      flex-shrink: 0;
      text-align: center;
    }

    .status-badge {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 600;
    }

    .s-upcoming {
      background: rgba(0, 255, 136, 0.1);
      color: var(--green);
    }

    .s-live {
      background: rgba(255, 82, 82, 0.1);
      color: var(--red);
    }

    .s-completed {
      background: rgba(168, 159, 255, 0.08);
      color: var(--accent);
    }

    /* Unlock button */
    .btn-unlock-predict {
      width: 96px;
      flex-shrink: 0;
      padding: 10px 0;
      border-radius: 10px;
      background: transparent;
      border: 1.5px solid var(--green);
      color: var(--green);
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      font-family: 'Exo 2', sans-serif;
      transition: all 0.3s;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .btn-unlock-predict::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 229, 255, 0.05));
      opacity: 0;
      transition: opacity 0.3s;
    }

    .btn-unlock-predict:hover {
      border-color: var(--cyan);
      color: var(--cyan);
      box-shadow: 0 0 24px rgba(0, 229, 255, 0.2), 0 0 8px rgba(0, 229, 255, 0.1);
      transform: translateY(-1px);
    }

    .btn-unlock-predict:hover::before {
      opacity: 1;
    }

    .btn-unlock-predict:disabled {
      opacity: 0.4;
      cursor: not-allowed;
      transform: none;
    }

    .btn-view-result {
      padding: 12px 28px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--green), var(--cyan));
      border: none;
      color: #000;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      font-family: 'Exo 2', sans-serif;
      transition: all 0.3s;
      text-align: center;
      animation: glowPulse 2s ease-in-out infinite;
    }

    @keyframes glowPulse {

      0%,
      100% {
        box-shadow: 0 0 16px rgba(0, 229, 255, 0.3)
      }

      50% {
        box-shadow: 0 0 36px rgba(0, 229, 255, 0.5), 0 0 64px rgba(0, 255, 136, 0.15)
      }
    }

    .btn-view-result:hover {
      transform: scale(1.05);
      box-shadow: 0 0 48px rgba(0, 229, 255, 0.7);
    }

    /* ═══════════════════════════════════════════ */
    /* MODEL PANEL v3 - 极致炫酷    */
    /* ═══════════════════════════════════════════ */
    .model-panel {
      margin-top: 14px;
      background: linear-gradient(180deg, #060418 0%, #0a0820 50%, #060418 100%);
      border: 1px solid rgba(0, 229, 255, 0.15);
      border-radius: 14px;
      overflow: hidden;
      animation: panelExpand 0.5s ease-out;
      position: relative;
    }

    .model-panel::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, var(--cyan) 30%, var(--green) 70%, transparent 100%);
      animation: bScan 3s linear infinite;
      z-index: 2;
    }

    .model-panel::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 229, 255, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 136, 0.03) 0%, transparent 40%);
      pointer-events: none;
      z-index: 0;
    }

    /* Hex grid background */
    .hex-bg {
      position: absolute;
      inset: 0;
      opacity: 0.04;
      background-image: url("data:image/svg+xml,%3Csvg width='60' height='52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 17.3v34.6L30 52 0 34.6V17.3z' fill='none' stroke='%2300e5ff' stroke-width='0.5'/%3E%3C/svg%3E");
      background-size: 60px 52px;
      pointer-events: none;
      z-index: 0;
      animation: hexFloat 20s linear infinite;
    }

    @keyframes hexFloat {
      0% {
        background-position: 0 0
      }

      100% {
        background-position: 60px 52px
      }
    }

    @keyframes bScan {
      0% {
        background-position: -200% 0
      }

      100% {
        background-position: 200% 0
      }
    }

    @keyframes panelExpand {
      0% {
        opacity: 0;
        max-height: 0;
        transform: translateY(-12px) scaleY(0.95)
      }

      100% {
        opacity: 1;
        max-height: 900px;
        transform: translateY(0) scaleY(1)
      }
    }

    /* Stage indicators bar */
    .stage-bar {
      display: flex;
      gap: 0;
      padding: 10px 16px;
      position: relative;
      z-index: 2;
      overflow-x: auto;
      border-bottom: 1px solid rgba(0, 229, 255, 0.06);
    }

    .stage-dot {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      font-family: 'Share Tech Mono', monospace;
      font-size: 10px;
      color: var(--text-muted);
      white-space: nowrap;
      position: relative;
      transition: all 0.5s;
    }

    .stage-dot .sd {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.15);
      transition: all 0.5s;
    }

    .stage-dot.active {
      color: var(--cyan);
    }

    .stage-dot.active .sd {
      background: var(--cyan);
      box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
      border-color: var(--cyan);
      animation: stageGlow 1s ease-in-out infinite;
    }

    .stage-dot.done {
      color: var(--green);
    }

    .stage-dot.done .sd {
      background: var(--green);
      border-color: var(--green);
      box-shadow: 0 0 6px rgba(0, 255, 136, 0.4);
      animation: none;
    }

    .stage-line {
      width: 16px;
      height: 1px;
      background: rgba(255, 255, 255, 0.08);
      align-self: center;
      flex-shrink: 0;
    }

    @keyframes stageGlow {

      0%,
      100% {
        box-shadow: 0 0 10px rgba(0, 229, 255, 0.6)
      }

      50% {
        box-shadow: 0 0 20px rgba(0, 229, 255, 1)
      }
    }

    /* Status row */
    .model-status-bar {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 20px;
      position: relative;
      z-index: 2;
    }

    .status-ring {
      width: 44px;
      height: 44px;
      position: relative;
      flex-shrink: 0;
    }

    .status-ring svg {
      width: 44px;
      height: 44px;
      transform: rotate(-90deg);
    }

    .status-ring .sr-bg {
      fill: none;
      stroke: rgba(255, 255, 255, 0.05);
      stroke-width: 3;
    }

    .status-ring .sr-fg {
      fill: none;
      stroke: var(--cyan);
      stroke-width: 3;
      stroke-linecap: round;
      transition: stroke-dashoffset 0.6s ease-out;
    }

    .status-ring .sr-icon {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      color: var(--cyan);
      animation: spinIcon 3s linear infinite;
    }

    .status-ring.done .sr-fg {
      stroke: var(--green);
    }

    .status-ring.done .sr-icon {
      color: var(--green);
      animation: none;
    }

    @keyframes spinIcon {
      0% {
        transform: rotate(0deg)
      }

      100% {
        transform: rotate(360deg)
      }
    }

    .model-status-info {
      flex: 1;
    }

    .model-status-info .msi-title {
      font-family: 'Exo 2', sans-serif;
      font-size: 15px;
      font-weight: 600;
      color: #fff;
    }

    .model-status-info .msi-sub {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 2px;
    }

    .model-elapsed {
      font-family: 'Share Tech Mono', monospace;
      font-size: 13px;
      color: var(--text-muted);
    }

    /* Metrics grid - bigger */
    .model-metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: rgba(0, 229, 255, 0.06);
      position: relative;
      z-index: 2;
    }

    .model-metric {
      padding: 16px 12px;
      text-align: center;
      background: rgba(6, 4, 24, 0.8);
      transition: all 0.6s;
      position: relative;
    }

    .model-metric .mv {
      font-family: 'Exo 2', sans-serif;
      font-size: 24px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.1);
      transition: all 0.6s;
    }

    .model-metric .mv.on {
      color: var(--cyan);
      text-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
    }

    .model-metric .ml {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 3px;
      transition: color 0.6s;
    }

    .model-metric .ml.on {
      color: rgba(0, 229, 255, 0.6);
    }

    /* Terminal - bigger, more content */
    .model-terminal {
      padding: 16px 20px;
      font-family: 'Share Tech Mono', monospace;
      font-size: 11.5px;
      line-height: 1.85;
      color: var(--text-dim);
      min-height: 180px;
      max-height: 320px;
      overflow-y: auto;
      background: rgba(0, 0, 0, 0.3);
      position: relative;
      z-index: 2;
    }

    .model-terminal::-webkit-scrollbar {
      width: 4px;
    }

    .model-terminal::-webkit-scrollbar-track {
      background: transparent;
    }

    .model-terminal::-webkit-scrollbar-thumb {
      background: rgba(0, 229, 255, 0.12);
      border-radius: 2px;
    }

    .model-terminal .ll {
      display: flex;
      gap: 8px;
      animation: logIn 0.25s ease-out;
    }

    @keyframes logIn {
      0% {
        opacity: 0;
        transform: translateX(-12px)
      }

      100% {
        opacity: 1;
        transform: translateX(0)
      }
    }

    .model-terminal .ll .lp {
      color: var(--green);
      flex-shrink: 0;
    }

    .model-terminal .ll .lt {
      color: var(--cyan);
      min-width: 56px;
      flex-shrink: 0;
      font-weight: 600;
    }

    .model-terminal .ll .lm {
      color: var(--text-dim);
    }

    .model-terminal .ll .lv {
      color: var(--yellow);
    }

    .model-terminal .ll .lg {
      color: var(--green);
    }

    .model-terminal .ll .lr {
      color: var(--red);
    }

    .model-terminal .ll .la {
      color: var(--accent);
    }


    /* Expert sub-stages (Stage 9 子阶段) */
    .expert-sub-stages {
      display: none;
      padding: 12px 20px 8px;
      background: rgba(255, 145, 0, 0.04);
      border-left: 2px solid rgba(255, 145, 0, 0.25);
      margin: 0 20px;
      position: relative;
      z-index: 2;
    }

    .expert-sub-stages.active {
      display: block;
      animation: essFadeIn 0.35s ease-out;
    }

    @keyframes essFadeIn {
      0% { opacity: 0; transform: translateY(-6px); }
      100% { opacity: 1; transform: translateY(0); }
    }

    .ess-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 6px 0;
      font-size: 12px;
      color: var(--text-muted);
      transition: all 0.3s;
    }

    .ess-item .ess-dot {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      border: 2px solid rgba(255, 255, 255, 0.1);
      flex-shrink: 0;
      transition: all 0.3s;
      position: relative;
    }

    .ess-item.active .ess-dot {
      border-color: var(--orange);
      background: rgba(255, 145, 0, 0.25);
      animation: essPulse 0.8s ease-in-out infinite;
    }

    @keyframes essPulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(255, 145, 0, 0.4); }
      50% { box-shadow: 0 0 0 6px rgba(255, 145, 0, 0); }
    }

    .ess-item.done .ess-dot {
      border-color: var(--green);
      background: rgba(0, 255, 148, 0.2);
    }

    .ess-item.done .ess-dot::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--green);
    }

    .ess-item .ess-label {
      flex: 1;
      transition: color 0.3s;
    }

    .ess-item.active .ess-label {
      color: var(--orange);
      font-weight: 600;
    }

    .ess-item.done .ess-label {
      color: var(--green);
    }

    .ess-item .ess-time {
      font-family: 'Share Tech Mono', monospace;
      font-size: 10px;
      color: var(--text-muted);
      flex-shrink: 0;
    }

    .ess-item.active .ess-time {
      color: var(--orange);
    }

    .expert-sub-stages.all-done {
      border-left-color: rgba(0, 255, 148, 0.3);
      background: rgba(0, 255, 148, 0.03);
    }

    /* Data flow lines */
    .data-stream {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 1;
      overflow: hidden;
    }

    .data-stream .ds-particle {
      position: absolute;
      width: 2px;
      height: 2px;
      background: var(--cyan);
      border-radius: 50%;
      box-shadow: 0 0 6px rgba(0, 229, 255, 0.5);
      animation: particleDrift linear infinite;
      opacity: 0;
    }

    @keyframes particleDrift {
      0% {
        opacity: 0;
        transform: translate(0, 0)
      }

      10% {
        opacity: 0.8
      }

      90% {
        opacity: 0.6
      }

      100% {
        opacity: 0;
        transform: translate(var(--dx), var(--dy))
      }
    }

    /* Complete section */
    .model-complete {
      display: none;
      align-items: center;
      justify-content: space-between;
      padding: 20px 24px;
      border-top: 1px solid rgba(0, 255, 136, 0.2);
      background: linear-gradient(90deg, rgba(0, 255, 136, 0.05), rgba(0, 229, 255, 0.03));
      position: relative;
      z-index: 2;
    }

    .model-complete .done-left {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .model-complete .done-icon-wrap {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(0, 255, 136, 0.1);
      border: 1px solid rgba(0, 255, 136, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
    }

    .model-complete .done-text {
      font-family: 'Exo 2', sans-serif;
      font-size: 14px;
      font-weight: 600;
      color: var(--green);
    }

    .model-complete .done-sub {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 2px;
    }

    /* Prediction bars for completed/live */
    .prediction {
      position: relative;
      width: 240px;
      flex-shrink: 0;
    }

    .prediction .bar-wrap {
      height: 8px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.1);
      overflow: hidden;
      display: flex;
    }

    .prediction .bar-h {
      height: 100%;
      background: var(--primary);
      border-radius: 4px 0 0 4px;
    }

    .prediction .bar-d {
      height: 100%;
      background: rgba(168, 159, 255, 0.5);
    }

    .prediction .bar-a {
      height: 100%;
      background: var(--red);
      border-radius: 0 4px 4px 0;
    }

    .prediction .labels {
      display: flex;
      justify-content: space-between;
      margin-top: 4px;
      font-size: 10px;
    }

    .prediction .labels .hl {
      color: #a78bfa;
    }

    .prediction .labels .dl {
      color: rgba(168, 159, 255, 0.7);
    }

    .prediction .labels .al {
      color: #f87171;
    }

    .confidence {
      width: 60px;
      flex-shrink: 0;
      text-align: center;
    }

    .confidence .val {
      font-size: 18px;
      font-weight: 700;
      font-family: 'Exo 2', sans-serif;
    }

    .confidence .lbl {
      font-size: 9px;
      color: var(--text-muted);
    }

    .conf-high {
      color: var(--green);
    }

    .conf-mid {
      color: var(--yellow);
    }

    .conf-low {
      color: var(--text-dim);
    }

    /* Lock overlay */
    .lock-overlay {
      position: absolute;
      inset: 0;
      background: rgba(15, 13, 36, 0.85);
      backdrop-filter: blur(4px);
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      cursor: pointer;
      font-size: 14px;
      color: var(--text-dim);
      font-weight: 600;
      transition: all 0.3s;
    }

    .lock-overlay:hover {
      color: var(--accent);
    }

    .blurred {
      position: relative;
      filter: blur(6px);
      opacity: 0.4;
    }

    /* Modal */
    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 999;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(4px);
      display: flex;
      align-items: center;
      justify-content: center;
      animation: fadeIn 0.2s ease;
    }
    @keyframes fadeIn{from{opacity:0}to{opacity:1}}

    .modal {
      background: rgba(22, 18, 48, 0.98);
      border: 1px solid rgba(168, 159, 255, 0.25);
      border-radius: 16px;
      padding: 40px 36px;
      width: 420px;
      max-width: 92vw;
      position: relative;
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
      animation: modalIn 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
    @keyframes modalIn{from{transform:translateY(20px) scale(0.96);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}

    .modal-logo{display:flex;align-items:center;gap:8px;justify-content:center;margin-bottom:8px;}
    .modal-logo .logo-icon{width:32px;height:32px;}

    .modal h2 {
      font-size: 24px;
      color: #fff;
      margin-bottom: 6px;
      text-align: center;
    }

    .modal-desc{text-align:center;font-size:13px;color:var(--text-dim);margin-bottom:24px;}

    .modal-tabs{display:flex;justify-content:center;gap:0;margin-bottom:16px;border-bottom:1px solid rgba(255,255,255,0.08);}
    .modal-tab{padding:10px 28px;font-size:15px;font-weight:500;color:rgba(255,255,255,0.45);cursor:pointer;border-bottom:2px solid transparent;transition:all 0.2s;font-family:'Exo 2',sans-serif;}
    .modal-tab:hover{color:rgba(255,255,255,0.75);}
    .modal-tab.active{color:var(--accent);border-bottom-color:var(--primary);font-weight:600;}

    .form-group {
      margin-bottom: 18px;
    }

    .form-group label {
      display: block;
      font-size: 13px;
      color: rgba(255, 255, 255, 0.7);
      margin-bottom: 8px;
      font-weight: 500;
    }

    .form-group input {
      width: 100%;
      padding: 12px 16px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(168, 159, 255, 0.2);
      color: #fff;
      font-size: 15px;
      font-family: inherit;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .form-group input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(104, 55, 238, 0.15);
    }
    .form-group input::placeholder{color:rgba(255,255,255,0.25);}

    .btn-submit {
      width: 100%;
      padding: 14px;
      border-radius: 10px;
      margin-top: 8px;
      background: var(--primary);
      color: #fff;
      border: none;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      font-family: 'Exo 2', sans-serif;
      transition: all 0.2s;
    }

    .btn-submit:hover {
      background: #7c3aed;
      box-shadow: 0 6px 20px rgba(104, 55, 238, 0.35);
    }
    .btn-submit:active{transform:scale(0.98);}

    .modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      background: rgba(255,255,255,0.06);
      border: none;
      color: rgba(255,255,255,0.5);
      font-size: 20px;
      cursor: pointer;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }
    .modal-close:hover{background:rgba(255,255,255,0.12);color:#fff;}

    .modal-footer{text-align:center;font-size:13px;color:var(--text-dim);margin-top:20px;}
    .modal-footer a{color:var(--accent);text-decoration:none;font-weight:500;}
    .modal-footer a:hover{text-decoration:underline;}

    .modal-error {
      background: rgba(255, 82, 82, 0.1);
      border: 1px solid rgba(255, 82, 82, 0.25);
      color: var(--red);
      font-size: 13px;
      margin-bottom: 16px;
      padding: 10px 14px;
      border-radius: 8px;
    }

    .disclaimer {
      margin-top: 32px;
      padding: 16px 20px;
      background: rgba(10, 8, 30, 0.85);
      border: 1px solid rgba(168, 159, 255, 0.15);
      border-radius: var(--radius);
      font-size: 11px;
      color: rgba(255, 255, 255, 0.5);
      line-height: 1.7;
      backdrop-filter: blur(8px);
    }

    @media(max-width:1024px) {
      .header-inner {
        padding: 0 16px;
        height: 72px;
      }

      .nav {
        display: none;
      }
      #headerTabs {
        display: none;
      }

      .container {
        padding: 16px 12px;
      }

      .league-badge {
        width: 56px;
      }

      .prediction {
        position: relative;
        width: 140px;
      }

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

      .paywall-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
      }

      .paywall-banner .price {
        font-size: 28px;
      }

      .stats-bar {
        gap: 16px;
        padding: 12px 16px;
        overflow-x: auto;
      }

      .stat {
        flex-shrink: 0;
      }

      .matchup {
        padding: 28px 12px;
      }

      .matchup .team .name {
        font-size: 20px;
      }
      .card-teams .ct-home,.card-teams .ct-away{font-size:14px;}
      .card-info .ci-time{font-size:14px;}
      .card-stamp{width:60px;height:60px;font-size:16px;top:4px;right:4px;border-width:2px;}
      .card-body{padding:10px 12px;}
      .card-teams .ct-home,.card-teams .ct-away{font-size:14px;}
      .card-info .ci-time{font-size:15px;}
      .card-body{padding:12px;}
      .card-stamp{width:60px;height:60px;font-size:15px;top:4px;right:6px;border-width:2px;}
      .card-strip{height:260px;}
      .card-item{width:400px;height:225px;}
      .card-item.pos-1{transform:translate(calc(-50% + 180px),-50%) scale(0.82) rotateY(-5deg);}
      .card-item.pos-neg1{transform:translate(calc(-50% - 180px),-50%) scale(0.82) rotateY(5deg);}
      .card-item.pos-2{transform:translate(calc(-50% + 300px),-50%) scale(0.65) rotateY(-10deg);}
      .card-item.pos-neg2{transform:translate(calc(-50% - 300px),-50%) scale(0.65) rotateY(10deg);}
          }

    /* ── 手机端 (<768px) ── */
    @media(max-width:768px) {
      .header-inner {
        height: 56px;
      }

      .logo-text {
        font-size: 14px;
      }

      .logo-icon {
        width: 28px;
        height: 28px;
      }

      .btn-login,
      .btn-signup {
        height: 32px;
        padding: 0 14px;
        font-size: 13px;
      }

      .user-badge {
        font-size: 11px;
        padding: 4px 10px;
        gap: 6px;
      }

      /* Match card 紧凑布局 */
      .match-card {
        overflow: visible;
        padding: 10px 12px;
        margin-bottom: 8px;
      }

      .match-row {
        gap: 6px;
        flex-wrap: wrap;
      }

      .match-time {
        width: 44px;
      }

      .match-time .time {
        font-size: 14px;
      }

      .match-time .date {
        font-size: 9px;
      }

      .team {
        font-size: 13px;
        min-width: 0;
      }

      .match-vs {
        width: 28px;
        font-size: 11px;
      }

      .match-score {
        width: 44px;
      }

      .match-score .main {
        font-size: 17px;
      }

      .status {
        width: 56px;
      }

      .status-badge {
        font-size: 9px;
        padding: 3px 6px;
      }

      .prediction {
        position: relative;
        width: 110px;
      }

      .prediction .bar-wrap {
        height: 6px;
      }

      .prediction .labels {
        font-size: 9px;
      }

      .confidence {
        width: 44px;
      }

      .confidence .val {
        font-size: 15px;
      }

      .confidence .lbl {
        font-size: 8px;
      }

      /* 解锁按钮 */
      .btn-unlock-predict {
        width: 68px;
        padding: 8px 0;
        font-size: 11px;
        border-radius: 8px;
      }

      /* Tabs */
      .tabs {
        gap: 0;
        margin-bottom: 16px;
      }

      .tab {
        padding: 10px 14px;
        font-size: 13px;
      }

      /* Paywall */
      .paywall-banner {
        padding: 16px;
        gap: 10px;
      }

      .paywall-banner h3 {
        font-size: 16px;
      }

      .paywall-banner p {
        font-size: 11px;
      }

      .paywall-banner .price {
        font-size: 24px;
      }

      .btn-unlock {
        padding: 12px 24px;
        font-size: 14px;
      }

      /* Stats */
      .stats-bar {
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 12px;
      }

      .stat-value {
        font-size: 18px;
      }

      .stat-label {
        font-size: 10px;
      }

      /* ── Model Panel 手机端 ── */
      .model-panel {
        border-radius: 10px;
      }

      /* 8 段进度条 → 横向滚动 */
      .stage-bar {
        padding: 8px 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        flex-wrap: nowrap;
      }

      .stage-dot {
        padding: 4px 6px;
        font-size: 8px;
        gap: 3px;
        flex-shrink: 0;
      }

      .stage-dot .sd {
        width: 6px;
        height: 6px;
      }

      .stage-line {
        width: 8px;
        flex-shrink: 0;
      }

      /* 状态栏 */
      .model-status-bar {
        padding: 10px 14px;
        gap: 8px;
      }

      .status-ring {
        width: 32px;
        height: 32px;
      }

      .status-ring svg {
        width: 32px;
        height: 32px;
      }

      .msi-title {
        font-size: 13px;
      }

      .msi-sub {
        font-size: 10px;
      }

      .model-elapsed {
        font-size: 11px;
      }

      /* 指标 2 列 */
      .model-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .model-metric {
        padding: 12px 8px;
      }

      .model-metric .mv {
        font-size: 18px;
      }

      .model-metric .ml {
        font-size: 10px;
      }

      /* 终端 */
      .model-terminal {
        padding: 10px 14px;
        font-size: 10px;
        line-height: 1.7;
        min-height: 140px;
        max-height: 220px;
      }

      .model-terminal .ll {
        gap: 5px;
      }

      .model-terminal .ll .lt {
        min-width: 42px;
      }

      /* 完成区域 → 竖向堆叠 */
      .model-complete {
        padding: 14px 16px;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        text-align: center;
      }

      .model-complete .done-left {
        justify-content: center;
      }

      .btn-view-result {
        width: 100%;
        padding: 12px;
        font-size: 14px;
      }

      /* 模态 */
      .modal {
        padding: 24px 20px;
        width: 92vw;
      }

      .modal h2 {
        font-size: 18px;
      }
      .card-img{width:100%;height:100px;}
      .card-body{padding:10px 12px;}
      .card-teams .ct-home,.card-teams .ct-away{font-size:13px;}
      .card-info .ci-time{font-size:14px;}
      .card-stamp{width:48px;height:48px;font-size:13px;top:4px;right:6px;border-width:2px;}
      .card-strip{height:auto;}
      .card-item{position:relative;left:auto;top:auto;width:92vw;max-width:400px;height:auto;aspect-ratio:16/9;margin:8px auto;transform:none!important;}
      .card-item.pos-1,.card-item.pos-neg1,.card-item.pos-2,.card-item.pos-neg2{transform:none!important;opacity:1;z-index:1;}
      .card-item.pos-0{transform:none!important;z-index:2;}
    }

    /* ── 超窄 (<400px) ── */
    @media(max-width:400px) {
      .header-inner {
        padding: 0 10px;
      }

      .logo-text {
        font-size: 12px;
      }

      .btn-login,
      .btn-signup {
        height: 28px;
        padding: 0 10px;
        font-size: 11px;
      }

      .container {
        padding: 12px 8px;
      }

      .match-time {
        width: 40px;
      }

      .match-time .time {
        font-size: 12px;
      }

      .match-vs {
        width: 24px;
        font-size: 10px;
      }

      .team {
        font-size: 11px;
      }

      .prediction {
        position: relative;
        width: 90px;
      }

      .prediction .labels {
        font-size: 8px;
      }

      .confidence {
        width: 36px;
      }

      .confidence .val {
        font-size: 13px;
      }

      .btn-unlock-predict {
        width: 56px;
        font-size: 10px;
        padding: 6px 0;
      }

      .status {
        width: 48px;
      }

      .status-badge {
        font-size: 8px;
        padding: 2px 5px;
      }

      .model-terminal {
        font-size: 9px;
        min-height: 100px;
        max-height: 180px;
      }

      .stage-dot {
        font-size: 7px;
      }
    }

    /* ═══════════════════════════════════════════ */
    /* HOME HERO SECTION      */
    /* ═══════════════════════════════════════════ */
    .home-hero {
      position: relative;
      padding: 48px 0 40px;
      overflow: visible;
    }

    .home-hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 900px;
      height: 500px;
      background: radial-gradient(ellipse at center, rgba(104, 55, 238, 0.12) 0%, transparent 70%);
      pointer-events: none;
    }

    .home-hero::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 300px;
      height: 400px;
      background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-title-wrap {
      position: relative;
      z-index: 2;
      text-align: center;
      padding-top: 32px;
    }

    .hero-title {
      font-family: 'Exo 2', sans-serif;
      font-size: 64px;
      font-weight: 700;
      line-height: 1.25;
      color: #fff;
      letter-spacing: -0.02em;
    }

    .hero-title .hl {
      color: var(--accent);
    }

    .hero-title .hl-grad {
      background: linear-gradient(135deg, var(--accent), var(--cyan));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-subtitle {
      color: var(--text-dim);
      font-size: 18px;
      line-height: 1.6;
      max-width: 500px;
      margin: 12px auto 0;
      text-align: center;
    }

    .hero-cta-row {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-top: 36px;
      position: relative;
      z-index: 2;
    }

    .hero-cta-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      height: 56px;
      padding: 0 36px;
      border-radius: 12px;
      background: var(--primary);
      color: #fff;
      font-size: 18px;
      font-weight: 600;
      font-family: 'Exo 2', sans-serif;
      cursor: pointer;
      border: none;
      transition: all 0.3s;
    }

    .hero-cta-primary:hover {
      background: #7c3aed;
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(104, 55, 238, 0.35);
    }

    .hero-cta-primary .cta-arrow {
      font-size: 20px;
      transition: transform 0.3s;
    }

    .hero-cta-primary:hover .cta-arrow {
      transform: translateX(3px);
    }

    .hero-stats {
      position: relative;
      z-index: 2;
      display: flex;
      justify-content: center;
      gap: 48px;
      margin-top: 20px;
      padding: 0 24px;
    }

    .hero-stat {
      text-align: center;
    }

    .hero-stat-val {
      font-family: 'Exo 2', sans-serif;
      font-size: 56px;
      font-weight: 700;
      color: #fff;
    }

    .hero-stat-val.accent {
      color: var(--accent);
    }

    .hero-stat-val.green {
      color: var(--green);
    }

    .hero-stat-val.green {
      color: var(--green);
    }
    .hero-stat-val.red {
      color: #ff1a1a;
      text-shadow: 0 0 12px rgba(255, 26, 26, 0.4);
    }
    .hero-stat-val.cyan {
      color: var(--cyan);
    }

    .hero-stat-lbl {
      font-size: 13px;
      color: var(--text-muted);
      margin-top: 4px;
    }

    /* 3D Card Carousel — Landscape Poster Style */
    .card-shell {
      display: grid;
      grid-template-rows: 340px 50px;
      margin: 40px auto 0;
      max-width: 960px;
      position: relative;
      z-index: 2;
      overflow: visible;
    }

    .card-shell input[type=radio] {
      display: none;
    }

    .card-stage {
      position: relative;
      perspective: 1400px;
      transform-style: preserve-3d;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: visible;
    }

      position: absolute;
      cursor: pointer;
      width: 560px;
      height: 315px;
      left: 50%;
      top: 10px;
      margin-left: -280px;
      background: linear-gradient(135deg, #1a163a 0%, #0f0d24 100%);
      border: 1px solid rgba(168, 159, 255, 0.2);
      border-radius: 16px;
      padding: 0;
      display: flex;
      flex-direction: row;
      overflow: hidden;
      box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
      transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
      will-change: transform, opacity;
      --r: calc(var(--position) - var(--offset));
      --abs: max(calc(var(--r) * -1), var(--r));
      z-index: calc(5 - var(--abs));
      transform: rotateY(calc(-5deg * var(--r))) translateX(calc(-380px * var(--r))) scale(calc(1 - var(--abs) * 0.09));
      opacity: calc(1 - var(--abs) * 0.15);
    }

    /* Card inner layout: left image + right info */
    .card-img {
      width: 55%;
      height: 100%;
      background: rgba(104, 55, 238, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      flex-shrink: 0;
    }

    .card-body {
      flex: 1;
      padding: 16px 18px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
    }

    .card-league {
      font-family: 'Exo 2', sans-serif;
      font-size: 12px;
      color: var(--accent);
      margin-bottom: 6px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .card-teams {
      margin: 8px 0;
    }

    .card-teams .ct-home,
    .card-teams .ct-away {
      font-family: 'Exo 2', sans-serif;
      font-size: 17px;
      font-weight: 700;
      color: #fff;
      display: block;
      line-height: 1.3;
    }

    .card-teams .ct-vs {
      font-size: 11px;
      color: rgba(255,255,255,0.5);
      display: block;
      margin: 6px 0;
    }

    .card-info {
      margin-top: 10px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .card-info .ci-date {
      font-size: 11px;
      color: var(--text-dim);
    }

    .card-info .ci-time {
      font-family: 'Exo 2', sans-serif;
      font-size: 17px;
      font-weight: 700;
      color: #fff;
    }

    

    .card-stamp {
      position: absolute;
      top: 10px;
      right: 12px;
      width: 82px;
      height: 82px;
      border: 3px solid rgba(200, 30, 30, 0.85);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transform: rotate(18deg);
      color: rgba(200, 30, 30, 0.85);
      font-size: 22px;
      font-weight: 900;
      font-family: 'Exo 2', sans-serif;
      text-align: center;
      line-height: 1.15;
      pointer-events: none;
      z-index: 5;
      text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
      box-shadow: 0 0 14px rgba(200, 30, 30, 0.25), inset 0 0 14px rgba(200, 30, 30, 0.1);
    }

    .card-nav {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 12px;
    }

    .card-nav label {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.15);
      cursor: pointer;
      transition: all 0.3s;
    }

    .card-nav label:hover {
      background: rgba(168, 159, 255, 0.5);
    }

    #cardPos1:checked~.card-nav label[for=cardPos1],
    #cardPos2:checked~.card-nav label[for=cardPos2],
    #cardPos3:checked~.card-nav label[for=cardPos3],
    #cardPos4:checked~.card-nav label[for=cardPos4],
    #cardPos5:checked~.card-nav label[for=cardPos5] {
      background: var(--accent);
      box-shadow: 0 0 12px rgba(168, 159, 255, 0.5);
      width: 14px;
      height: 14px;
    }

    #cardPos1:checked~.card-stage {
      --position: 1
    }

    #cardPos2:checked~.card-stage {
      --position: 2
    }

    #cardPos3:checked~.card-stage {
      --position: 3
    }

    #cardPos4:checked~.card-stage {
      --position: 4
    }

    #cardPos5:checked~.card-stage {
      --position: 5
    }.match-stamp{position:absolute;top:-45px;right:-45px;width:90px;height:90px;border:3px solid rgba(255,82,82,0.6);border-radius:50%;display:flex;align-items:center;justify-content:center;transform:rotate(15deg);color:rgba(255,82,82,0.8);font-size:25px;font-weight:900;font-family:"Exo 2",sans-serif;text-align:center;line-height:1.1;pointer-events:none;z-index:2;}.match-stamp{position:absolute;top:-45px;right:-45px;width:90px;height:90px;border:3px solid rgba(255,82,82,0.6);border-radius:50%;display:flex;align-items:center;justify-content:center;transform:rotate(15deg);color:rgba(255,82,82,0.8);font-size:25px;font-weight:900;font-family:"Exo 2",sans-serif;text-align:center;line-height:1.1;pointer-events:none;z-index:2;}.match-stamp.hit{position:absolute;top:-45px;right:-45px;width:90px;height:90px;border:3px solid rgba(82,196,82,0.6);border-radius:50%;display:flex;align-items:center;justify-content:center;transform:rotate(15deg);color:rgba(82,196,82,0.85);font-size:22px;font-weight:900;font-family:"Exo 2",sans-serif;text-align:center;line-height:1.1;pointer-events:none;z-index:2;}.match-stamp.miss{position:absolute;top:-45px;right:-45px;width:90px;height:90px;border:3px solid rgba(255,82,82,0.6);border-radius:50%;display:flex;align-items:center;justify-content:center;transform:rotate(-12deg);color:rgba(255,82,82,0.8);font-size:22px;font-weight:900;font-family:"Exo 2",sans-serif;text-align:center;line-height:1.1;pointer-events:none;z-index:2;}

.points-badge{display:inline-flex;align-items:center;gap:3px;padding:4px 10px;border-radius:12px;background:rgba(245,166,35,0.1);border:1px solid rgba(245,166,35,0.2);color:#F5A623;font-size:11px;font-weight:600;margin:0 6px;}

/* Dual unlock buttons */
.btn-group-dual{display:flex;flex-direction:row;gap:8px;flex-shrink:0;align-items:center;}
.btn-unlock-sm{width:68px;font-size:11px;padding:8px 0;}
.btn-expert-predict{width:76px;flex-shrink:0;padding:8px 0;border-radius:10px;background:rgba(255,145,0,0.06);border:1.5px solid #ff9100;color:#ff9100;font-size:11px;font-weight:600;cursor:pointer;font-family:'Exo 2',sans-serif;transition:all .3s;text-align:center;line-height:1.3;}
.btn-expert-predict:hover{background:rgba(255,145,0,0.12);border-color:#ffb74d;color:#ffb74d;box-shadow:0 0 16px rgba(255,145,0,0.15);}
