    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg: #0d0e10;
      --surface: #13151a;
      --surface2: #1a1d24;
      --surface3: #21252f;
      --border: rgba(255,255,255,0.07);
      --border-hover: rgba(255,255,255,0.14);
      --text: #f0f0f0;
      --text-muted: rgba(240,240,240,0.5);
      --text-dim: rgba(240,240,240,0.25);
      --blue: #4d9fff;
      --blue-glow: rgba(77,159,255,0.15);
      --blue-dark: #1a4a8a;
      --gold: #f0b429;
      --green: #22c55e;
      --red: #ef4444;
      --purple: #a78bfa;
      --font-display: 'Syne', sans-serif;
      --font-body: 'Inter', sans-serif;
      --font-sans: var(--font-body);
      --spacing: 1rem;
    }
    html { scroll-behavior: smooth; }
    body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

    /* ── Nav ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 200;
      height: 60px; display: flex; align-items: center; justify-content: space-between;
      padding: 0 2rem; background: rgba(13,14,16,0.92); backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }
    .nav-left { display: flex; align-items: center; gap: 2rem; }
    .nav-logo { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
    .nav-logo span { color: var(--blue); }
    .nav-links { display: flex; gap: 0.2rem; list-style: none; }
    .nav-links a { font-size: 13px; font-weight: 400; color: var(--text-muted); text-decoration: none; padding: 0.4rem 0.9rem; border-radius: 6px; transition: background 0.15s, color 0.15s; }
    .nav-links a:hover, .nav-links a.active { background: var(--surface2); color: var(--text); }
    .nav-right { display: flex; align-items: center; gap: 0.75rem; }
    .nav-account {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.3rem 0.75rem 0.3rem 0.35rem;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: var(--surface2);
      color: var(--text);
      font-size: 12px;
      font-weight: 500;
      max-width: 200px;
    }
    .nav-account-avatar {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-size: 11px;
      font-weight: 700;
      color: var(--text);
      background: linear-gradient(135deg, rgba(77,159,255,0.35), rgba(77,159,255,0.1));
      border: 1px solid rgba(77,159,255,0.4);
    }
    .nav-account-name {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Search bar */
    .nav-search {
      display: flex; align-items: center; gap: 0.5rem;
      background: var(--surface2); border: 1px solid var(--border);
      border-radius: 8px; padding: 0.4rem 0.9rem; width: 220px;
      transition: border-color 0.2s, width 0.3s;
    }
    .nav-search:focus-within { border-color: var(--blue); width: 280px; }
    .nav-search svg { opacity: 0.35; flex-shrink: 0; }
    .nav-search input { background: none; border: none; outline: none; font-family: var(--font-body); font-size: 13px; color: var(--text); width: 100%; }
    .nav-search input::placeholder { color: var(--text-dim); }

    /* Search dropdown */
    .search-dropdown {
      position: absolute; top: 56px; left: 50%; transform: translateX(-50%);
      background: var(--surface); border: 1px solid var(--border-hover);
      border-radius: 12px; width: 420px; overflow: hidden; display: none;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }
    .search-dropdown.open { display: block; }
    .search-section-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); padding: 0.8rem 1.2rem 0.4rem; }
    .search-result-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 1.2rem; cursor: pointer; transition: background 0.15s; }
    .search-result-item:hover { background: var(--surface2); }
    .search-result-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 12px; font-weight: 700; flex-shrink: 0; }
    .search-result-name { font-size: 13px; font-weight: 500; color: var(--text); }
    .search-result-sub { font-size: 11px; color: var(--text-dim); }

    .notif-btn { position: relative; background: none; border: none; cursor: pointer; color: var(--text-muted); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; transition: background 0.15s, color 0.15s; }
    .notif-btn:hover { background: var(--surface2); color: var(--text); }
    .notif-dot { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; border: 2px solid var(--bg); }

    .btn-ghost { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--text-muted); background: none; border: 1px solid var(--border); cursor: pointer; padding: 0.45rem 1rem; border-radius: 6px; transition: border-color 0.15s, color 0.15s; }
    .btn-ghost:hover { border-color: var(--border-hover); color: var(--text); }
    .btn-primary { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--bg); background: var(--blue); border: none; cursor: pointer; padding: 0.45rem 1.1rem; border-radius: 6px; transition: opacity 0.15s; }
    .btn-primary:hover { opacity: 0.85; }

    /* Hamburger */
    .hamburger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
    .hamburger span { width: 20px; height: 2px; background: var(--text-muted); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }

    /* Mobile menu */
    .mobile-menu { display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; background: var(--bg); z-index: 190; padding: 1.5rem; flex-direction: column; gap: 0.5rem; overflow-y: auto; }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { font-size: 16px; font-weight: 500; color: var(--text-muted); text-decoration: none; padding: 0.8rem 1rem; border-radius: 8px; transition: background 0.15s, color 0.15s; }
    .mobile-menu a:hover { background: var(--surface2); color: var(--text); }
    .mobile-menu-actions { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
    .mobile-account {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.7rem 0.9rem;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: var(--surface2);
      color: var(--text);
      font-size: 14px;
      font-weight: 500;
    }
    .mobile-account-avatar {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-size: 12px;
      font-weight: 700;
      color: var(--text);
      background: linear-gradient(135deg, rgba(77,159,255,0.35), rgba(77,159,255,0.1));
      border: 1px solid rgba(77,159,255,0.4);
    }

    /* Live badge */
    .live-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; color: var(--red); background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); padding: 3px 8px; border-radius: 20px; letter-spacing: 0.04em; }
    .live-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: blink 1.5s infinite; }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

    /* ── Hero ── */
    #hero { padding-top: 60px; min-height: 100vh; display: grid; grid-template-columns: 1fr 420px; }
    .hero-left { padding: 5rem 3rem 4rem; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--border); position: relative; overflow: hidden; }
    .hero-left::before { content:''; position:absolute; top:-200px; left:-200px; width:600px; height:600px; background:radial-gradient(circle,rgba(77,159,255,0.06) 0%,transparent 70%); pointer-events:none; }
    .hero-eyebrow { display:flex; align-items:center; gap:0.75rem; margin-bottom:2rem; }
    .hero-title { font-family:var(--font-display); font-size:clamp(3rem,5.5vw,5.5rem); font-weight:800; line-height:1.0; letter-spacing:-0.03em; color:var(--text); margin-bottom:1.5rem; }
    .hero-title .highlight { color:var(--blue); }
    .hero-sub { font-size:16px; font-weight:300; color:var(--text-muted); line-height:1.75; max-width:480px; margin-bottom:2.5rem; }
    .hero-ctas { display:flex; gap:0.75rem; align-items:center; margin-bottom:4rem; }
    .btn-hero { font-family:var(--font-body); font-size:14px; font-weight:500; color:var(--bg); background:var(--blue); border:none; cursor:pointer; padding:0.8rem 2rem; border-radius:8px; text-decoration:none; display:inline-block; transition:opacity 0.15s,transform 0.15s; }
    .btn-hero:hover { opacity:0.9; transform:translateY(-1px); }
    .btn-hero-ghost { font-family:var(--font-body); font-size:14px; font-weight:400; color:var(--text-muted); background:var(--surface2); border:1px solid var(--border); cursor:pointer; padding:0.8rem 2rem; border-radius:8px; text-decoration:none; display:inline-block; transition:border-color 0.15s,color 0.15s; }
    .btn-hero-ghost:hover { border-color:var(--border-hover); color:var(--text); }
    .hero-numbers { display:flex; gap:3rem; }
    .hero-num-val { font-family:var(--font-display); font-size:2rem; font-weight:700; color:var(--text); letter-spacing:-0.02em; line-height:1; margin-bottom:0.3rem; }
    .hero-num-label { font-size:12px; font-weight:400; color:var(--text-dim); }

    /* Feed */
    .hero-right { display:flex; flex-direction:column; overflow:hidden; }
    .feed-header { padding:1.2rem 1.5rem; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; flex-shrink:0; }
    .feed-title { font-family:var(--font-display); font-size:13px; font-weight:600; letter-spacing:0.04em; text-transform:uppercase; color:var(--text-muted); }
    .feed-scroll { flex:1; overflow-y:auto; scrollbar-width:none; }
    .feed-scroll::-webkit-scrollbar { display:none; }
    .feed-item { padding:1.1rem 1.5rem; border-bottom:1px solid var(--border); cursor:pointer; transition:background 0.15s; display:grid; grid-template-columns:36px 1fr; gap:0.8rem; align-items:start; }
    .feed-item:hover { background:var(--surface2); }
    .feed-avatar { width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:13px; font-weight:700; flex-shrink:0; }
    .feed-name { font-size:13px; font-weight:500; color:var(--text); margin-bottom:2px; }
    .feed-text { font-size:13px; font-weight:300; color:var(--text-muted); line-height:1.5; margin-bottom:6px; }
    .feed-meta { font-size:11px; color:var(--text-dim); display:flex; gap:0.75rem; align-items:center; flex-wrap:wrap; }
    .feed-tag { font-size:11px; font-weight:500; padding:1px 7px; border-radius:4px; }
    .tag-sabre { background:rgba(77,159,255,0.12); color:var(--blue); }
    .tag-epee { background:rgba(34,197,94,0.1); color:var(--green); }
    .tag-foil { background:rgba(240,180,41,0.1); color:var(--gold); }
    .tag-result { background:rgba(255,255,255,0.06); color:var(--text-muted); }
    .tag-purple { background:rgba(167,139,250,0.12); color:var(--purple); }

    /* Sections */
    .section { padding:4rem 2.5rem; max-width:1400px; margin:0 auto; }
    .section-header { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:2rem; gap:1rem; }
    .section-title { font-family:var(--font-display); font-size:1.5rem; font-weight:700; letter-spacing:-0.02em; color:var(--text); }
    .section-sub { font-size:13px; font-weight:300; color:var(--text-muted); margin-top:0.2rem; }
    .see-all { font-size:13px; font-weight:400; color:var(--blue); text-decoration:none; transition:opacity 0.15s; white-space:nowrap; padding-top:0.2rem; }
    .see-all:hover { opacity:0.7; }
    .divider { border:none; border-top:1px solid var(--border); margin:0; }

    /* Trending strip */
    .trending-strip { background:var(--surface); border-bottom:1px solid var(--border); padding:0.7rem 2.5rem; display:flex; align-items:center; gap:1.5rem; overflow-x:auto; scrollbar-width:none; }
    .trending-strip::-webkit-scrollbar { display:none; }
    .trending-label { font-size:11px; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-dim); flex-shrink:0; }
    .trending-item { display:flex; align-items:center; gap:0.5rem; padding:0.3rem 0.8rem; background:var(--surface2); border:1px solid var(--border); border-radius:20px; cursor:pointer; transition:border-color 0.15s; flex-shrink:0; }
    .trending-item:hover { border-color:var(--border-hover); }
    .trending-item span { font-size:12px; font-weight:400; color:var(--text-muted); }
    .trending-item strong { font-size:12px; font-weight:500; color:var(--text); }
    .trend-up { font-size:10px; color:var(--green); }
    .trend-hot { font-size:10px; color:var(--red); }

    /* Rankings */
    .rankings-wrap { background:var(--surface); border:1px solid var(--border); border-radius:12px; overflow:hidden; }
    .rankings-tabs { display:flex; border-bottom:1px solid var(--border); padding:0 1rem; overflow-x:auto; scrollbar-width:none; }
    .rankings-tabs::-webkit-scrollbar { display:none; }
    .rankings-tab { font-family:var(--font-body); font-size:13px; font-weight:400; color:var(--text-muted); background:none; border:none; border-bottom:2px solid transparent; padding:1rem; cursor:pointer; transition:color 0.15s,border-color 0.15s; white-space:nowrap; margin-bottom:-1px; }
    .rankings-tab.active { color:var(--blue); border-bottom-color:var(--blue); }
    .rankings-tab:hover { color:var(--text); }
    .ranking-row { display:grid; grid-template-columns:52px 1fr auto auto; align-items:center; padding:0.9rem 1.5rem; border-bottom:1px solid var(--border); cursor:pointer; transition:background 0.15s; gap:1rem; }
    .ranking-row:last-child { border-bottom:none; }
    .ranking-row:hover { background:var(--surface2); }
    .rank-badge { display:flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:8px; font-family:var(--font-display); font-size:14px; font-weight:700; }
    .rank-1 { background:rgba(240,180,41,0.15); color:var(--gold); }
    .rank-2 { background:rgba(200,200,200,0.1); color:#aaa; }
    .rank-3 { background:rgba(180,100,50,0.15); color:#cd7f32; }
    .rank-other { background:var(--surface3); color:var(--text-muted); font-size:13px; }
    .fencer-name { font-size:14px; font-weight:500; color:var(--text); margin-bottom:2px; }
    .fencer-club { font-size:12px; font-weight:300; color:var(--text-dim); }
    .country-flag { font-size:11px; font-weight:500; color:var(--text-muted); background:var(--surface3); padding:3px 8px; border-radius:4px; letter-spacing:0.05em; }
    .fencer-points { font-family:var(--font-display); font-size:16px; font-weight:700; color:var(--text); text-align:right; min-width:50px; }
    .points-label { font-size:10px; font-weight:300; color:var(--text-dim); text-align:right; }

    /* Skeleton */
    .skeleton { background:linear-gradient(90deg,var(--surface2) 0%,var(--surface3) 50%,var(--surface2) 100%); background-size:200% 100%; animation:shimmer 1.4s infinite; border-radius:4px; }
    @keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
    .skeleton-row { display:grid; grid-template-columns:52px 1fr auto auto; align-items:center; padding:0.9rem 1.5rem; border-bottom:1px solid var(--border); gap:1rem; }
    .skeleton-avatar { width:32px; height:32px; border-radius:8px; }
    .skeleton-line-lg { width:160px; height:14px; margin-bottom:6px; }
    .skeleton-line-md { width:100px; height:11px; }
    .skeleton-pill { width:40px; height:24px; border-radius:4px; }
    .skeleton-line-sm { width:40px; height:16px; margin-bottom:4px; }
    .skeleton-line-xs { width:20px; height:10px; }

    /* Country rankings */
    .country-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:1rem; }
    .country-card { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:1.2rem 1.4rem; cursor:pointer; transition:border-color 0.2s,transform 0.2s; display:flex; align-items:center; gap:1rem; }
    .country-card:hover { border-color:var(--border-hover); transform:translateY(-2px); }
    .country-rank-num { font-family:var(--font-display); font-size:1.4rem; font-weight:800; color:var(--text-dim); min-width:28px; }
    .country-flag-big { font-size:1.8rem; }
    .country-name { font-size:14px; font-weight:500; color:var(--text); }
    .country-medals { font-size:12px; color:var(--text-dim); margin-top:2px; }

    /* Results */
    .results-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1rem; }
    .result-card { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:1.4rem; cursor:pointer; transition:border-color 0.2s,transform 0.2s; }
    .result-card:hover { border-color:var(--border-hover); transform:translateY(-2px); }
    .result-card-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:1rem; }
    .result-weapon-tag { font-size:11px; font-weight:500; padding:3px 10px; border-radius:20px; }
    .result-date { font-size:11px; font-weight:300; color:var(--text-dim); }
    .result-tournament-name { font-family:var(--font-display); font-size:1.05rem; font-weight:700; letter-spacing:-0.01em; color:var(--text); margin-bottom:0.3rem; line-height:1.3; }
    .result-location { font-size:12px; font-weight:300; color:var(--text-dim); margin-bottom:1.2rem; }
    .podium-row { display:flex; align-items:center; gap:0.75rem; margin-bottom:0.4rem; }
    .podium-medal { font-size:14px; width:20px; text-align:center; }
    .podium-name { font-size:13px; font-weight:400; color:var(--text-muted); flex:1; }
    .podium-country { font-size:11px; color:var(--text-dim); }

    /* Calendar */
    .calendar-list { background:var(--surface); border:1px solid var(--border); border-radius:12px; overflow:hidden; }
    .calendar-item { display:grid; grid-template-columns:70px 1fr auto; align-items:center; padding:1rem 1.5rem; border-bottom:1px solid var(--border); cursor:pointer; transition:background 0.15s; gap:1.5rem; }
    .calendar-item:last-child { border-bottom:none; }
    .calendar-item:hover { background:var(--surface2); }
    .cal-date { text-align:center; }
    .cal-month { font-size:10px; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-dim); }
    .cal-day { font-family:var(--font-display); font-size:1.6rem; font-weight:800; color:var(--text); line-height:1; }
    .cal-name { font-size:14px; font-weight:500; color:var(--text); margin-bottom:3px; }
    .cal-meta { font-size:12px; font-weight:300; color:var(--text-dim); display:flex; gap:0.75rem; align-items:center; }
    .cal-badge { font-size:11px; font-weight:500; padding:2px 8px; border-radius:4px; }
    .badge-world { background:rgba(240,180,41,0.12); color:var(--gold); }
    .badge-gp { background:rgba(77,159,255,0.12); color:var(--blue); }
    .badge-cup { background:rgba(34,197,94,0.1); color:var(--green); }
    .badge-nat { background:rgba(255,255,255,0.06); color:var(--text-muted); }
    .cal-reg { font-size:12px; font-weight:500; color:var(--blue); text-decoration:none; white-space:nowrap; }
    .cal-reg:hover { opacity:0.7; }

    /* Forum */
    .forum-list { background:var(--surface); border:1px solid var(--border); border-radius:12px; overflow:hidden; }
    .forum-item { display:grid; grid-template-columns:1fr auto; gap:2rem; align-items:center; padding:1.2rem 1.5rem; border-bottom:1px solid var(--border); cursor:pointer; transition:background 0.15s; }
    .forum-item:last-child { border-bottom:none; }
    .forum-item:hover { background:var(--surface2); }
    .forum-tags { display:flex; gap:0.4rem; margin-bottom:0.5rem; align-items:center; flex-wrap:wrap; }
    .forum-item-title { font-size:14px; font-weight:500; color:var(--text); margin-bottom:0.4rem; line-height:1.4; }
    .forum-item-meta { font-size:12px; font-weight:300; color:var(--text-dim); display:flex; gap:1rem; }
    .forum-item-right { text-align:right; flex-shrink:0; }
    .forum-replies-count { font-family:var(--font-display); font-size:1.3rem; font-weight:700; color:var(--text); line-height:1; margin-bottom:0.2rem; }
    .forum-replies-label { font-size:11px; font-weight:300; color:var(--text-dim); }

    /* AI teaser */
    .ai-teaser { background:var(--surface); border:1px solid rgba(167,139,250,0.2); border-radius:12px; overflow:hidden; position:relative; }
    .ai-teaser-header { padding:1.5rem 1.8rem; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:1rem; }
    .ai-icon { width:40px; height:40px; background:rgba(167,139,250,0.15); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:18px; }
    .ai-teaser-title { font-family:var(--font-display); font-size:1.1rem; font-weight:700; color:var(--text); }
    .ai-teaser-sub { font-size:12px; color:var(--text-muted); }
    .ai-insights { padding:1.2rem 1.8rem; display:flex; flex-direction:column; gap:0.8rem; position:relative; }
    .ai-insight-item { display:flex; align-items:flex-start; gap:0.8rem; padding:0.8rem 1rem; background:var(--surface2); border-radius:8px; border:1px solid var(--border); }
    .ai-insight-icon { font-size:16px; flex-shrink:0; margin-top:1px; }
    .ai-insight-text { font-size:13px; color:var(--text-muted); line-height:1.5; }
    .ai-insight-text strong { color:var(--text); font-weight:500; }
    .ai-blur { position:absolute; bottom:0; left:0; right:0; height:140px; background:linear-gradient(transparent,var(--surface)); display:flex; align-items:flex-end; justify-content:center; padding-bottom:1.5rem; }
    .btn-unlock { font-family:var(--font-body); font-size:13px; font-weight:500; color:var(--bg); background:var(--purple); border:none; cursor:pointer; padding:0.6rem 1.6rem; border-radius:8px; transition:opacity 0.15s; }
    .btn-unlock:hover { opacity:0.85; }

    /* Follow suggestions */
    .follow-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:1rem; }
    .follow-card { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:1.4rem; text-align:center; cursor:pointer; transition:border-color 0.2s; }
    .follow-card:hover { border-color:var(--border-hover); }
    .follow-avatar { width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:1.1rem; font-weight:700; margin:0 auto 0.8rem; }
    .follow-name { font-family:var(--font-display); font-size:0.95rem; font-weight:700; color:var(--text); margin-bottom:0.2rem; }
    .follow-meta { font-size:12px; color:var(--text-dim); margin-bottom:1rem; }
    .btn-follow { font-family:var(--font-body); font-size:12px; font-weight:500; color:var(--blue); background:rgba(77,159,255,0.1); border:1px solid rgba(77,159,255,0.2); cursor:pointer; padding:0.4rem 1.2rem; border-radius:20px; transition:background 0.15s; width:100%; }
    .btn-follow:hover { background:rgba(77,159,255,0.18); }
    .btn-follow.following { color:var(--text-muted); background:var(--surface2); border-color:var(--border); }

    /* Club spotlight */
    .club-spotlight { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:2rem; display:grid; grid-template-columns:auto 1fr auto; gap:2rem; align-items:center; }
    .club-logo { width:64px; height:64px; background:var(--surface2); border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:28px; flex-shrink:0; }
    .club-name { font-family:var(--font-display); font-size:1.2rem; font-weight:700; color:var(--text); margin-bottom:0.3rem; }
    .club-location { font-size:13px; color:var(--text-muted); margin-bottom:0.8rem; }
    .club-stats { display:flex; gap:1.5rem; }
    .club-stat { text-align:center; }
    .club-stat-val { font-family:var(--font-display); font-size:1.2rem; font-weight:700; color:var(--text); line-height:1; }
    .club-stat-label { font-size:11px; color:var(--text-dim); }
    .club-spotlight-badge { font-size:11px; font-weight:500; padding:4px 10px; background:rgba(240,180,41,0.12); color:var(--gold); border:1px solid rgba(240,180,41,0.2); border-radius:20px; white-space:nowrap; align-self:flex-start; }

    /* Athletes */
    .featured-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
    .featured-card { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:1.8rem; cursor:pointer; transition:border-color 0.2s; position:relative; overflow:hidden; }
    .featured-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; }
    .featured-card.blue::before { background:var(--blue); }
    .featured-card.gold::before { background:var(--gold); }
    .featured-card:hover { border-color:var(--border-hover); }
    .athlete-header { display:flex; align-items:center; gap:1rem; margin-bottom:1.5rem; }
    .athlete-avatar { width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:1.1rem; font-weight:700; flex-shrink:0; }
    .athlete-name { font-family:var(--font-display); font-size:1.1rem; font-weight:700; letter-spacing:-0.01em; color:var(--text); margin-bottom:0.2rem; }
    .athlete-meta { font-size:12px; font-weight:300; color:var(--text-muted); }
    .athlete-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:0.5rem; }
    .athlete-stat { background:var(--surface2); border-radius:8px; padding:0.7rem; text-align:center; }
    .athlete-stat-val { font-family:var(--font-display); font-size:1.2rem; font-weight:700; color:var(--text); line-height:1; margin-bottom:0.2rem; }
    .athlete-stat-label { font-size:10px; font-weight:300; color:var(--text-dim); }

    /* CTA */
    .cta-banner { margin:0 2.5rem 4rem; background:linear-gradient(135deg,var(--blue-dark),#0d1a2e); border:1px solid rgba(77,159,255,0.2); border-radius:16px; padding:3rem; display:flex; align-items:center; justify-content:space-between; position:relative; overflow:hidden; }
    .cta-banner::before { content:''; position:absolute; right:-100px; top:-100px; width:400px; height:400px; background:radial-gradient(circle,rgba(77,159,255,0.1) 0%,transparent 70%); pointer-events:none; }
    .cta-title { font-family:var(--font-display); font-size:1.8rem; font-weight:800; letter-spacing:-0.02em; color:var(--text); margin-bottom:0.5rem; }
    .cta-sub { font-size:14px; font-weight:300; color:rgba(240,240,240,0.6); }
    .btn-cta { font-family:var(--font-body); font-size:14px; font-weight:600; color:var(--bg); background:var(--blue); border:none; cursor:pointer; padding:0.9rem 2.5rem; border-radius:8px; text-decoration:none; display:inline-block; white-space:nowrap; transition:opacity 0.15s,transform 0.15s; flex-shrink:0; }
    .btn-cta:hover { opacity:0.9; transform:translateY(-1px); }

    /* Footer */
    footer { border-top:1px solid var(--border); padding:2rem 2.5rem; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
    .footer-logo { font-family:var(--font-display); font-size:15px; font-weight:800; color:var(--text-muted); }
    .footer-logo span { color:var(--blue); }
    .footer-copy { font-size:12px; font-weight:300; color:var(--text-dim); }
    .footer-powered { font-size:12px; color:var(--text-dim); }
    .footer-powered a { color:var(--blue); text-decoration:none; }

    /* Reveal */
    .reveal { opacity:0; transform:translateY(16px); transition:opacity 0.5s ease,transform 0.5s ease; }
    .reveal.visible { opacity:1; transform:translateY(0); }
    .d1{transition-delay:0.05s} .d2{transition-delay:0.1s} .d3{transition-delay:0.15s} .d4{transition-delay:0.2s} .d5{transition-delay:0.25s}

    /* 404 / empty */
    .empty-state { text-align:center; padding:4rem 2rem; }
    .empty-icon { font-size:3rem; margin-bottom:1rem; opacity:0.3; }
    .empty-title { font-family:var(--font-display); font-size:1.2rem; font-weight:700; color:var(--text-muted); margin-bottom:0.5rem; }
    .empty-sub { font-size:13px; color:var(--text-dim); }

    /* Mobile */
    @media (max-width: 1000px) {
      #hero { grid-template-columns:1fr; }
      .hero-right { display:none; }
      .featured-grid { grid-template-columns:1fr; }
      .club-spotlight { grid-template-columns:auto 1fr; }
      .club-spotlight .club-spotlight-badge { display:none; }
    }
    @media (max-width: 768px) {
      nav { padding:0 1.2rem; }
      .nav-links,.nav-search,.notif-btn { display:none; }
      .hamburger { display:flex; }
      .section { padding:3rem 1.2rem; }
      .cta-banner { flex-direction:column; gap:1.5rem; text-align:center; margin:0 1.2rem 3rem; }
      .hero-left { padding:3rem 1.5rem; }
      .trending-strip { padding:0.7rem 1.2rem; }
      footer { padding:1.5rem 1.2rem; }
      .country-grid { grid-template-columns:1fr 1fr; }
      .follow-grid { grid-template-columns:1fr 1fr; }
    }
  

/* Inline style replacements */
.nav-search-wrap {position:relative; display:flex; align-items:center;}
.avatar-blue {background:rgba(77,159,255,0.15);color:var(--blue);}
.avatar-gold {background:rgba(240,180,41,0.15);color:var(--gold);}
.avatar-green {background:rgba(34,197,94,0.1);color:var(--green);}
.avatar-purple {background:rgba(167,139,250,0.12);color:var(--purple);}
.btn-block {width:100%;padding:0.7rem;}
.btn-block-rounded {width:100%;padding:0.7rem;border-radius:8px;}
.avatar-green-soft {background:rgba(34,197,94,0.12);color:var(--green);}
.avatar-gold-soft {background:rgba(240,180,41,0.12);color:var(--gold);}
.avatar-blue-soft {background:rgba(77,159,255,0.1);color:var(--blue);}
.avatar-muted {background:rgba(255,255,255,0.06);color:var(--text-muted);}
.avatar-gold-lite {background:rgba(240,180,41,0.1);color:var(--gold);}
.tag-xs {font-size:11px;}
.text-gold {color:var(--gold);}
.text-hot {font-size:11px;color:var(--red);}
