/* VienaZ — padrão visual WF: fundo preto, títulos condensados em itálico,
   cartões com borda colorida no topo. A cor de destaque é o vermelho da logo.
   Quer o amarelo-âmbar dos apps WF? Troque só a linha --accent abaixo (ex.: #ffb300). */
:root {
  --accent: #f90201;
  --accent-2: #ff3b30;
  --bg: #070707;
  --bg-2: #0f0f10;
  --card: #141415;
  --line: #232325;
  --text: #ececec;
  --muted: #9a9a9e;
  --ok: #3ddc84;
  --warn: #ffb300;
  --radius: 10px;
  --font-title: 'Oswald', 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.55;
  background-image: radial-gradient(ellipse at top, rgba(249,2,1,.08), transparent 55%);
  min-height: 100vh;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

h1, h2, h3, .title {
  font-family: var(--font-title); font-style: italic; text-transform: uppercase; letter-spacing: .02em;
  font-weight: 700; line-height: 1.05; margin: 0 0 .5em;
}
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 .red, .red { color: var(--accent); }
h3 { font-size: 1.25rem; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
.kicker { color: var(--accent); font-family: var(--font-title); font-style: italic; text-transform: uppercase; letter-spacing: .15em; font-size: .85rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* ---------- Topo ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7,7,7,.88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-title); font-style: italic; font-size: 1.4rem; text-transform: uppercase; }
.brand img { height: 40px; width: auto; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 18px; margin-left: auto; }
.nav-links a { color: var(--muted); font-family: var(--font-title); font-style: italic; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 6px 10px; font-size: 1.1rem; }
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg-2); padding: 16px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; margin-left: auto; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font-family: var(--font-title); font-style: italic; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem;
  padding: 11px 20px; border-radius: 8px; border: 1px solid transparent; color: #fff; background: var(--accent);
  transition: transform .12s, background .12s, box-shadow .12s; text-decoration: none !important; white-space: nowrap;
}
.btn:hover { background: var(--accent-2); box-shadow: 0 6px 24px rgba(249,2,1,.3); transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.ghost { background: transparent; border-color: #3a3a3d; color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn.discord { background: #5865f2; }
.btn.discord:hover { background: #4752c4; box-shadow: 0 6px 24px rgba(88,101,242,.35); }
.btn.sm { padding: 7px 12px; font-size: .85rem; }
.btn.block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-logo { width: 100%; max-width: 620px; filter: drop-shadow(0 20px 50px rgba(249,2,1,.18)); border-radius: 12px; }
.hero p.lead { font-size: 1.15rem; color: #cfcfd2; max-width: 560px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- Cartões (borda no topo = padrão WF) ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: var(--radius); padding: 22px;
}
.card.flat { border-top-color: var(--line); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* ---------- Status ---------- */
.status-card .row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.status-card .row:last-child { border-bottom: 0; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #666; margin-right: 8px; }
.dot.on { background: var(--ok); box-shadow: 0 0 12px var(--ok); animation: pulse 2s infinite; }
.dot.off { background: var(--accent); }
@keyframes pulse { 50% { opacity: .45; } }
.big-num { font-family: var(--font-title); font-style: italic; font-size: 2.6rem; line-height: 1; }
.bar { height: 8px; background: #222; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: 0; transition: width .6s; }
.ip-box { display: flex; gap: 8px; align-items: center; background: #0b0b0c; border: 1px solid var(--line); border-radius: 8px; padding: 8px 8px 8px 12px; font-family: ui-monospace, Consolas, monospace; }
.ip-box span { flex: 1; overflow: hidden; text-overflow: ellipsis; }

.stat { text-align: center; }
.stat .big-num { color: var(--accent); }
.stat .label { color: var(--muted); text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; margin-top: 6px; }

/* ---------- Regras ---------- */
.rules-alert { background: rgba(249,2,1,.08); border: 1px solid rgba(249,2,1,.4); border-left: 4px solid var(--accent); border-radius: 8px; padding: 14px 18px; margin-bottom: 22px; }
.rule-list { list-style: none; padding: 0; margin: 0; }
.rule-list li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); }
.rule-list li:last-child { border-bottom: 0; }
.rule-list li::before { position: absolute; left: 0; top: 10px; font-size: 1rem; }
.rule-list.no li::before { content: '🚫'; }
.rule-list.yes li::before { content: '✅'; }
.rule-list.gen li::before { content: '🛡️'; }
.rule-list b { color: #fff; }
.card.no { border-top-color: var(--accent); }
.card.yes { border-top-color: var(--ok); }
.card.gen { border-top-color: #5b8cff; }
.tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: 2px 8px; border-radius: 99px; background: #222; color: var(--muted); }
.tag.red { background: rgba(249,2,1,.15); color: #ff6b66; }
.tag.green { background: rgba(61,220,132,.12); color: var(--ok); }
.tag.yellow { background: rgba(255,179,0,.14); color: var(--warn); }

/* ---------- Passos (como entrar) ---------- */
.step { position: relative; padding-top: 30px; }
.step .n { position: absolute; top: -18px; left: 18px; width: 40px; height: 40px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; font-family: var(--font-title); font-style: italic; font-size: 1.3rem; transform: skew(-8deg); }
pre.mods { background: #0b0b0c; border: 1px solid var(--line); padding: 12px; border-radius: 8px; white-space: pre-wrap; margin: 10px 0 0; font-size: .85rem; }

/* ---------- Loja de kits ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { background: #151517; border: 1px solid var(--line); color: var(--muted); padding: 6px 14px; border-radius: 99px; cursor: pointer; font-family: var(--font-title); font-style: italic; text-transform: uppercase; letter-spacing: .05em; }
.chip.active { color: #fff; border-color: var(--accent); background: rgba(249,2,1,.12); }
.kit { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.kit.hl { box-shadow: 0 0 0 1px var(--accent), 0 10px 40px rgba(249,2,1,.15); }
.kit .ribbon { position: absolute; top: 14px; right: -34px; background: var(--accent); color: #fff; transform: rotate(45deg); padding: 3px 40px; font-family: var(--font-title); font-style: italic; font-size: .8rem; text-transform: uppercase; }
.kit .tag { align-self: flex-start; }
.kit .img { height: 150px; margin: -22px -22px 16px; background: #0d0d0e center/cover no-repeat; border-bottom: 1px solid var(--line); display: grid; place-items: center; font-size: 3rem; }
.kit ul { padding-left: 18px; margin: 10px 0 16px; color: #cfcfd2; flex: 1; }
.kit ul li { margin: 3px 0; }
.price { font-family: var(--font-title); font-style: italic; font-size: 2rem; color: #fff; }
.price small { font-size: .9rem; color: var(--muted); }

/* ---------- Notícias / FAQ ---------- */
.news-item .date { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.news-item p { white-space: pre-line; color: #cfcfd2; margin: .3em 0 0; }
details.faq { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
details.faq summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: '–'; }
details.faq p { color: #cfcfd2; margin: 10px 0 0; }

/* ---------- Discord CTA ---------- */
.discord-cta { background: linear-gradient(120deg, #1a1b2e, #101016); border: 1px solid #2c2e52; border-top: 3px solid #5865f2; border-radius: var(--radius); padding: 34px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* ---------- Formulários ---------- */
label { display: block; font-size: .85rem; color: var(--muted); margin: 12px 0 5px; }
input, textarea, select {
  width: 100%; background: #0b0b0c; border: 1px solid #2a2a2d; color: var(--text); border-radius: 8px; padding: 10px 12px; font: inherit;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(249,2,1,.15); }
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; gap: 8px; align-items: center; color: var(--text); }
.check input { width: auto; }
.msg { margin-top: 10px; font-size: .9rem; min-height: 1.2em; }
.msg.err { color: #ff6b66; }
.msg.ok { color: var(--ok); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.75); display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.modal.open { display: flex; }
.modal .box { width: min(440px, 100%); max-height: 92vh; overflow: auto; position: relative; }
.modal .close { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--muted); font-size: 1.5rem; cursor: pointer; }
.tabs { display: flex; gap: 4px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; background: none; border: 0; color: var(--muted); padding: 10px; cursor: pointer; font-family: var(--font-title); font-style: italic; text-transform: uppercase; font-size: 1.05rem; border-bottom: 2px solid transparent; }
.tabs button.active { color: #fff; border-bottom-color: var(--accent); }
.qr { background: #fff; padding: 10px; border-radius: 8px; width: 220px; margin: 12px auto; }
.copy-area { font-family: ui-monospace, Consolas, monospace; font-size: .75rem; word-break: break-all; background: #0b0b0c; border: 1px solid var(--line); padding: 10px; border-radius: 8px; max-height: 90px; overflow: auto; }

/* ---------- Tabelas (conta / admin) ---------- */
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; }
.table-wrap { overflow-x: auto; }
.st-pendente { color: var(--warn); }
.st-pago { color: #5b8cff; }
.st-entregue { color: var(--ok); }
.st-cancelado { color: var(--muted); text-decoration: line-through; }

/* ---------- Rodapé ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: .85rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer .wf { font-family: var(--font-title); font-style: italic; text-transform: uppercase; color: var(--text); }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(120px); background: #1c1c1e; border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 12px 18px; border-radius: 8px; z-index: 200; transition: transform .25s, opacity .25s; max-width: 90vw; opacity: 0; pointer-events: none; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.hidden { display: none !important; }
.countdown { font-family: var(--font-title); font-style: italic; font-size: 1.6rem; color: #fff; }
