/* Nova Online — tema escuro: azul-noite, dourado e vidro */
:root {
  --bg: #070b12;
  --bg-2: #0b111c;
  --glass: rgba(18, 27, 43, .62);
  --glass-2: rgba(26, 38, 60, .72);
  --edge: rgba(148, 178, 220, .14);
  --edge-2: rgba(233, 180, 76, .45);
  --text: #e9eef7;
  --muted: #94a3bb;
  --gold: #e9b44c;
  --gold-2: #c8912a;
  --teal: #3dd6c6;
  --radius: 16px;
  --wrap: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 16px/1.65 var(--font);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(61, 214, 198, .08), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(233, 180, 76, .06), transparent 60%),
    var(--bg);
}
a { color: var(--teal); text-decoration: none; }
a:hover { color: #7ff0e4; }
img { max-width: 100%; height: auto; display: block; }
code { font: .86em ui-monospace, "Cascadia Mono", "DejaVu Sans Mono", Menlo, monospace; background: rgba(148,178,220,.1); padding: 2px 6px; border-radius: 5px; color: #dfe8f5; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- topo ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(7, 11, 18, .86); backdrop-filter: blur(12px); border-color: var(--edge); }
.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 800; letter-spacing: .14em; font-size: .95rem; }
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; }
.brand em { font-style: normal; color: var(--gold); }
.links { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--edge); border-radius: 999px; background: rgba(12, 18, 30, .55); backdrop-filter: blur(10px); }
.links a { color: var(--muted); font-weight: 600; font-size: .9rem; padding: 7px 16px; border-radius: 999px; }
.links a:hover, .links a[aria-current="page"] { color: var(--text); background: rgba(148, 178, 220, .12); }
.top .cta { justify-self: end; }
.burger { display: none; justify-self: end; background: none; border: 1px solid var(--edge); color: var(--text); border-radius: 10px; width: 42px; height: 38px; font-size: 1.1rem; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold { color: #1b1305; background: linear-gradient(180deg, #f6cc6f, var(--gold) 55%, var(--gold-2)); box-shadow: 0 10px 30px rgba(233, 180, 76, .22); }
.btn-gold:hover { color: #1b1305; transform: translateY(-1px); box-shadow: 0 14px 34px rgba(233, 180, 76, .32); }
.btn-glass { color: var(--text); background: var(--glass); border-color: var(--edge); backdrop-filter: blur(10px); }
.btn-glass:hover { color: var(--text); border-color: var(--edge-2); }
.btn-outline { color: var(--gold); border-color: var(--edge-2); background: transparent; padding: 9px 18px; font-size: .88rem; }
.btn-outline:hover { color: #1b1305; background: var(--gold); }
.btn[aria-disabled="true"] { filter: grayscale(1) brightness(.7); cursor: not-allowed; transform: none; }

/* ---------- abertura ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 110px 0 90px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("img/hero.jpg") 70% 35% / cover no-repeat;
  filter: saturate(1.15);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,11,18,.55) 0%, rgba(7,11,18,.25) 35%, rgba(7,11,18,.85) 85%, var(--bg) 100%),
    linear-gradient(90deg, rgba(7,11,18,.92) 0%, rgba(7,11,18,.55) 50%, rgba(7,11,18,.15) 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: center; width: 100%; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding: 6px 12px; border: 1px solid var(--edge-2); border-radius: 999px; background: rgba(233,180,76,.08); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.02; margin: 20px 0 18px; letter-spacing: -.02em; font-weight: 800; }
.hero h1 span { background: linear-gradient(90deg, var(--gold), #ffe3a3 50%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { color: #c4cfe0; font-size: 1.12rem; max-width: 560px; margin: 0 0 30px; }
.hero .row { display: flex; gap: 14px; flex-wrap: wrap; }
.waves { position: absolute; left: 0; right: 0; bottom: -2px; z-index: -1; opacity: .5; }

/* painel do servidor */
.panel { background: var(--glass); border: 1px solid var(--edge); border-radius: var(--radius); backdrop-filter: blur(14px); padding: 26px; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.panel h2 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 700; }
.status { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 18px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(61,214,198,.15), 0 0 16px var(--teal); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 22px; font-size: .93rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; word-break: break-all; }
.panel .btn { width: 100%; }
.panel small { display: block; text-align: center; color: var(--muted); margin-top: 10px; font-size: .8rem; }

/* ---------- seções ---------- */
section { padding: 96px 0; position: relative; }
.head { max-width: 640px; margin-bottom: 44px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
h2.title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; margin: 10px 0 12px; letter-spacing: -.01em; }
.head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--edge), transparent); }

/* grade de blocos (bento) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(170px, auto); gap: 18px; }
.tile { background: var(--glass); border: 1px solid var(--edge); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; transition: border-color .2s, transform .2s; }
.tile:hover { border-color: var(--edge-2); transform: translateY(-2px); }
.tile h3 { margin: 0 0 8px; font-size: 1.2rem; }
.tile p { margin: 0; color: var(--muted); }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(233,180,76,.12); color: var(--gold); border: 1px solid var(--edge-2); }
.tile .ico svg { width: 22px; height: 22px; }
.t-art { grid-column: span 3; grid-row: span 2; padding: 0; margin: 0; display: flex; flex-direction: column; }
.t-art img { width: 100%; flex: 1; object-fit: cover; object-position: center 20%; min-height: 260px; }
.t-art .cap { padding: 20px 24px; background: linear-gradient(180deg, transparent, rgba(7,11,18,.6)); }
.t-3 { grid-column: span 3; }
.t-2 { grid-column: span 2; }
.t-wide { grid-column: span 6; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(90deg, rgba(233,180,76,.12), rgba(61,214,198,.08)); }
.big-num { font-size: 2.6rem; font-weight: 800; color: var(--gold); line-height: 1; }

/* linha do tempo */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--gold), var(--teal)); opacity: .55; }
.node { text-align: center; position: relative; padding: 0 10px; }
.node b { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; background: var(--bg-2); border: 2px solid var(--gold); color: var(--gold); box-shadow: 0 0 0 6px var(--bg); position: relative; }
.node h3 { margin: 0 0 6px; }
.node p { margin: 0; color: var(--muted); }

