@font-face {
  font-family: Oxanium;
  src: url("/assets/fonts/Oxanium-Variable.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400 800;
}

:root {
  color-scheme: dark;
  --cursor-x: 50vw;
  --cursor-y: 50vh;
  --bg: #050505;
  --surface: #0b0b0d;
  --surface-2: #121216;
  --line: #292931;
  --text: #f7f7fa;
  --muted: #a8a8b2;
  --blue: #3388ff;
  --purple: #814ac8;
  --red: #ef5367;
  --green: #66e39d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  background: #03040b;
  color: var(--text);
  font-family: Oxanium, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(110deg, rgba(0, 7, 24, .92), rgba(3, 4, 11, .9) 52%, rgba(20, 7, 36, .72)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.016) 0, rgba(255,255,255,.016) 1px, transparent 1px, transparent 4px);
  opacity: 1;
}
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: radial-gradient(280px circle at var(--cursor-x) var(--cursor-y), rgba(129,74,200,.2), rgba(129,74,200,.08) 34%, transparent 72%);
  opacity: .9;
  transition: opacity .2s ease;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a, button { transition: color .16s ease, background-color .16s ease, border-color .16s ease, opacity .16s ease, transform .16s ease, box-shadow .16s ease; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 70px;
  padding: 0 clamp(16px, 4vw, 62px);
  border-bottom: 1px solid var(--line);
  background: rgba(5,5,5,.94);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.site-nav a:hover { color: var(--text); border-color: var(--line); }
.site-nav a.active { color: var(--text); background: var(--purple); border-color: var(--purple); }
.copy-ip {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--purple);
  border-radius: 7px;
  background: var(--purple);
  color: #fff;
  font-weight: 800;
}
.copy-ip:hover { background: #9257de; }
.compact { justify-self: end; min-height: 38px; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 70px);
  overflow: hidden;
  padding: clamp(70px, 12vw, 150px) clamp(20px, 8vw, 130px);
  border-bottom: 1px solid var(--line);
}
.hero-logo {
  position: absolute;
  top: 50%;
  right: clamp(-80px, 3vw, 50px);
  width: min(68vw, 880px);
  height: min(68vw, 880px);
  object-fit: contain;
  opacity: .9;
  transform: translateY(-50%);
}
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #050505 0%, rgba(5,5,5,.96) 34%, rgba(5,5,5,.5) 64%, rgba(5,5,5,.1) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(68px, 12vw, 154px); line-height: .88; }
h2 { margin-bottom: 14px; font-size: clamp(34px, 5vw, 66px); line-height: 1; }
h3 { margin-bottom: 9px; font-size: 20px; }
p { color: var(--muted); line-height: 1.7; }
.hero-text { max-width: 470px; font-size: clamp(17px, 2vw, 23px); }
.server-address {
  display: grid;
  gap: 3px;
  width: min(100%, 470px);
  margin-top: 28px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(18,18,22,.92);
  color: var(--text);
  text-align: left;
}
.server-address:hover { border-color: var(--purple); }
.server-address span, .server-address small { color: var(--muted); font-size: 12px; }
.server-address strong { font-size: clamp(19px, 4vw, 28px); }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; z-index: 2; color: var(--muted); font-size: 12px; transform: translateX(-50%); }

.status-strip {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(20px, 6vw, 100px);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.status-strip div { display: grid; gap: 4px; }
.status-strip span { color: var(--muted); font-size: 12px; }
.status-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #777; }
.status-dot.online { background: var(--green); }
.status-dot.offline { background: var(--red); }
#refresh-status {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--text);
}

.section { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: clamp(70px, 10vw, 130px) 0; }
.intro { max-width: 900px; margin-left: clamp(20px, 8vw, 130px); }
.intro p:last-child { max-width: 720px; font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding-top: 0; }
.feature-grid article { min-height: 260px; padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.feature-grid span { color: var(--purple); font-weight: 900; }
.join-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); }
.join-band p { max-width: 670px; }

