/* ==========================================================
   Veyro.club — styles
   ========================================================== */
:root {
  --bg: #05070f;
  --bg-2: #080c18;
  --surface: #0c1222;
  --surface-2: #111a2e;
  --line: rgba(160, 200, 255, .09);
  --line-2: rgba(160, 200, 255, .16);
  --ice: #5fd8ff;
  --ice-2: #2f8bff;
  --ice-soft: rgba(95, 216, 255, .12);
  --text: #eef4ff;
  --muted: #8f9cb8;
  --dim: #5d6a86;
  --green: #4ade80;
  --gold: #fbbf24;
  --red: #f87171;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.02em; line-height: 1.05; }
p { margin: 0; }
::selection { background: var(--ice); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

.frost-text {
  background: linear-gradient(100deg, #b8f0ff 0%, var(--ice) 35%, var(--ice-2) 70%, #b8f0ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes shimmer { to { background-position: -200% center; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ice);
  font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

.dot {
  position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); flex: none;
}
.dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: ping 1.8s var(--ease) infinite;
}
.is-offline .dot { background: var(--red); }
.is-unknown .dot { background: var(--ice); }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 14px;
  font-weight: 800; font-size: 15px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { height: 40px; padding: 0 18px; border-radius: 11px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--ice), var(--ice-2));
  color: #04101f;
  box-shadow: 0 8px 30px -8px rgba(95, 216, 255, .55), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(95, 216, 255, .7), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost {
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03);

}
.btn-ghost:hover { border-color: rgba(95, 216, 255, .5); background: var(--ice-soft); transform: translateY(-2px); }

/* ---------- Background effects ---------- */
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
main, .site-footer { position: relative; z-index: 2; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 9, 18, .97);
  border-color: var(--line);
}
.header-inner {
  width: min(1280px, 100% - 48px); height: 100%; margin-inline: auto;
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .04em; }
.brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(95,216,255,.35), 0 0 22px rgba(95,216,255,.3); transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-20deg) scale(1.08); }
.site-nav { display: flex; gap: 4px; margin-right: auto; }
.site-nav a {
  position: relative; padding: 8px 14px; border-radius: 10px;
  color: var(--muted); font-size: 14px; font-weight: 700;
  transition: color .25s, background .25s;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--text); background: rgba(255,255,255,.05); }
.site-nav .nav-mobile-only { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-link { color: var(--muted); font-size: 14px; font-weight: 700; transition: color .25s; }
.header-link:hover { color: var(--text); }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-2); position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 40px) 24px 120px;
  overflow: hidden; isolation: isolate;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  transform: scale(1.08);
  will-change: transform;
  animation: heroIn 1.6s var(--ease) both;
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.25); } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(5,7,15,.62), rgba(5,7,15,.85) 75%),
    linear-gradient(180deg, rgba(5,7,15,.5) 0%, rgba(5,7,15,.35) 40%, var(--bg) 100%);
}
.hero-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(500px circle at 8% 30%, rgba(47,139,255,.22), transparent 70%), radial-gradient(460px circle at 94% 45%, rgba(95,216,255,.16), transparent 70%), radial-gradient(420px circle at 50% 110%, rgba(120,90,255,.18), transparent 70%); }

.hero-content { max-width: 1000px; display: flex; flex-direction: column; align-items: center; }
.hero-content > * { animation: rise 1s var(--ease) both; }
.hero-content > :nth-child(1) { animation-delay: .3s; }
.hero-content > :nth-child(3) { animation-delay: .75s; }
.hero-content > :nth-child(4) { animation-delay: .9s; }
.hero-content > :nth-child(5) { animation-delay: 1.05s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.status-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 14px; border-radius: 99px;
  border: 1px solid var(--line-2); background: rgba(8, 12, 24, .85);
  font-size: 13px; font-weight: 700; color: #cfe0f5;
}
.status-chip b { color: var(--text); }

