:root {
  --bg: #090b0d;
  --panel: #11151a;
  --panel-2: #161b21;
  --line: rgba(255,255,255,.09);
  --text: #f3f5f7;
  --muted: #8d98a5;
  --orange: #ff6b22;
  --orange-2: #ff9d3d;
  --green: #42e184;
  --red: #ff5b61;
  --radius: 20px;
  --shadow: 0 24px 80px rgba(0,0,0,.32);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .22; z-index: -1; background-image: radial-gradient(circle at 18% 9%, rgba(255,107,34,.15), transparent 32%), radial-gradient(circle at 82% 15%, rgba(255,157,61,.08), transparent 26%), linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px); background-size: auto, auto, 48px 48px, 48px 48px; }
.site-header { width: min(1180px, calc(100% - 32px)); height: 86px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; letter-spacing: .05em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: #090b0d; background: linear-gradient(135deg, var(--orange-2), var(--orange)); border-radius: 12px 12px 12px 3px; font-weight: 950; font-size: 23px; box-shadow: 0 8px 30px rgba(255,107,34,.25); }
.brand strong { display: block; font-size: 13px; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 750; }
.site-nav > a:not(.nav-play) { color: #b9c0c8; }
.site-nav > a:hover { color: #fff; }
.nav-play, .button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; color: #111 !important; background: linear-gradient(135deg, var(--orange-2), var(--orange)); border: 0; border-radius: 12px; font-weight: 900; letter-spacing: .03em; cursor: pointer; box-shadow: 0 10px 28px rgba(255,107,34,.18); transition: transform .18s ease, filter .18s ease; }
.button:hover, .nav-play:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button.ghost { color: var(--text) !important; background: transparent; border: 1px solid var(--line); box-shadow: none; }
.nav-toggle { display: none; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.page, .hero { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.hero { min-height: 610px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; padding: 70px 0 90px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--orange-2); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 900; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--orange); }
.hero h1 { max-width: 720px; margin: 15px 0 20px; font-size: clamp(50px, 7.2vw, 96px); line-height: .92; letter-spacing: -.065em; text-transform: uppercase; }
.hero h1 span { color: var(--orange); }
.hero-copy { max-width: 650px; color: #aeb6bf; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.server-card { position: relative; overflow: hidden; padding: 26px; background: linear-gradient(155deg, rgba(26,31,37,.95), rgba(14,17,21,.96)); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.server-card::after { content: ''; position: absolute; right: -80px; bottom: -90px; width: 230px; height: 230px; border-radius: 50%; background: rgba(255,107,34,.09); filter: blur(5px); }
.card-label { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255,91,97,.12); }
.status.online { color: var(--green); }
.status.online::before { background: var(--green); box-shadow: 0 0 0 4px rgba(66,225,132,.12), 0 0 22px rgba(66,225,132,.4); }
.map-name { margin: 34px 0 8px; font-size: clamp(34px, 5vw, 55px); font-weight: 950; letter-spacing: -.05em; overflow-wrap: anywhere; }
.server-name { min-height: 23px; color: var(--muted); font-size: 13px; }
.server-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 27px 0; }
.metric { padding: 14px 10px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.055); border-radius: 14px; }
.metric strong { display: block; font-size: 21px; }
.metric span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.connect-code { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 14px 15px; background: #080a0c; border: 1px solid var(--line); border-radius: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.connect-code button { color: var(--orange-2); background: transparent; border: 0; cursor: pointer; font-weight: 800; }
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.section-head h2, .page-hero h1 { margin: 8px 0 0; font-size: clamp(34px, 5vw, 58px); line-height: 1; letter-spacing: -.045em; }
.section-head p, .page-hero p { max-width: 560px; margin: 0; color: var(--muted); }
.grid { display: grid; gap: 16px; }
.player-grid { grid-template-columns: repeat(4, 1fr); }
.player-card, .sound-card, .info-card, .map-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.player-card { padding: 18px; transition: transform .18s ease, border-color .18s ease; }
.player-card:hover { transform: translateY(-3px); border-color: rgba(255,107,34,.45); }
.player-top { display: flex; gap: 12px; align-items: center; }
.avatar { position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; color: #111; background: linear-gradient(145deg, var(--orange-2), #d54b15); border-radius: 15px 15px 15px 5px; font-weight: 950; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.live::after { content: ''; position: absolute; right: 4px; bottom: 4px; width: 8px; height: 8px; border: 2px solid var(--panel); border-radius: 50%; background: var(--green); }
.player-name { min-width: 0; }
.player-name strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-name small { color: var(--muted); }
.player-stats { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.player-stats strong { display: block; font-size: 18px; }
.player-stats span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.empty-state { grid-column: 1 / -1; padding: 36px; color: var(--muted); text-align: center; background: var(--panel); border: 1px dashed rgba(255,255,255,.15); border-radius: var(--radius); }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.info-card { padding: 26px; }
.info-card .number { color: var(--orange); font: 900 12px ui-monospace, monospace; }
.info-card h3 { margin: 28px 0 10px; font-size: 20px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; }
.map-grid { grid-template-columns: repeat(3, 1fr); }
.map-card { position: relative; overflow: hidden; min-height: 170px; padding: 22px; display: flex; flex-direction: column; justify-content: end; }
.map-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, transparent, rgba(255,107,34,.12)); }
.map-card > * { position: relative; }
.map-card strong { font-size: 22px; }
.map-card span { color: var(--muted); font-size: 12px; }
.sound-preview { grid-template-columns: repeat(3, 1fr); }
.sound-card { display: flex; align-items: center; gap: 13px; padding: 14px; }
.sound-play { flex: none; display: grid; place-items: center; width: 42px; height: 42px; color: #101214; background: var(--orange); border: 0; border-radius: 50%; cursor: pointer; }
.sound-play.playing { background: var(--green); }
.sound-info { min-width: 0; flex: 1; }
.sound-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.sound-info small { color: var(--muted); font-size: 11px; }
.sound-download { display: grid; place-items: center; width: 35px; height: 35px; color: var(--muted); border: 1px solid var(--line); border-radius: 10px; }
.sound-download:hover { color: var(--orange-2); border-color: rgba(255,107,34,.4); }
.page-hero { padding: 86px 0 52px; }
.page-hero p { margin-top: 18px; font-size: 17px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.filter-bar button { padding: 9px 13px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.filter-bar button.active { color: #111; background: var(--orange); border-color: var(--orange); font-weight: 850; }
.leaderboard { overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.leader-row { display: grid; grid-template-columns: 58px minmax(190px, 1.4fr) repeat(4, minmax(90px, .6fr)); align-items: center; gap: 14px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.leader-row:last-child { border: 0; }
.leader-row.head { color: var(--muted); background: rgba(255,255,255,.025); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.rank { color: var(--orange-2); font-weight: 950; }
.leader-player { display: flex; align-items: center; gap: 10px; min-width: 0; }
.leader-player .avatar { width: 38px; height: 38px; border-radius: 10px; font-size: 12px; }
.leader-player strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.muted { color: var(--muted); }
.site-footer { width: min(1180px, calc(100% - 32px)); margin: 60px auto 0; padding: 34px 0 45px; display: flex; justify-content: space-between; gap: 24px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.site-footer strong { display: block; color: var(--text); }
.site-footer span { display: block; }
.footer-links { text-align: right; }
.footer-links a { color: var(--orange-2); }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 20; padding: 12px 16px; color: #111; background: var(--green); border-radius: 12px; font-weight: 800; transform: translateY(100px); opacity: 0; transition: .25s; }
.toast.show { transform: translateY(0); opacity: 1; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 38px; padding-top: 55px; }
  .player-grid { grid-template-columns: repeat(2, 1fr); }
  .sound-preview, .feature-grid, .map-grid { grid-template-columns: repeat(2, 1fr); }
  .leader-row { grid-template-columns: 45px minmax(170px, 1fr) repeat(2, 90px); }
  .leader-row > :nth-child(5), .leader-row > :nth-child(6) { display: none; }
}
@media (max-width: 680px) {
  .site-header { height: 72px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; z-index: 10; top: 66px; left: 16px; right: 16px; padding: 18px; flex-direction: column; align-items: stretch; gap: 6px; background: #11151a; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px; text-align: center; }
  .hero { padding-bottom: 65px; }
  .hero h1 { font-size: clamp(47px, 17vw, 74px); }
  .server-metrics { grid-template-columns: 1fr; }
  .section { padding: 65px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 13px; }
  .player-grid, .sound-preview, .feature-grid, .map-grid { grid-template-columns: 1fr; }
  .leader-row { grid-template-columns: 36px minmax(150px, 1fr) 75px; padding-inline: 12px; }
  .leader-row > :nth-child(4), .leader-row > :nth-child(5), .leader-row > :nth-child(6) { display: none; }
  .site-footer { flex-direction: column; }
  .footer-links { text-align: left; }
}
