/* NextLevel — tema noturno com estética de blocos */
:root {
  --bg: #0b0f1a;
  --bg-2: #111729;
  --panel: #161d33;
  --panel-2: #1c2440;
  --line: #2a3458;
  --text: #e9edf7;
  --muted: #98a2bd;
  --grass: #6abe30;
  --grass-dark: #3f7f1d;
  --dirt: #8b5a2b;
  --dirt-dark: #5e3b1b;
  --gold: #f7c948;
  --diamond: #5ce1e6;
  --redstone: #e8483b;
  --amethyst: #a57bff;
  --xp: #80ff20;
  --radius: 4px;
  --pixel: "Pixelify Sans", ui-monospace, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bevel: inset 2px 2px 0 rgba(255,255,255,.06), inset -2px -2px 0 rgba(0,0,0,.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: var(--diamond); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--pixel); font-size: 1.05em; color: var(--gold); }
h1, h2, h3 { font-family: var(--pixel); font-weight: 700; line-height: 1.15; margin: 0 0 .5rem; letter-spacing: .02em; }
p { margin: 0 0 .75rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.empty { color: var(--muted); font-style: italic; }

/* ---------- ícones / cabeças ---------- */
.mc-icon {
  image-rendering: pixelated; aspect-ratio: 1; object-fit: cover; object-position: top;
  vertical-align: middle; flex: none;
}
.head {
  --s: 32px; display: inline-block; width: var(--s); height: var(--s); flex: none;
  image-rendering: pixelated; vertical-align: middle; border-radius: 2px;
  background-image: var(--skin), var(--skin);
  background-size: calc(var(--s) * 8) auto, calc(var(--s) * 8) auto;
  background-position: calc(var(--s) * -5) calc(var(--s) * -1), calc(var(--s) * -1) calc(var(--s) * -1);
  background-repeat: no-repeat; background-color: #3b2a1e;
  box-shadow: 0 2px 0 rgba(0,0,0,.35);
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  font: 600 1rem var(--pixel); color: #fff; padding: .7rem 1.2rem; border: 0;
  border-radius: var(--radius); text-decoration: none !important;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.35), inset 0 2px 0 rgba(255,255,255,.25), 0 3px 0 #000;
  transition: transform .08s, filter .15s; text-shadow: 0 2px 0 rgba(0,0,0,.4);
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 rgba(0,0,0,.35), 0 1px 0 #000; }
.btn-grass { background: linear-gradient(var(--grass) 0 35%, var(--grass-dark) 35%); }
.btn-stone { background: #6d6d6d; }
.btn.copied { background: var(--gold); color: #3a2a00; text-shadow: none; }

/* ---------- topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 26, .88); backdrop-filter: blur(10px);
  border-bottom: 2px solid #000; box-shadow: 0 2px 0 var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 1rem; height: 60px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); font: 700 1.35rem var(--pixel); text-decoration: none !important; }
.brand img { image-rendering: pixelated; }
.nav { display: flex; gap: .15rem; margin-left: auto; }
.nav a {
  color: var(--muted); font: 500 .95rem var(--pixel); padding: .4rem .6rem; border-radius: var(--radius);
  text-decoration: none;
}
.nav a:hover { color: var(--text); background: var(--panel); }
.nav a.active { color: var(--grass); background: var(--panel); box-shadow: inset 0 -2px 0 var(--grass); }
.status-pill {
  display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem; border-radius: 99px;
  font: 600 .85rem var(--pixel); background: var(--panel); color: var(--muted); white-space: nowrap;
  text-decoration: none !important; border: 1px solid var(--line);
}
.status-pill.on { color: var(--xp); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--redstone); display: inline-block; flex: none; }
.on .dot { background: var(--xp); box-shadow: 0 0 0 0 rgba(128,255,32,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(128,255,32,0); } 100% { box-shadow: 0 0 0 0 rgba(128,255,32,0); } }
.nav-toggle, .nav-burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; min-height: 600px; display: flex; align-items: center;
  background: linear-gradient(#050814 0%, #0c1633 45%, #1b2a5c 75%, #2d3f7a 100%);
  border-bottom: 4px solid #000; padding: 4rem 0 7rem;
}
.sky, .stars { position: absolute; inset: 0; }
.stars {
  background-image:
    radial-gradient(2px 2px at 10% 20%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 25% 8%, #cfe3ff 50%, transparent 51%),
    radial-gradient(2px 2px at 40% 30%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 55% 12%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 70% 25%, #cfe3ff 50%, transparent 51%),
    radial-gradient(2px 2px at 85% 10%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 92% 35%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 5% 45%, #cfe3ff 50%, transparent 51%),
    radial-gradient(2px 2px at 33% 50%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 63% 42%, #fff 50%, transparent 51%);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }
.moon {
  position: absolute; top: 12%; right: 12%; width: 72px; height: 72px; background: #f4f1d8;
  box-shadow: 0 0 60px 10px rgba(244,241,216,.25), inset -12px -12px 0 #d8d3ae, inset 12px 12px 0 #fffbe6;
  image-rendering: pixelated;
}
.cloud { position: absolute; height: 18px; background: rgba(255,255,255,.12); animation: drift linear infinite; }
.cloud::before { content: ""; position: absolute; left: 20%; top: -12px; width: 45%; height: 12px; background: inherit; }
.cloud.c1 { top: 18%; width: 160px; animation-duration: 90s; }
.cloud.c2 { top: 32%; width: 110px; animation-duration: 120s; animation-delay: -40s; }
.cloud.c3 { top: 9%; width: 200px; animation-duration: 150s; animation-delay: -90s; }
@keyframes drift { from { transform: translateX(-250px); } to { transform: translateX(110vw); } }
.mountains { position: absolute; left: 0; right: 0; bottom: 64px; width: 100%; height: 200px; }
.m-far { fill: #16224a; }
.m-near { fill: #0e1734; }
.ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 68px;
  background:
    linear-gradient(var(--grass) 0 14px, var(--grass-dark) 14px 20px, transparent 20px),
    repeating-linear-gradient(90deg, var(--dirt) 0 16px, var(--dirt-dark) 16px 20px, var(--dirt) 20px 36px, #74491f 36px 40px);
  box-shadow: inset 0 -12px 0 rgba(0,0,0,.25);
}
.hero-content { position: relative; z-index: 2; text-align: center; }
.eyebrow { font: 600 1rem var(--pixel); color: var(--muted); letter-spacing: .15em; text-transform: uppercase; }
.hard { color: var(--redstone); }
.title {
  font-size: clamp(3rem, 12vw, 7.5rem); margin: .2rem 0 1rem; color: #fff; letter-spacing: .06em;
  text-shadow: 4px 4px 0 #3f7f1d, 8px 8px 0 #2a5413, 12px 12px 0 rgba(0,0,0,.45);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-6px); } }
.tagline { max-width: 560px; margin: 0 auto 2rem; color: #c7d0e8; font-size: 1.1rem; }
.join-box {
  display: inline-flex; align-items: center; gap: 1rem; padding: .6rem .6rem .6rem 1.2rem;
  background: rgba(0,0,0,.45); border: 2px solid #000; box-shadow: var(--bevel), 0 0 0 2px var(--line);
  border-radius: var(--radius);
}
.join-box.inline { padding: .4rem .4rem .4rem 1rem; margin-top: .25rem; }
.ip { display: flex; flex-direction: column; text-align: left; }
.ip-label { font: .75rem var(--pixel); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.ip code { font-size: 1.4rem; }
.live {
  margin: 1.5rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem;
  font: 600 1rem var(--pixel); color: var(--muted);
}
.live.on { color: var(--xp); }
.live-players { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; width: 100%; }
.chip { background: rgba(0,0,0,.4); border: 1px solid var(--line); color: var(--text); padding: .1rem .55rem; border-radius: 99px; font-size: .85rem; }

/* ---------- faixa de números ---------- */
.stats-strip { background: var(--bg-2); border-bottom: 2px solid #000; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1.4rem .5rem; text-align: center; }
.stat + .stat { border-left: 2px solid var(--line); }
.stat b { font: 700 2rem var(--pixel); color: var(--gold); }
.stat b small { font-size: 1rem; color: var(--muted); }
.stat span { color: var(--muted); font-size: .9rem; }

/* ---------- painéis ---------- */
.panel {
  background: var(--panel); border: 2px solid #000; border-radius: var(--radius);
  box-shadow: var(--bevel), 0 4px 0 rgba(0,0,0,.35); padding: 1.25rem;
}
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 2.5rem auto; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: 1 / -1; }
.notices { grid-column: 1 / -1; border-color: #3a2a00; background: linear-gradient(135deg, #2a2208, var(--panel) 60%); }
.notice { padding: .6rem 0; border-top: 1px dashed var(--line); }
.notice:first-of-type { border-top: 0; }
.notice p { margin: 0; font-size: 1.05rem; }
.notice time { color: var(--muted); font-size: .8rem; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-title h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; margin: 0; }
.more { font: 600 .9rem var(--pixel); white-space: nowrap; }
.page-head { background: linear-gradient(var(--bg-2), var(--bg)); border-bottom: 2px solid #000; padding: 2.5rem 0 2rem; margin-bottom: 2rem; }
.page-head h1 { display: flex; align-items: center; gap: .8rem; font-size: clamp(1.8rem, 5vw, 2.6rem); }
.group-title { font-size: 1.3rem; margin: 1.5rem 0 1rem; display: flex; align-items: center; gap: .6rem; }
.group-title small { font-size: .9rem; }

/* ---------- barra de XP ---------- */
.xpbar {
  position: relative; height: 18px; background: #111; border: 2px solid #000; border-radius: 2px;
  box-shadow: inset 0 2px 0 rgba(0,0,0,.6); overflow: hidden; margin: .5rem 0;
}
.xpbar.big { height: 24px; max-width: 520px; margin-top: 1rem; }
.xpbar-fill {
  height: 100%; background: linear-gradient(#b6ff5c 0 35%, var(--xp) 35% 70%, #4fae10 70%);
  box-shadow: inset -2px 0 0 rgba(0,0,0,.25); transition: width .6s ease;
}
.xpbar.done .xpbar-fill { background: linear-gradient(#ffe38a 0 35%, var(--gold) 35% 70%, #c49a1c 70%); }
.xpbar-label { position: absolute; inset: 0; display: grid; place-items: center; font: 700 .75rem var(--pixel); color: #fff; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000; }

/* ---------- home ---------- */
.objective-mini { padding: .5rem 0 .75rem; }
.objective-mini + .objective-mini { border-top: 1px dashed var(--line); padding-top: .9rem; }
.objective-mini h3 { font-size: 1.1rem; margin: 0 0 .2rem; }
.objective-mini p { font-size: .9rem; margin: 0; }
.leaders { display: grid; gap: .8rem; }
.leader { display: flex; gap: .75rem; align-items: center; }
.leader > div { display: flex; flex-direction: column; min-width: 0; }
.leader-name { display: flex; align-items: center; gap: .4rem; color: var(--text); font-weight: 600; }
.leader-value { font: 700 1rem var(--pixel); color: var(--gold); }
.member-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.member-cloud a { transition: transform .15s; }
.member-cloud a:hover { transform: translateY(-3px) scale(1.08); }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.photo-strip img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border: 2px solid #000; border-radius: var(--radius); display: block; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(120deg, #1d3a12, var(--panel) 70%); }
.cta h2 { font-size: 1.8rem; }
.cta p { margin: 0; color: #c7d0e8; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- linha do tempo ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.4rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 1.4rem; top: 0; bottom: 0; width: 4px; background: repeating-linear-gradient(var(--line) 0 8px, transparent 8px 12px); transform: translateX(-50%); }
.tl-item { position: relative; padding: 0 0 1.4rem 2.2rem; }
.tl-node {
  position: absolute; left: 0; top: 0; transform: translateX(-50%);
  width: 38px; height: 38px; display: grid; place-items: center; background: var(--panel-2);
  border: 2px solid #000; box-shadow: var(--bevel); border-radius: var(--radius);
}
.kind-advancement .tl-node { border-color: #5a3d99; background: #2a1f47; }
.kind-objective .tl-node { border-color: #8a6d12; background: #3a2e08; }
.kind-join .tl-node { border-color: #2f5c16; background: #1b3310; }
.tl-body time { font: .8rem var(--pixel); color: var(--muted); }
.tl-body h3 { font-size: 1.1rem; margin: .15rem 0 .2rem; }
.tl-body p { color: #c7d0e8; font-size: .95rem; margin: 0; }
.timeline.compact .tl-item { padding-bottom: 1rem; }

/* ---------- objetivos ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.objective { position: relative; }
.objective h3 { font-size: 1.25rem; padding-right: 2.5rem; }
.objective.is-done { opacity: .85; }
.obj-id { position: absolute; top: 1rem; right: 1rem; font: .85rem var(--pixel); color: var(--muted); }

/* ---------- membros ---------- */
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 3rem; }
.member-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; color: var(--text); transition: transform .15s; text-decoration: none !important; }
.member-card:hover { transform: translateY(-4px); }
.member-card h3 { margin: .4rem 0 0; font-size: 1.25rem; }
.presence { font-size: .85rem; color: var(--muted); }
.presence.on { color: var(--xp); font-weight: 600; }
.member-meta { display: flex; gap: 1rem; font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.member-meta span { display: flex; align-items: center; gap: .3rem; }

.profile { display: grid; grid-template-columns: 300px 1fr; gap: 1.5rem; margin: 2.5rem auto 3rem; align-items: start; }
.profile-card { position: sticky; top: 80px; text-align: center; }
.skin-stage { background: radial-gradient(circle at 50% 70%, #2d3f7a, transparent 70%); border-radius: var(--radius); display: grid; place-items: center; min-height: 300px; }
.skin-stage canvas { max-width: 100%; cursor: grab; }
.profile-card h1 { font-size: 2rem; margin-top: .75rem; }
.adv-progress { margin-top: 1rem; text-align: left; display: grid; grid-template-columns: 1fr auto; font-family: var(--pixel); }
.adv-progress .xpbar { grid-column: 1 / -1; }
.profile-main { display: grid; gap: 1.5rem; min-width: 0; }
.profile-main .group-title { margin-top: 0; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.stat-card { display: flex; align-items: center; gap: .75rem; background: var(--panel-2); padding: .75rem; border-radius: var(--radius); border: 1px solid var(--line); }
.stat-card > div { display: flex; flex-direction: column; }
.stat-card b { font: 700 1.2rem var(--pixel); color: var(--gold); }

/* ---------- conquistas ---------- */
.adv-frame {
  width: 52px; height: 52px; display: grid; place-items: center; flex: none;
  background: #9a9a9a; border: 2px solid #000; box-shadow: inset 3px 3px 0 #c6c6c6, inset -3px -3px 0 #555;
}
.adv-frame b { font: 700 1.5rem var(--pixel); color: #333; }
.frame-goal .adv-frame { border-radius: 14px; }
.frame-challenge .adv-frame { clip-path: polygon(15% 0, 85% 0, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0 85%, 0 15%); background: #9d7ec9; box-shadow: inset 3px 3px 0 #c7aef0, inset -3px -3px 0 #5b3e8a; }
.got .adv-frame { background: #e8c243; box-shadow: inset 3px 3px 0 #ffe999, inset -3px -3px 0 #9c7b12; }
.frame-challenge.got .adv-frame { background: #c85cff; box-shadow: inset 3px 3px 0 #e8b0ff, inset -3px -3px 0 #7b1fa8, 0 0 16px rgba(200,92,255,.5); }
.locked .adv-frame img { filter: grayscale(1) brightness(.6); opacity: .7; }
.adv-grid { display: grid; grid-template-columns: repeat(auto-fill, 52px); gap: .5rem; }
.adv { position: relative; }
.adv-tip {
  display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 20;
  width: 240px; padding: .6rem .8rem; background: #100010f0; border: 2px solid #2a0a5e; border-radius: var(--radius);
  font-size: .85rem; pointer-events: none;
}
.adv-tip b { display: block; color: var(--gold); font-family: var(--pixel); }
.adv-tip span { color: #ccc; }
.adv-tip time { display: block; color: var(--xp); margin-top: .3rem; font-size: .8rem; }
.adv:hover .adv-tip, .adv:focus .adv-tip { display: block; }
.adv-section { margin-bottom: 2rem; }
.adv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: .9rem; }
.adv-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; }
.adv-card.locked { opacity: .75; }
.adv-info { min-width: 0; }
.adv-info h3 { font-size: 1.05rem; margin: 0 0 .2rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.adv-info p { font-size: .9rem; color: #c7d0e8; margin: 0 0 .4rem; }
.tag { font: 600 .7rem var(--pixel); padding: .05rem .4rem; border-radius: 3px; text-transform: uppercase; }
.tag-challenge { background: #4b1f73; color: #e8b0ff; }
.tag-goal { background: #1f4b73; color: #a8dcff; }
.holders { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.holders .small { margin-left: .3rem; }

/* ---------- rankings ---------- */
.boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.25rem; margin-bottom: 3rem; }
.board h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; }
.board ol { list-style: none; margin: 0; padding: 0; }
.board li { display: flex; align-items: center; gap: .6rem; padding: .45rem .5rem; border-radius: var(--radius); }
.board li:nth-child(odd) { background: rgba(255,255,255,.025); }
.board li a { display: flex; align-items: center; gap: .5rem; color: var(--text); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.board li b { font-family: var(--pixel); color: var(--muted); white-space: nowrap; }
.pos { width: 1.8rem; text-align: center; font: 700 1rem var(--pixel); color: var(--muted); }
.rank-1 { background: linear-gradient(90deg, rgba(247,201,72,.2), transparent) !important; }
.rank-1 .pos, .rank-1 b { color: var(--gold); }
.rank-2 .pos, .rank-2 b { color: #d7dde8; }
.rank-3 .pos, .rank-3 b { color: #d08a4b; }

/* ---------- galeria ---------- */
.gallery { columns: 3 300px; column-gap: 1.25rem; margin-bottom: 3rem; }
.photo { break-inside: avoid; margin: 0 0 1.25rem; padding: .6rem; }
.photo-open { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.photo img { width: 100%; display: block; border-radius: 2px; }
.photo figcaption { display: flex; flex-direction: column; padding: .6rem .2rem .1rem; font-size: .95rem; }
.lightbox { border: 2px solid #000; background: var(--panel); color: var(--text); padding: 1rem; max-width: min(1200px, 95vw); border-radius: var(--radius); }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { max-width: 100%; max-height: 80vh; display: block; margin: 0 auto; }
.lightbox p { margin: .75rem 0 0; text-align: center; }
.lightbox-close { position: absolute; top: .4rem; right: .6rem; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ---------- como entrar ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 1rem; margin: 0 0 2rem; }
.steps li { counter-increment: step; position: relative; padding-left: 4.5rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 1.2rem; top: 1.1rem; width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center; font: 700 1.2rem var(--pixel); color: #fff;
  background: linear-gradient(var(--grass) 0 35%, var(--grass-dark) 35%); border: 2px solid #000;
}
.steps h3 { font-size: 1.2rem; }
.steps p { margin: 0; color: #c7d0e8; }
.rules { margin-bottom: 3rem; }
.rules .group-title { margin-top: 0; }
.rules ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; }

.notfound { text-align: center; padding: 6rem 0; }
.notfound h1 { font-size: 6rem; color: var(--redstone); text-shadow: 6px 6px 0 #000; }

/* ---------- rodapé ---------- */
.footer { position: relative; background: #07090f; margin-top: 2rem; padding: 5.5rem 0 1.5rem; text-align: center; font-size: .9rem; }
.footer .ground { top: 0; bottom: auto; }
.footer p { margin: .3rem 0; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .nav-burger { display: flex; flex-direction: column; gap: 4px; margin-left: auto; cursor: pointer; padding: .5rem; }
  .nav-burger span { width: 22px; height: 3px; background: var(--text); }
  .nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column;
    background: var(--bg-2); border-bottom: 2px solid #000; padding: .5rem 16px 1rem;
  }
  .nav a { padding: .7rem .6rem; font-size: 1.05rem; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .status-pill { margin-left: .25rem; }
}
@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: 1 / -1; }
  .profile { grid-template-columns: 1fr; }
  .profile-card { position: static; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 2px solid var(--line); }
}
@media (max-width: 640px) {
  .home-grid { grid-template-columns: 1fr; }
  .hero { min-height: 540px; padding-top: 3rem; }
  .join-box { flex-direction: column; align-items: stretch; padding: 1rem; width: 100%; }
  .join-box.inline { flex-direction: row; align-items: center; }
  .ip { text-align: center; }
  .ip code { font-size: 1.15rem; word-break: break-all; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(n) { border-left: 0; border-top: 2px solid var(--line); }
  .stat:nth-child(even) { border-left: 2px solid var(--line); }
  .stat:first-child, .stat:nth-child(2) { border-top: 0; }
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; border-left: 0; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .adv-list, .boards { grid-template-columns: 1fr; }
  .moon { width: 40px; height: 40px; top: 3%; right: 6%; }
  .status-pill span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