.hero-title { font-size: clamp(40px, 7.2vw, 100px); font-weight: 800; letter-spacing: -.035em; line-height: .98; margin: 28px 0 24px; animation: none !important; }
.hero-title .line { display: block; white-space: nowrap; overflow: hidden; padding: .04em .04em .1em; }
.hero-title .line > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; }
.hero-title .line:nth-child(1) > span { animation-delay: .4s; }
.hero-title .line:nth-child(2) > span { animation-delay: .55s; }
@keyframes lineUp { from { transform: translateY(110%) rotate(3deg); opacity: 0; } }

.hero-lede { max-width: 560px; color: #b6c3dc; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }

.ip-pill {
  position: relative; display: flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 6px 0 18px; border-radius: 14px;
  background: rgba(8, 12, 24, .9);
  border: 1px solid rgba(95, 216, 255, .35);
  box-shadow: 0 0 0 0 rgba(95, 216, 255, .4), 0 10px 40px -10px rgba(95, 216, 255, .4);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.ip-pill:hover { transform: translateY(-2px); border-color: var(--ice); }
.ip-label { font-size: 10px; font-weight: 800; letter-spacing: .18em; color: var(--ice); }
.ip-value { font-family: var(--mono); font-weight: 700; font-size: 15px; }
.ip-value b { color: var(--muted); font-weight: 500; }
.ip-copy {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 10px;
  background: var(--ice); color: #04101f; font-size: 13px; font-weight: 800;
  transition: background .25s;
}
.ip-copy svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.ip-pill.copied .ip-copy { background: var(--green); }

.platforms { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--dim); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.platforms li { position: relative; }
.platforms li + li::before { content: ''; position: absolute; left: -13px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--ice); opacity: .6; }

.scroll-cue { position: absolute; left: 50%; bottom: 34px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line-2); border-radius: 14px; animation: rise 1s var(--ease) 1.4s both; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ice); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Ticker ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; }
.ticker::before, .ticker::after { content: ''; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.ticker-track { will-change: transform; display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .02em; color: #c9d6ee; white-space: nowrap; }
.ticker i { color: var(--ice); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 12vw, 150px) 0; }
.section-alt { background: linear-gradient(180deg, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); }
.section-head { max-width: 720px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head h2, .split-copy h2, .join-copy h2 { font-size: clamp(34px, 5.2vw, 64px); font-weight: 800; margin: 18px 0 18px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 520px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease-out calc(var(--d, 0s) * .5), transform .5s var(--ease) calc(var(--d, 0s) * .5); }
.reveal-left { transform: translateX(-20px); }
.reveal-right { transform: translateX(20px); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Modes ---------- */
.modes-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.mode-card {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 300px; border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--surface);
  display: flex; flex-direction: column; justify-content: flex-end;
  transform-style: preserve-3d;
}
.mode-card::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(95,216,255,.16), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.mode-card:hover::before { opacity: 1; }
.mode-card::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  padding: 1px; background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 50%), rgba(95,216,255,.8), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.mode-card:hover::after { opacity: 1; }
.mode-media { position: absolute; inset: 0; z-index: -1; }
.mode-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mode-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(5,7,15,.6) 55%, rgba(5,7,15,.96)); }
.mode-card:hover .mode-media img { transform: scale(1.07); }
.mode-body { position: relative; padding: 30px; }
.mode-body h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; margin: 14px 0 8px; }
.mode-body p { color: var(--muted); max-width: 380px; }

