:root {
  --bg: #08090c;
  --bg2: #0e1015;
  --card: #12151c;
  --line: rgba(255, 255, 255, .08);
  --txt: #eef1f5;
  --mut: #9aa3b2;
  --acc: #f5b301;
  --acc2: #ff7a18;
  --head: 'Teko', 'Rajdhani', sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--txt); font-family: var(--body); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; flex: none; }
.hidden { display: none !important; }
.muted { color: var(--mut); }
.center { text-align: center; }
em { font-style: normal; color: var(--acc); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 46px; padding: 0 22px; border-radius: 10px; font-weight: 700; font-size: 15px; letter-spacing: .02em;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap;
}
.btn svg { font-size: 1.1em; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.lg { height: 56px; padding: 0 30px; font-size: 16.5px; border-radius: 12px; }
.btn.full { width: 100%; }
.btn.primary { background: linear-gradient(180deg, #ffc93a, var(--acc) 55%, #e09400); color: #1a1200; box-shadow: 0 8px 28px -8px rgba(245, 179, 1, .6), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(245, 179, 1, .75), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn.ghost { border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn.ghost:hover { border-color: var(--acc); background: rgba(245, 179, 1, .08); }
.btn.disabled { opacity: .45; pointer-events: none; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px; padding: 0 clamp(16px, 4vw, 48px);
  display: flex; align-items: center; gap: 32px; transition: background .25s, border-color .25s, height .25s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(8, 9, 12, .86); backdrop-filter: blur(14px); border-color: var(--line); height: 64px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-right: auto; }
.nav-links a { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: #c9cfd8; position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--acc); transition: right .2s; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-guest, .nav-user { display: flex; align-items: center; gap: 8px; }
.nav-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: 14px; }
.nav-chip svg { color: var(--acc); }
.nav-admin { font-size: 13px; font-weight: 700; color: var(--acc); padding: 0 8px; }
.nav-out { font-size: 13px; color: var(--mut); padding: 0 6px; }
.nav-out:hover { color: #fff; }
.nav-burger { display: none; font-size: 26px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; background: url(/assets/site/hero.jpg) center right / cover no-repeat;
  animation: heroZoom 22s ease-out both;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 12, .96) 0%, rgba(8, 9, 12, .8) 32%, rgba(8, 9, 12, .15) 62%, rgba(8, 9, 12, .3) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%);
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-embers { position: absolute; inset: 0; pointer-events: none; }
.hero-embers i { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: #ffb347; box-shadow: 0 0 8px 2px rgba(255, 140, 30, .7); animation: ember linear infinite; }
@keyframes ember { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(var(--dx), -105vh); opacity: 0; } }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; padding: 120px clamp(20px, 5vw, 64px) 80px; }
.hero-live { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: #cfd5de; margin-bottom: 26px; backdrop-filter: blur(6px); }
.hero-live i { width: 8px; height: 8px; border-radius: 50%; background: #6b7280; }
.hero-live.on i { background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulse 1.8s infinite; }
.hero-live.off i { background: #ef4444; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero h1 { font-family: var(--head); font-weight: 700; font-size: clamp(64px, 9vw, 132px); line-height: .86; letter-spacing: .01em; text-shadow: 0 6px 40px rgba(0, 0, 0, .6); }
.hero h1 em { background: linear-gradient(180deg, #ffd760, var(--acc) 50%, var(--acc2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 520px; margin: 22px 0 34px; font-size: clamp(16px, 1.4vw, 18.5px); color: #c3cad5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-plats { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; font-size: 13.5px; font-weight: 600; color: #aab2bf; }
.hero-plats span { display: inline-flex; align-items: center; gap: 8px; }
.hero-plats svg { font-size: 18px; color: #fff; }
.hero-plats .soon { opacity: .55; }
.hero-plats .soon::after { content: 'em breve'; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--acc); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- strip ---------- */
.strip { position: relative; z-index: 3; max-width: 1180px; margin: -46px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); background: linear-gradient(180deg, #151922, #0f1218); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.strip div { padding: 26px 20px; text-align: center; }
.strip div + div { border-left: 1px solid var(--line); }
.strip b { display: block; font-family: var(--head); font-size: 50px; line-height: 1; color: var(--acc); }
.strip span { font-size: 13.5px; color: var(--mut); font-weight: 500; }

/* ---------- seções ---------- */
.sec { max-width: 1240px; margin: 0 auto; padding: 120px clamp(20px, 4vw, 40px) 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .28em; text-transform: uppercase; color: var(--acc); margin-bottom: 10px; }
.kicker::before, .kicker::after { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--acc); vertical-align: middle; margin: 0 12px; opacity: .6; }
.sec h2 { font-family: var(--head); font-weight: 600; font-size: clamp(44px, 5.4vw, 70px); line-height: .95; }
.sec-head p { margin-top: 14px; color: var(--mut); font-size: 17px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 34px 30px; border-radius: 16px; background: linear-gradient(160deg, #151922, #0d1015); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, transform .25s; }
.step:hover { border-color: rgba(245, 179, 1, .45); transform: translateY(-4px); }
.step-n { position: absolute; right: 18px; top: 4px; font-family: var(--head); font-size: 96px; line-height: 1; color: rgba(255, 255, 255, .05); }
.step h3 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 24px; margin-bottom: 8px; }
.step h3::before { content: ''; display: block; width: 36px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--acc), var(--acc2)); margin-bottom: 18px; }
.step p { color: var(--mut); font-size: 15px; }

/* recursos */
.feat-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 18px; }
.feat { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.feat.big { grid-row: span 2; }
.feat.wide { grid-column: span 2; }
.feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.feat:hover img { transform: scale(1.06); }
.feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 7, 10, .95) 0%, rgba(6, 7, 10, .4) 45%, transparent 75%); }
.feat-txt { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 26px; }
.feat-txt h3 { font-family: var(--head); font-weight: 600; font-size: 34px; line-height: 1; margin: 8px 0 6px; }
.feat-txt p { color: #c3cad5; font-size: 14.5px; max-width: 460px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 6px; background: rgba(245, 179, 1, .16); color: var(--acc); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ranking */
.rank-board { max-width: 860px; margin: 0 auto; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #131720, #0d1015); overflow: hidden; }
.rank-row { display: grid; grid-template-columns: 64px 1fr 110px 90px 90px; align-items: center; padding: 16px 24px; gap: 10px; font-size: 15px; }
.rank-row + .rank-row { border-top: 1px solid var(--line); }
.rank-row.hd { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); padding: 14px 24px; background: rgba(255, 255, 255, .02); }
.rank-pos { font-family: var(--head); font-size: 30px; line-height: 1; color: #6b7280; }
.rank-row:nth-child(2) .rank-pos { color: #f5b301; }
.rank-row:nth-child(3) .rank-pos { color: #cbd5e1; }
.rank-row:nth-child(4) .rank-pos { color: #d08a4a; }
.rank-name b { display: block; font-weight: 700; }
.rank-name small { color: var(--mut); font-size: 12.5px; }
.rank-badge { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, .07); letter-spacing: .05em; }
.rank-num { font-weight: 700; text-align: right; }
.rank-row.hd .rank-num { text-align: right; }

/* novidades */
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.news-card { padding: 26px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.news-card header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 12.5px; color: var(--mut); }
.news-card h3 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.15; margin-bottom: 8px; }
.news-card p { color: #b9c1cd; font-size: 14.5px; white-space: pre-line; }
.tag.evento { background: rgba(168, 85, 247, .18); color: #c084fc; }
.tag.aviso { background: rgba(239, 68, 68, .16); color: #f87171; }

/* download */
.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dl-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 30px 26px; border-radius: 18px; background: linear-gradient(170deg, #151922, #0d1015); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.dl-card:hover { border-color: rgba(245, 179, 1, .4); transform: translateY(-4px); }
.dl-card.web { border-color: rgba(245, 179, 1, .45); background: linear-gradient(170deg, #2a2108, #0f1015 70%); }
.dl-ico { font-size: 40px; color: #fff; margin-bottom: 6px; }
.dl-card h3 { font-family: var(--head); font-weight: 600; font-size: 34px; line-height: 1; }
.dl-card p { color: var(--mut); font-size: 14px; flex: 1; }
.dl-card .btn { width: 100%; margin-top: 8px; }

/* cta */
.cta { margin-top: 140px; position: relative; overflow: hidden; background: url(/assets/site/feat-loot.jpg) center / cover; }
.cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(8, 9, 12, .78) 30%, rgba(8, 9, 12, .78) 70%, var(--bg) 100%); }
.cta-inner { position: relative; max-width: 760px; margin: 0 auto; padding: 130px 24px; text-align: center; }
.cta h2 { font-family: var(--head); font-weight: 600; font-size: clamp(54px, 7vw, 92px); line-height: .9; }
.cta p { margin: 16px 0 32px; color: #c3cad5; font-size: 18px; }
.cta .hero-cta { justify-content: center; }

/* footer */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; max-width: 1240px; margin: 0 auto; padding: 40px clamp(20px, 4vw, 40px) 50px; border-top: 1px solid var(--line); color: var(--mut); font-size: 13.5px; }
.foot img { height: 28px; width: auto; }
.foot nav { display: flex; gap: 22px; margin-right: auto; }
.foot nav a:hover { color: #fff; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(3, 4, 6, .78); backdrop-filter: blur(8px); animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-card { position: relative; width: 100%; max-width: 420px; padding: 34px 32px 28px; border-radius: 20px; background: linear-gradient(180deg, #161a22, #0e1116); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9); animation: popIn .25s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes popIn { from { transform: scale(.94); opacity: 0; } }
.modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--mut); font-size: 18px; }
.modal-x:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.modal-logo { height: 40px; width: auto; margin: 0 auto 6px; }
.modal-card h3 { text-align: center; font-family: var(--head); font-weight: 600; font-size: 34px; line-height: 1.1; margin-bottom: 18px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .05); margin-bottom: 20px; }
.tabs button { height: 38px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--mut); }
.tabs button.on { background: var(--acc); color: #1a1200; }
.field { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 16px; margin-bottom: 12px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1.5px solid rgba(255, 255, 255, .1); transition: border-color .2s; }
.field:focus-within { border-color: var(--acc); }
.field svg { color: var(--mut); font-size: 18px; }
.field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 15px; }
.modal:not(.register) .reg, .modal:not(.register) .reg-only, .modal.register .reg-hide { display: none; }
.form-err { margin: 2px 0 12px; padding: 10px 12px; border-radius: 10px; background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .35); color: #fca5a5; font-size: 13.5px; }
.modal-foot { margin-top: 16px; text-align: center; color: var(--mut); font-size: 14px; }
.modal-foot a { color: var(--acc); font-weight: 600; }

.toast { position: fixed; left: 50%; bottom: 30px; z-index: 120; transform: translateX(-50%); padding: 14px 22px; border-radius: 12px; background: #161a22; border: 1px solid rgba(245, 179, 1, .45); font-weight: 600; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .8); animation: popIn .25s; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .feat-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 280px 280px; }
  .feat.big { grid-row: auto; grid-column: span 2; }
  .dl-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 20px 18px; background: rgba(8, 9, 12, .97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-burger { display: block; }
  .nav-guest .btn:last-child, .nav-chip { display: none; }
  .nav { background: rgba(8, 9, 12, .86); backdrop-filter: blur(14px); }
}
@media (max-width: 760px) {
  .strip { grid-template-columns: 1fr 1fr; margin: -30px 16px 0; }
  .strip div:nth-child(3) { border-left: 0; }
  .strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 300px; }
  .feat.big, .feat.wide { grid-column: auto; }
  .rank-row { grid-template-columns: 44px 1fr 70px; }
  .rank-row > :nth-child(4), .rank-row > :nth-child(5) { display: none; }
  .dl-grid { grid-template-columns: 1fr; }
  .hero-bg { background-position: 70% center; }
  .hero-bg::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(8, 9, 12, .75) 50%, rgba(8, 9, 12, .55) 100%); }
  .nav-guest .btn { display: none; }
  .nav-guest .btn:first-child { display: inline-flex; }
}
