/* GK TANK · site do jogo (pedido do proprietário 21/10/2026).
   Sistema visual do Portfólio GD (sites/Portfolio): céu claro com nuvens em
   pixel art, títulos apertados em Bricolage Grotesque, destaque em Pixelify
   Sans, botões com contorno e sombra dura, janelas escuras de app para as
   telas do jogo e modo noite. Hover só por cor/sombra/posição (top), sem
   filter nem backdrop-filter. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Pixelify Sans"; src: url("/fonts/pixelify-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* ---------- Tokens (Portfólio GD) ---------- */
:root {
  color-scheme: light;
  --bg: #F7F5F0; --bg2: #F1EEE6; --card: #FFFFFF;
  --ink: #16181F; --ink2: #474B57; --ink3: #5F6470;
  --line: rgba(22, 24, 31, .1); --line2: rgba(22, 24, 31, .2);
  --sky: #CDE5F4; --sky2: #E4EFF4; --cloud: #FFFFFF; --cloud2: #E6F0F6;
  --edge: #16181F; --px-shadow: #16181F; --bar-bg: #F7F5F0; --glass: rgba(255, 255, 255, .7);
  --orange: #F08A3C; --orange-ink: #D9670F; --green: #1FB46B; --amber: #F5B342; --amber-soft: #FFE9BC;
  --blue: #3E8BE0; --violet: #8B6CF0; --teal: #19B5A5; --pink: #E255A1; --red: #E5484D;
  --panel: #0E1117; --panel2: #141823; --panel-edge: rgba(22, 24, 31, .85); --panel-line: rgba(255, 255, 255, .08);
  --panel-ink: #E9EBF0; --panel-ink2: #A3ABBC; --panel-ink3: #7F879A;
  --shadow-soft: 0 22px 44px -26px rgba(16, 20, 36, .35);
  --shadow-window: 0 50px 90px -50px rgba(16, 20, 36, .55), 0 18px 36px -24px rgba(16, 20, 36, .35);
  --font: "Bricolage Grotesque", system-ui, sans-serif;
  --pixel: "Pixelify Sans", ui-monospace, monospace;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --press: cubic-bezier(.2, .8, .2, 1);
  --px-ink: #1B1F2A; --px-white: #F6F7FA; --px-shade: #C5CEDB; --px-orange: #F08A3C; --px-amber: #F5B342; --px-metal: #4A556E;
}
:root[data-theme="night"] {
  color-scheme: dark;
  --bg: #0C0F18; --bg2: #10141F; --card: #171C2A;
  --ink: #F2F1EC; --ink2: #BCC1CF; --ink3: #9198AB;
  --line: rgba(255, 255, 255, .1); --line2: rgba(255, 255, 255, .22);
  --sky: #121B3D; --sky2: #0F1528; --cloud: #2B3559; --cloud2: #232C4C;
  --edge: #F2F1EC; --px-shadow: #000; --bar-bg: #121622; --glass: rgba(255, 255, 255, .05);
  --orange-ink: #F08A3C; --panel: #080A10; --panel2: #0E121B; --panel-edge: rgba(255, 255, 255, .14);
  --shadow-soft: 0 22px 44px -26px rgba(0, 0, 0, .7);
  --px-ink: #0B0E16; --px-white: #DDE3EE; --px-shade: #8F9AB0; --px-amber: #FFC857; --px-metal: #39435A;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; transition: background-color .5s, color .5s; }
main { flex: 1; outline: none; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(240, 138, 60, .35); }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.1vw, 84px); letter-spacing: -.048em; }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; line-height: 1.05; }
p { margin: 0 0 1em; color: var(--ink2); }
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.center { text-align: center; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 200; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.noscript { padding: 80px 16px; text-align: center; }
.px { font-family: var(--pixel); font-weight: 700; letter-spacing: -.01em; color: var(--orange-ink); text-shadow: .045em .05em 0 var(--px-shadow); }
.mute { color: var(--ink3); }
h1 > .px, h2 > .px, h2 > .mute { display: block; }
.caret { display: inline-block; width: .38em; height: .11em; margin-left: .06em; background: var(--orange-ink); box-shadow: .045em .05em 0 var(--px-shadow); animation: blink 1.05s steps(1) infinite; }
.sq { display: inline-block; flex: none; width: 9px; height: 9px; background: var(--ink); }
.sq-green { background: var(--green); } .sq-orange { background: var(--orange); } .sq-blue { background: var(--blue); } .sq-red { background: var(--red); } .sq-amber { background: var(--amber); }
.pulse { animation: pulse 1.8s ease-out infinite; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; font: 600 13px/1.2 var(--pixel); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.center > .eyebrow, .eyebrow.center { justify-content: center; }
.lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; font-weight: 500; color: var(--ink); }
.fineprint { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink3); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; }
.tag, .tags li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line2); border-radius: 999px; background: var(--card); font: 500 12.5px/1.5 var(--mono); color: var(--ink2); }
.tags b { color: var(--ink); font-weight: 700; }
.checks { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 31px; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border: 1.5px solid var(--edge); border-radius: 6px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.link-arrow { padding: 0; border: 0; background: none; color: var(--ink); font: 700 15px/1.3 var(--font); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.link-arrow:hover { color: var(--orange-ink); }
.p-ink { fill: var(--px-ink); } .p-white { fill: var(--px-white); } .p-shade { fill: var(--px-shade); } .p-orange { fill: var(--px-orange); } .p-amber { fill: var(--px-amber); } .p-metal { fill: var(--px-metal); }

/* ---------- Botões ---------- */
.btn { position: relative; top: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 22px; border: 2px solid var(--edge); border-radius: 14px; background: #fff; color: #16181F; font: 700 17px/1 var(--font); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 0 var(--edge); cursor: pointer; transition: top .14s var(--press), box-shadow .14s var(--press), background-color .2s; }
.btn:hover { top: -2px; box-shadow: 0 6px 0 var(--edge); }
.btn:active { top: 3px; box-shadow: 0 1px 0 var(--edge); }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .55; top: 0; box-shadow: 0 4px 0 var(--edge); }
.btn-primary { background: var(--orange); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-sm { min-height: 44px; padding: 10px 17px; border-radius: 12px; font-size: 15px; box-shadow: 0 3px 0 var(--edge); }
.btn-sm:hover { box-shadow: 0 5px 0 var(--edge); }
.btn-block { width: 100%; }
.btn-big { min-height: 62px; padding: 16px 30px; font-size: 20px; }
.btn .ico { width: 16px; height: 16px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.center .actions, .actions.center, .hero .actions { justify-content: center; }

/* ---------- Barra do topo ---------- */
.topbar { position: sticky; top: 0; z-index: 60; padding: 12px 16px 0; }
.topbar-inner { display: flex; align-items: center; gap: 12px; max-width: 1206px; margin: 0 auto; padding: 8px 8px 8px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--bar-bg); transition: box-shadow .35s; }
.topbar.is-stuck .topbar-inner { box-shadow: 0 14px 34px -18px rgba(16, 20, 36, .4); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-icon { width: 27px; height: 27px; flex: none; }
.brand-name { font: 700 23px/1 var(--pixel); letter-spacing: .01em; white-space: nowrap; }
.brand-name b { color: var(--orange-ink); font-weight: 700; }
.topnav { display: flex; gap: 2px; margin-left: 10px; }
.topnav a { position: relative; padding: 9px 12px; border-radius: 10px; color: var(--ink2); font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s; }
.topnav a:hover { background: var(--line); color: var(--ink); }
.topnav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.topnav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px; background: var(--orange); box-shadow: 1px 1px 0 var(--edge); }
.topbar-space { flex: 1; }
.tb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: 600 14px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: border-color .2s; }
.tb-btn:hover { border-color: var(--line2); }
.account-slot { display: flex; align-items: center; gap: 8px; }
.account-slot .btn { min-height: 40px; padding: 8px 14px; border-radius: 12px; font-size: 15px; box-shadow: 0 3px 0 var(--edge); }
.account-chip .avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--orange); color: #16181F; font: 700 13px/1 var(--pixel); box-shadow: 2px 2px 0 var(--edge); }
.theme-toggle, .menu-toggle { position: relative; width: 40px; padding: 0; }
.sun, .moon { position: absolute; width: 14px; height: 14px; border-radius: 50%; transition: opacity .5s; }
.sun { background: var(--amber); box-shadow: 0 0 0 4px rgba(245, 179, 66, .25); }
.moon { width: 16px; height: 16px; box-shadow: inset -5px -3px 0 0 #E9E7F7; opacity: 0; }
[data-theme="night"] .sun { opacity: 0; }
[data-theme="night"] .moon { opacity: 1; }
.menu-toggle { display: none; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content: ""; display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); }
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 0; }
.menu-toggle span::before { top: -5px; } .menu-toggle span::after { top: 5px; }