/* ---------- página de download ---------- */
.page-top { padding: 150px 0 40px; background: radial-gradient(700px 300px at 50% 0, rgba(233,180,76,.12), transparent 70%); text-align: center; }
.page-top h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 12px 0 10px; letter-spacing: -.02em; }
.page-top p { color: var(--muted); margin: 0 auto; max-width: 560px; }
.dl-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.dl { background: var(--glass); border: 1px solid var(--edge); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.dl.main { border-color: var(--edge-2); background: linear-gradient(160deg, rgba(233,180,76,.1), var(--glass) 45%); }
.dl .label { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(233,180,76,.15); color: var(--gold); }
.dl .label.alt { background: rgba(61,214,198,.12); color: var(--teal); }
.dl h2 { margin: 0; font-size: 1.6rem; }
.dl p { margin: 0; color: var(--muted); }
.specs { display: flex; flex-wrap: wrap; gap: 8px; }
.specs span { font-size: .85rem; padding: 6px 12px; border: 1px solid var(--edge); border-radius: 999px; color: #c9d4e6; }
.hash { font: .75rem/1.5 ui-monospace, monospace; color: var(--muted); word-break: break-all; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.25); border: 1px solid var(--edge); }
.dl .btn { margin-top: auto; align-self: flex-start; }

.info { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.card { background: var(--glass); border: 1px solid var(--edge); border-radius: var(--radius); padding: 28px; }
.card h3 { margin: 0 0 14px; font-size: 1.15rem; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 42px; margin-bottom: 14px; color: #c9d4e6; min-height: 28px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #1b1305; background: var(--gold); }
.req { width: 100%; border-collapse: collapse; }
.req th, .req td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--edge); font-size: .95rem; }
.req th { color: var(--muted); font-weight: 600; width: 40%; }
.req tr:last-child th, .req tr:last-child td { border-bottom: 0; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--glass); border: 1px solid var(--edge); border-radius: 14px; padding: 0 22px; }
.faq details[open] { border-color: var(--edge-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); margin-top: 4px; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 9px; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- rodapé ---------- */
footer { border-top: 1px solid var(--edge); padding: 34px 0; color: var(--muted); font-size: .88rem; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; }
footer nav a { color: var(--muted); } footer nav a:hover { color: var(--gold); }

/* ---------- telas menores ---------- */
@media (max-width: 960px) {
  .top .wrap { grid-template-columns: 1fr auto; }
  .burger { display: block; }
  .top .cta { display: none; }
  .links { display: none; position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; border-radius: 16px; background: rgba(7,11,18,.96); padding: 10px; }
  .links.open { display: flex; }
  .links a { border-radius: 10px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .t-art, .t-3, .t-2, .t-wide { grid-column: auto; grid-row: auto; }
  .timeline { grid-template-columns: 1fr; gap: 34px; }
  .timeline::before { display: none; }
  .dl-grid, .info { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile { transition: none; }
}
