/* =====================================================================
   CRYPTO BOMBER - landing page + login/cadastro
   ===================================================================== */
:root {
  --bg-1: #0a0920;
  --bg-2: #171142;
  --glass: rgba(26, 21, 62, .62);
  --glass-2: rgba(44, 36, 96, .75);
  --line: rgba(140, 120, 255, .22);
  --text: #f1eeff;
  --muted: #a8a0d8;
  --gold: #ffc93c;
  --cyan: #36d4ff;
  --orange: #ff7a2f;
  --pink: #ff5ad9;
  --green: #3fd46e;
  --r-common: #a7b1bf; --r-rare: #43c463; --r-super: #3b8cff; --r-epic: #b04dff; --r-legend: #ffb320;
  --title: 'Lilita One', 'Segoe UI', sans-serif;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--text); font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif; font-weight: 700; line-height: 1.5;
  background:
    radial-gradient(ellipse 80% 60% at 75% 10%, #3a1d7a55, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 30%, #0f3b6a55, transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, #4a1a6a66, transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2) 50%, var(--bg-1));
  min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
.hidden { display: none !important; }
.bg-stars { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff9, transparent), radial-gradient(1px 1px at 140px 90px, #fff7, transparent),
    radial-gradient(1.5px 1.5px at 260px 160px, #9cf9, transparent), radial-gradient(1px 1px at 330px 50px, #fff6, transparent),
    radial-gradient(1.5px 1.5px at 80px 200px, #f9c8, transparent);
  background-size: 380px 240px; animation: drift 120s linear infinite; }
@keyframes drift { to { background-position: 380px 960px; } }
body > *:not(.bg-stars) { position: relative; z-index: 1; }

/* ---------- moeda ---------- */
.coin { display: inline-block; width: 18px; height: 18px; border-radius: 50%; flex: none; vertical-align: middle; position: relative;
  background: radial-gradient(circle at 35% 30%, #fff6c2 0 12%, #ffd34a 30%, #e79b00 75%, #b56d00);
  box-shadow: inset 0 -2px 0 #8a5200, 0 0 8px #ffbf2a66; }
.coin::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px solid #b77a0088; }
.coin.xl { width: 46px; height: 46px; box-shadow: inset 0 -4px 0 #8a5200, 0 0 24px #ffbf2a88; }
.coin.xl::after { inset: 9px; border-width: 3px; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 10px 18px;
  font-family: var(--title); font-size: 16px; letter-spacing: .5px; color: #fff; white-space: nowrap; transition: transform .12s, filter .15s, box-shadow .2s; }
.btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { filter: grayscale(.7) brightness(.7); cursor: not-allowed; transform: none; }
.btn-fire { background: linear-gradient(180deg, #ffa43c, #f0551a); box-shadow: 0 5px 0 #9a3208, 0 10px 30px #ff6a2a55, inset 0 2px 0 #fff5; }
.btn-ghost { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.btn-xl { padding: 16px 30px; font-size: 20px; border-radius: 18px; }

/* ---------- logo ---------- */
.brand { display: flex; align-items: center; gap: 6px; }
.brand-icon { width: 56px; height: 56px; margin: -8px -4px -8px -6px; flex: none; filter: drop-shadow(0 5px 8px #0008); }
.brand-icon canvas { display: block; width: 100% !important; height: 100% !important; }
.brand-name { font-family: var(--title); font-size: 26px; letter-spacing: 1px; color: #fff; text-shadow: 0 3px 0 #2a1a6a; }
.brand-name span { margin-left: 6px; background: linear-gradient(#ffe27a, #ff8a2f); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 3px 0 #2a1a6a); }
.brand.small .brand-name { font-size: 20px; }

/* ---------- seletor de idioma ---------- */
.lang-picker { position: relative; }
.lang-current { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px 0 8px; border-radius: 30px;
  border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); color: #fff; font-family: var(--title); font-size: 14px; letter-spacing: .5px; }
.lang-current:hover { background: var(--glass-2); }
.lang-current .caret { width: 10px; height: 6px; color: var(--muted); transition: transform .2s; }
.lang-picker.open .caret { transform: rotate(180deg); }
.flag { display: inline-flex; width: 26px; height: 18px; border-radius: 4px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px #0006, 0 2px 4px #0005; }
.flag svg { width: 100%; height: 100%; display: block; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px; padding: 6px; border-radius: 14px; z-index: 50;
  background: linear-gradient(180deg, #2a2362, #17133a); border: 1px solid #6a5cff55; box-shadow: 0 16px 40px #000b;
  opacity: 0; transform: translateY(-6px) scale(.97); pointer-events: none; transition: opacity .15s, transform .15s; }
.lang-picker.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px;
  background: transparent; color: #e6e1ff; font-size: 14px; text-align: left; }
.lang-menu button:hover { background: #ffffff12; }
.lang-menu button.active { background: #5b4bd655; color: #fff; box-shadow: inset 0 0 0 1px #8a7bff66; }

/* ---------- navegação ---------- */
.nav { position: fixed !important; top: 0; left: 0; right: 0; z-index: 40 !important; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px clamp(16px, 4vw, 48px); transition: background .25s, padding .25s, box-shadow .25s; }
.nav.scrolled { background: rgba(12, 10, 34, .82); backdrop-filter: blur(14px); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 10px 30px #0006; border-bottom: 1px solid var(--line); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 15px; transition: color .15s; position: relative; }
.nav-links a:hover { color: #fff; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--cyan); transform: scaleX(0); transition: transform .2s; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 20px;
  padding: 110px clamp(16px, 4vw, 48px) 60px; max-width: 1400px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 30px; font-size: 13px; letter-spacing: .5px;
  background: #36d4ff14; border: 1px solid #36d4ff44; color: #bff1ff; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero h1 { font-family: var(--title); font-weight: 400; font-size: clamp(42px, 6.2vw, 84px); line-height: 1; margin: 22px 0 18px; letter-spacing: 1px;
  text-shadow: 0 6px 0 #1d1250; }
.grad { background: linear-gradient(90deg, #ffe27a, #ff8a2f 40%, #ff5ad9 75%, #8a7bff); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite; text-shadow: none; filter: drop-shadow(0 6px 0 #1d1250); }
@keyframes shimmer { 50% { background-position: 100% 0; } }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: #cfc8f5; max-width: 560px; margin: 0 0 30px; font-weight: 600; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats > div { padding: 12px 18px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(8px); min-width: 120px; }
.hero-stats b { display: block; font-family: var(--title); font-weight: 400; font-size: 30px; color: var(--gold); line-height: 1.1; }
.hero-stats span { font-size: 13px; color: var(--muted); }
.hero-3d { position: relative; height: min(78vh, 720px); min-height: 420px; border-radius: 30px; opacity: 0; transition: opacity 1s;
  /* bordas somem suavemente (sem corte duro nas laterais) */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, #000 80%, transparent);
  mask-composite: intersect; }
.hero-3d.ready { opacity: 1; }
.hero-3d { min-width: 0; overflow: hidden; }
.hero-3d canvas { position: relative; z-index: 1; display: block; width: 100% !important; height: 100% !important; }
.hero > * { min-width: 0; }

/* menu hambúrguer (celular) */
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.nav-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.only-mobile { display: none; }
.hero-3d-glow { position: absolute; inset: 10% 5% 0; border-radius: 50%; background: radial-gradient(circle, #6a4bff55, transparent 65%); filter: blur(30px); }
.scroll-hint { position: absolute !important; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid #ffffff55; border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- seções ---------- */
.section { max-width: 1240px; margin: 0 auto; padding: 90px clamp(16px, 4vw, 48px); }
.section.narrow { max-width: 860px; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-family: var(--title); font-weight: 400; font-size: clamp(32px, 4vw, 52px); margin: 0 0 8px; letter-spacing: 1px; text-shadow: 0 5px 0 #1d1250; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); overflow: hidden; }
.step::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, #36d4ff66, transparent 40%, #ff7a2f55);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.step-num { position: absolute; right: 18px; top: 4px; font-family: var(--title); font-size: 90px; color: #ffffff0d; line-height: 1; }
.step-icon { width: 70px; height: 70px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  background: linear-gradient(135deg, #5b4bd6, #3a2c9e); box-shadow: 0 8px 20px #3a2c9e88, inset 0 2px 0 #fff3; }
.step-icon svg { width: 34px; height: 34px; fill: #fff; color: #fff; }
.step:nth-child(2) .step-icon { background: linear-gradient(135deg, #ff9a3c, #f05a1a); box-shadow: 0 8px 20px #f05a1a66, inset 0 2px 0 #fff4; }
.step:nth-child(3) .step-icon { background: linear-gradient(135deg, #3a2a08, #1c1404); box-shadow: 0 8px 20px #ffb32044; }
.step h3 { font-family: var(--title); font-weight: 400; font-size: 24px; margin: 0 0 8px; letter-spacing: .5px; }
.step p { margin: 0; color: var(--muted); font-weight: 600; }
.steps .step:nth-child(2) { transition-delay: .1s; } .steps .step:nth-child(3) { transition-delay: .2s; }

/* raridades */
.rarity-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.r-card { --c: var(--r-common); border-radius: var(--radius); overflow: hidden; background: #1a1544; border: 2px solid var(--c);
  box-shadow: 0 10px 30px #0007; transition: transform .25s, box-shadow .25s; }
.r-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 18px 40px #000a, 0 0 30px color-mix(in srgb, var(--c) 45%, transparent); }
.r-common { --c: var(--r-common); } .r-rare { --c: var(--r-rare); } .r-super { --c: var(--r-super); } .r-epic { --c: var(--r-epic); } .r-legend { --c: var(--r-legend); }
.r-card.r-legend { border-color: transparent; background: linear-gradient(#1a1544, #1a1544) padding-box,
  conic-gradient(from var(--ang, 0deg), #ffe27a, #ff8a2f, #fff6c2, #ffb320, #ffe27a) border-box; animation: spinBorder 3s linear infinite; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spinBorder { to { --ang: 360deg; } }
.r-art { position: relative; height: 190px; overflow: hidden;
  background: radial-gradient(circle at 50% 65%, color-mix(in srgb, var(--c) 55%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--c) 22%, #120f2a), #120f2a); }
.r-epic .r-art::before, .r-legend .r-art::before { content: ""; position: absolute; left: 50%; top: 50%; width: 260%; aspect-ratio: 1;
  background: repeating-conic-gradient(color-mix(in srgb, var(--c) 30%, transparent) 0 10deg, transparent 10deg 30deg);
  -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 55%); mask-image: radial-gradient(circle, #000 10%, transparent 55%);
  transform: translate(-50%, -50%); animation: raySpin 14s linear infinite; }
@keyframes raySpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes rot { to { transform: rotate(360deg); } }
.r-art img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px #0008); }
.r-ph { height: 100%; }
.r-body { padding: 14px 16px 16px; }
.r-name { font-family: var(--title); font-size: 22px; color: var(--c); letter-spacing: .5px; text-shadow: 0 2px 0 #0008; }
.r-desc { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.r-stats { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; margin-bottom: 10px; }
.r-stats span { padding: 3px 8px; border-radius: 10px; background: #0006; }
.r-chance { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid #ffffff14; font-size: 13px; color: var(--muted); }
.r-chance b { font-family: var(--title); font-size: 22px; color: #fff; }

/* baús */
.chest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.c-card { --a: #a8743f; --b: #6d4520; --t: #d9a441; padding: 26px 20px 22px; border-radius: var(--radius); text-align: center;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--a) 28%, transparent), transparent 65%), var(--glass);
  border: 1px solid var(--line); transition: transform .25s; }
.c-card:hover { transform: translateY(-6px); }
.c-silver { --a: #d6e0ec; --b: #7d8a99; --t: #4f5b6c; }
.c-gold { --a: #ffd04a; --b: #b9840c; --t: #7a4a00; }
.c-diamond { --a: #7ff4ff; --b: #2a9fc0; --t: #f2ffff; }
.chest-ico { position: relative; width: 110px; height: 92px; margin: 0 auto 16px; animation: bob 3s ease-in-out infinite; }
.c-card:nth-child(2) .chest-ico { animation-delay: -.7s; } .c-card:nth-child(3) .chest-ico { animation-delay: -1.4s; } .c-card:nth-child(4) .chest-ico { animation-delay: -2.1s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.chest-ico .body { position: absolute; left: 6px; right: 6px; bottom: 0; height: 56px; border-radius: 10px; background: linear-gradient(180deg, var(--a), var(--b));
  box-shadow: inset 0 -8px 0 #0003, 0 12px 20px #0007; }
.chest-ico .lid { position: absolute; left: 0; right: 0; top: 6px; height: 36px; border-radius: 18px 18px 8px 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--a) 80%, #fff), var(--a));
  box-shadow: inset 0 -5px 0 #0002; z-index: 1; }
.chest-ico .lock { position: absolute; left: 50%; top: 32px; width: 22px; height: 26px; margin-left: -11px; border-radius: 6px; background: var(--t); z-index: 2; box-shadow: 0 3px 0 #0005; }
.chest-ico .lock::after { content: ""; position: absolute; left: 8px; top: 9px; width: 6px; height: 8px; border-radius: 3px; background: #0007; }
.chest-ico .shine { position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(110deg, transparent 30%, #ffffff55 45%, transparent 60%); background-size: 250% 100%;
  animation: sweep 3.5s ease-in-out infinite; z-index: 3; mix-blend-mode: overlay; }
@keyframes sweep { 0%, 60% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
.c-diamond .chest-ico { filter: drop-shadow(0 0 18px #7ff4ff88); } .c-gold .chest-ico { filter: drop-shadow(0 0 14px #ffc93c66); }
.c-card h3 { font-family: var(--title); font-weight: 400; font-size: 22px; margin: 0 0 8px; letter-spacing: .5px; }
.c-coins { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 30px; background: #000a; border: 1px solid #ffc93c55;
  font-family: var(--title); font-size: 17px; color: #ffe27a; }
.c-hp { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 11px; color: var(--muted); }
.c-hp i { flex: 1; display: block; height: 6px; border-radius: 4px; background: linear-gradient(90deg, #4fe36a, #ffc93c, #ff5a4a); }
.chest-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 30px 0 0; color: #ffd9a8; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 #ff7a2f99; animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px #ff7a2f00; } }

/* segurança */
.flow { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 40px; flex-wrap: wrap; }
.flow-node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; width: 210px; padding: 20px 14px; border-radius: 20px;
  background: var(--glass); border: 1px solid var(--line); }
.flow-node.core { border-color: #3fd46e88; box-shadow: 0 0 30px #3fd46e33; background: linear-gradient(180deg, #1f3f3a99, var(--glass)); }
.flow-ico { font-size: 34px; }
.flow-node b { font-family: var(--title); font-weight: 400; font-size: 19px; letter-spacing: .4px; }
.flow-node span { font-size: 13px; color: var(--muted); }
.flow-arrow { width: 70px; height: 4px; position: relative; background: #ffffff1a; border-radius: 2px; overflow: hidden; }
.flow-arrow i { position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--cyan)); animation: flow 1.4s linear infinite; }
@keyframes flow { to { left: 100%; } }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 24px 22px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); }
.f-ico { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; font-size: 26px; border-radius: 16px; background: #ffffff10; margin-bottom: 14px; }
.feature h3 { font-family: var(--title); font-weight: 400; font-size: 20px; margin: 0 0 6px; letter-spacing: .4px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--glass); border: 1px solid var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--title); font-weight: 400; font-size: 19px; letter-spacing: .3px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--cyan); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-weight: 600; }

/* CTA final */
.final-cta { max-width: 1180px; margin: 40px auto 80px; padding: 0 clamp(16px, 4vw, 48px); }
.final-inner { position: relative; overflow: hidden; text-align: center; padding: 70px 24px; border-radius: 34px;
  background: linear-gradient(135deg, #5b2bd6, #b43bc8 55%, #ff7a2f); box-shadow: 0 30px 80px #5b2bd655; }
.final-rays { position: absolute; left: 50%; top: 50%; width: max(160%, 1400px); aspect-ratio: 1; pointer-events: none;
  background: repeating-conic-gradient(#ffffff14 0 8deg, transparent 8deg 24deg);
  -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 60%); mask-image: radial-gradient(circle, #000 10%, transparent 60%);
  transform: translate(-50%, -50%); animation: raySpin 30s linear infinite; }
.final-inner h2 { position: relative; font-family: var(--title); font-weight: 400; font-size: clamp(32px, 4.5vw, 56px); margin: 0 0 8px; text-shadow: 0 5px 0 #3a137a; }
.final-inner p { position: relative; font-size: 19px; margin: 0 0 28px; color: #fff3; color: #ffeefb; }
.final-inner .btn { position: relative; }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .rarity-grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .chest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column; gap: 0; padding: 8px;
    border-radius: 16px; background: rgba(18, 15, 46, .97); border: 1px solid var(--line); box-shadow: 0 20px 40px #000a; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 12px; font-size: 16px; border-radius: 10px; }
  .nav-links a:hover { background: #ffffff0d; }
  .nav-links a::after { display: none; }
  .nav-links .only-mobile { display: block; color: var(--cyan); }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 96px; text-align: center; }
  .hero-copy { order: 2; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .hero-stats { justify-content: center; }
  .hero-3d { order: 1; height: 52vh; min-height: 320px; }
  .steps { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
}
@media (max-width: 600px) {
  .brand-name { font-size: 18px; }
  .brand-icon { width: 44px; height: 44px; }
  #navLogin { display: none; }
  .nav { gap: 6px; padding-left: 12px; padding-right: 12px; }
  .nav-right { gap: 6px; }
  .lang-current .lang-code, .lang-current .caret { display: none; }
  .lang-current { padding: 0 8px; }
  .hero h1 { font-size: 40px; }
  .btn-xl { padding: 14px 22px; font-size: 18px; }
  .section { padding: 64px 16px; }
  .final-inner { padding: 50px 18px; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 15px; letter-spacing: .5px; }
  .brand-icon { width: 38px; height: 38px; margin: -6px -2px -6px -6px; }
  #navPlay { padding: 8px 10px; font-size: 13px; }
  .nav-burger { width: 38px; height: 38px; flex: none; }
  .nav-right .btn { padding: 8px 12px; font-size: 14px; }
  .rarity-grid { grid-template-columns: repeat(2, 1fr); }
  .features, .chest-grid { grid-template-columns: 1fr; }
  .flow { flex-direction: column; }
  .flow-arrow { width: 4px; height: 36px; }
  .flow-arrow i { width: 100%; height: 40%; left: 0; top: -40%; background: linear-gradient(180deg, transparent, var(--cyan)); animation: flowV 1.4s linear infinite; }
  @keyframes flowV { to { top: 100%; } }
  .hero-stats > div { min-width: 0; flex: 1; }
}

/* =====================================================================
   LOGIN / CADASTRO
   ===================================================================== */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 30px clamp(20px, 4vw, 48px);
  background: linear-gradient(140deg, #2a1a7acc, #5a1f8acc 60%, #ff7a2f88); }
.auth-side .final-rays { opacity: .6; }
.auth-side > * { position: relative; }
.auth-side > .final-rays { position: absolute; }
.auth-side h2 { font-family: var(--title); font-weight: 400; font-size: clamp(36px, 4vw, 58px); line-height: 1.02; margin: 0 0 14px; text-shadow: 0 5px 0 #2a0f6a; }
.auth-side p { font-size: 18px; color: #f2e9ff; max-width: 440px; margin: 0; }
.auth-bombs { display: flex; align-items: flex-end; gap: 4px; }
.auth-bombs .ab { display: block; width: 110px; height: 110px; filter: drop-shadow(0 12px 14px #0009); animation: bob 3s ease-in-out infinite; }
.auth-bombs .ab:nth-child(2) { width: 90px; height: 90px; animation-delay: -1s; }
.auth-bombs .ab:nth-child(3) { width: 74px; height: 74px; animation-delay: -2s; }
.auth-main { display: flex; flex-direction: column; padding: 24px clamp(16px, 4vw, 48px); }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth-top a { color: var(--muted); }
.auth-top a:hover { color: #fff; }
.auth-card { width: 100%; max-width: 440px; margin: auto; padding: 34px 30px; border-radius: 26px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px #0008; }
.auth-card h1 { font-family: var(--title); font-weight: 400; font-size: 34px; margin: 0 0 4px; letter-spacing: .5px; }
.auth-card .sub { color: var(--muted); margin: 0 0 24px; font-weight: 600; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: #d4ccff; margin-bottom: 6px; }
.input-wrap { position: relative; }
.field input { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid #6a5cff44; background: #0d0b25; color: #fff; font: inherit; font-size: 16px;
  transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px #36d4ff22; }
.field input.invalid { border-color: #ff5a4a; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.toggle-pass { position: absolute; right: 8px; top: 8px; height: 34px; padding: 0 10px; border: 0; border-radius: 10px; background: #ffffff10; color: var(--muted); font-size: 12px; }
.strength { display: flex; gap: 4px; margin-top: 8px; }
.strength i { flex: 1; height: 5px; border-radius: 3px; background: #ffffff14; transition: background .2s; }
.strength[data-s="1"] i:nth-child(-n+1) { background: #ff5a4a; }
.strength[data-s="2"] i:nth-child(-n+2) { background: #ffc93c; }
.strength[data-s="3"] i:nth-child(-n+3) { background: #8ad94a; }
.strength[data-s="4"] i { background: var(--green); }
.auth-card .btn-submit { width: 100%; height: 54px; margin-top: 6px; font-size: 19px; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: var(--muted); }
.auth-links a, .link-btn { color: var(--cyan); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.auth-links a:hover, .link-btn:hover { text-decoration: underline; }
.msg { display: none; padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 16px; }
.msg.show { display: block; }
.msg.err { background: #ff5a4a1f; border: 1px solid #ff5a4a66; color: #ffc9c2; }
.msg.ok { background: #3fd46e1f; border: 1px solid #3fd46e66; color: #c6f7d4; }
.terms { font-size: 12px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid #fff5; border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
