:root {
  --background: #07090d;
  --surface: #0e1118;
  --surface-2: #151923;
  --line: rgba(255, 255, 255, 0.09);
  --muted: #8c93a3;
  --text: #f6f7fb;
  --violet: #8b5cf6;
  --violet-bright: #a78bfa;
  --blue: #38bdf8;
  --font-geist-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-geist-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--background); }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(124, 58, 237, 0.14), transparent 34rem),
    var(--background);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #a78bfa; outline-offset: 3px; }
::selection { color: white; background: rgba(139, 92, 246, 0.7); }

.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.glass-card { background: linear-gradient(145deg, rgba(24, 28, 39, 0.88), rgba(10, 12, 18, 0.95)); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34); }
.ambient { position: fixed; z-index: -1; width: 26rem; height: 26rem; border-radius: 50%; filter: blur(110px); opacity: 0.14; pointer-events: none; }
.ambient--one { top: 20rem; left: -12rem; background: #7c3aed; }
.ambient--two { top: 80rem; right: -12rem; background: #0ea5e9; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { width: min(1240px, calc(100% - 32px)); min-height: 74px; margin: 16px auto 0; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid rgba(255,255,255,.08); background: rgba(8,10,15,.72); backdrop-filter: blur(18px); border-radius: 16px; position: sticky; top: 12px; z-index: 50; box-shadow: 0 12px 45px rgba(0,0,0,.25); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 850; letter-spacing: .18em; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: linear-gradient(135deg, #a78bfa, #6d28d9); color: #fff; font-size: 16px; font-weight: 900; letter-spacing: 0; box-shadow: inset 0 1px rgba(255,255,255,.35), 0 0 28px rgba(139,92,246,.35); transform: rotate(-3deg); }
.desktop-nav { display: flex; align-items: center; gap: 30px; color: #9ca3b2; font-size: 13px; }
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-account { padding: 10px 14px; border: 1px solid rgba(167,139,250,.25); border-radius: 10px; background: rgba(139,92,246,.08); color: #c4b5fd; font-size: 12px; font-weight: 750; cursor: pointer; }
.header-account:hover { background: rgba(139,92,246,.16); }
.header-account--active { padding-left: 9px; display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.header-account img { width: 23px; height: 23px; border-radius: 7px; object-fit: cover; }
.header-cta { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 10px; background: #f4f2ff; color: #16121f; font-size: 12px; font-weight: 750; }

.hero { min-height: 720px; padding: 118px 0 105px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 84px; }
.eyebrow, .section-kicker, .micro-label { font-family: var(--font-geist-mono), monospace; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; font-weight: 650; color: #a5adbd; }
.eyebrow { width: fit-content; display: flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid rgba(167,139,250,.2); border-radius: 999px; background: rgba(139,92,246,.08); color: #c4b5fd; }
.status-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.1), 0 0 12px #22c55e; }
.status-dot--offline { background: #fb7185; box-shadow: 0 0 0 4px rgba(251,113,133,.1), 0 0 12px #f43f5e; }
.hero h1 { margin: 26px 0 22px; max-width: 690px; font-size: clamp(52px, 6.2vw, 88px); line-height: .98; letter-spacing: -.067em; font-weight: 780; }
.hero h1 span { color: #9d8cff; text-shadow: 0 0 50px rgba(139,92,246,.24); }
.hero-copy > p { max-width: 640px; margin: 0; color: #9ca3b2; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 49px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 11px; font-size: 13px; font-weight: 720; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 14px 34px rgba(109,40,217,.28); }
.button--ghost { border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #d5d8df; }
.button--ghost:hover { border-color: rgba(167,139,250,.45); }
.button--light { color: #15111e; background: white; }
.trust-row { display: flex; gap: 38px; margin-top: 54px; }
.trust-row div { display: flex; flex-direction: column; gap: 5px; }
.trust-row strong { font-size: 22px; letter-spacing: -.04em; }
.trust-row span { color: #737b8c; font-size: 11px; }

.hero-board { position: relative; padding: 25px; border-radius: 24px; transform: perspective(1100px) rotateY(-3deg) rotateX(1deg); }
.hero-board::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(145deg, rgba(167,139,250,.55), transparent 38%, rgba(56,189,248,.18)); opacity: .45; }
.board-topline, .ranking-card__header, .profile-head { display: flex; align-items: center; }
.board-topline { justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.board-topline h2 { margin: 7px 0 0; font-size: 20px; letter-spacing: -.03em; }
.micro-label { color: #777f90; font-size: 9px; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 99px; color: #7ff0a5; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.15); font-size: 10px; font-weight: 650; }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.podium-feature { margin: 18px 0 12px; min-height: 96px; padding: 15px; display: grid; grid-template-columns: 25px 56px 1fr auto; align-items: center; gap: 12px; border-radius: 16px; background: linear-gradient(90deg, rgba(139,92,246,.14), rgba(139,92,246,.035)); border: 1px solid rgba(167,139,250,.18); }
.rank-crown { color: #facc15; font-size: 18px; text-align: center; }
.pixel-avatar { --avatar-accent: #8b5cf6; width: 56px; height: 56px; aspect-ratio: 1 / 1; display: grid; place-items: center; flex: 0 0 56px; overflow: hidden; border-radius: 11px; color: white; font-family: var(--font-geist-mono), monospace; font-size: 14px; font-weight: 800; letter-spacing: -.08em; background: linear-gradient(135deg, color-mix(in srgb, var(--avatar-accent) 85%, white), color-mix(in srgb, var(--avatar-accent) 55%, #080a10)); box-shadow: inset 0 0 0 4px rgba(255,255,255,.08), 0 8px 20px color-mix(in srgb, var(--avatar-accent) 20%, transparent); image-rendering: pixelated; }
.pixel-avatar--small { width: 35px; height: 35px; flex-basis: 35px; border-radius: 8px; font-size: 10px; }
.pixel-avatar img { width: 100%; height: 100%; display: block; border-radius: inherit; object-fit: cover; }
.podium-name { display: flex; flex-direction: column; gap: 4px; }
.podium-name strong { font-size: 15px; }
.podium-name span, .table-player small { color: #777f8f; font-size: 10px; }
.tier-badge { min-width: 40px; width: fit-content; display: inline-flex; align-items: center; justify-content: center; padding: 5px 8px; border-radius: 7px; color: #c4b5fd; background: rgba(139,92,246,.12); border: 1px solid rgba(167,139,250,.19); font-family: var(--font-geist-mono), monospace; font-size: 10px; font-weight: 800; }
.tier-badge--high { color: #8ae8ff; background: rgba(56,189,248,.1); border-color: rgba(56,189,248,.17); }
.mini-ranking { display: grid; gap: 5px; }
.mini-row { min-height: 50px; padding: 6px 8px; display: grid; grid-template-columns: 24px 35px 1fr auto 38px; align-items: center; gap: 9px; border-radius: 10px; color: #b7bdc9; }
.mini-row:hover { background: rgba(255,255,255,.025); }
.rank-number { color: #686f7e; font-family: var(--font-geist-mono), monospace; font-size: 11px; text-align: center; }
.mini-name { font-size: 12px; font-weight: 650; }
.mini-score { color: #737b8b; font-family: var(--font-geist-mono), monospace; font-size: 9px; text-align: right; }
.trend { font-family: var(--font-geist-mono), monospace; font-size: 9px; text-align: right; }
.trend--up { color: #4ade80; }
.trend--down { color: #fb7185; }
.board-link { margin-top: 14px; padding: 14px 5px 2px; display: flex; justify-content: space-between; color: #a78bfa; border-top: 1px solid var(--line); font-size: 11px; font-weight: 650; }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #0b0e14; }
.ticker-track { width: max-content; min-height: 54px; display: flex; align-items: center; gap: 37px; padding-inline: 30px; color: #6f7685; font-family: var(--font-geist-mono), monospace; font-size: 10px; letter-spacing: .15em; }
.ticker-track i { color: #7c3aed; font-style: normal; }

.global-section { padding: 110px 0 45px; scroll-margin-top: 95px; }
.points-legend { margin-bottom: 15px; padding: 10px; display: grid; grid-template-columns: repeat(10, minmax(80px, 1fr)); gap: 7px; border: 1px solid var(--line); border-radius: 15px; background: #0a0d13; }
.point-rule { min-height: 55px; padding: 8px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; border: 1px solid rgba(167,139,250,.13); border-radius: 9px; background: rgba(139,92,246,.06); }
.point-rule strong { color: #c4b5fd; font-family: var(--font-geist-mono), monospace; font-size: 11px; }
.point-rule i { color: #71798a; font-size: 8px; font-style: normal; }
.point-rule--high { border-color: rgba(56,189,248,.15); background: rgba(56,189,248,.055); }
.point-rule--high strong { color: #8ae8ff; }
.data-loading--inline { min-height: 55px; grid-column: 1 / -1; flex-direction: row; padding: 8px; }
.global-ranking-card { overflow: hidden; border-radius: 22px; border-color: rgba(250,204,21,.14); }
.global-ranking-header { min-height: 96px; padding: 19px 23px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(234,179,8,.075), transparent 50%); }
.global-ranking-header > div:nth-child(2) span { color: #81794f; font-family: var(--font-geist-mono), monospace; font-size: 9px; letter-spacing: .12em; }
.global-ranking-header h3 { margin: 5px 0 0; font-size: 18px; }
.global-trophy { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(250,204,21,.2); border-radius: 13px; color: #facc15; background: rgba(234,179,8,.09); font-size: 22px; box-shadow: 0 10px 30px rgba(234,179,8,.08); }
.global-ranking-row { min-height: 82px; padding: 10px 24px; display: grid; grid-template-columns: 65px minmax(180px, 1.15fr) minmax(260px, 1.65fr) 90px 70px 82px; align-items: center; gap: 15px; border-bottom: 1px solid rgba(255,255,255,.055); color: #aab0bc; font-size: 12px; }
.global-ranking-row:last-child { border-bottom: 0; }
.global-ranking-row:not(.global-ranking-row--head):hover { background: rgba(255,255,255,.02); }
.global-ranking-row--head { min-height: 43px; padding-block: 0; color: #5f6674; font-family: var(--font-geist-mono), monospace; font-size: 8px; letter-spacing: .12em; }
.global-ranking-row--top { background: linear-gradient(90deg, rgba(139,92,246,.055), transparent 72%); }
.global-ranking-row--top-1 { background: linear-gradient(90deg, rgba(234,179,8,.1), transparent 72%); }
.global-rank { color: #6b7280; font-family: var(--font-geist-mono), monospace; }
.global-ranking-row--top-1 .global-rank { color: #facc15; font-size: 18px; }
.global-ranking-row--top-2 .global-rank { color: #cbd5e1; }
.global-ranking-row--top-3 .global-rank { color: #fdba74; }
.global-tier-list { display: flex; flex-wrap: wrap; gap: 5px; }
.global-tier-list i { padding: 5px 7px; border: 1px solid rgba(167,139,250,.13); border-radius: 7px; color: #9b8ed4; background: rgba(139,92,246,.055); font-family: var(--font-geist-mono), monospace; font-size: 8px; font-style: normal; white-space: nowrap; }
.global-tier-list b { color: #c7cad3; font-weight: 650; }
.global-points { display: flex; flex-direction: column; color: #f8d75d !important; font-size: 20px; line-height: 1; }
.global-points small { margin-top: 4px; color: #77704c; font-family: var(--font-geist-mono), monospace; font-size: 7px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.global-kit-count { color: #c7cad3; font-family: var(--font-geist-mono), monospace; font-size: 10px; }

.ranking-section { padding: 122px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 45px; }
.section-heading h2, .search-panel h2, .final-cta h2 { margin: 10px 0 0; font-size: clamp(35px, 4vw, 54px); line-height: 1.04; letter-spacing: -.055em; }
.section-heading > p { max-width: 440px; margin: 0; color: #8c93a3; font-size: 14px; line-height: 1.7; }
.section-kicker { color: #9c83ff; }
.kit-tabs { display: flex; gap: 8px; padding: 8px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #0a0d13; scrollbar-width: none; }
.kit-tabs::-webkit-scrollbar { display: none; }
.kit-tab { min-width: fit-content; padding: 9px 13px 9px 9px; display: flex; align-items: center; gap: 9px; border: 0; border-radius: 10px; background: transparent; color: #7e8696; font-size: 11px; font-weight: 650; cursor: pointer; transition: .2s ease; }
.kit-tab:hover { color: #d9dce4; background: rgba(255,255,255,.035); }
.kit-tab--active { color: #fff; background: #1b202b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.kit-tab small { min-width: 20px; padding: 3px 5px; border-radius: 6px; color: #6f7786; background: rgba(255,255,255,.04); font-family: var(--font-geist-mono), monospace; font-size: 8px; }
.kit-icon, .kit-emblem { display: grid; place-items: center; border-radius: 8px; font-family: var(--font-geist-mono), monospace; font-weight: 800; }
.kit-icon { width: 28px; height: 28px; }
.kit-emblem { width: 46px; height: 46px; font-size: 20px; }
.kit-icon--violet { color: #c4b5fd; background: rgba(139,92,246,.15); }
.kit-icon--blue { color: #7dd3fc; background: rgba(56,189,248,.14); }
.kit-icon--silver { color: #e2e8f0; background: rgba(226,232,240,.1); }
.kit-icon--emerald { color: #6ee7b7; background: rgba(16,185,129,.13); }
.kit-icon--pink { color: #f9a8d4; background: rgba(236,72,153,.13); }
.kit-icon--gold { color: #fde047; background: rgba(234,179,8,.13); }
.kit-icon--cyan { color: #67e8f9; background: rgba(6,182,212,.13); }
.kit-icon--orange { color: #fdba74; background: rgba(249,115,22,.13); }
.kit-icon--red { color: #fda4af; background: rgba(244,63,94,.13); }
.ranking-card { margin-top: 18px; overflow: hidden; border-radius: 20px; }
.ranking-card__header { min-height: 92px; padding: 18px 22px; gap: 14px; border-bottom: 1px solid var(--line); }
.ranking-card__header > div:nth-child(2) span { color: #6f7684; font-size: 9px; font-family: var(--font-geist-mono), monospace; letter-spacing: .12em; }
.ranking-card__header h3 { margin: 4px 0 0; font-size: 17px; }
.ranking-update { margin-left: auto; display: flex; align-items: center; gap: 9px; color: #747c8c; font-size: 10px; }
.ranking-row { min-height: 72px; padding: 0 24px; display: grid; grid-template-columns: 65px 1.5fr .7fr .65fr .55fr .55fr; align-items: center; gap: 15px; border-bottom: 1px solid rgba(255,255,255,.055); color: #aab0bc; font-size: 12px; }
.ranking-row:last-child { border-bottom: 0; }
.ranking-row:not(.ranking-row--head):hover { background: rgba(255,255,255,.02); }
.ranking-row--head { min-height: 43px; color: #5f6674; font-family: var(--font-geist-mono), monospace; font-size: 8px; letter-spacing: .12em; }
.ranking-row--leader { background: linear-gradient(90deg, rgba(139,92,246,.09), transparent 70%); }
.table-rank { color: #666e7d; font-family: var(--font-geist-mono), monospace; }
.ranking-row--leader .table-rank { color: #facc15; font-size: 16px; }
.table-player { display: flex; align-items: center; gap: 11px; }
.table-player > span { display: flex; flex-direction: column; gap: 4px; }
.table-player strong, .ranking-row > strong { color: #f0f2f7; }
.table-date { color: #7b8392; font-size: 10px; }
.data-loading, .data-empty { min-height: 220px; padding: 35px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; text-align: center; color: #777f8f; font-size: 12px; }
.data-loading::before { content: ""; width: 24px; height: 24px; border: 2px solid rgba(167,139,250,.16); border-top-color: #a78bfa; border-radius: 50%; animation: spin .8s linear infinite; }
.data-empty strong { color: #d7dae2; font-size: 14px; }
.data-empty span { max-width: 390px; line-height: 1.6; }
.data-empty--compact { min-height: 210px; padding: 20px; }
.loading-ring { border-radius: 50% !important; border: 2px solid rgba(167,139,250,.16) !important; border-top-color: #a78bfa !important; animation: spin .8s linear infinite; }

.search-section { padding: 70px 0 130px; display: grid; grid-template-columns: 1fr .82fr; gap: 85px; align-items: center; }
.search-panel h2 { max-width: 580px; }
.search-panel > p { max-width: 600px; margin: 20px 0 0; color: #8f96a5; line-height: 1.7; }
.player-search { margin-top: 30px; min-height: 62px; padding: 7px 7px 7px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(167,139,250,.23); border-radius: 14px; background: rgba(16,18,26,.9); box-shadow: 0 14px 45px rgba(0,0,0,.2); }
.player-search > span { color: #a78bfa; font-size: 24px; transform: rotate(-15deg); }
.player-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: white; font-size: 13px; }
.player-search input::placeholder { color: #5f6673; }
.player-search button { height: 46px; padding: 0 18px; border: 0; border-radius: 9px; background: #8b5cf6; color: white; font-size: 11px; font-weight: 750; cursor: pointer; }
.search-hint { color: #626a78 !important; font-size: 10px !important; margin-top: 11px !important; }
.profile-preview { min-height: 330px; padding: 25px; border-radius: 22px; }
.profile-head { gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.profile-head h3 { margin: 3px 0 2px; font-size: 21px; }
.profile-head p { margin: 0; color: #737b8b; font-size: 11px; }
.verified-line { color: #65d98b; font-size: 8px; font-family: var(--font-geist-mono), monospace; letter-spacing: .12em; }
.profile-rank { margin-left: auto; align-self: start; color: #a78bfa; font-family: var(--font-geist-mono), monospace; font-size: 22px; font-weight: 800; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 22px 0; border-bottom: 1px solid var(--line); }
.profile-stats div { display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); padding-left: 17px; }
.profile-stats div:first-child { padding-left: 0; }
.profile-stats div:last-child { border: 0; }
.profile-stats span { color: #6d7584; font-size: 9px; }
.profile-stats strong { font-size: 16px; }
.profile-tiers { display: flex; flex-wrap: wrap; gap: 7px; padding: 18px 0; }
.profile-tiers span { padding: 7px 9px; color: #c6b8ff; background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.16); border-radius: 8px; font-size: 9px; font-family: var(--font-geist-mono), monospace; }
.profile-foot { display: flex; justify-content: space-between; color: #626a78; font-size: 9px; }
.empty-profile { min-height: 278px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-profile > span { width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid rgba(167,139,250,.2); border-radius: 18px; color: #a78bfa; background: rgba(139,92,246,.08); font-size: 24px; }
.empty-profile h3 { margin: 17px 0 6px; font-size: 17px; }
.empty-profile p { margin: 0; color: #737b89; font-size: 11px; }

.my-profile-head { display: flex; align-items: center; gap: 14px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.my-profile-head > div { min-width: 0; }
.my-profile-head h3 { margin: 4px 0; font-size: 22px; }
.my-profile-head p { margin: 0; color: #737b8b; font-size: 11px; }
.logout-button { margin-left: auto; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: #858d9b; font-size: 10px; cursor: pointer; }
.account-summary { display: grid; grid-template-columns: repeat(3, 1fr); padding: 21px 0; border-bottom: 1px solid var(--line); }
.account-summary div { padding-left: 14px; display: flex; flex-direction: column; gap: 5px; border-left: 1px solid var(--line); }
.account-summary div:first-child { padding-left: 0; border: 0; }
.account-summary span { color: #687080; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.account-summary strong { font-size: 16px; }
.account-status-group { margin-top: 20px; }
.account-status-group h4 { margin: 0 0 10px; color: #aeb4c0; font-size: 11px; }
.status-list { display: grid; gap: 7px; }
.status-item { padding: 10px 11px; display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 9px; color: #9299a8; background: rgba(255,255,255,.015); font-size: 10px; }
.status-item strong { color: #dce0e7; }
.status-empty { color: #626a78; font-size: 10px; }
.account-badges { padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }

.login-dialog { width: min(460px, calc(100% - 28px)); padding: 0; border: 1px solid rgba(167,139,250,.22); border-radius: 22px; color: var(--text); background: #0d1017; box-shadow: 0 35px 120px rgba(0,0,0,.7); }
.login-dialog::backdrop { background: rgba(3,4,7,.78); backdrop-filter: blur(8px); }
.login-card { padding: 34px; position: relative; display: flex; flex-direction: column; align-items: stretch; }
.login-card > .brand-mark { margin-bottom: 23px; }
.login-card h2 { margin: 10px 0; font-size: 30px; letter-spacing: -.04em; }
.login-card p { margin: 0 0 24px; color: #858d9d; font-size: 12px; line-height: 1.7; }
.login-card label { margin-bottom: 8px; color: #aeb4c0; font-size: 10px; font-weight: 700; }
.login-card input { height: 55px; margin-bottom: 12px; padding: 0 16px; border: 1px solid rgba(167,139,250,.27); border-radius: 11px; outline: 0; color: white; background: #11151e; font-family: var(--font-geist-mono), monospace; font-size: 20px; font-weight: 800; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.login-card input:focus { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,.12); }
.login-card small { margin-top: 15px; color: #5e6674; font-size: 9px; line-height: 1.5; text-align: center; }
.dialog-close { width: 34px; height: 34px; position: absolute; top: 17px; right: 17px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.025); color: #818897; font-size: 20px; cursor: pointer; }
.login-message { min-height: 18px; margin-top: 10px; color: #fb7185; font-size: 10px; text-align: center; }
.login-message--ok { color: #6ee7b7; }

.process-section { padding: 120px 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, #0b0e14, #090b10); }
.section-heading--center { display: block; text-align: center; }
.section-heading--center > p { margin: 14px auto 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.step-card { min-height: 250px; padding: 24px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.018); }
.step-card:hover { border-color: rgba(167,139,250,.24); background: rgba(139,92,246,.035); }
.step-number { color: #8b5cf6; font-family: var(--font-geist-mono), monospace; font-size: 11px; font-weight: 800; }
.step-line { width: 35px; height: 1px; margin: 28px 0 35px; background: linear-gradient(90deg, #8b5cf6, transparent); }
.step-card h3 { margin: 0 0 12px; font-size: 18px; }
.step-card p { margin: 0; color: #7f8796; font-size: 12px; line-height: 1.65; }
.step-card::after { content: attr(data-step); position: absolute; right: -5px; bottom: -35px; color: rgba(255,255,255,.018); font-size: 120px; font-weight: 900; }

.stats-section { padding: 110px 0; }
.stats-card { min-height: 300px; padding: 48px; display: grid; grid-template-columns: 1.1fr .8fr .7fr; align-items: center; gap: 45px; overflow: hidden; position: relative; border: 1px solid rgba(167,139,250,.17); border-radius: 24px; background: radial-gradient(circle at 70% 30%, rgba(124,58,237,.17), transparent 35%), linear-gradient(135deg, #11141d, #0b0d13); }
.stats-card::after { content: "M"; position: absolute; right: -10px; bottom: -130px; color: rgba(255,255,255,.018); font-size: 390px; font-weight: 900; transform: rotate(-8deg); }
.stats-copy, .big-stat, .stat-stack { position: relative; z-index: 1; }
.stats-copy h2 { margin: 10px 0 14px; font-size: 42px; letter-spacing: -.05em; }
.stats-copy p { margin: 0; color: #808797; font-size: 13px; }
.big-stat { display: flex; flex-direction: column; gap: 7px; }
.big-stat strong { font-size: clamp(55px, 6vw, 82px); line-height: .9; letter-spacing: -.075em; }
.big-stat span, .stat-stack span { color: #8c93a2; font-size: 11px; }
.big-stat i { width: fit-content; padding: 5px 7px; border-radius: 6px; color: #72e99b; background: rgba(34,197,94,.08); font-size: 9px; font-style: normal; }
.stat-stack { display: grid; gap: 22px; }
.stat-stack div { display: flex; flex-direction: column; gap: 4px; }
.stat-stack strong { font-size: 27px; }

.final-cta { margin-top: 15px; margin-bottom: 100px; padding: 58px; display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 60px; border-radius: 24px; background: linear-gradient(125deg, #7c3aed, #4c1d95 65%, #312e81); box-shadow: 0 30px 90px rgba(76,29,149,.25); }
.final-cta .section-kicker { color: #ddd6fe; }
.final-cta h2 { font-size: clamp(40px, 5vw, 66px); }
.final-cta > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 23px; }
.final-cta p { margin: 0; color: #ddd6fe; font-size: 13px; line-height: 1.65; }

.site-footer { padding: 38px 0 26px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; border-top: 1px solid var(--line); }
.site-footer > p { margin: 0; color: #6d7482; font-size: 11px; }
.site-footer > div:not(.brand) { display: flex; gap: 20px; color: #8d94a2; font-size: 10px; }
.site-footer small { grid-column: 1 / -1; color: #4f5663; font-size: 9px; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 85px; gap: 58px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-copy > p { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-board { max-width: 620px; width: 100%; margin-inline: auto; transform: none; }
  .points-legend { grid-template-columns: repeat(5, 1fr); }
  .search-section { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .stats-copy { grid-column: 1 / -1; }
  .final-cta { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .site-footer small { grid-column: auto; }
}

@media (max-width: 700px) {
  .section-shell { width: min(100% - 24px, 1180px); }
  .site-header { width: calc(100% - 20px); min-height: 64px; margin-top: 10px; padding: 0 13px; top: 8px; }
  .header-cta { padding: 9px 11px; font-size: 0; }
  .header-cta span { font-size: 14px; }
  .header-account { padding: 9px 10px; }
  .hero { min-height: auto; padding: 70px 0 80px; }
  .hero h1 { font-size: clamp(47px, 15vw, 66px); }
  .hero-copy > p { font-size: 14px; }
  .trust-row { gap: 20px; }
  .trust-row strong { font-size: 18px; }
  .hero-board { padding: 16px; border-radius: 18px; }
  .podium-feature { grid-template-columns: 22px 48px 1fr auto; }
  .pixel-avatar { width: 48px; height: 48px; flex-basis: 48px; }
  .pixel-avatar--small { width: 33px; height: 33px; flex-basis: 33px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .ranking-section { padding: 90px 0; }
  .global-section { padding: 85px 0 35px; }
  .points-legend { grid-template-columns: repeat(2, 1fr); }
  .global-ranking-card { overflow-x: auto; }
  .global-ranking-header, .global-ranking-table { min-width: 860px; }
  .ranking-card { overflow-x: auto; }
  .ranking-card__header { min-width: 650px; }
  .ranking-table { min-width: 650px; }
  .search-section { padding-bottom: 95px; }
  .player-search { padding-left: 13px; }
  .player-search button { padding-inline: 12px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 205px; }
  .process-section { padding: 90px 0; }
  .stats-card { padding: 30px; grid-template-columns: 1fr; gap: 32px; }
  .stats-copy { grid-column: auto; }
  .stats-copy h2 { font-size: 36px; }
  .final-cta { margin-bottom: 70px; padding: 36px 25px; }
  .final-cta h2 { font-size: 42px; }
  .profile-preview { padding: 18px; }
  .profile-stats strong { font-size: 14px; }
  .login-card { padding: 28px 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-board { animation: fade-up .75s ease both; }
  .hero-board { animation-delay: .12s; }
  @keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}

@keyframes spin { to { transform: rotate(360deg); } }