.mode-skywars { grid-row: span 2; min-height: 640px; background: radial-gradient(ellipse at 50% 38%, #1a3a66, #0b1424 45%, #070b16 75%); }
.mode-skywars .mode-media { inset: 6% 8% 30%; }
.mode-skywars .mode-media img { object-fit: contain; will-change: transform; animation: floaty 6s ease-in-out infinite; }
.mode-skywars:hover .mode-media img { transform: none; }
.mode-skywars .mode-media::after { display: none; }
@keyframes floaty { 50% { transform: translateY(-14px); } }
.mode-treasure { grid-column: span 2; }
.mode-treasure .mode-media img { object-position: 85% 50%; }
.mode-icon { position: absolute; top: 26px; right: 26px; width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center; background: var(--ice-soft); border: 1px solid rgba(95,216,255,.25); transition: transform .6s var(--ease); }
.mode-icon svg { width: 38px; height: 38px; fill: none; stroke: var(--ice); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mode-card:hover .mode-icon { transform: rotate(-8deg) scale(1.08); }
.mode-sg { background: linear-gradient(145deg, #121a2e, #0a0f1d); }
.mode-sg .mode-icon { background: rgba(251,191,36,.08); border-color: rgba(251,191,36,.25); }
.mode-sg .mode-icon svg { stroke: var(--gold); }
.mode-bots { background: linear-gradient(145deg, #0f2036, #0a0f1d); }

.tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border: 1px solid; }
.tag i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.tag-live { color: var(--green); border-color: rgba(74,222,128,.35); background: rgba(74,222,128,.08); }
.tag-dev { color: var(--ice); border-color: rgba(95,216,255,.35); background: rgba(95,216,255,.08); }
.tag-soon { color: var(--gold); border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.08); }

/* ---------- Showcase ---------- */
.showcase { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: stretch; }
.showcase-tabs { display: flex; flex-direction: column; gap: 10px; }
.showcase-tab {
  position: relative; overflow: hidden; flex: 1;
  display: flex; align-items: center; gap: 18px; text-align: left;
  padding: 22px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  transition: background .35s, border-color .35s, transform .35s var(--ease);
}
.showcase-tab:hover { background: rgba(255,255,255,.04); transform: translateX(4px); }
.showcase-tab b { font-family: var(--display); font-size: 13px; color: var(--dim); transition: color .3s; }
.showcase-tab strong { display: block; font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--muted); transition: color .3s; }
.showcase-tab small { color: var(--dim); font-size: 13px; }
.showcase-tab.is-active { border-color: rgba(95,216,255,.35); background: linear-gradient(135deg, rgba(95,216,255,.1), rgba(47,139,255,.04)); }
.showcase-tab.is-active b { color: var(--ice); }
.showcase-tab.is-active strong { color: var(--text); }
.tab-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--ice), var(--ice-2)); transform: scaleX(0); transform-origin: left; }
.showcase-tab.is-active .tab-progress { animation: progress var(--showcase-ms, 6000ms) linear forwards; }
.showcase.is-paused .tab-progress { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.showcase-stage { position: relative; aspect-ratio: 16 / 8.2; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 20px 40px -24px rgba(47,139,255,.45); }
.showcase-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 6s linear; }
.showcase-stage img.is-active { opacity: 1; transform: scale(1); }
.stage-frame { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 -80px 120px -60px rgba(5,7,15,.8); pointer-events: none; }

/* ---------- Cosmetics split ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split-media { position: relative; }
.pet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pet {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 12px 18px; border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%), var(--surface);
  transition: transform .5s var(--ease), border-color .3s;
}
.pet:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 70%, transparent); }
.pet-type { align-self: flex-start; padding: 3px 9px; border-radius: 99px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.pet-stage { position: relative; width: 100%; height: 130px; display: grid; place-items: end center; margin: 4px 0 12px; }
.pet-stage img { position: relative; z-index: 1; max-width: 78%; max-height: 112px; object-fit: contain; will-change: transform; }
.pet-shadow { position: absolute; bottom: -4px; left: 50%; width: 56%; height: 12px; margin-left: -28%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); will-change: transform, opacity; }
.pet strong { font-family: var(--display); font-size: 15px; font-weight: 700; }
.pet-fly img { animation: petFly 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
.pet-fly .pet-shadow { animation: petFlyShadow 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
.pet-walk img { animation: petHop 2.4s var(--ease) infinite; animation-delay: calc(var(--i) * -.4s); transform-origin: 50% 100%; }
.pet-walk .pet-shadow { animation: petHopShadow 2.4s var(--ease) infinite; animation-delay: calc(var(--i) * -.4s); }
.pet:hover img { animation-duration: 1.4s; }
.pet:hover .pet-shadow { animation-duration: 1.4s; }
@keyframes petFly { 0%, 100% { transform: translateY(-14px) rotate(-2deg); } 50% { transform: translateY(-26px) rotate(2deg); } }
@keyframes petFlyShadow { 0%, 100% { transform: scale(.8); opacity: .6; } 50% { transform: scale(.6); opacity: .35; } }
@keyframes petHop { 0%, 60%, 100% { transform: translateY(0) scale(1, 1); } 20% { transform: translateY(-14px) scale(.96, 1.04); } 40% { transform: translateY(0) scale(1.05, .95); } }
@keyframes petHopShadow { 0%, 60%, 100% { transform: scale(1); opacity: 1; } 20% { transform: scale(.75); opacity: .5; } }
.pet-note { margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.pet-note b { color: var(--text); }
.pet-note code { font-family: var(--mono); color: var(--ice); background: var(--ice-soft); padding: 2px 7px; border-radius: 6px; font-size: 13px; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.split-copy .section-sub { margin-bottom: 30px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .3s, background .3s, transform .4s var(--ease); }
.feature-list li:hover { border-color: rgba(95,216,255,.3); background: var(--ice-soft); transform: translateX(6px); }
.feat-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ice-soft); color: var(--ice); font-size: 18px; }
.feature-list strong { display: block; font-size: 16px; }
.feature-list small { color: var(--muted); font-size: 14px; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 46px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--display); font-size: clamp(34px, 4.5vw, 56px); font-weight: 800; line-height: 1; background: linear-gradient(180deg, #fff, #8fb8e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Community bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-card {
  position: relative; overflow: hidden;
  padding: 30px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--surface));
  transition: border-color .35s, transform .5s var(--ease);
}
.bento-card:hover { border-color: rgba(95,216,255,.3); transform: translateY(-4px); }
.bento-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.bento-card p { color: var(--muted); }
.bento-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--ice-soft); color: var(--ice); font-size: 22px; margin-bottom: 40px; transition: transform .6s var(--ease); }
.bento-card:hover .bento-icon { transform: rotate(-12deg) scale(1.1); }
.bento-friends { grid-row: span 2; display: flex; flex-direction: column; gap: 10px; }
.bento-friends h3 { margin-top: auto; padding-top: 28px; font-size: 28px; }
.bento-top { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.friend { display: flex; align-items: center; gap: 13px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); animation: friendIn .8s var(--ease) both; }
.friend div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.friend b { font-size: 15px; }
.friend small { color: var(--muted); font-size: 13px; }
.friend i { font-style: normal; font-size: 11px; font-weight: 800; color: var(--green); letter-spacing: .08em; text-transform: uppercase; }
.friend-ghost { border-style: dashed; opacity: .6; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; font-family: var(--display); font-weight: 800; background: linear-gradient(135deg, var(--ice), var(--ice-2)); color: #04101f; }
.avatar-b { background: linear-gradient(135deg, #86efac, #22c55e); }
.avatar-c { background: rgba(255,255,255,.06); color: var(--muted); }
.bento-discord, .bento-apply { display: flex; align-items: center; gap: 20px; }
.bento-discord { grid-column: span 1; background: linear-gradient(135deg, #2a2f7a, #171a45); border-color: rgba(120,130,255,.3); }
.bento-discord svg { width: 46px; height: 46px; fill: #c7cbff; flex: none; }
.bento-discord p { color: #b5b9ec; }
.bento-discord h3, .bento-apply h3 { margin-bottom: 4px; }
.bento-apply { grid-column: span 1; }
.bento-apply .eyebrow { font-size: 10px; margin-bottom: 8px; }
.bento-apply .eyebrow::before { display: none; }
.bento-card .arrow { margin-left: auto; font-size: 24px; color: var(--ice); transition: transform .4s var(--ease); }
.bento-discord .arrow { color: #c7cbff; }
.bento-card:hover .arrow { transform: translate(4px, -2px); }

/* ---------- Join ---------- */
.join { padding-top: 40px; }
.join-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center;
  padding: clamp(32px, 6vw, 70px);
  border-radius: 28px; border: 1px solid rgba(95,216,255,.25);
  background: linear-gradient(135deg, #0d1a33, #070b17 60%);
}
.join-glow { position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(95,216,255,.22), transparent 60%); }
.join-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; opacity: .5; }
.steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 14px; }
.steps li { display: flex; align-items: center; gap: 14px; color: #c1cde3; }
.steps b { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ice-soft); border: 1px solid rgba(95,216,255,.3); color: var(--ice); font-family: var(--display); font-size: 13px; }
.steps strong { color: var(--text); }
.server-panel { display: grid; gap: 14px; padding: 26px; border-radius: 22px; background: rgba(5,7,15,.85); border: 1px solid var(--line-2); box-shadow: 0 16px 32px -20px rgba(0,0,0,.8); }
.server-top { display: flex; justify-content: space-between; align-items: center; }
.server-status { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; color: #cfe0f5; }
.field > span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 7px; }
.field button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); transition: border-color .3s, background .3s; }
.field button:hover { border-color: rgba(95,216,255,.5); background: var(--ice-soft); }
.field code { font-family: var(--mono); font-size: 17px; font-weight: 700; }
.field em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--ice); }
.field button.copied em { color: var(--green); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 50px 0 40px; margin-top: 60px; }
.account-page .site-footer { margin-top: 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 24px; color: var(--muted); font-size: 14px; font-weight: 700; }
.footer-links a:hover { color: var(--text); }
.site-footer small { width: 100%; color: var(--dim); font-size: 13px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 100; left: 50%; bottom: 28px;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 14px;
  background: rgba(12,18,34,.92); border: 1px solid rgba(74,222,128,.4);
  font-weight: 700; font-size: 14px;
  transform: translate(-50%, 30px) scale(.95); opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease), opacity .3s;
}
.toast span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #052e16; font-size: 12px; }
.toast.show { transform: translate(-50%, 0) scale(1); opacity: 1; }

