/* Age ★ ColossoZ — pré-registro (v3, 30/11/2026). Arte: Meshy (Docs/site_lancamento/v3) + peças de UI e prints do jogo. */
@font-face { font-family: "Cinzel"; src: url("fonts/Cinzel-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Lilita"; src: url("fonts/LilitaOne-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root { --bg: #0a0606; --ink: #f2e8da; --muted: #b9ab9c; --gold-l: #ffeeba; --gold: #ecbe60; --fire: #ff6e1e; --chat-name: #f2c76b; --gutter: 16px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 600 18px/1.5 "Nunito", system-ui, sans-serif; overflow-x: hidden; }
a { color: var(--gold); }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- buttons and fields: the game's own 9-slice pieces */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; color: #fff8e6; white-space: nowrap;
  font: 400 24px/1 "Lilita", sans-serif; letter-spacing: .02em; text-transform: uppercase; padding: 0 32px; min-height: 64px;
  border: 22px solid transparent; border-image: url("assets/botao_laranja.png") 40 40 48 40 fill / 22px 22px 26px 22px stretch;
  background: none; text-shadow: 0 2px 0 #5a2406, 0 0 2px #3c1806; filter: drop-shadow(0 6px 14px rgba(255,110,30,.35)); transition: transform .12s, filter .2s; }
.btn:hover { transform: translateY(-2px); filter: drop-shadow(0 8px 22px rgba(255,130,40,.6)); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .7; cursor: wait; }
.btn--small { font-size: 16px; min-height: 48px; padding: 0 12px; border-width: 16px; border-image-width: 16px 16px 19px 16px; }
.btn--big { font-size: 28px; min-height: 84px; padding: 0 30px; }
.field { width: 100%; min-height: 72px; padding: 0 26px; color: #fff; font: 600 20px "Nunito", sans-serif; outline: none;
  border: 24px solid transparent; border-image: url("assets/campo.png") 32 32 32 32 fill / 24px stretch; background: none; }
.field::placeholder { color: #9aa0b4; font-style: italic; }
.field:focus { filter: drop-shadow(0 0 8px rgba(255,190,80,.55)); }

/* ---------- nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 8px max(var(--gutter), env(safe-area-inset-right)) 8px max(var(--gutter), env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(4,2,4,.9), rgba(4,2,4,0)); transition: background .25s, box-shadow .25s; }
.nav.solid { background: rgba(8,4,6,.94); box-shadow: 0 2px 0 rgba(236,190,96,.35), 0 6px 18px rgba(0,0,0,.6); }
.nav__links { margin-left: auto; display: flex; gap: 26px; }
.nav { justify-content: flex-end; min-height: 64px; }
.nav__links a { color: var(--ink); text-decoration: none; text-shadow: 0 1px 4px #000; }
.nav__links a:hover { color: var(--gold-l); }

/* ---------- hero scene (cover crop that keeps every layer aligned) */
.hero { position: relative; height: min(100svh, 1000px); min-height: 540px; }
.stage { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.scene { position: absolute; top: 50%; aspect-ratio: 1376 / 768; width: max(100cqw, 179.17cqh);
  left: calc((100cqw - max(100cqw, 179.17cqh)) * var(--focus, .5)); transform: translateY(-50%); animation: kenburns 30s ease-in-out infinite alternate; }
.scene > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__base { object-fit: cover; }
.scene__lava { mix-blend-mode: screen; animation: lava 3.2s ease-in-out infinite; }
.scene__lava--glow { filter: blur(5px) brightness(1.8) saturate(1.3); animation: lavaGlow 3.2s ease-in-out infinite; }
.scene__eyes { mix-blend-mode: screen; filter: brightness(1.8) drop-shadow(0 0 6px #ffb040) drop-shadow(0 0 14px #ff7a1a); animation: eyes 2.6s ease-in-out infinite; }
.scene__bolt { mix-blend-mode: screen; opacity: 0; filter: brightness(1.6) drop-shadow(0 0 8px #bcd8ff) drop-shadow(0 0 20px #8fb4ff); }
.scene__bolt.on { animation: bolt .9s ease-out; }
.scene__embers { pointer-events: none; }
.flash { position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 20%, rgba(200,220,255,.45), rgba(200,220,255,0) 60%); opacity: 0; pointer-events: none; }
.flash.on { animation: flash .9s ease-out; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 16%, rgba(0,0,0,0) 50%, rgba(10,6,6,.75) 78%, var(--bg) 100%); }
.hero__content { position: absolute; left: max(4vw, env(safe-area-inset-left)); top: 78px; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero__logo { width: min(560px, 40vw); height: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.85)) drop-shadow(0 0 30px rgba(255,120,30,.35)); }
.platforms { display: flex; gap: 10px; margin: 14px 0 0; }
.platforms span { padding: 4px 14px; border: 1px solid rgba(236,190,96,.6); border-radius: 999px; background: rgba(8,4,6,.6);
  font: 400 18px "Lilita"; letter-spacing: .04em; color: var(--gold-l); text-shadow: 0 1px 2px #000; }

@keyframes kenburns { from { transform: translateY(-50%) scale(1); } to { transform: translateY(-50%) scale(1.06); } }
@keyframes lava { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes lavaGlow { 0%,100% { opacity: .25; } 50% { opacity: .9; } }
@keyframes eyes { 0%,100% { opacity: .55; } 40% { opacity: 1; } 55% { opacity: .75; } 70% { opacity: 1; } }
@keyframes bolt { 0% { opacity: 0; } 8% { opacity: 1; } 18% { opacity: .3; } 26% { opacity: 1; } 100% { opacity: 0; } }
@keyframes flash { 0% { opacity: 0; } 8% { opacity: 1; } 18% { opacity: .2; } 26% { opacity: .8; } 100% { opacity: 0; } }

/* ---------- titles */
.title-fire, .title-gold { margin: 0; padding: 0 var(--gutter); text-align: center; font-family: "Cinzel", serif; font-weight: 800; line-height: 1.08; -webkit-background-clip: text; background-clip: text; color: transparent; }
.title-fire { font-size: clamp(38px, 6.6vw, 100px); background-image: linear-gradient(180deg, #ffecbe 0%, #ff9632 55%, #be3214 100%);
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.9)) drop-shadow(0 0 22px rgba(255,110,30,.55)); }
.title-fire--mid { font-size: clamp(32px, 5vw, 76px); }
.title-gold { font-size: clamp(28px, 4vw, 58px); background-image: linear-gradient(180deg, #ffeeba 0%, #ecbe60 55%, #965c24 100%);
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.9)) drop-shadow(0 0 14px rgba(255,140,40,.35)); }
.lead { max-width: 880px; margin: 14px auto 0; text-align: center; color: #efe3d3; padding: 0 var(--gutter); }

/* ---------- CTA */
.cta { position: relative; z-index: 3; margin-top: -40px; padding: 0 var(--gutter) 40px; text-align: center; }
.form { display: grid; grid-template-columns: minmax(0, 520px) auto; gap: 16px 18px; justify-content: center; align-items: center; margin: 30px auto 0; max-width: 900px; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; justify-content: center; font-size: 15px; color: var(--muted); text-align: left; }
.consent input { width: 20px; height: 20px; accent-color: var(--fire); margin-top: 2px; }
.turnstile { grid-column: 1 / -1; display: flex; justify-content: center; }
.form__msg { grid-column: 1 / -1; min-height: 1.5em; margin: 0; font-size: 17px; }
.form__msg.ok { color: #9ef0a8; } .form__msg.err { color: #ff9a8a; }
.counter { margin-top: 18px; color: var(--muted); } .counter b { color: var(--gold-l); font: 400 26px "Lilita"; }

/* ---------- rewards: the animated fire avatar, centered */
.rewards { position: relative; overflow-x: clip; padding: 60px 0 30px; background: radial-gradient(ellipse 55% 50% at 50% 42%, rgba(255,110,30,.16), rgba(10,6,6,0) 70%); }
.showcase { display: flex; justify-content: center; align-items: flex-end; gap: clamp(18px, 4vw, 70px); max-width: 1300px; margin: 34px auto 10px; padding: 0 var(--gutter); }
.prize { margin: 0; display: flex; flex-direction: column; align-items: center; }
.prize figcaption { margin-top: 18px; padding: 6px 26px; font: 400 24px "Lilita"; color: #fff0d0; text-shadow: 0 2px 3px #000;
  background: linear-gradient(90deg, rgba(120,50,10,0), rgba(120,50,10,.75) 18%, rgba(120,50,10,.75) 82%, rgba(120,50,10,0));
  border-top: 1px solid rgba(255,210,120,.45); border-bottom: 1px solid rgba(255,210,120,.45); }
.avatar { position: relative; width: min(330px, 78vw); aspect-ratio: 709 / 720; }
.skin { position: relative; height: min(560px, 120vw); aspect-ratio: 553 / 1100; }
.skin > * { position: absolute; }
.skin__halo { left: -55%; right: -55%; top: 6%; bottom: -4%; border-radius: 50%;
  background: radial-gradient(ellipse 50% 46% at 50% 55%, rgba(255,200,80,.5), rgba(255,140,30,.18) 45%, rgba(255,110,20,0) 72%); animation: halo 3s ease-in-out infinite; }
.skin__art { inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 18px rgba(255,190,70,.45)) drop-shadow(0 14px 12px rgba(0,0,0,.7));
  animation: breathe 4s ease-in-out infinite; transform-origin: 50% 100%; }
.skin::after { content: ""; position: absolute; left: -12%; right: -12%; bottom: -3%; height: 9%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,190,80,.55), rgba(255,140,40,0) 70%); }
.skin__sparks { left: -40%; top: -6%; width: 180%; height: 112%; pointer-events: none; }
.goldav { position: relative; width: min(300px, 70vw); aspect-ratio: 1; }
.goldav img { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 10px 14px rgba(0,0,0,.7)); }
.goldav__halo { position: absolute; inset: -16%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,205,90,.5), rgba(255,160,40,.16) 45%, rgba(255,120,20,0) 68%); animation: halo 2.8s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.012, 1.018); } }
.avatar > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.avatar__halo { inset: -18%; width: 136%; height: 136%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,140,40,.55) 0%, rgba(255,90,20,.22) 40%, rgba(255,60,10,0) 68%); animation: halo 2.4s ease-in-out infinite; }
.avatar__flames { filter: url(#heat); transform-origin: 50% 60%; animation: flicker 1.6s ease-in-out infinite; }
.avatar__flames--glow { filter: url(#heat) blur(7px) brightness(1.7) saturate(1.4); opacity: .7; mix-blend-mode: screen; animation: glowpulse 2.4s ease-in-out infinite; }
.avatar__sparks { inset: -12%; width: 124%; height: 124%; pointer-events: none; }
@keyframes halo { 0%,100% { opacity: .6; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.03); } }
@keyframes flicker { 0%,100% { transform: scale(1); } 30% { transform: scale(1.012, 1.02); } 60% { transform: scale(.996, 1.008); } }
@keyframes glowpulse { 0%,100% { opacity: .45; } 50% { opacity: .95; } }
.rewards__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1240px; margin: 26px auto 0; padding: 0 var(--gutter); }
.rewards__grid article { padding: 16px 20px; text-align: center; border: 22px solid transparent; border-image: url("assets/card_ouro.png") 20 fill / 22px stretch;
  filter: drop-shadow(0 0 14px rgba(255,120,40,.25)); }
.rewards__grid h3 { margin: -8px 0 6px; font: 400 23px "Lilita"; color: #fff0d0; }
.rewards__grid p { margin: 0 0 -8px; font-size: 16px; color: #d6ccc0; }
.mini-tag { display: block; height: 32px; width: auto; margin: 2px auto 6px; }

/* ---------- founder tag (Meshy badge) */
.tagsec { padding: 40px var(--gutter); text-align: center; }
.chatcard { display: flex; align-items: center; gap: 18px; max-width: 760px; margin: 26px auto 0; padding: 6px 18px; text-align: left;
  border: 26px solid transparent; border-image: url("assets/campo.png") 32 fill / 26px stretch; filter: drop-shadow(0 0 20px rgba(255,110,30,.35)); }
.chatcard__avatar { width: 116px; height: auto; margin: -16px 0 -16px -12px; flex: none; }
.chatcard__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.chatcard__name { font: 600 32px "Nunito"; color: var(--chat-name); }
.chatcard__tag { height: 40px; width: auto; }
.chatcard p { margin: 4px 0 0; font-size: 24px; color: #eeece6; }

/* ---------- no pay to win */
.nop2w { padding: 70px 0 40px; background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255,110,30,.12), rgba(10,6,6,0) 70%); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1240px; margin: 34px auto 0; padding: 0 var(--gutter); }
.pillars article { padding: 18px 20px; border: 22px solid transparent; border-image: url("assets/card_ouro.png") 20 fill / 22px stretch;
  filter: drop-shadow(0 0 16px rgba(255,120,40,.25)); }
.pillars h3 { margin: -8px 0 6px; font: 400 24px "Lilita"; color: #fff0d0; }
.pillars p { margin: 0 0 -8px; font-size: 16px; color: #d6ccc0; }

/* ---------- gallery */
.world { padding: 60px 0 30px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 1300px; margin: 30px auto 0; padding: 0 var(--gutter); }
.shot { position: relative; display: block; overflow: hidden; border-radius: 10px; border: 2px solid rgba(236,190,96,.55); box-shadow: 0 8px 22px rgba(0,0,0,.6); }
.lead--tease { margin-top: 22px; font-style: italic; color: var(--gold); }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform .35s; }
.shot:hover img { transform: scale(1.05); }
.shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 10px; font: 400 26px "Lilita"; color: #fff1d6;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.85)); text-shadow: 0 2px 2px #000; }
.lightbox { position: fixed; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0,0,0,.9); }
.lightbox img { max-width: 96vw; max-height: 90vh; border: 2px solid var(--gold); border-radius: 8px; }
.lightbox button { position: absolute; top: 14px; right: 18px; font: 400 44px/1 "Lilita"; color: var(--gold-l); background: none; border: 0; cursor: pointer; }

/* ---------- faq + footer */
.faq { max-width: 820px; margin: 0 auto; padding: 40px var(--gutter); }
.faq details { margin: 12px 0; padding: 4px 22px; border: 18px solid transparent; border-image: url("assets/campo.png") 32 fill / 18px stretch; }
.faq summary { cursor: pointer; font: 400 22px "Lilita"; color: #fff0d0; list-style: none; padding: 6px 0; }
.faq summary::after { content: "+"; float: right; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 8px; color: var(--muted); }
.footer { padding: 40px var(--gutter) max(40px, env(safe-area-inset-bottom)); text-align: center; }
.footer p { margin: 8px 0; color: #8c8496; font-size: 15px; }
.footer__platforms { font: 400 20px "Lilita" !important; color: var(--gold-l) !important; letter-spacing: .05em; margin-top: 22px !important; }

/* ---------- tablets */
@media (max-width: 1100px) {
  .pillars, .rewards__grid { grid-template-columns: repeat(2, 1fr); }
  .avatar { width: 250px; } .goldav { width: 230px; } .skin { height: 470px; }
}
/* ---------- phones */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav .btn--small { font-size: 14px; padding: 0 6px; }
  .hero { height: 66svh; min-height: 440px; }
  .scene { --focus: .36; }
  .hero__content { left: 0; right: 0; top: 70px; }
  .hero__logo { width: 90vw; }
  .cta { margin-top: -20px; }
  .form { grid-template-columns: 1fr; }
  .btn--big { width: 100%; font-size: 24px; }
  .chatcard { gap: 10px; border-width: 18px; padding: 4px 8px; } .chatcard__avatar { width: 84px; margin: -10px 0 -10px -6px; }
  .chatcard__name { font-size: 22px; } .chatcard__tag { height: 28px; } .chatcard p { font-size: 17px; }
  .pillars, .gallery, .rewards__grid { grid-template-columns: 1fr; }
  .showcase { flex-direction: column; align-items: center; gap: 30px; }

  .prize--skin { order: -1; }
  .skin { height: min(480px, 110vw); }
}
@media (prefers-reduced-motion: reduce) {
  .scene, .scene__lava, .scene__lava--glow, .scene__eyes, .avatar__halo, .avatar__flames, .avatar__flames--glow, .skin__halo, .skin__art, .goldav__halo { animation: none; }
  .avatar__flames, .avatar__flames--glow { filter: none; }
}
