/* NOVA Netzwerk – Website (Stil: kräftiges Blau, dunkles Navy, Gold aus dem Logo, echte Minecraft-Renders) */

@font-face { font-family: "Baloo 2"; src: url("assets/fonts/baloo-2-latin-wght-normal.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; src: url("assets/fonts/baloo-2-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; src: url("assets/fonts/nunito-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; src: url("assets/fonts/nunito-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Monocraft"; src: url("assets/fonts/monocraft.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Monocraft"; src: url("assets/fonts/monocraft-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blue: #3367e0;
  --blue-2: #2b57c9;
  --blue-3: #4a82ff;
  --navy: #111a30;
  --navy-2: #172241;
  --navy-3: #1f2c52;
  --dark: #0b1020;
  --black: #0a0a0d;
  --line: #24315a;
  --text: #ffffff;
  --muted: #a9b5d8;
  --dim: #6c78a0;
  --yellow: #ffc31f;
  --yellow-2: #d99700;
  --green: #3ddc6f;
  --wrap: 1200px;
  --head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --pixel: "Monocraft", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--dark); color: var(--text);
  font: 500 16px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.px { image-rendering: pixelated; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ---------------------------------------------------------------- Buttons (dick, mit Unterkante wie Laby/Mineplex) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 10px; border: 2px solid transparent;
  font: 800 16px/1 "Nunito", sans-serif; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn:active { transform: translateY(2px); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-white { background: #f1f4ff; color: #1b2a63; border-color: #0d1530; box-shadow: 0 5px 0 #0d1530; }
.btn-white:hover { box-shadow: 0 7px 0 #0d1530; }
.btn-white:active { box-shadow: 0 2px 0 #0d1530; }
.btn-dark { background: #141c33; color: #fff; border-color: #070b17; box-shadow: 0 5px 0 #070b17; }
.btn-dark:hover { box-shadow: 0 7px 0 #070b17; }
.btn-dark:active { box-shadow: 0 2px 0 #070b17; }
.btn-yellow { background: var(--yellow); color: #2a1a00; border-color: #4b3100; box-shadow: 0 4px 0 #4b3100; }
.btn-yellow:hover { box-shadow: 0 6px 0 #4b3100; }
.btn-yellow:active { box-shadow: 0 1px 0 #4b3100; }
.btn:focus-visible, .links a:focus-visible, .seg button:focus-visible, .live-card:focus-visible, .chip-copy:focus-visible, .mc-button:focus-visible {
  outline: 3px solid #fff; outline-offset: 3px;
}

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--dim); flex: none; }
.dot.on { background: var(--green); box-shadow: 0 0 0 3px rgba(61, 220, 111, .22); }
.dot.off { background: #ff4d5e; }

/* ---------------------------------------------------------------- Navigation (schwebende Leiste) */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; pointer-events: none; }
.nav {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: 24px; max-width: 1240px; height: 66px; margin: 0 auto; padding: 0 12px 0 16px;
  background: rgba(13, 19, 37, .94); border: 2px solid #050812; border-radius: 14px;
  box-shadow: 0 5px 0 #050812, 0 18px 40px -16px rgba(0, 0, 0, .6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 42px; height: 42px; }
.brand span { font: 800 25px/1 var(--head); letter-spacing: .02em; padding-top: 4px; }
.links { display: flex; gap: 2px; margin: 0 auto; }
.links a { position: relative; padding: 10px 14px; border-radius: 9px; font-weight: 800; font-size: 15px; color: #c9d3f2; transition: color .15s ease, background .15s ease; }
.links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.links a.active { color: #fff; }
.links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--yellow); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.count-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 13px; border-radius: 10px;
  background: #0a0f1e; border: 2px solid #232f55; font-weight: 900; font-size: 15px;
}
.btn-nav { height: 42px; padding: 0 16px; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; }
.burger { display: none; width: 44px; height: 44px; padding: 0; border-radius: 10px; border: 2px solid #232f55; background: #0a0f1e; }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.nav-wrap.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-wrap.open .burger span:nth-child(2) { opacity: 0; }
.nav-wrap.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- Hero (kräftiges Blau mit Lichtbahnen) */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 860px; padding: 150px 16px 120px;
  background:
    linear-gradient(118deg, transparent 0 38%, rgba(255, 255, 255, .07) 38% 58%, transparent 58%),
    linear-gradient(118deg, transparent 0 70%, rgba(0, 0, 0, .08) 70% 86%, transparent 86%),
    linear-gradient(180deg, #3a72ec 0%, var(--blue) 55%, #2c5ad2 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; text-align: center; }
.pixel-tag {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px 7px 10px; border-radius: 10px;
  background: rgba(10, 20, 60, .28); font: 400 14px/1 var(--pixel); letter-spacing: .04em; color: #e3ebff;
}
.pixel-tag img { width: 22px; height: 22px; }
h1 {
  margin: 0; font: 800 clamp(44px, 7vw, 82px)/1 var(--head); letter-spacing: -.01em; text-wrap: balance;
  text-shadow: 0 5px 0 rgba(16, 32, 110, .45);
}
h1 span { color: var(--yellow); }
.hero-sub { max-width: 640px; margin: 22px auto 0; font-size: 20px; font-weight: 700; color: #e8eeff; text-wrap: pretty; }
.hero-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.checks { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; margin: 26px 0 0; padding: 0; list-style: none; font-weight: 700; color: #dfe7ff; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath fill='%2346e07a' d='M6 1h2v2H7v1H6v1H5v1H4v1H2V6H1V5H0V3h2v1h1v1h1V4h1V3h1z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.live-card {
  display: flex; align-items: center; gap: 16px; width: min(560px, 100%); margin: 40px auto 0; padding: 14px 18px 14px 14px;
  text-align: left; border-radius: 14px; border: 2px solid #050812; background: #0d1325; box-shadow: 0 5px 0 #050812;
  transition: transform .12s ease, box-shadow .12s ease;
}
.live-card:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #050812; }
.live-card:active { transform: translateY(2px); box-shadow: 0 2px 0 #050812; }
.live-card > img { width: 56px; height: 56px; flex: none; }
.live-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.live-label { display: flex; align-items: center; gap: 8px; font: 400 12px/1.4 var(--pixel); letter-spacing: .05em; text-transform: uppercase; color: #9fb0e6; }
.live-text b { font-size: 18px; font-weight: 900; }
.live-text small { font-size: 13px; color: var(--muted); font-weight: 600; }
.live-copy { width: 20px; height: 20px; fill: #6f7fb3; flex: none; }
.hero-char { position: absolute; z-index: 1; bottom: 70px; height: auto; filter: drop-shadow(0 26px 24px rgba(10, 25, 90, .45)); pointer-events: none; }
.hero-char-l { left: max(-30px, calc(50% - 840px)); width: 300px; animation: bob 6s ease-in-out infinite; }
.hero-char-r { right: max(-30px, calc(50% - 840px)); width: 340px; animation: bob 6s ease-in-out -3s infinite; }
@keyframes bob { 50% { transform: translateY(-14px); } }

/* ---------------------------------------------------------------- Abschnitte */
.section { padding: 110px 0; }
.section-navy { background: var(--navy); }
.section-dark { background: var(--dark); }
#modi { margin-top: -56px; padding-top: 150px; }
.head { max-width: 680px; margin-bottom: 48px; }
.head-center { margin-inline: auto; text-align: center; }
.pixel-label { margin: 0 0 10px; font: 700 14px/1 var(--pixel); letter-spacing: .1em; color: var(--yellow); }
h2 { margin: 0; font: 800 clamp(34px, 4.6vw, 52px)/1.05 var(--head); text-wrap: balance; text-shadow: 0 4px 0 rgba(0, 0, 0, .3); }
h2 span { color: var(--blue-3); }
.head p:not(.pixel-label) { margin: 16px 0 0; font-size: 18px; color: var(--muted); }
h3 { margin: 0; font-family: var(--head); font-weight: 800; }

/* ---------------------------------------------------------------- Spielmodi-Karten (Bild oben, Text unten) */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mode {
  --c: #3367e0; --c2: #5aa7ff;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 16px; background: var(--navy-2); border: 2px solid #070b17; box-shadow: 0 6px 0 #070b17;
  transition: transform .18s ease, box-shadow .18s ease;
}
.mode:hover { transform: translateY(-5px); box-shadow: 0 11px 0 #070b17; }
.mode-banner {
  position: relative; height: 250px; overflow: hidden;
  background:
    radial-gradient(60% 75% at 50% 62%, rgba(255, 255, 255, .28), transparent 70%),
    linear-gradient(118deg, transparent 0 34%, rgba(255, 255, 255, .1) 34% 52%, transparent 52%),
    linear-gradient(160deg, var(--c2), var(--c) 70%);
}
.mode-banner::after { content: ""; position: absolute; inset: auto 0 0; height: 40px; background: linear-gradient(transparent, rgba(0, 0, 0, .18)); }
.mode-banner img {
  position: absolute; left: 50%; bottom: 8px; z-index: 1; width: auto; height: calc(100% - 56px); max-width: 88%; object-fit: contain;
  transform: translateX(-50%); filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .35));
  transition: transform .25s ease;
}
.mode:hover .mode-banner img { transform: translateX(-50%) translateY(-6px) scale(1.04); }
.mode-live {
  position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 99px; background: rgba(6, 10, 25, .55); backdrop-filter: blur(4px);
  font-size: 13px; font-weight: 800; color: #dfe6ff;
}
.mode-live b { color: #fff; }
.mode-body { padding: 18px 22px 24px; }
.mode-tag { margin: 0 0 4px; font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 65%, #fff); }
.mode h3 { font-size: 28px; line-height: 1.1; }
.mode-body p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }

/* ---------------------------------------------------------------- Features (Text + Bild im Wechsel) */
.row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.row + .row { margin-top: 130px; }
.row-reverse .row-text { order: 2; }
.row-text > p:not(.pixel-label) { margin: 20px 0 0; font-size: 18px; color: var(--muted); max-width: 520px; }
.numbers { display: flex; gap: 0; margin-top: 34px; }
.numbers div { padding: 0 26px; border-left: 2px solid var(--line); }
.numbers div:first-child { padding-left: 0; border-left: 0; }
.numbers b { display: block; font: 700 34px/1.1 var(--pixel); color: #fff; }
.numbers span { font-size: 14px; color: var(--dim); font-weight: 700; }
.feature-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.feature-list li {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px;
  background: var(--navy-2); border: 2px solid #070b17; box-shadow: 0 4px 0 #070b17; font-size: 16px; color: #dbe3fb;
}
.feature-list img { width: 32px; height: 32px; flex: none; }
.feature-list b { color: #fff; }
.tilt { perspective: 1400px; }
.tilt img {
  width: 100%; max-width: 620px; margin-left: auto; image-rendering: pixelated;
  border-radius: 10px; border: 3px solid #050812;
  transform: rotateY(-14deg) rotateX(5deg) rotateZ(1deg);
  box-shadow: 18px 26px 0 -4px rgba(0, 0, 0, .35), 0 40px 60px -20px rgba(0, 0, 0, .7);
}
.art-panel {
  position: relative; height: 470px; border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(55% 60% at 50% 55%, rgba(255, 255, 255, .3), transparent 70%),
    linear-gradient(118deg, transparent 0 40%, rgba(255, 255, 255, .1) 40% 60%, transparent 60%),
    linear-gradient(160deg, var(--c2), var(--c) 75%);
  border: 2px solid #070b17; box-shadow: 0 6px 0 #070b17;
}
.art-panel img { position: absolute; left: 50%; bottom: 0; height: 420px; width: auto; transform: translateX(-50%); filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .35)); }

/* ---------------------------------------------------------------- Bestenliste */
.board {
  max-width: 900px; margin: 0 auto; padding: 28px 28px 22px; border-radius: 20px;
  background: var(--navy-2); border: 2px solid #070b17; box-shadow: 0 6px 0 #070b17;
}
.seg { display: flex; justify-content: center; gap: 10px; }
.seg button {
  height: 44px; padding: 0 22px; border-radius: 10px; border: 2px solid #070b17; background: #0d1427; color: #c3cdee;
  font-weight: 900; font-size: 15px; box-shadow: 0 4px 0 #070b17; transition: transform .12s ease;
}
.seg button:hover { transform: translateY(-1px); }
.seg button[aria-selected="true"] { background: var(--yellow); color: #2a1a00; border-color: #4b3100; box-shadow: 0 4px 0 #4b3100; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 10px; max-width: 600px; margin: 34px auto 0; min-height: 80px; }
.pod { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.pod .body { height: 150px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .4)); margin-bottom: -8px; position: relative; z-index: 1; }
.pod.p1 .body { height: 180px; }
.pod .name { margin-top: 2px; max-width: 100%; font-weight: 900; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .val { font: 700 15px/1.2 var(--pixel); color: var(--yellow); margin-bottom: 8px; }
.pod .block { width: 118px; height: auto; image-rendering: auto; }
.pod .rank { margin-top: -2px; font: 800 30px/1 var(--head); color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .4); }
.ranks { list-style: none; margin: 26px auto 0; padding: 0; max-width: 620px; counter-reset: r 3; }
.ranks li {
  display: grid; grid-template-columns: 46px 36px 1fr auto; align-items: center; gap: 12px;
  padding: 9px 14px; margin-top: 8px; border-radius: 10px; background: #0f1730; border: 2px solid #070b17;
}
.ranks .r { font: 700 15px/1 var(--pixel); color: var(--dim); }
.ranks img { width: 36px; height: 36px; border-radius: 6px; image-rendering: pixelated; }
.ranks .name { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranks .val { font: 700 15px/1 var(--pixel); color: var(--yellow); }
.board-empty { text-align: center; color: var(--muted); margin: 18px 0 0; }
.board-updated { text-align: center; color: var(--dim); font-size: 13px; margin: 18px 0 0; }

/* ---------------------------------------------------------------- Joinen */
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.steps li {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px;
  background: var(--navy-2); border: 2px solid #070b17; box-shadow: 0 4px 0 #070b17; color: #dbe3fb; font-size: 16px;
}
.steps b {
  display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%;
  background: var(--yellow); color: #2a1a00; font: 800 15px/1 var(--head); padding-top: 2px; box-shadow: 0 2px 0 #4b3100;
}
.steps strong { color: #fff; font-weight: 900; }
.chip-copy {
  padding: 3px 10px; border-radius: 7px; border: 2px solid #4b3100; background: var(--yellow); color: #2a1a00;
  font: 700 14px/1.3 var(--pixel); box-shadow: 0 2px 0 #4b3100;
}
.chip-copy:hover { filter: brightness(1.05); }

/* Minecraft-Fenster „Server hinzufügen“ (Erd-Hintergrund, Eingabefelder, Knopf wie im Spiel) */
.mc-panel {
  position: relative; padding: 70px 48px 40px; border-radius: 16px; overflow: hidden;
  background-image: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .72)), url("assets/mc/dirt.png");
  background-size: auto, 64px 64px;
  background-position: 0 0, 0 64px;
  image-rendering: pixelated;
  border: 2px solid #070b17; box-shadow: 0 6px 0 #070b17;
  font-family: var(--pixel);
}
.mc-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 64px; background: url("assets/mc/grass_side.png") 0 0 / 64px 64px repeat-x; image-rendering: pixelated; }
.mc-title { position: relative; margin: 0 0 28px; text-align: center; font-size: 18px; color: #fff; text-shadow: 2px 2px 0 #3f3f3f; }
.mc-label { display: block; margin: 0 0 8px; font-size: 15px; color: #a0a0a0; text-shadow: 2px 2px 0 #282828; }
.mc-input {
  display: block; width: 100%; height: 46px; margin: 0 0 22px; padding: 0 12px;
  background: #000; color: #e0e0e0; border: 2px solid #a0a0a0; border-radius: 0; outline: none;
  font: 400 18px/1 var(--pixel); cursor: text;
}
.mc-input:focus { border-color: #fff; }
.mc-button {
  display: block; width: 100%; height: 48px; margin-top: 6px;
  border-style: solid; border-width: 6px; border-image: url("assets/mc/button.png") 3 fill / 6px stretch; image-rendering: pixelated;
  background: none; color: #fff; font: 400 18px/1 var(--pixel); text-shadow: 2px 2px 0 #3f3f3f;
}
.mc-button:hover { border-image-source: url("assets/mc/button_hover.png"); color: #ffffa0; }
.mc-status { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px 0 0; font-size: 14px; color: #c8c8c8; text-shadow: 2px 2px 0 #222; }

/* ---------------------------------------------------------------- Status-Leiste + Footer (schwarz) */
.status-bar { background: var(--black); border-bottom: 1px solid #1a1a20; }
.status-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; padding: 16px 0; font-weight: 700; }
.status-chip { padding: 9px 16px; border-radius: 10px; background: #18181d; font-size: 14px; font-weight: 900; letter-spacing: .04em; }
.status-online { display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.status-text { color: #d4d4dc; }
.status-text b { color: #fff; }
.footer { background: var(--black); padding: 56px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer p { margin: 14px 0 0; color: #b4b4c0; font-size: 15px; max-width: 380px; }
.footer h4 { margin: 0 0 12px; font: 800 16px/1.2 "Nunito", sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.footer-grid a:not(.brand), .footer-note { display: block; margin: 7px 0; color: #b4b4c0; font-size: 15px; }
.footer-grid a:not(.brand):hover { color: #fff; }
.footer-copy { padding: 0; border: 0; background: none; color: var(--yellow); font: 700 15px/1.6 var(--pixel); }
.footer-copy:hover { text-decoration: underline; }
.footer .legal { width: min(var(--wrap), 100% - 32px); max-width: none; margin: 44px auto 0; padding-top: 24px; border-top: 1px solid #1c1c22; text-align: center; color: #75757f; font-size: 13.5px; }

/* ---------------------------------------------------------------- Toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 90; max-width: calc(100% - 32px);
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  padding: 14px 20px; border-radius: 12px; background: #0d1325; border: 2px solid #050812; box-shadow: 0 5px 0 #050812;
  font-weight: 800; transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast small { display: block; font-weight: 600; color: var(--muted); }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1320px) {
  .hero-char-l { width: 240px; left: -40px; }
  .hero-char-r { width: 270px; right: -40px; }
}
@media (max-width: 1100px) {
  .links a { padding: 10px 9px; font-size: 14px; }
  .modes { grid-template-columns: repeat(2, 1fr); }
  .hero-char { opacity: .9; }
  .hero-char-l { width: 190px; left: -50px; bottom: 60px; }
  .hero-char-r { width: 210px; right: -50px; bottom: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; margin: 0; padding: 8px;
    background: #0d1325; border: 2px solid #050812; border-radius: 14px; box-shadow: 0 5px 0 #050812;
    opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s ease, transform .18s ease;
  }
  .links a { padding: 13px 14px; font-size: 16px; }
  .links a.active::after { display: none; }
  .nav-wrap.open .links { opacity: 1; transform: none; pointer-events: auto; }
  .burger { display: block; }
  .nav { gap: 12px; }
  .nav-right { margin-left: auto; }
  .row, .join { grid-template-columns: 1fr; gap: 40px; }
  .row-reverse .row-text { order: 0; }
  .tilt img { margin: 0 auto; transform: rotateY(-8deg) rotateX(4deg); }
  .hero { min-height: 0; padding-bottom: 400px; }
  .hero-char-l { width: 160px; left: 6%; bottom: 62px; }
  .hero-char-r { width: 170px; right: 6%; bottom: 62px; }
}
@media (max-width: 640px) {
  .btn-nav span { display: none; }
  .btn-nav { width: 42px; padding: 0; }
  .brand span { font-size: 22px; }
  .hero { padding: 120px 16px 320px; }
  .hero-sub { font-size: 17px; }
  .hero-buttons .btn { width: 100%; }
  .pixel-tag { font-size: 11px; }
  .hero-char-l { width: 120px; left: 3%; bottom: 58px; }
  .hero-char-r { width: 135px; right: 3%; bottom: 58px; }
  .modes { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  #modi { padding-top: 120px; }
  .row + .row { margin-top: 90px; }
  .art-panel { height: 380px; }
  .art-panel img { height: 330px; }
  .numbers div { padding: 0 16px; }
  .numbers b { font-size: 26px; }
  .board { padding: 20px 14px; }
  .seg button { padding: 0 14px; }
  .pod .body { height: 110px; }
  .pod.p1 .body { height: 130px; }
  .pod .block { width: 84px; }
  .pod .name { font-size: 14px; }
  .mc-panel { padding: 64px 20px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .status-row { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