/* ---------- Céu, nuvens e estrelas ---------- */
.sky { position: absolute; inset: 0 0 auto 0; z-index: -1; height: 940px; overflow: hidden; background: linear-gradient(180deg, var(--sky) 0%, var(--sky2) 58%, var(--bg) 100%); transition: opacity .5s; }
.sky-short { height: 430px; }
.cloud { position: absolute; left: 0; width: 150px; animation: drift 90s linear infinite; }
.cloud svg { display: block; width: 100%; height: auto; }
.cloud .p-white { fill: var(--cloud); } .cloud .p-shade { fill: var(--cloud2); }
.cloud-1 { top: 128px; animation-delay: -10s; }
.cloud-2 { top: 84px; width: 210px; animation-duration: 120s; animation-delay: -62s; }
.cloud-3 { top: 318px; width: 120px; animation-duration: 100s; animation-delay: -40s; }
.cloud-4 { top: 228px; width: 96px; animation-duration: 140s; animation-delay: -100s; }
.sky-short .cloud-3 { top: 250px; } .sky-short .cloud-4 { top: 180px; }
.stars { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
[data-theme="night"] .stars, .night .stars { opacity: 1; }
.stars i { position: absolute; width: 3px; height: 3px; background: #fff; animation: twinkle var(--s, 2s) steps(2) infinite; animation-delay: calc(var(--d, 0s) * -1); }

/* ---------- Herói ---------- */
.hero { position: relative; isolation: isolate; margin-top: -72px; padding: 128px 0 0; overflow: hidden; text-align: center; }
.sticker-wrap { position: relative; display: inline-block; margin-top: 8px; }
.sticker { display: block; width: min(420px, 82vw); padding: 18px 22px 22px; border: 2px solid var(--edge); border-radius: 26px; background-color: #121a3a; background-image: radial-gradient(rgba(95, 140, 255, .35) 1px, transparent 1px); background-size: 9px 9px; box-shadow: 6px 6px 0 var(--orange); rotate: -3deg; }
.sticker img { width: 100%; }
.me-badge { position: absolute; left: 50%; bottom: -14px; padding: 5px 13px; border-radius: 8px; background: var(--ink); color: var(--bg); font: 700 14px/1.2 var(--pixel); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; box-shadow: 3px 3px 0 var(--orange); translate: -50% 0; rotate: 3deg; }
.hero h1 { max-width: 1080px; margin: 44px auto 0; font-size: clamp(46px, 8vw, 108px); line-height: .94; }
.hero-sub { max-width: 680px; margin: 24px auto 0; font-size: clamp(17px, 1.5vw, 20.5px); }
.hero-sub strong { color: var(--ink); }
.prompt { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin-top: 24px; padding: 7px 8px 7px 16px; border: 1px dashed var(--line2); border-radius: 12px; background: var(--glass); font: 500 14px/1.4 var(--mono); color: var(--ink2); }
.prompt-mark { color: var(--orange-ink); font-weight: 700; }
.prompt-text { display: inline-flex; align-items: center; gap: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prompt-btn { flex: none; padding: 8px 12px; border-radius: 8px; background: #16181F; color: #F7F5F0; font: 600 12px/1 var(--mono); text-decoration: none; }
.prompt-btn:hover { background: #2A2E3A; }
[data-theme="night"] .prompt-btn { background: #F2F1EC; color: #16181F; }
.hero-stage { position: relative; max-width: 1080px; margin: 56px auto 0; padding-bottom: 72px; }
.hero-window img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.hero-toast { position: absolute; right: -14px; bottom: 34px; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: var(--panel); color: var(--panel-ink); text-align: left; box-shadow: var(--shadow-window); animation: floaty 6s ease-in-out infinite; }
.hero-toast img { width: 40px; height: 40px; object-fit: contain; }
.hero-toast b { display: block; font-size: 15px; }
.hero-toast small { font: 500 12px/1.4 var(--mono); color: var(--panel-ink2); }
.hero-toast .btn { min-height: 34px; padding: 6px 12px; border-radius: 9px; font-size: 13px; box-shadow: 0 2px 0 #F2F1EC; border-color: #F2F1EC; }
/* Trajetória do tiro: canhão em pixel + arco pontilhado até o botão Jogar. */
.trajectory { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.trajectory .arc { fill: none; stroke: var(--ink); stroke-width: 5; stroke-dasharray: 5 11; opacity: .55; }
.trajectory .shell { fill: var(--orange); stroke: var(--edge); stroke-width: 2.5; }
.trajectory .apex { fill: none; stroke: var(--orange-ink); stroke-width: 2; stroke-dasharray: 3 5; }
.trajectory text { font: 700 15px var(--pixel); fill: var(--orange-ink); }
.cannon { position: absolute; z-index: -1; width: 74px; pointer-events: none; }
.hero .btn-primary.impact { animation: impact .9s ease-out 1 backwards; }

/* ---------- Janelas ---------- */
.window { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--panel-edge); border-radius: 20px; background: var(--panel); color: var(--panel-ink); text-align: left; box-shadow: var(--shadow-window); }
.window-bar { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 16px; border-bottom: 1px solid var(--panel-line); font: 500 12px/1 var(--mono); color: var(--panel-ink2); }
.dots { display: inline-flex; flex: none; gap: 7px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.dots i:nth-child(2) { background: #FEBC2E; } .dots i:nth-child(3) { background: #28C840; }
.window-title { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-tag { margin-left: auto; padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .07); font-size: 11px; white-space: nowrap; }
.window-body { padding: 18px; }
.win-tabs { display: flex; gap: 6px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.win-tabs button { flex: none; padding: 6px 10px; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--panel-ink2); font: 500 12px/1 var(--mono); cursor: pointer; transition: background-color .2s, color .2s; }
.win-tabs button:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.win-tabs button[aria-selected="true"] { background: #F2F1EC; color: #16181F; font-weight: 700; }

/* ---------- Seções ---------- */
.section { padding: 84px 0; overflow-x: clip; }
.section-alt { background: var(--bg2); }
.heading { max-width: 860px; }
.heading.center { margin-inline: auto; }
.heading > p:not(.eyebrow) { max-width: 660px; margin: 20px 0 0; font-size: clamp(17px, 1.5vw, 20px); }
.heading.center > p:not(.eyebrow) { margin-inline: auto; }
.card { border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.step-n { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--bg); font: 800 22px/1 var(--font); box-shadow: 4px 4px 0 var(--orange); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.stat { padding: 24px 22px; text-align: left; }
.stat strong { display: block; font: 800 clamp(38px, 4vw, 56px)/1 var(--font); letter-spacing: -.055em; color: var(--ink); }
.stat strong::after { content: ""; display: block; width: 34px; height: 6px; margin-top: 14px; background: var(--orange); box-shadow: 3px 3px 0 var(--edge); }
.stat b { display: block; margin: 18px 0 4px; font-size: 17.5px; letter-spacing: -.02em; line-height: 1.2; }
.stat p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink3); }

.server-list { display: grid; gap: 14px; margin-top: 36px; }
.server-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 22px 24px; }
.server-card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.server-card p { margin: 6px 0 0; }
.state { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font: 600 13px/1.2 var(--pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 8px; background: var(--ink); color: var(--bg); font: 700 12px/1.3 var(--pixel); letter-spacing: .08em; text-transform: uppercase; box-shadow: 2px 2px 0 var(--orange); }

.feature { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: 52px; margin-top: 56px; }
.feature-copy .eyebrow { margin: 22px 0 12px; }
.feature-copy h3 { margin-bottom: 16px; }
.feature-copy > p { font-size: 17.5px; }
.feature-visual { min-width: 0; }
.feature-visual img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; background: #0b1636; }

.aim-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.aim-win table { width: 100%; border-collapse: collapse; font: 500 14px/1.9 var(--mono); font-variant-numeric: tabular-nums; }
.aim-win th { color: var(--panel-ink3); font-weight: 500; text-align: left; padding: 0 0 4px; }
.aim-win th:last-child, .aim-win td:last-child { text-align: right; }
.aim-win td { color: #D6DAE3; border-top: 1px solid var(--panel-line); }
.aim-win td:last-child { color: #FFB46E; font-weight: 700; }
.aim-win .window-title b { color: #fff; }
.aim-tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.aim-tips .card { padding: 20px 22px; }
.aim-tips b { display: block; margin-bottom: 4px; font-size: 18px; letter-spacing: -.02em; }
.aim-tips p { margin: 0; font-size: 15.5px; }

.systems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.system { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; padding: 20px; }
.system-icon { display: grid; place-items: center; width: 72px; height: 72px; border: 1.5px solid var(--edge); border-radius: 16px; background: color-mix(in srgb, var(--orange) 18%, var(--card)); box-shadow: 3px 3px 0 var(--edge); }
.system-icon img { width: 58px; height: 58px; object-fit: contain; }
.system h3 { font-size: 21px; margin: 4px 0 6px; }
.system p { margin: 0; font-size: 15.5px; }

.news { display: grid; gap: 0; max-width: 860px; margin: 36px 0 0; padding: 0; list-style: none; }
.news li { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.news time { font: 700 16px/1.4 var(--pixel); color: var(--orange-ink); letter-spacing: .04em; }
.news h3 { font-size: 22px; margin-bottom: 6px; }
.news p { margin: 0; }

/* Bloco noturno (como o contato do portfólio). */
.night { position: relative; margin: 0 16px; overflow: hidden; padding: 92px 0 0; border-radius: 36px 36px 0 0; background: linear-gradient(180deg, #0B1026 0%, #141537 55%, #2A1F45 100%); color: #F2F1EC; text-align: center;
  --ink: #F2F1EC; --ink2: #C3C7D6; --ink3: #A0A6B9; --edge: #F2F1EC; --orange-ink: #F08A3C; --line: rgba(255, 255, 255, .12); --line2: rgba(255, 255, 255, .28); --glass: rgba(255, 255, 255, .05); --px-shadow: #05070C; }
.night-inner { position: relative; }
.night h2 { max-width: 980px; margin: 0 auto; font-size: clamp(40px, 6.4vw, 88px); }
.night-sub { max-width: 620px; margin: 22px auto 0; font-size: clamp(17px, 1.6vw, 21px); }
.night .btn { --edge: #F2F1EC; }
.night .btn:not(.btn-primary) { background: transparent; color: #F2F1EC; }
.night-lab { max-width: 780px; margin: 52px auto 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-bottom: 0; border-radius: 22px 22px 0 0; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.night-lab img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; isolation: isolate; margin-top: -72px; padding: 132px 0 28px; overflow: hidden; }
.page-hero h1 { max-width: 900px; font-size: clamp(40px, 6vw, 76px); }
.page-hero p:not(.eyebrow) { max-width: 640px; margin: 20px 0 0; font-size: clamp(17px, 1.5vw, 20px); }
.page-body { padding: 28px 0 96px; }

/* Entrar / criar conta */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.auth-card { padding: 8px 28px 28px; box-shadow: var(--shadow-soft); }
.tabs { display: flex; gap: 4px; margin: 0 -28px 22px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.tabs button { padding: 16px 12px 12px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--ink3); font: 700 16px/1 var(--font); cursor: pointer; transition: color .2s, border-color .2s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--orange); }
.auth-aside { overflow: hidden; }
.auth-aside img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.auth-aside .checks { margin: 0; padding: 20px 22px 24px; }
.auth-aside .checks li { color: var(--panel-ink); font-weight: 500; }
.auth-aside .checks li b { color: #fff; }
.auth-aside .checks li::before { border-color: #F2F1EC; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-weight: 700; font-size: 15px; color: var(--ink); }
.field small { color: var(--ink3); font-size: 13px; }
.input { width: 100%; min-height: 50px; padding: 11px 14px; border: 2px solid var(--line2); border-radius: 12px; background: var(--card); color: var(--ink); font: 600 16px/1.2 var(--font); transition: border-color .2s, box-shadow .2s; }
.input:hover { border-color: var(--ink3); }
.input:focus { outline: none; border-color: var(--edge); box-shadow: 0 3px 0 var(--edge); }
.input[aria-invalid="true"] { border-color: var(--red); }
.form-error { min-height: 1.4em; margin: 0; color: var(--red); font-weight: 700; }
.form-ok { color: var(--green); }
.captcha { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha img { height: 50px; width: auto; border: 2px solid var(--edge); border-radius: 10px; background: #fff; box-shadow: 3px 3px 0 var(--edge); image-rendering: pixelated; }

/* Servidores e personagens */
.realm { padding: 22px 24px 24px; margin-bottom: 18px; box-shadow: var(--shadow-soft); }
.realm-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.realm-head h2 { font-size: clamp(26px, 3vw, 36px); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.realm-head .state { margin-top: 6px; }
.realm-head .spacer { flex: 1; }
.chars { display: grid; gap: 12px; }
.char { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.lvl { display: grid; place-items: center; align-content: center; width: 58px; height: 58px; border-radius: 14px; background: var(--ink); color: var(--bg); box-shadow: 4px 4px 0 var(--orange); flex: none; }
.lvl small { font: 700 10px/1 var(--pixel); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.lvl b { font: 800 26px/1 var(--font); letter-spacing: -.04em; }
.char-name { margin: 0; font: 800 23px/1.1 var(--font); letter-spacing: -.035em; color: var(--ink); }
.empty { margin: 0; padding: 18px; border: 1.5px dashed var(--line2); border-radius: 14px; color: var(--ink2); }
.server-note { margin: 14px 0 0; font-size: 14.5px; color: var(--ink3); }

/* Pedidos */
.table-scroll { overflow-x: auto; }
.orders { width: 100%; border-collapse: collapse; font-size: 15px; }
.orders th { padding: 10px 12px; border-bottom: 1px solid var(--line2); text-align: left; font: 600 12px/1.2 var(--pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.orders td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink); }
.orders td.num { font: 600 14px/1.3 var(--mono); }
.orders a { font-family: var(--mono); font-weight: 700; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 9px; height: 9px; background: var(--ink3); }
.status.delivered::before { background: var(--green); }
.status.created::before, .status.paid::before { background: var(--amber); }
.status.review::before, .status.failed::before, .status.expired::before { background: var(--red); }

/* Recarga */
.recharge { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.step { padding: 24px 26px 26px; margin-bottom: 20px; box-shadow: var(--shadow-soft); }
.step-title { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.step-title h2 { font-size: clamp(24px, 2.6vw, 32px); }
.choice-grid { display: grid; gap: 12px; }
.chars-choice { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice .face { position: relative; top: 0; display: block; height: 100%; padding: 16px; border: 2px solid var(--line2); border-radius: 16px; background: var(--card); transition: border-color .15s, box-shadow .15s, top .14s var(--press); }
.choice:hover .face { border-color: var(--ink3); }
.choice input:checked + .face { border-color: var(--edge); box-shadow: 4px 4px 0 var(--orange); top: -2px; }
.choice input:focus-visible + .face { outline: 3px solid var(--blue); outline-offset: 3px; }
.char-face { display: flex !important; align-items: center; gap: 14px; }
.char-face .lvl { width: 48px; height: 48px; border-radius: 12px; box-shadow: 3px 3px 0 var(--orange); }
.char-face .lvl b { font-size: 21px; }
.char-face .char-name { font-size: 20px; }
.char-face small { display: block; font: 500 12.5px/1.4 var(--mono); color: var(--ink3); }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pack .face { padding: 22px 12px 18px; text-align: center; }
.coin { display: block; width: 56px; height: 56px; margin: 0 auto 10px; }
.pack-amount { display: block; font: 800 34px/1 var(--font); letter-spacing: -.05em; color: var(--ink); }
.pack-unit { display: block; margin-top: 4px; font: 500 12.5px/1.4 var(--mono); color: var(--ink3); }
.pack-bonus { display: block; min-height: 1.5em; margin-top: 8px; font: 700 13px/1.5 var(--mono); color: var(--green); }
.pack-price { display: inline-block; margin-top: 10px; padding: 5px 12px; border-radius: 10px; background: var(--bg2); font: 800 19px/1.2 var(--font); letter-spacing: -.02em; color: var(--ink); }
.choice input:checked + .face .pack-price { background: var(--orange); color: #16181F; }
.ribbon { position: absolute; z-index: 2; top: -12px; left: 50%; padding: 4px 10px; border-radius: 8px; background: var(--ink); color: var(--bg); font: 700 12px/1.3 var(--pixel); letter-spacing: .06em; white-space: nowrap; box-shadow: 2px 2px 0 var(--orange); translate: -50% 0; rotate: -2deg; pointer-events: none; }
.custom-amount { display: grid; grid-template-columns: minmax(0, 240px) 1fr; align-items: end; gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.custom-amount output { padding-bottom: 12px; font: 800 24px/1.2 var(--font); letter-spacing: -.03em; color: var(--ink); }
.providers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.provider .face { display: grid; gap: 4px; padding: 18px; }
.provider-mark { display: grid; place-items: center; width: 46px; height: 32px; margin-bottom: 8px; border: 1.5px solid var(--edge); border-radius: 9px; font: 800 13px/1 var(--font); box-shadow: 2px 2px 0 var(--edge); }
.provider-mark.mp { background: #00B1EA; color: #fff; }
.provider-mark.ip { background: #16181F; color: #5BE08A; }
.provider-name { font: 800 22px/1.1 var(--font); letter-spacing: -.03em; color: var(--ink); }
.provider-methods { color: var(--ink3); font-size: 14.5px; }
.summary { position: sticky; top: 96px; }
.summary .window-body { padding: 20px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 16px; font: 500 14px/1.4 var(--mono); }
.summary dt { color: var(--panel-ink3); }
.summary dd { margin: 0; text-align: right; color: var(--panel-ink); font-weight: 700; overflow-wrap: anywhere; }
.summary .bonus { color: #5BE08A; }
.total { margin: 0 0 16px; padding-top: 14px; border-top: 1px solid var(--panel-line); text-align: right; font: 800 40px/1 var(--font); letter-spacing: -.05em; color: #fff; }
.total small { display: block; margin-bottom: 6px; font: 600 12px/1 var(--pixel); letter-spacing: .12em; text-transform: uppercase; color: var(--panel-ink3); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-bottom: 16px; font-size: 14.5px; color: var(--panel-ink2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--orange); }
.summary .btn { --edge: #F2F1EC; color: #16181F; }
.summary .form-error { color: #FF8A84; }
.notice { margin: 0; padding: 16px 18px; border: 1.5px solid var(--amber); border-radius: 14px; background: color-mix(in srgb, var(--amber) 14%, var(--card)); color: var(--ink); }
.notice.error { border-color: var(--red); background: color-mix(in srgb, var(--red) 10%, var(--card)); }

/* Pedido */
.order-card { max-width: 820px; padding: 28px; box-shadow: var(--shadow-soft); }
.order-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.order-code { font: 700 22px/1 var(--mono); letter-spacing: .02em; color: var(--ink); }
.order-card > p { color: var(--ink); }
.steps { display: grid; gap: 0; margin: 8px 0 22px; padding: 0; list-style: none; }
.steps li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 24px; }
.steps li::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 4px; width: 2px; background: var(--line2); }
.steps li:last-child::after { display: none; }
.steps .step-n { width: 44px; height: 44px; font-size: 19px; background: var(--card); color: var(--ink3); border: 2px solid var(--line2); box-shadow: none; }
.steps li.done .step-n { background: var(--green); color: #fff; border-color: var(--edge); box-shadow: 3px 3px 0 var(--edge); }
.steps li.now .step-n { background: var(--amber); color: #16181F; border-color: var(--edge); box-shadow: 3px 3px 0 var(--edge); animation: waiting 1.6s ease-in-out infinite; }
.steps strong { display: block; padding-top: 3px; font-size: 18px; letter-spacing: -.02em; }
.steps span { font: 500 13.5px/1.5 var(--mono); color: var(--ink3); }

/* Suporte */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { padding: 4px 22px; }
.faq summary { padding: 16px 0; cursor: pointer; font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.faq summary:hover { color: var(--orange-ink); }
.faq details p { margin-top: -4px; }
.contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.section-gap { margin-top: 48px; }

/* Rodapé */
.site-footer { margin-top: auto; padding: 26px 0 34px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 14px; color: var(--ink3); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { color: var(--ink2); font-weight: 600; text-decoration: none; }
.footer-nav a:hover { color: var(--orange-ink); }
.footer-note { flex-basis: 100%; margin: 0; color: var(--ink3); }

/* Aviso flutuante (como o "Coleta terminou" do portfólio) */
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 80; max-width: min(520px, calc(100% - 32px)); padding: 14px 18px 14px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: var(--panel); color: var(--panel-ink); font-weight: 700; box-shadow: var(--shadow-window); translate: -50% 0; animation: toast-in .25s ease-out 1 backwards; }
.toast::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; background: var(--green); }
.toast.error::before { background: var(--red); }
.loading { padding: 140px 0; text-align: center; font: 600 14px/1.4 var(--mono); color: var(--ink3); }

/* ---------- Animações ---------- */
@keyframes drift { from { transform: translateX(-25vw); } to { transform: translateX(125vw); } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 180, 107, .6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(31, 180, 107, 0); } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes floaty { 0%, 100% { margin-bottom: 0; } 50% { margin-bottom: 10px; } }
@keyframes waiting { 50% { box-shadow: 3px 3px 0 var(--edge), 0 0 0 7px rgba(245, 179, 66, .3); } }
@keyframes impact { 0% { box-shadow: 0 4px 0 var(--edge), 0 0 0 0 rgba(240, 138, 60, .8); } 100% { box-shadow: 0 4px 0 var(--edge), 0 0 0 30px rgba(240, 138, 60, 0); } }
@keyframes toast-in { from { opacity: 0; } }
.rise { animation: rise .7s var(--ease) backwards; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .aim-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .systems, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recharge, .auth { grid-template-columns: 1fr; }
  .summary { position: static; }
  .auth-aside { display: none; }
  .hero-toast { right: 8px; }
}
@media (max-width: 860px) {
  .topnav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--shadow-soft); }
  .topnav.open { display: flex; }
  .topnav a { padding: 12px 14px; font-size: 16px; }
  .topbar-inner { position: relative; }
  .menu-toggle { display: inline-flex; }
  .account-slot .optional { display: none; }
  .server-card { grid-template-columns: auto 1fr; }
  .server-card .btn { grid-column: 1 / -1; }
  .aim-tips { grid-template-columns: 1fr; }
  .char { grid-template-columns: auto 1fr; }
  .char .btn { grid-column: 1 / -1; }
  .custom-amount { grid-template-columns: 1fr; }
  .hero-toast { display: none; }
  .news li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-name { font-size: 20px; }
  .stats, .packs { grid-template-columns: 1fr 1fr; }
  .systems, .providers { grid-template-columns: 1fr; }
  .aim-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .aim-win .window-bar { padding: 0 10px; } .aim-win .dots { display: none; }
  .aim-win table { font-size: 12.5px; }
  .window-body { padding: 14px; }
  .prompt { flex-wrap: wrap; justify-content: center; padding: 10px; }
  .orders th:nth-child(3), .orders td:nth-child(3) { display: none; }
  .section { padding: 64px 0; }
  .night { margin: 0 8px; border-radius: 28px 28px 0 0; }
  .pack-amount { font-size: 28px; }
  .cannon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .cloud { animation: none; left: var(--rest, 8%); }
  .cloud-2 { --rest: 46%; } .cloud-3 { --rest: 84%; } .cloud-4 { --rest: 68%; }
}
.cannon .p-ink { fill: var(--edge); }
@media (max-width: 860px) { .topnav a[aria-current="page"]::after { left: 4px; bottom: auto; top: 50%; margin: -3px 0 0; } }