/* ==========================================================
   Account pages (login / apply)
   ========================================================== */
.account-page { min-height: 100vh; display: flex; flex-direction: column; }
.account-page main { flex: 1; }
.account-page .site-header { background: rgba(6, 9, 18, .97); border-color: var(--line); }
.page-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(520px circle at 0% 25%, rgba(47,139,255,.16), transparent 70%), radial-gradient(500px circle at 100% 90%, rgba(95,216,255,.1), transparent 70%); }
.account-main { padding: calc(var(--header-h) + 70px) 0 80px; }
.account-layout { display: grid; grid-template-columns: 1fr 460px; gap: clamp(40px, 8vw, 110px); align-items: center; }
.account-intro h1, .application-heading h1 { font-size: clamp(42px, 6.5vw, 84px); font-weight: 800; margin: 22px 0; }
.account-intro h1 em, .application-heading h1 em { font-style: normal; }
.account-intro > p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 460px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); font-size: 13px; font-weight: 700; color: #c1cde3; }
.trust-row span::before { content: '✓'; color: var(--green); font-weight: 800; }

.auth-card, .application-card, .aside-block {
  position: relative; border-radius: 24px; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(17,26,46,.9), rgba(10,15,29,.92));
 box-shadow: 0 20px 40px -24px rgba(0,0,0,.9);
}
.auth-card { padding: 38px; }
.auth-card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(95,216,255,.6), transparent 40%, transparent 60%, rgba(47,139,255,.4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.auth-logo { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(95,216,255,.4), 0 0 30px rgba(95,216,255,.35); animation: bob 5s ease-in-out infinite; }
.auth-card h2 { font-size: 30px; font-weight: 800; margin: 24px 0 6px; }
.auth-subtitle { color: var(--muted); margin-bottom: 26px; }
.microsoft-button { display: flex; align-items: center; gap: 14px; height: 54px; padding: 0 18px; border-radius: 14px; background: #fff; color: #111827; font-weight: 800; transition: transform .3s var(--ease), box-shadow .3s; }
.microsoft-button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255,255,255,.35); }
.microsoft-button b { margin-left: auto; color: #0369a1; font-size: 18px; transition: transform .3s var(--ease); }
.microsoft-button:hover b { transform: translateX(4px); }
.microsoft-button.is-signed-in { background: var(--green); pointer-events: none; }
.ms-symbol { width: 18px; height: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ms-symbol i:nth-child(1) { background: #f25022; }
.ms-symbol i:nth-child(2) { background: #7fba00; }
.ms-symbol i:nth-child(3) { background: #00a4ef; }
.ms-symbol i:nth-child(4) { background: #ffb900; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 11px; font-weight: 800; letter-spacing: .16em; margin: 28px 0 18px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.auth-note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.auth-note > span { color: var(--ice); font-size: 18px; }
.auth-note p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.auth-foot { color: var(--muted); font-size: 14px; margin-top: 22px; }
.auth-foot a, .account-bottom a, .text-link { color: var(--ice); font-weight: 700; }
.auth-config { color: var(--dim); font-size: 12px; margin-top: 12px; }

.account-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .1em; }

.application-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; }
.application-heading > div:first-child > p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 540px; }
.application-status { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; border: 1px solid rgba(74,222,128,.3); background: rgba(74,222,128,.06); color: var(--green); font-size: 13px; font-weight: 800; white-space: nowrap; }
.application-status small { color: var(--muted); font-weight: 600; }
.application-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .75fr); gap: 24px; align-items: start; }
.application-card { padding: 34px; }
.form-top { display: flex; justify-content: space-between; color: var(--ice); font-size: 12px; font-weight: 800; letter-spacing: .16em; padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.form-top b { color: var(--dim); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; color: #c1cde3; font-size: 13px; font-weight: 700; }
.form-grid .full-field { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; padding: 14px 15px; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(5,7,15,.85); color: var(--text);
  font: 500 15px var(--body); outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-grid input:hover, .form-grid select:hover, .form-grid textarea:hover { border-color: rgba(95,216,255,.3); }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--ice); background: rgba(5,7,15,.85); box-shadow: 0 0 0 4px rgba(95,216,255,.12); }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: var(--dim); }
.form-grid select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235fd8ff' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.form-grid select option { background: var(--surface); }
.form-grid textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.consent { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 14px; margin: 26px 0; cursor: pointer; }
.consent input { width: 18px; height: 18px; accent-color: var(--ice); margin-top: 2px; flex: none; }
.submit-application:disabled { opacity: .6; cursor: wait; }
.form-message { min-height: 20px; font-size: 14px; margin-top: 16px; color: var(--muted); }
.form-message.is-success { color: var(--green); }
.form-message.is-error { color: var(--red); }
.form-message.is-loading { color: var(--ice); }
.application-aside { display: flex; flex-direction: column; gap: 20px; }
.aside-block { padding: 28px; }
.look-row { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.look-row:first-of-type { margin-top: 18px; }
.look-row > b { font-family: var(--display); font-size: 12px; color: var(--ice); padding-top: 2px; }
.look-row span { display: flex; flex-direction: column; }
.look-row small { color: var(--muted); font-size: 14px; }
.aside-login h3 { font-size: 22px; margin: 16px 0 8px; }
.aside-login p:not(.eyebrow) { color: var(--muted); font-size: 14px; margin-bottom: 14px; }

/* Pause looping animations in sections that are off screen (toggled by app.js) */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* ---------- Accounts, applications, staff ---------- */
[hidden] { display: none !important; }
.site-nav .nav-staff { color: var(--gold); }
.site-nav .nav-staff:hover { color: #fde68a; background: rgba(251,191,36,.08); }

.auth-alert { margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(248,113,113,.35); background: rgba(248,113,113,.08); color: #fecaca; font-size: 14px; }
.profile-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.profile-row > div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.profile-row small { color: var(--muted); font-size: 12px; font-weight: 700; }
.profile-row strong { font-family: var(--display); font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-avatar { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, var(--ice), var(--ice-2)); color: #04101f; font-family: var(--display); font-weight: 800; font-size: 18px; }
.profile-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgba(16,124,16,.18); border: 1px solid rgba(74,222,128,.35); color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.profile-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.auth-actions form { margin: 0; }
.auth-actions .btn { height: 46px; }

.app-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.app-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.app-list li div { display: flex; flex-direction: column; line-height: 1.3; }
.app-list small { color: var(--muted); font-size: 12px; }
.app-list .app-empty { justify-content: center; color: var(--dim); font-size: 14px; border-style: dashed; }
.status-pill { flex: none; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border: 1px solid; }
.status-received { color: var(--ice); border-color: rgba(95,216,255,.35); background: rgba(95,216,255,.08); }
.status-reviewing { color: var(--gold); border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.08); }
.status-accepted { color: var(--green); border-color: rgba(74,222,128,.35); background: rgba(74,222,128,.08); }
.status-denied { color: var(--red); border-color: rgba(248,113,113,.35); background: rgba(248,113,113,.08); }

.apply-gate h2 { font-size: 28px; font-weight: 800; margin: 22px 0 8px; }
.apply-gate .microsoft-button { max-width: 420px; }
.form-user { color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 600; font-size: 13px; }
.form-user b { color: var(--text); }
.role-picker { border: 0; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-picker legend { padding: 0; margin-bottom: 10px; color: #c1cde3; font-size: 13px; font-weight: 700; }
.role-option { position: relative; cursor: pointer; }
.role-option input { position: absolute; opacity: 0; pointer-events: none; }
.role-card { height: 100%; display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(5,7,15,.5); transition: border-color .25s, background .25s, transform .35s var(--ease); }
.role-card strong { font-family: var(--display); font-size: 17px; }
.role-card small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.role-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 8px; border-radius: 11px; background: var(--ice-soft); color: var(--ice); font-size: 15px; }
.role-option:hover .role-card { border-color: rgba(95,216,255,.35); transform: translateY(-2px); }
.role-option input:checked + .role-card { border-color: var(--ice); background: linear-gradient(135deg, rgba(95,216,255,.12), rgba(47,139,255,.05)); box-shadow: 0 0 0 3px rgba(95,216,255,.12); }
.role-option input:focus-visible + .role-card { outline: 2px solid var(--ice); outline-offset: 3px; }

.staff-counts { display: flex; gap: 10px; }
.staff-counts div { min-width: 92px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); text-align: center; }
.staff-counts strong { display: block; font-family: var(--display); font-size: 26px; line-height: 1.1; }
.staff-counts span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.staff-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.seg { display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); }
.seg button { padding: 7px 12px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 700; transition: background .2s, color .2s; }
.seg button:hover { color: var(--text); }
.seg button.is-active { background: var(--ice-soft); color: var(--ice); }
.staff-search { flex: 1; min-width: 200px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: 500 14px var(--body); outline: none; }
.staff-search:focus { border-color: var(--ice); }
.staff-list { display: grid; gap: 10px; }
.staff-empty { padding: 50px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 18px; }
.staff-app { border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(160deg, var(--surface-2), var(--surface)); overflow: hidden; }
.staff-app[open] { border-color: rgba(95,216,255,.35); }
.staff-app summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; }
.staff-app summary::-webkit-details-marker { display: none; }
.staff-app summary:hover { background: rgba(255,255,255,.02); }
.staff-app .profile-avatar { width: 40px; height: 40px; font-size: 15px; border-radius: 11px; }
.staff-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.staff-who strong { font-size: 16px; }
.staff-who small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.role-chip { padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; background: rgba(255,255,255,.05); color: #c1cde3; }
.role-creator { background: rgba(167,139,250,.12); color: #c4b5fd; }
.staff-body { padding: 4px 18px 20px 72px; }
.staff-body h4 { margin: 18px 0 6px; color: var(--ice); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.staff-body p { color: #c1cde3; white-space: pre-wrap; overflow-wrap: anywhere; }
.staff-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.staff-facts div { padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.staff-facts .wide { flex-basis: 100%; }
.staff-facts dt { color: var(--dim); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.staff-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.staff-facts a { color: var(--ice); }
.staff-facts code { font-family: var(--mono); font-size: 13px; }
.staff-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.status-btn { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 800; transition: background .2s, border-color .2s, color .2s; }
.status-btn:disabled { opacity: .35; cursor: default; }
.status-btn-accepted:not(:disabled):hover { background: rgba(74,222,128,.12); border-color: rgba(74,222,128,.5); color: var(--green); }
.status-btn-denied:not(:disabled):hover { background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.5); color: var(--red); }
.status-btn-reviewing:not(:disabled):hover { background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.5); color: var(--gold); }
.status-btn-received:not(:disabled):hover { background: var(--ice-soft); border-color: rgba(95,216,255,.5); color: var(--ice); }
@media (max-width: 760px) {
  .role-picker { grid-template-columns: 1fr; }
  .staff-body { padding-left: 18px; }
  .staff-app summary { flex-wrap: wrap; }
  .staff-who { flex-basis: calc(100% - 60px); }
  .staff-counts { width: 100%; }
  .staff-counts div { min-width: 0; flex: 1; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1000px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 2px;
    padding: 14px 24px 24px; margin: 0;
    background: rgba(5,7,15,.97); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .3s, transform .4s var(--ease);
  }
  .site-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { padding: 14px 12px; font-size: 16px; }
  .site-nav .nav-mobile-only { display: block; }
  .header-actions { margin-left: auto; }
  .header-link { display: none; }
  .menu-toggle { display: block; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-tabs { flex-direction: row; order: 2; }
  .showcase-tab { padding: 16px; gap: 12px; }
  .showcase-tab small { display: none; }
  .showcase-tab strong { font-size: 15px; }
  .split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-friends { grid-row: auto; grid-column: 1 / -1; }
  .join-card { grid-template-columns: 1fr; }
  .account-layout, .application-layout { grid-template-columns: 1fr; }
  .application-heading { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .modes-grid { grid-template-columns: 1fr; }
  .mode-card { min-height: 260px; }
  .mode-skywars { grid-row: auto; min-height: 460px; }
  .mode-treasure { grid-column: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .showcase-tab b { display: none; }
}

@media (max-width: 560px) {
  .container, .header-inner { width: calc(100% - 32px); }
  .header-actions .btn { display: none; }
  .hero { padding-inline: 16px; }
  .ip-pill { width: 100%; padding-left: 14px; gap: 10px; }
  .ip-label { display: none; }
  .ip-value { font-size: 14px; }
  .ip-copy { margin-left: auto; }
  .hero-cta .btn { width: 100%; }
  .showcase-tabs { gap: 6px; }
  .showcase-tab { padding: 12px 10px; justify-content: center; text-align: center; }
  .showcase-tab strong { font-size: 13px; }
  .showcase-stage { aspect-ratio: 4 / 3; }
  .pet-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pet-stage { height: 110px; }
  .mode-body, .bento-card { padding: 24px; }
  .server-panel { padding: 18px; }
  .field code { font-size: 15px; }
  .auth-card, .application-card, .aside-block { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .account-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .snow { display: none; }
}
.aside-block .app-list { margin-top: 16px; }