.page-main { width: min(1160px, calc(100% - 40px)); min-height: calc(100vh - 140px); margin: 0 auto; padding: 70px 0 110px; }
.page-main, .landing-main { transition: opacity .24s ease, transform .24s cubic-bezier(.22, 1, .36, 1); }
.page-leave { opacity: 0; transform: translateY(-8px); }
.page-enter { opacity: 0; transform: translateY(10px); }
.page-heading { max-width: 760px; margin-bottom: 42px; }
.page-heading h1 { font-size: clamp(54px, 9vw, 100px); }
.store-main { width: min(1240px, calc(100% - 40px)); padding-top: 92px; }
.store-heading { display: grid; justify-items: center; max-width: 820px; margin: 0 auto 58px; text-align: center; }
.store-heading .hero-badge { margin-bottom: 22px; }
.store-heading .eyebrow { margin-bottom: 13px; }
.store-heading h1 { margin: 0 0 18px; font-size: clamp(66px, 9vw, 112px); line-height: .88; }
.store-heading h1 span {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.store-heading > p:last-child { max-width: 720px; margin-bottom: 0; color: #9b9cab; font-size: 17px; }
.rank-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.rank-card {
  position: relative;
  display: flex;
  min-height: 520px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(152,143,188,.16);
  border-radius: 14px;
  background: rgba(4,5,14,.56);
  flex-direction: column;
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s cubic-bezier(.22, 1, .36, 1), background-color .24s ease;
}
.rank-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(145deg, rgba(129,74,200,.11), transparent 38%);
  opacity: 0;
  transition: opacity .24s ease;
}
.rank-card:hover {
  border-color: rgba(129,74,200,.82);
  background: rgba(11,6,25,.72);
  box-shadow: 0 0 0 1px rgba(129,74,200,.16), 0 0 28px rgba(129,74,200,.44), 0 18px 38px rgba(16,5,35,.42);
  transform: translateY(-5px);
}
.rank-card:hover::before { opacity: 1; }
.rank-card.featured { border-color: rgba(129,74,200,.88); background: rgba(19,11,31,.84); box-shadow: 0 0 28px rgba(129,74,200,.16); }
.rank-topline { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rank-topline .eyebrow { margin: 0; }
.rank-topline > span { color: rgba(184,135,246,.62); font-size: 12px; font-weight: 800; }
.rank-card h2 { position: relative; z-index: 1; margin-top: 24px; font-size: 42px; }
.rank-card .price { position: relative; z-index: 1; display: block; margin: 3px 0 17px; color: #f7f7fa; font-size: 27px; font-weight: 800; }
.rank-card .price small { color: #8c8d9d; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.rank-card ul { position: relative; z-index: 1; min-height: 230px; margin: 0 0 24px; padding-left: 20px; color: var(--muted); line-height: 1.85; }
.rank-card li::marker { color: #b887f6; }
.rank-card button { width: 100%; }
.rank-card .copy-ip { position: relative; z-index: 1; margin-top: auto; border-radius: 9px; }
.rank-card button:disabled { cursor: not-allowed; opacity: .72; }
.crate-section { padding-top: 78px; }
.crate-heading { max-width: 680px; margin-bottom: 28px; }
.crate-heading h2 { margin-bottom: 12px; font-size: clamp(38px, 5vw, 62px); }
.crate-heading h2 span {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.crate-heading > p:last-child { margin-bottom: 0; color: #9b9cab; }
.crate-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.crate-card {
  --crate-accent: #a7a8b2;
  display: flex;
  min-height: 236px;
  padding: 20px;
  border: 1px solid rgba(152,143,188,.16);
  border-radius: 14px;
  background: rgba(4,5,14,.56);
  flex-direction: column;
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s cubic-bezier(.22, 1, .36, 1), background-color .24s ease;
}
.crate-card:hover {
  border-color: var(--crate-accent);
  background: rgba(11,6,25,.72);
  box-shadow: 0 0 0 1px rgba(129,74,200,.14), 0 0 24px rgba(129,74,200,.4), 0 16px 34px rgba(16,5,35,.38);
  transform: translateY(-4px);
}
.crate-card.rare { --crate-accent: #4c97ff; }
.crate-card.legendary { --crate-accent: #b887f6; }
.crate-card.ultra { --crate-accent: #f28a54; }
.crate-topline { display: flex; align-items: center; justify-content: space-between; color: var(--crate-accent); font-size: 12px; font-weight: 800; }
.crate-topline i { width: 9px; height: 9px; border-radius: 50%; background: var(--crate-accent); box-shadow: 0 0 14px var(--crate-accent); }
.crate-card h3 { margin: 26px 0 8px; color: #f7f7fa; font-size: 28px; }
.crate-card p { margin-bottom: 12px; color: #9b9cab; font-size: 14px; }
.crate-price-row { display: flex; min-height: 28px; align-items: start; justify-content: space-between; gap: 10px; }
.crate-price { color: var(--crate-accent); font-size: 23px; }
.crate-original { padding-top: 3px; color: var(--red); font-size: 11px; font-weight: 800; text-decoration: line-through; }
.crate-discount { min-height: 16px; margin-bottom: 10px; color: #8c8d9d; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.crate-discount.active { color: #b887f6; }
.crate-quantity { gap: 6px; margin-top: auto; margin-bottom: 12px; color: #8c8d9d; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.crate-quantity input {
  min-height: 38px;
  border-color: rgba(152,143,188,.18);
  border-radius: 8px;
  background: rgba(2,3,10,.72);
  color: #f7f7fa;
}
.crate-quantity input:focus { border-color: rgba(129,74,200,.9); outline: none; box-shadow: 0 0 18px rgba(129,74,200,.34); }
.crate-card .copy-ip { width: 100%; min-height: 38px; margin-top: auto; border-color: rgba(152,143,188,.2); border-radius: 9px; background: rgba(129,74,200,.66); }
.crate-card button:disabled { cursor: not-allowed; opacity: .72; }
.notice { margin: 22px auto 0; padding: 17px 20px; border: 1px solid rgba(152,143,188,.14); border-radius: 12px; color: #8c8d9d; background: rgba(4,5,14,.5); text-align: center; }

.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); gap: 16px; }
.tool-panel { padding: 24px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }
input, select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #08080a;
  color: var(--text);
}
.result { margin-top: 18px; padding: 18px; border: 1px solid var(--purple); border-radius: 7px; background: #120e18; }
.result strong { display: block; color: #b887f6; font-size: 28px; }
.search-row { display: flex; gap: 10px; max-width: 620px; }
.search-row input { flex: 1; }
.search-row button { padding: 0 18px; border: 1px solid var(--purple); border-radius: 6px; background: var(--purple); color: white; font-weight: 800; }
.placeholder { min-height: 230px; margin-top: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.stats-main { width: min(1040px, calc(100% - 40px)); padding-top: 92px; }
.stats-heading { display: grid; justify-items: center; max-width: 780px; margin: 0 auto 42px; text-align: center; }
.stats-heading .hero-badge { margin-bottom: 22px; }
.stats-heading .eyebrow { margin-bottom: 13px; }
.stats-heading h1 { max-width: 780px; margin: 0 0 18px; font-size: clamp(64px, 9vw, 108px); line-height: 1; }
.stats-heading h1 span {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-heading > p:last-child { max-width: 680px; margin-bottom: 0; color: #9b9cab; font-size: 17px; }
.stats-search-panel {
  padding: 18px;
  border: 1px solid rgba(152,143,188,.16);
  border-radius: 14px;
  background: rgba(4,5,14,.6);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}
.stats-search-panel .search-row { position: relative; max-width: none; gap: 10px; }
.stats-search-panel svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #b887f6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transform: translateY(-50%);
}
.stats-search-panel input { min-height: 52px; padding-left: 44px; border-color: rgba(152,143,188,.18); border-radius: 10px; background: rgba(2,3,10,.72); }
.stats-search-panel input:focus { border-color: rgba(129,74,200,.9); outline: none; box-shadow: 0 0 20px rgba(129,74,200,.34); }
.stats-search-panel button { min-width: 148px; border-radius: 10px; background: linear-gradient(90deg, var(--blue), var(--purple)); }
.stats-search-panel > p { margin: 11px 0 0; color: #7f8090; font-size: 12px; }
.stats-preview {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(152,143,188,.16);
  border-radius: 14px;
  background: rgba(4,5,14,.56);
}
.stats-preview-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #b887f6; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.stats-preview-topline small { color: #7f8090; font-size: 10px; }
.stats-empty { display: grid; justify-items: center; padding: 54px 20px 42px; text-align: center; }
.stats-empty-icon { display: grid; width: 58px; height: 58px; margin-bottom: 18px; place-items: center; border: 1px solid rgba(129,74,200,.44); border-radius: 50%; background: rgba(129,74,200,.1); box-shadow: 0 0 24px rgba(129,74,200,.2); }
.stats-empty-icon svg { width: 25px; height: 25px; fill: none; stroke: #b887f6; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.stats-empty h2 { margin-bottom: 8px; font-size: 30px; }
.stats-empty p { margin-bottom: 0; color: #8c8d9d; }
.stats-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stats-metric-grid article { display: grid; gap: 10px; padding: 18px; border: 1px solid rgba(152,143,188,.14); border-radius: 10px; background: rgba(2,3,10,.52); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.stats-metric-grid article:hover { border-color: rgba(129,74,200,.72); box-shadow: 0 0 20px rgba(129,74,200,.28); transform: translateY(-2px); }
.stats-metric-grid span { color: #8c8d9d; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.stats-metric-grid strong { color: #b887f6; font-size: 24px; }

footer { display: flex; justify-content: space-between; gap: 16px; padding: 24px clamp(20px, 6vw, 100px); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 30; padding: 12px 16px; border: 1px solid var(--purple); border-radius: 7px; background: #15121b; opacity: 0; transform: translateY(10px); transition: .18s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.command-palette { position: fixed; inset: 0; z-index: 50; display: grid; place-items: start center; padding-top: min(18vh, 170px); }
.command-palette[hidden] { display: none; }
.command-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(7px); cursor: default; }
.command-dialog {
  position: relative;
  width: min(620px, calc(100% - 28px));
  overflow: hidden;
  border: 1px solid rgba(129,74,200,.58);
  border-radius: 14px;
  background: rgba(4,5,14,.96);
  box-shadow: 0 0 0 1px rgba(129,74,200,.14), 0 0 38px rgba(129,74,200,.36), 0 30px 80px rgba(0,0,0,.5);
  animation: command-enter .2s cubic-bezier(.22, 1, .36, 1) both;
}
.command-input-wrap { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid rgba(152,143,188,.14); }
.command-input-wrap > span { color: #b887f6; font-size: 20px; }
.command-input-wrap input { min-height: 42px; padding: 0; border: 0; background: transparent; font-size: 17px; outline: 0; }
.command-input-wrap kbd { margin-left: auto; }
.command-results { display: grid; gap: 5px; max-height: 350px; overflow-y: auto; padding: 8px; }
.command-result { display: grid; gap: 3px; padding: 12px; border: 1px solid transparent; border-radius: 9px; }
.command-result:hover, .command-result.selected { border-color: rgba(129,74,200,.56); background: rgba(129,74,200,.16); box-shadow: 0 0 18px rgba(129,74,200,.16); }
.command-result span { color: #f7f7fa; font-size: 14px; font-weight: 800; }
.command-result small, .command-empty { color: #8c8d9d; font-size: 12px; }
.command-empty { margin: 0; padding: 14px; }
.not-found-main { display: grid; min-height: calc(100vh - 120px); place-items: center; padding-top: 46px; text-align: center; }
.not-found-panel { display: grid; justify-items: center; width: min(760px, 100%); }
.not-found-panel .hero-badge { margin-bottom: 18px; }
.not-found-code { margin: 0; color: rgba(184,135,246,.72); font-size: 20px; font-weight: 800; }
.not-found-panel h1 { margin: 8px 0 18px; font-size: clamp(72px, 11vw, 126px); line-height: .92; }
.not-found-panel h1 span {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.not-found-panel > p:last-of-type { max-width: 620px; margin-bottom: 0; color: #9b9cab; font-size: 17px; }
.not-found-actions { display: flex; gap: 12px; margin-top: 34px; }
.search-target { animation: search-target-pulse 1.4s ease-out; }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; gap: 8px; min-height: auto; padding: 10px 14px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; overflow-x: auto; }
  .site-nav a { padding: 8px; font-size: 12px; white-space: nowrap; }
  .compact { padding: 0 10px; font-size: 12px; }
  .hero { min-height: 690px; padding: 74px 20px 90px; }
  .hero-logo { right: -150px; width: 610px; height: 610px; opacity: .65; }
  .hero::after { background: rgba(5,5,5,.53); }
  h1 { font-size: clamp(72px, 24vw, 110px); }
  .status-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px 20px; }
  .feature-grid, .rank-grid, .tool-layout { grid-template-columns: 1fr; }
  .join-band { display: block; }
  .join-band button { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  footer { display: grid; }
}

/* Reference-inspired Comet SMP home */
.landing-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #03040b;
  animation: page-enter .3s ease-out both;
}
.landing-page::before {
  background:
    linear-gradient(110deg, rgba(0, 7, 24, .92), rgba(3, 4, 11, .9) 52%, rgba(20, 7, 36, .72)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.016) 0, rgba(255,255,255,.016) 1px, transparent 1px, transparent 4px);
  opacity: 1;
}
.landing-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(1130px, calc(100% - 28px));
  min-height: 58px;
  margin: 14px auto 0;
  padding: 8px 12px;
  border: 1px solid rgba(152, 143, 188, .18);
  border-radius: 19px;
  background: rgba(4, 5, 14, .86);
  box-shadow: 0 16px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
  animation: header-enter .42s .18s ease-out both;
}
.landing-brand { display: flex; align-items: center; gap: 8px; min-width: max-content; font-size: 14px; }
.landing-brand img { width: 38px; height: 38px; object-fit: contain; }
.landing-brand span { color: #a87cec; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nav-divider { width: 1px; height: 24px; background: rgba(152,143,188,.18); }
.landing-nav { position: relative; display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 38px;
  border: 1px solid rgba(129,74,200,.72);
  border-radius: 19px;
  background: rgba(129,74,200,.22);
  opacity: 0;
  pointer-events: none;
  transition: width .32s cubic-bezier(.22, 1, .36, 1), transform .32s cubic-bezier(.22, 1, .36, 1), opacity .18s ease;
}
.nav-indicator.no-transition { transition: none; }
.landing-nav a, .search-button, .discord-button, .theme-button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 19px;
  color: #9293a3;
  background: transparent;
  font-size: 14px;
}
.landing-nav svg, .discord-cta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.landing-nav a:hover, .search-button:hover { color: #ddd; }
.landing-nav a:hover,
.search-button:hover,
.discord-button:hover,
.theme-button:hover,
.stats-cta:hover,
.discord-cta:hover,
.copy-ip:hover:not(:disabled),
.search-row button:hover {
  border-color: rgba(162, 105, 240, .9);
  box-shadow: 0 0 0 1px rgba(129,74,200,.2), 0 0 22px rgba(129,74,200,.58), 0 10px 24px rgba(24,6,54,.42);
  transform: translateY(-1px);
}
.landing-nav a.active {
  color: #b887f6;
}
.landing-actions { display: flex; align-items: center; gap: 5px; }
.search-button { min-width: 118px; border-color: rgba(152,143,188,.1); background: rgba(255,255,255,.02); }
kbd { padding: 2px 6px; border: 1px solid rgba(152,143,188,.14); border-radius: 7px; color: #8f90a2; background: rgba(255,255,255,.03); font-size: 11px; }
.discord-button { border-color: rgba(152,143,188,.12); background: rgba(255,255,255,.025); color: #e2e2e9; font-weight: 700; }
.discord-button i, .hero-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 14px var(--purple);
  animation: dot-pulse 1.8s ease-in-out infinite;
}
.theme-button { width: 38px; justify-content: center; padding: 0; border-color: rgba(152,143,188,.12); font-size: 18px; }

.landing-main { min-height: calc(100vh - 72px); }
.landing-hero {
  display: grid;
  justify-items: center;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(110px, 13vw, 180px) 0 100px;
  text-align: center;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 8px 14px;
  border: 1px solid rgba(152,143,188,.16);
  border-radius: 18px;
  color: #d4d4dc;
  background: rgba(4,5,14,.56);
  font-size: 11px;
  font-weight: 900;
  animation: stage-enter .42s .66s ease-out both;
}
.landing-hero h1 { display: grid; margin: 0 0 24px; font-size: clamp(76px, 10vw, 110px); line-height: .91; animation: stage-enter .46s .78s ease-out both; }
.landing-hero h1 span {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.landing-hero h1 strong { color: #f5f5f8; font-weight: 600; }
.landing-hero > p { max-width: 620px; margin-bottom: 0; color: #9b9cab; font-size: 17px; animation: stage-enter .42s .9s ease-out both; }
.landing-cta { display: flex; gap: 12px; margin-top: 44px; animation: stage-enter .42s 1.02s ease-out both; }
.stats-cta, .discord-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 26px;
  font-size: 14px;
  font-weight: 800;
}
.stats-cta { background: linear-gradient(90deg, var(--blue), var(--purple)); color: white; box-shadow: 0 12px 30px rgba(77,91,238,.2); }
.discord-cta { border: 1px solid rgba(152,143,188,.15); color: #f4f4f7; background: rgba(4,5,14,.45); }
.shortcut { margin-top: 34px; color: #7f8090 !important; font-size: 12px !important; animation-delay: 1.14s !important; }
.landing-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: min(100%, 770px); margin-top: 82px; }
.landing-stats article {
  position: relative;
  display: grid;
  place-content: center;
  min-height: 96px;
  border: 1px solid rgba(152,143,188,.14);
  border-radius: 14px;
  background: rgba(4,5,14,.52);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s cubic-bezier(.22, 1, .36, 1), background-color .2s ease;
  animation: card-enter .42s ease-out both;
}
.landing-stats article:hover {
  border-color: rgba(129,74,200,.82);
  background: rgba(11,6,25,.7);
  box-shadow: 0 0 0 1px rgba(129,74,200,.16), 0 0 24px rgba(129,74,200,.46), 0 14px 30px rgba(16,5,35,.36);
  transform: translateY(-3px);
}
.landing-stats article:nth-child(1) { animation-delay: 1.28s; }
.landing-stats article:nth-child(2) { animation-delay: 1.38s; }
.landing-stats article:nth-child(3) { animation-delay: 1.48s; }
.landing-stats article:nth-child(4) { animation-delay: 1.58s; }
.landing-stats strong { font-size: 24px; }
.landing-stats article:nth-child(2) strong { max-width: 132px; font-size: 18px; line-height: 1.05; color: #b887f6; text-align: center; }
.landing-stats span { margin-top: 8px; color: #8c8d9d; font-size: 11px; font-weight: 800; }
.landing-stats small { position: absolute; top: 14px; right: 12px; color: #54e59b; font-size: 10px; }
.landing-stats .server-online { color: #b887f6; }
.landing-stats .server-offline { color: var(--red); }
.landing-stats .server-upcoming { color: #b887f6; }
.landing-ticker {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 18;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(152,143,188,.12);
  color: #858697;
  background: rgba(3,4,11,.78);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(14px);
  animation: ticker-enter .42s .52s ease-out both;
}
.site-signature {
  position: fixed;
  right: 18px;
  bottom: 60px;
  z-index: 17;
  margin: 0;
  color: #8c8d9d;
  font-size: 11px;
  font-weight: 800;
  pointer-events: none;
}
.site-signature span { color: #b887f6; }
.ticker-track {
  display: flex;
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  animation: comet-ticker 42s linear infinite;
}
.ticker-group { display: flex; gap: 28px; flex: none; padding-right: 28px; }
.landing-ticker b { color: rgba(152,143,188,.23); }
.landing-ticker span { display: inline-flex; align-items: center; gap: 8px; }
.landing-ticker svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--purple);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
@keyframes comet-ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-33.333333%, 0, 0); }
}
@keyframes page-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes header-enter {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes stage-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes card-enter {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ticker-enter {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dot-pulse {
  0%, 100% { opacity: .72; transform: scale(.82); box-shadow: 0 0 8px rgba(129,74,200,.58); }
  50% { opacity: 1; transform: scale(1.18); box-shadow: 0 0 18px rgba(129,74,200,.95); }
}
@keyframes command-enter {
  from { opacity: 0; transform: translateY(-8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes search-target-pulse {
  0%, 100% { box-shadow: inherit; }
  22% { border-color: rgba(162,105,240,.96); box-shadow: 0 0 0 1px rgba(129,74,200,.22), 0 0 36px rgba(129,74,200,.72); }
}
.page-main > * { animation: stage-enter .42s ease-out both; }
.page-main > *:nth-child(1) { animation-delay: .38s; }
.page-main > *:nth-child(2) { animation-delay: .5s; }
.page-main > *:nth-child(3) { animation-delay: .62s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (pointer: coarse) {
  body::after { display: none; }
}

@media (max-width: 900px) {
  .landing-header { overflow-x: auto; border-radius: 12px; }
  .landing-actions { display: none; }
  .landing-nav { min-width: max-content; }
  .crate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .landing-brand strong { display: none; }
  .landing-hero { padding-top: 100px; }
  .landing-hero h1 { font-size: 78px; }
  .landing-cta { display: grid; width: 100%; }
  .landing-stats { grid-template-columns: repeat(2, 1fr); margin-top: 58px; }
  .store-main { width: min(100% - 24px, 520px); padding-top: 70px; }
  .store-heading { margin-bottom: 38px; }
  .store-heading h1 { font-size: 66px; }
  .store-heading > p:last-child { font-size: 15px; }
  .rank-card { min-height: auto; padding: 22px; }
  .rank-card ul { min-height: auto; }
  .crate-section { padding-top: 56px; }
  .crate-grid { grid-template-columns: 1fr; }
  .crate-card { min-height: 204px; }
  .stats-main { width: min(100% - 24px, 520px); padding-top: 70px; }
  .stats-heading { margin-bottom: 32px; }
  .stats-heading h1 { font-size: 62px; line-height: 1.04; }
  .stats-heading > p:last-child { font-size: 15px; }
  .stats-search-panel .search-row { display: grid; }
  .stats-search-panel button { min-height: 46px; }
  .stats-metric-grid { grid-template-columns: 1fr; }
  .not-found-panel h1 { font-size: 74px; }
  .not-found-actions { display: grid; width: 100%; }
}
