    :root {
      --line:rgba(159,200,236,0.13);--text:#eef6ff;--muted:#94acc4;--accent:#5db9ff;--accent-2:#8ce0cf;
      --gold:#f3bf69;--silver:#c0c8d4;--bronze:#cd7f32;--panel:rgba(8,19,31,0.9);
      --soft:rgba(255,255,255,0.045);--shadow:0 24px 70px rgba(0,0,0,0.34);--r:22px;
    }
    * { box-sizing:border-box; margin:0; }
    body { font-family:"Segoe UI",system-ui,sans-serif; background:linear-gradient(180deg,#040b13,#07111a,#09131d); color:var(--text); min-height:100vh; }
    .page { max-width: 1400px; margin:0 auto; padding: 24px; position:relative; z-index:1; }
    .nav { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:14px 18px; margin-bottom:24px; border:1px solid var(--line); border-radius:var(--r); background:rgba(7,18,29,0.72); backdrop-filter:blur(18px); box-shadow:var(--shadow); }
    .brand { display:flex; align-items:center; gap:12px; }
    .mark { width:40px; height:40px; border-radius:14px; background:radial-gradient(circle at 30% 30%,rgba(255,255,255,0.16),transparent 36%),linear-gradient(135deg,#1c5d93,#0f2c48); }
    .brand h1 { font-size:20px; letter-spacing:0.04em; } .brand h1 span { color:var(--accent); }
    .brand p { color:var(--muted); font-size:12px; }
    .nav-links { display:flex; gap:8px; flex-wrap:wrap; }
    .nav-links span { display:inline-flex; padding:8px 12px; border-radius:999px; background:rgba(255,255,255,0.04); color:var(--muted); font-size:12px; font-weight:700; }
    .nav-links .active { color:var(--text); background:rgba(93,185,255,0.08); border:1px solid rgba(93,185,255,0.22); }
    .hero { padding:32px 28px; margin-bottom:28px; border:1px solid var(--line); border-radius:var(--r); background:var(--panel); box-shadow:var(--shadow); text-align:center; }
    .hero h2 { font-size:clamp(28px,4vw,42px); letter-spacing:-0.03em; margin-bottom:8px; }
    .hero p { color:var(--muted); font-size:15px; max-width:600px; margin:0 auto; }
    .filter-bar { display:flex; gap:10px; margin-bottom:28px; flex-wrap:wrap; align-items:center; }
    .filter-label { color:var(--muted); font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; }
    .filter-group { display:flex; gap:6px; padding:5px; border-radius:16px; border:1px solid var(--line); background:rgba(255,255,255,0.03); }
    .filter-btn { border:0; padding:10px 14px; border-radius:12px; font-size:13px; font-weight:700; color:var(--muted); background:transparent; cursor:pointer; transition:all 0.15s; }
    .filter-btn.active { color:#07111a; background:#fff; }
    .filter-btn:hover:not(.active) { color:var(--text); background:rgba(255,255,255,0.06); }

    /* ===== PODIUM ===== */
    .podium { display:grid; grid-template-columns:1fr 1.3fr 1fr; gap:20px; margin-bottom:32px; align-items:end; padding:0 40px; }
    .podium-card { border-radius:24px; padding:28px 20px; text-align:center; position:relative; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow); }
    .podium-card::before { content:''; position:absolute; inset:0; pointer-events:none; }

    /* FIRST PLACE */
    .podium-card.first {
      padding:40px 24px 36px;
      background:linear-gradient(160deg,rgba(243,191,105,0.08),rgba(8,19,31,0.95));
      border-color:rgba(243,191,105,0.25);
      box-shadow:0 0 60px rgba(243,191,105,0.08),0 24px 70px rgba(0,0,0,0.4);
    }
    .podium-card.first::before { background:radial-gradient(ellipse at 50% 0%,rgba(243,191,105,0.12),transparent 60%); }
    .podium-card.first::after {
      content:''; position:absolute; top:-2px; left:50%; transform:translateX(-50%);
      width:80px; height:4px; border-radius:0 0 4px 4px;
      background:linear-gradient(90deg,transparent,var(--gold),transparent);
    }

    /* SECOND PLACE */
    .podium-card.second {
      background:linear-gradient(160deg,rgba(192,200,212,0.06),rgba(8,19,31,0.95));
      border-color:rgba(192,200,212,0.15);
    }
    .podium-card.second::before { background:radial-gradient(ellipse at 50% 0%,rgba(192,200,212,0.08),transparent 60%); }

    /* THIRD PLACE */
    .podium-card.third {
      background:linear-gradient(160deg,rgba(205,127,50,0.06),rgba(8,19,31,0.95));
      border-color:rgba(205,127,50,0.15);
    }
    .podium-card.third::before { background:radial-gradient(ellipse at 50% 0%,rgba(205,127,50,0.08),transparent 60%); }

    .podium-rank { font-size:48px; margin-bottom:12px; filter:drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
    .podium-card.first .podium-rank { font-size:56px; animation:float 3s ease-in-out infinite; }
    @keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

    .podium-avatar {
      width:72px; height:72px; margin:0 auto 14px; border-radius:50%; display:flex; align-items:center; justify-content:center;
      font-size:26px; font-weight:900; position:relative;
    }
    .podium-card.first .podium-avatar {
      width:88px; height:88px; font-size:32px;
      background:linear-gradient(135deg,rgba(243,191,105,0.3),rgba(255,200,80,0.1));
      border:3px solid rgba(243,191,105,0.4);
      box-shadow:0 0 30px rgba(243,191,105,0.15),0 8px 24px rgba(0,0,0,0.3);
    }
    .podium-card.second .podium-avatar {
      background:linear-gradient(135deg,rgba(192,200,212,0.2),rgba(160,170,180,0.08));
      border:2px solid rgba(192,200,212,0.3);
      box-shadow:0 0 20px rgba(192,200,212,0.08),0 6px 16px rgba(0,0,0,0.25);
    }
    .podium-card.third .podium-avatar {
      background:linear-gradient(135deg,rgba(205,127,50,0.2),rgba(180,100,30,0.08));
      border:2px solid rgba(205,127,50,0.3);
      box-shadow:0 0 20px rgba(205,127,50,0.08),0 6px 16px rgba(0,0,0,0.25);
    }

    .podium-name { font-size:18px; font-weight:800; margin-bottom:6px; }
    .podium-card.first .podium-name { font-size:22px; }
    .podium-elo { font-size:36px; font-weight:900; letter-spacing:-0.02em; margin-bottom:4px; }
    .podium-card.first .podium-elo { font-size:44px; color:var(--gold); text-shadow:0 0 20px rgba(243,191,105,0.3); }
    .podium-card.second .podium-elo { color:var(--silver); }
    .podium-card.third .podium-elo { color:var(--bronze); }
    .podium-meta { color:var(--muted); font-size:13px; }
    .podium-badge { display:inline-flex; align-items:center; gap:6px; margin-top:10px; padding:6px 12px; border-radius:999px; font-size:11px; font-weight:700; }
    .podium-card.first .podium-badge { background:rgba(243,191,105,0.12); color:#ffe0a0; border:1px solid rgba(243,191,105,0.2); }
    .podium-card.second .podium-badge { background:rgba(192,200,212,0.08); color:#c0c8d4; border:1px solid rgba(192,200,212,0.15); }
    .podium-card.third .podium-badge { background:rgba(205,127,50,0.08); color:#e0a060; border:1px solid rgba(205,127,50,0.15); }

    /* Sparkle effect for #1 */
    .sparkles { position:absolute; inset:0; pointer-events:none; overflow:hidden; }
    .sparkle { position:absolute; width:4px; height:4px; border-radius:50%; background:var(--gold); opacity:0; animation:sparkle 3s infinite; }
    @keyframes sparkle { 0%,100%{opacity:0;transform:scale(0)} 50%{opacity:0.8;transform:scale(1)} }
    /* TABLE */
    .table-section { border:1px solid var(--line); border-radius:var(--r); background:var(--panel); box-shadow:var(--shadow); overflow:hidden; }
    .table-section h3 { padding:20px 24px 0; font-size:18px; margin-bottom:16px; }
    .lb-table { width:100%; border-collapse:collapse; }
    .lb-table th,.lb-table td { padding:14px 18px; text-align:left; border-bottom:1px solid rgba(159,200,236,0.06); }
    .lb-table th { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:0.1em; font-weight:700; background:rgba(255,255,255,0.02); }
    .lb-table td { font-size:14px; }
    .lb-table .rank-col { width:50px; text-align:center; font-weight:800; color:var(--muted); }
    .lb-table .player-cell { display:flex; align-items:center; gap:12px; }
    .lb-table .mini-ava { width:36px; height:36px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:800; background:rgba(93,185,255,0.1); border:1px solid rgba(93,185,255,0.15); }
    .lb-table .player-name { font-weight:700; }
    .lb-table .elo-col { color:var(--accent); font-weight:800; font-size:16px; }
    .lb-table .wr-col { font-weight:700; }
    .lb-table .wr-col.high { color:var(--accent-2); }
    .lb-table .wr-col.mid { color:var(--text); }
    .lb-table tr.me { background:rgba(93,185,255,0.04); }
    .lb-table tr.me td { border-bottom-color:rgba(93,185,255,0.15); }
    .lb-table tr.me .rank-col { color:var(--accent); }
    .lb-table tr.me .mini-ava { background:rgba(93,185,255,0.2); border-color:rgba(93,185,255,0.3); }
    .me-indicator { display:inline-flex; padding:3px 8px; border-radius:999px; background:rgba(93,185,255,0.12); color:var(--accent); font-size:10px; font-weight:700; margin-left:8px; }
    .trend { display:inline-flex; align-items:center; gap:3px; font-size:12px; font-weight:700; }
    .trend.up { color:var(--accent-2); }
    .trend.down { color:#ff8080; }
    @media(max-width:900px) { .podium { grid-template-columns:1fr; padding:0; } .nav { flex-direction:column; } .filter-bar { flex-direction:column; align-items:stretch; } }
