/* Pokemoon Do · noite estrelada, lua e órbita (estética do logo) */
:root {
  --navy: #00153B;
  --navy-2: #0B1B3B;
  --navy-3: #10265A;
  --deep: #000C26;
  --ink: #0A2C7A;          /* contorno azul-escuro das letras do logo */
  --blue: #2F6BFF;
  --blue-soft: #7FA6FF;
  --sky: #BFD3FF;
  --gold: #FFC83D;
  --gold-deep: #F2A516;
  --gold-dark: #A86A00;
  --cream: #FFF4D6;
  --white: #FFFFFF;
  --line: rgba(127, 166, 255, .18);
  --line-strong: rgba(127, 166, 255, .42);
  --text: #EAF0FF;
  --muted: #A3B5DD;
  --radius: 16px;
  --display: "Lilita One", "Chakra Petch", system-ui, sans-serif;
  --label: "Chakra Petch", system-ui, sans-serif;
  --body: "Sora", system-ui, sans-serif;
  --glow-blue: 0 0 0 1px rgba(47,107,255,.6), 0 0 18px rgba(47,107,255,.55), 0 0 44px rgba(47,107,255,.3);
  --glow-gold: 0 0 0 1px rgba(255,200,61,.7), 0 0 18px rgba(255,200,61,.5), 0 0 44px rgba(255,200,61,.25);
  /* letra no estilo do logo: miolo dourado, contorno azul-escuro e brilho azul */
  --logo-text: 3px 3px 0 var(--ink), -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 7px 0 var(--ink), 0 0 2px var(--blue), 0 0 30px rgba(47,107,255,.9);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 560px at 80% 0%, rgba(47,107,255,.16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy) 55%, var(--deep) 100%);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
::selection { background: var(--gold); color: var(--navy); }

/* céu estrelado */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 9%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 33%, var(--blue-soft) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 41%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 22% 64%, var(--gold) 50%, transparent 51%),
    radial-gradient(1px 1px at 61% 72%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 93% 83%, var(--blue-soft) 50%, transparent 51%),
    radial-gradient(1px 1px at 5% 91%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 49% 52%, var(--cream) 50%, transparent 51%);
  background-size: 640px 640px;
  opacity: .6;
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: 1; } }

/* estrela de 4 pontas (a do logo) */
.star4 { clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }

/* ticker */
.ticker {
  background: linear-gradient(90deg, #1B4FE0, var(--blue) 50%, #1B4FE0);
  border-bottom: 1px solid rgba(255,200,61,.5);
  color: var(--white); overflow: hidden; white-space: nowrap;
  font-family: var(--label); font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
}
.ticker__track { display: inline-flex; gap: 48px; padding: 7px 0; animation: ticker 34s linear infinite; }
.ticker__track span::first-letter { color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* header */
.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(0, 21, 59, .8);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 20px; height: 74px; }
.brand img { height: 60px; width: auto; filter: drop-shadow(0 0 12px rgba(255,200,61,.25)); -webkit-mask-image: radial-gradient(ellipse 70% 72% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 70% 72% at 50% 50%, #000 62%, transparent 100%); transition: transform .3s; }
.brand:hover img { transform: rotate(-3deg) scale(1.04); }
.search {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  border-radius: 999px; padding: 0 16px; height: 44px;
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--blue); box-shadow: var(--glow-blue); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.search input { flex: 1; background: none; border: 0; outline: 0; min-width: 0; font-size: 15px; }
.search input::placeholder { color: var(--muted); }
.nav { display: flex; gap: 24px; font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.nav a { position: relative; padding: 4px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; box-shadow: 0 0 10px var(--gold); }
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); }

/* botões */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 12px;
  font-family: var(--display); font-size: 19px; letter-spacing: .02em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .25s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn svg .fill { fill: currentColor; stroke: none; }
.btn--gold { background: linear-gradient(180deg, #FFE08A, var(--gold) 45%, var(--gold-deep)); color: var(--navy); box-shadow: 0 4px 0 var(--gold-dark), 0 10px 30px rgba(255,200,61,.3); }
.btn--gold:hover { box-shadow: 0 6px 0 var(--gold-dark), 0 0 26px rgba(255,200,61,.65), 0 14px 40px rgba(255,200,61,.35); }
.btn--ghost { background: rgba(47,107,255,.12); border-color: rgba(127,166,255,.6); color: var(--cream); box-shadow: inset 0 0 14px rgba(47,107,255,.25); }
.btn--ghost:hover { background: rgba(47,107,255,.22); box-shadow: inset 0 0 18px rgba(47,107,255,.35), var(--glow-blue); }
.btn--ig { height: 40px; padding: 0 16px; font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; background: rgba(47,107,255,.16); border-color: rgba(47,107,255,.6); }
.btn--ig:hover { box-shadow: var(--glow-blue); }
.btn--block { width: 100%; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 130px; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sparkles i {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1;
  background: radial-gradient(circle, #fff 0 18%, var(--gold) 40%);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 6px var(--gold));
  animation: sparkle 3.2s ease-in-out infinite; animation-delay: var(--t);
}
.sparkles i:nth-child(even) { background: radial-gradient(circle, #fff 0 18%, var(--blue-soft) 45%); filter: drop-shadow(0 0 6px var(--blue)); }
@keyframes sparkle { 0%, 100% { transform: scale(.55) rotate(0); opacity: .5; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
.clouds {
  position: absolute; right: 0; width: 50%; bottom: calc(24% - 30px); height: 200px;
  background: url("assets/clouds-right.png") right bottom / auto 100% no-repeat, url("assets/clouds-left.png") 30% bottom / auto 70% no-repeat;
  image-rendering: pixelated;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%), linear-gradient(0deg, transparent, #000 25%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 30%), linear-gradient(0deg, transparent, #000 25%); mask-composite: intersect;
}
.grid-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; perspective: 300px; overflow: hidden; background: linear-gradient(180deg, rgba(47,107,255,.18), rgba(0,12,38,.95)); }
.grid-floor::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2; background: linear-gradient(90deg, transparent, var(--gold) 25%, var(--cream) 50%, var(--gold) 75%, transparent); box-shadow: 0 0 22px 5px rgba(255,200,61,.35), 0 0 70px 24px rgba(47,107,255,.3); }
.grid-floor__plane {
  position: absolute; left: -60%; right: -60%; top: 0; height: 220%;
  transform: rotateX(64deg); transform-origin: top center;
  background-image:
    linear-gradient(rgba(47,107,255,.95) 2px, transparent 2px),
    linear-gradient(90deg, rgba(127,166,255,.8) 2px, transparent 2px);
  background-size: 70px 70px;
  filter: drop-shadow(0 0 4px rgba(47,107,255,.9));
  animation: floor 2.8s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000);
}
@keyframes floor { to { background-position: 0 70px, 0 0; } }
.spot { position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgba(255,200,61,.07), transparent 60%); }

.hero__row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-family: var(--label); font-weight: 700; color: var(--gold); font-size: 13px; letter-spacing: .26em; margin: 0 0 20px; padding: 6px 14px; border: 1px solid rgba(255,200,61,.45); border-radius: 999px; background: rgba(255,200,61,.07); }
.blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
h1 {
  font-family: var(--display); font-weight: 400; line-height: 1.06; margin: 0 0 24px;
  font-size: clamp(44px, 6.4vw, 82px); letter-spacing: .005em; color: var(--cream);
  text-shadow: 0 4px 0 var(--ink), 0 0 30px rgba(47,107,255,.55);
}
h1 em {
  font-style: normal; display: inline-block; animation: bob 3.6s ease-in-out infinite;
  background: linear-gradient(180deg, #FFE7A0 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
  filter: drop-shadow(2px 0 0 var(--ink)) drop-shadow(-2px 0 0 var(--ink)) drop-shadow(0 2px 0 var(--ink)) drop-shadow(0 -2px 0 var(--ink)) drop-shadow(0 4px 0 var(--ink)) drop-shadow(1.5px 0 0 var(--blue)) drop-shadow(-1.5px 0 0 var(--blue)) drop-shadow(0 1.5px 0 var(--blue)) drop-shadow(0 -1.5px 0 var(--blue));
}
h1 em + em { animation-delay: .45s; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.lead { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 0 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.stats { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.stats li { display: grid; min-width: 96px; padding: 10px 16px; border-radius: 12px; background: rgba(0,12,38,.6); border: 1px solid var(--line-strong); box-shadow: inset 0 0 16px rgba(47,107,255,.12); }
.stats b { font-family: var(--display); font-weight: 400; font-size: 32px; color: var(--gold); line-height: 1.05; text-shadow: 0 3px 0 var(--ink), 0 0 16px rgba(255,200,61,.35); }
.stats span { font-family: var(--label); font-weight: 600; font-size: 11px; color: var(--muted); letter-spacing: .16em; }

/* palco: lua + órbita + leque */
.hero__stage { position: relative; height: 480px; }
.moon {
  position: absolute; left: 50%; top: 47%; width: 380px; aspect-ratio: 1; translate: -92% -66%; border-radius: 50%;
  box-shadow: inset 62px -18px 0 0 #FFD45E, inset 92px -26px 30px -6px rgba(255,244,214,.9);
  filter: drop-shadow(0 0 26px rgba(255,200,61,.55)) drop-shadow(0 0 70px rgba(255,200,61,.25));
  rotate: -18deg;
}
.orbit {
  position: absolute; left: 50%; top: 58%; width: 118%; height: 30%; translate: -50% -50%; rotate: -10deg;
  border-radius: 50%; border: 3px solid var(--blue);
  box-shadow: 0 0 0 2px rgba(127,166,255,.35), 0 0 22px rgba(47,107,255,.85), inset 0 0 18px rgba(47,107,255,.5);
  z-index: 3; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0 40%, #000 52%);
  mask-image: linear-gradient(180deg, transparent 0 40%, #000 52%);
}
/* trilho da bolinha: mesma elipse do anel, com 24px de folga pra bolinha caber inteira */
.orbit-track {
  position: absolute; left: 50%; top: 58%; width: calc(118% + 48px); height: calc(30% + 48px); translate: -50% -50%; rotate: -10deg;
  z-index: 3; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0 38%, #000 50%);
  mask-image: linear-gradient(180deg, transparent 0 38%, #000 50%);
}
.orbit__ball {
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  offset-path: ellipse(calc(50% - 24px) calc(50% - 24px) at 50% 50%); offset-rotate: 0deg; offset-distance: 25%;
  animation: orbit 10s linear infinite;
  background: linear-gradient(180deg, var(--gold) 0 46%, var(--ink) 46% 54%, var(--cream) 54%);
  box-shadow: 0 0 0 2px var(--ink), 0 0 16px rgba(255,200,61,.8);
}
@keyframes orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.orbit__ball::after { content: ""; position: absolute; inset: 35%; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--ink); }
.hero__cards { position: absolute; inset: 0; perspective: 1000px; z-index: 2; }
.fan-card {
  position: absolute; left: 50%; top: 50%; width: 210px; aspect-ratio: 63/88;
  border-radius: 13px; overflow: hidden; cursor: pointer;
  box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 2px rgba(255,200,61,.55), 0 0 28px rgba(47,107,255,.45);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
  animation: deal .9s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes sheen { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }
@keyframes deal { from { opacity: 0; transform: translate(-50%, 10%) rotate(0) scale(.85); } }
.fan-card img { width: 100%; height: 100%; object-fit: cover; }
.fan-card:nth-child(1) { transform: translate(-112%, -50%) rotate(-11deg); animation-delay: .15s; }
.fan-card:nth-child(2) { transform: translate(-50%, -58%); z-index: 2; width: 240px; animation-delay: .3s; box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 2px var(--gold), 0 0 46px rgba(255,200,61,.45); }
.fan-card:nth-child(3) { transform: translate(12%, -50%) rotate(11deg); animation-delay: .45s; }
.hero__stage:hover .fan-card:nth-child(1) { transform: translate(-124%, -52%) rotate(-15deg); }
.hero__stage:hover .fan-card:nth-child(3) { transform: translate(24%, -52%) rotate(15deg); }
.fan-card:hover { box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 2px var(--gold), var(--glow-gold); }

/* ---------- seções ---------- */
.section { padding: 80px 0 30px; position: relative; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
h2 {
  font-family: var(--display); font-weight: 400; letter-spacing: .01em;
  font-size: clamp(30px, 3.6vw, 44px); margin: 0; color: var(--cream); display: flex; align-items: center; gap: 14px; line-height: 1.1;
  text-shadow: 0 3px 0 var(--ink), 0 0 22px rgba(47,107,255,.5);
}
.px {
  display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px;
  font-family: var(--display); font-size: 18px; color: var(--navy); border-radius: 10px;
  background: linear-gradient(180deg, #FFE08A, var(--gold) 50%, var(--gold-deep)); box-shadow: 0 3px 0 var(--gold-dark), 0 0 16px rgba(255,200,61,.45);
  text-shadow: none;
}
.link { font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-soft); }
.link:hover { color: var(--gold); }
.count { font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* eras */
.eras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.era {
  --c: var(--gold);
  position: relative; text-align: left; cursor: pointer; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(16,38,90,.85), rgba(0,12,38,.95));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px;
  transition: border-color .25s, box-shadow .3s, transform .3s;
}
.era:nth-child(2) { --c: var(--blue); }
.era:nth-child(3) { --c: var(--blue-soft); }
.era:nth-child(4) { --c: var(--cream); }
/* mini órbita atrás das cartas */
.era::before {
  content: ""; position: absolute; left: 50%; top: 92px; width: 92%; height: 52px; translate: -50% 0; rotate: -8deg; z-index: -1;
  border-radius: 50%; border: 2px solid var(--c); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 70%, transparent);
  opacity: .55; transition: opacity .3s;
}
.era::after { content: ""; position: absolute; left: 50%; top: 18px; width: 120px; aspect-ratio: 1; translate: -50% 0; z-index: -2; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 35%, transparent), transparent 68%); }
.era:hover, .era.is-on { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 0 30px color-mix(in srgb, var(--c) 45%, transparent); transform: translateY(-4px); }
.era:hover::before, .era.is-on::before { opacity: 1; }
.era__stack { position: relative; height: 136px; margin-bottom: 14px; }
.era__stack img { position: absolute; top: 8px; width: 80px; border-radius: 6px; box-shadow: 0 10px 22px rgba(0,0,0,.6); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.era__stack img:nth-child(1) { left: 6%; transform: rotate(-10deg); }
.era__stack img:nth-child(2) { left: 32%; z-index: 2; top: 2px; }
.era__stack img:nth-child(3) { left: 58%; transform: rotate(10deg); }
.era:hover .era__stack img:nth-child(1) { transform: rotate(-16deg) translateX(-8px); }
.era:hover .era__stack img:nth-child(2) { transform: translateY(-8px) scale(1.05); }
.era:hover .era__stack img:nth-child(3) { transform: rotate(16deg) translateX(8px); }
.era__name { font-family: var(--display); font-size: 23px; color: var(--cream); margin: 0; line-height: 1.1; text-shadow: 0 2px 0 var(--ink); }
.era__who { font-family: var(--label); font-weight: 700; font-size: 11.5px; color: var(--c); letter-spacing: .2em; text-transform: uppercase; }
.era__n { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

/* ---------- grade de cartas ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.cards--featured { grid-template-columns: repeat(4, 1fr); }
.tile {
  --glow: var(--blue);
  position: relative; display: flex; flex-direction: column; isolation: isolate;
  background: linear-gradient(180deg, rgba(16,38,90,.92), rgba(0,12,38,.96));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.tile.is-top, .tile.is-gold { --glow: var(--gold); }
/* borda que gira no hover, nas cores do logo */
.tile::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ang, 0deg), var(--gold), var(--blue), var(--cream), var(--blue-soft), var(--gold));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.tile.is-top::before, .tile.is-gold::before { opacity: .5; }
.tile:hover::before { opacity: 1; animation: spin 3s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.tile:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 20px 50px rgba(0,0,0,.55), 0 0 32px color-mix(in srgb, var(--glow) 50%, transparent); }
.tile__art { position: relative; aspect-ratio: 63/88; border-radius: 10px; overflow: hidden; background: var(--navy-3); cursor: pointer; transition: transform .2s ease-out; }
.tile__art img { width: 100%; height: 100%; object-fit: cover; }
/* ---------- FOIL: brilho só nas cartas que são foil de verdade ----------
   Parado: nenhum arco-íris (só a dourada tem um leve tom metálico).
   Mouse em cima / detalhe aberto: efeito suave em "overlay", que não lava a imagem.
   .glare = reflexo de luz que segue o ponteiro. */
.foil, .glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 1; }
.foil {
  --space: 6%;
  --tex: none; --tex-size: 100%;
  --rainbow: repeating-linear-gradient(110deg,
      hsl(2, 90%, 70%) calc(var(--space) * 1), hsl(48, 90%, 66%) calc(var(--space) * 2),
      hsl(150, 80%, 66%) calc(var(--space) * 3), hsl(200, 90%, 70%) calc(var(--space) * 4),
      hsl(265, 90%, 74%) calc(var(--space) * 5), hsl(2, 90%, 70%) calc(var(--space) * 6));
  background-image: var(--tex), var(--rainbow);
  background-size: var(--tex-size), 400% 400%;
  background-position: center, var(--hx, 50%) var(--hy, 50%);
  background-blend-mode: soft-light, normal;
  mix-blend-mode: overlay;
  opacity: var(--idle, 0);
  transition: opacity .35s;
}
.tile:hover .foil, .fan-card:hover .foil, .holo-card.is-tilting .foil { opacity: var(--active, .3); }
.glare {
  background: radial-gradient(farthest-corner circle at var(--hx, 50%) var(--hy, 50%), rgba(255,255,255,.45) 0%, rgba(255,255,255,.1) 25%, transparent 60%);
  mix-blend-mode: soft-light; opacity: 0; transition: opacity .3s;
}
.tile:hover .glare, .fan-card:hover .glare, .holo-card.is-tilting .glare { opacity: .7; }

/* purpurina fina gerada por ruído (sem imagem externa) */
.foil--ir, .foil--sir, .foil--gold, .foil--reverse {
  --tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 11 -6.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --tex-size: 160px 160px;
}
/* holo clássico: brilho só na janela da ilustração */
.foil--holo {
  --active: .35;
  -webkit-mask: linear-gradient(#000 0 0) 50% 31% / 84% 41% no-repeat;
  mask: linear-gradient(#000 0 0) 50% 31% / 84% 41% no-repeat;
}
/* reverse: brilho na moldura, a arte fica fosca */
.foil--reverse {
  --active: .35;
  -webkit-mask: linear-gradient(#000 0 0), linear-gradient(#000 0 0) 50% 31% / 84% 41% no-repeat;
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0), linear-gradient(#000 0 0) 50% 31% / 84% 41% no-repeat;
  mask-composite: exclude;
}
/* ilustração rara: sem arco-íris, só purpurina fina e reflexo */
.foil--ir { --active: .35; background-image: var(--tex); background-size: var(--tex-size); background-blend-mode: normal; }
/* ilustração rara especial: linhas etched + arco-íris suave */
.foil--sir {
  --active: .3;
  background-image: var(--tex),
    repeating-linear-gradient(45deg, rgba(255,255,255,.4) 0 1px, transparent 1px 4px),
    var(--rainbow);
  background-size: var(--tex-size), auto, 400% 400%;
  background-position: center, 0 0, var(--hx, 50%) var(--hy, 50%);
  background-blend-mode: soft-light, overlay, normal;
}
/* ex / V / full art / promo: só um reflexo leve de textura, sem arco-íris */
.foil--ultra, .foil--promo {
  --active: .22;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.35) 0 1px, transparent 1px 3px);
  background-size: auto; background-blend-mode: normal;
}
/* dourada: tom metálico de ouro (a única com brilho parado) */
.foil--gold {
  --idle: .22; --active: .4;
  --rainbow: repeating-linear-gradient(110deg, #fff6d0 0 4%, #c9962a 8%, #6b4a08 12%, #fff1b0 16%, #a87412 20%, #fff6d0 24%);
}
.tags { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; gap: 4px; flex-wrap: wrap; z-index: 2; pointer-events: none; }
/* etiquetas finas e translúcidas pra não tampar a arte */
.tag {
  font-family: var(--label); font-weight: 500; font-size: 9.5px; letter-spacing: .08em; line-height: 1; text-transform: uppercase;
  padding: 3px 6px; border-radius: 999px; color: rgba(255,255,255,.92);
  background: rgba(0,12,38,.38); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.tag--gold { background: rgba(255,200,61,.22); border-color: rgba(255,200,61,.6); color: #FFE7A0; }
.tag--pink { background: rgba(255,244,214,.18); border-color: rgba(255,244,214,.55); color: var(--cream); }
.tag--blue { background: rgba(47,107,255,.28); border-color: rgba(127,166,255,.6); color: #DCE6FF; }
.tag--lang { margin-left: auto; }
.tags .tag { pointer-events: auto; cursor: help; }
/* acabamento foil: só a borda e o texto com reflexo, fundo translúcido */
.tag--foil {
  color: #fff; background: rgba(255,255,255,.12);
  border: 1px solid transparent;
  background-image: linear-gradient(rgba(0,12,38,.35), rgba(0,12,38,.35)), linear-gradient(110deg, #FFE7A0, #BFE3FF 35%, #F3C6FF 60%, #FFF4D6 85%, #FFE7A0);
  background-origin: border-box; background-clip: padding-box, border-box;
  background-size: 100% 100%, 200% 100%; animation: tagshine 4s linear infinite;
}
@keyframes tagshine { to { background-position: 0 0, -200% 0; } }
.tile__body { padding: 12px 2px 2px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tile__name { font-family: var(--label); font-weight: 700; font-size: 17px; line-height: 1.2; margin: 0; color: var(--white); }
.tile__meta { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.45; }
.tile__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { font-family: var(--display); font-size: 24px; color: var(--gold); line-height: 1; text-shadow: 0 2px 0 var(--ink), 0 0 14px rgba(255,200,61,.35); }
.price small { font-size: 13px; color: var(--muted); font-family: var(--body); text-shadow: none; }
.tile__buy {
  font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 12px; border-radius: 9px; white-space: nowrap;
  background: rgba(255,200,61,.1); color: var(--gold); border: 1px solid rgba(255,200,61,.55);
  transition: background .2s, color .2s, box-shadow .25s;
}
.tile__buy:hover { background: var(--gold); color: var(--navy); box-shadow: var(--glow-gold); }

/* filtros */
.filters { display: grid; gap: 14px; margin-bottom: 26px; padding: 16px; border-radius: var(--radius); background: rgba(0,12,38,.55); border: 1px solid var(--line); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--display); font-size: 16px; letter-spacing: .02em;
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--muted);
  transition: all .2s;
}
.chip:hover { color: var(--cream); border-color: var(--line-strong); }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: var(--white); box-shadow: var(--glow-blue); }
.filters__row { display: flex; gap: 10px; flex-wrap: wrap; }
select {
  appearance: none; height: 42px; padding: 0 38px 0 14px; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23FFC83D' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--line); font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .04em;
}
select:focus { outline: 0; border-color: var(--blue); box-shadow: var(--glow-blue); }
select option { background: var(--navy-2); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.more-wrap { display: flex; justify-content: center; margin-top: 28px; }

/* história */
/* arte de pai e filha: larga no computador, vertical no celular */
.story__banner {
  margin: 0 0 44px; border-radius: 22px; overflow: hidden; position: relative;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,200,61,.25), 0 0 50px rgba(47,107,255,.35);
}
.story__banner img { width: 100%; height: auto; display: block; }
.story__banner::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 60px rgba(0,12,38,.55); }
@media (max-width: 720px) { .story__banner { border-radius: 18px; margin-bottom: 32px; } }
@keyframes float { 50% { transform: translateY(-8px); } }
.players { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.player {
  --c: var(--gold);
  border-radius: var(--radius); padding: 26px; position: relative;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 13%, transparent), rgba(0,12,38,.6));
  border: 2px solid var(--c);
  box-shadow: 6px 6px 0 color-mix(in srgb, var(--c) 30%, transparent), 0 0 26px color-mix(in srgb, var(--c) 30%, transparent);
}
.player--2 { --c: var(--blue); }
.player header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.player .tag { position: static; }
.player h3 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; margin: 0; color: var(--gold); text-shadow: var(--logo-text); }
.player--2 h3 { color: var(--cream); }
.player p { color: var(--muted); margin: 0 0 16px; }
.player dl { margin: 0; display: grid; gap: 8px; }
.player dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding-top: 8px; font-size: 14px; }
.player dt { font-family: var(--label); font-weight: 700; font-size: 11px; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }
.player dd { margin: 0; text-align: right; color: var(--text); }
.versus { display: grid; place-items: center; }
.versus span { font-family: var(--display); font-size: 48px; color: var(--gold); text-shadow: var(--logo-text); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.15) rotate(90deg); } }
.timeline { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--blue)); box-shadow: 0 0 12px rgba(47,107,255,.6); }
.timeline li { position: relative; padding: 34px 16px 0 0; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: -2px; width: 22px; height: 22px; background: var(--gold); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter: drop-shadow(0 0 6px var(--gold)); }
.timeline li:nth-child(n+3)::before { background: var(--blue-soft); filter: drop-shadow(0 0 6px var(--blue)); }
.timeline b { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--cream); }
.timeline span { font-size: 14px; color: var(--muted); }

/* como comprar */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: linear-gradient(180deg, rgba(16,38,90,.6), rgba(0,12,38,.6)); transition: border-color .25s, box-shadow .25s, transform .25s; }
.steps li:hover { border-color: var(--blue); box-shadow: var(--glow-blue); transform: translateY(-4px); }
.steps__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--blue); font-family: var(--display); font-size: 24px; color: var(--white); box-shadow: 0 4px 0 #173A99, 0 0 16px rgba(47,107,255,.6); }
.steps h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 14px 0 6px; color: var(--cream); }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.note { color: var(--muted); font-size: 13px; margin: 18px 0 0; }

/* rodapé */
.footer { position: relative; margin-top: 80px; padding: 36px 0 90px; background: rgba(0,8,28,.7); border-top: 1px solid var(--line); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), var(--blue), transparent); }
.footer__row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__row > div { flex: 1; }
.footer__row img { border-radius: 14px; box-shadow: 0 0 22px rgba(255,200,61,.3); }
.footer__title { font-family: var(--display); font-size: 26px; color: var(--gold); margin: 0; text-shadow: 0 2px 0 var(--ink); }
.footer__row p { margin: 0; color: var(--muted); font-size: 14px; }
.footer__legal { font-size: 12px; color: #7185B2; margin-top: 22px; }

/* botão flutuante */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #25D366; color: #fff; font-family: var(--label); font-weight: 700; letter-spacing: .04em; font-size: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,.4), 0 0 22px rgba(37,211,102,.45);
  transition: transform .2s;
}
.fab:hover { transform: translateY(-2px) scale(1.03); }
.fab svg { width: 24px; height: 24px; fill: currentColor; }

/* modal */
.modal { width: min(940px, 100% - 32px); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--line-strong); border-radius: 20px; background: linear-gradient(160deg, #0E2A6B, var(--navy) 55%, var(--deep)); color: var(--text); box-shadow: 0 30px 90px rgba(0,0,0,.6), var(--glow-blue); }
.modal[open] { animation: pop .35s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.modal::backdrop { background: rgba(0,6,20,.8); backdrop-filter: blur(6px); }
.modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); cursor: pointer; z-index: 2; transition: box-shadow .2s, border-color .2s; }
.modal__close:hover { border-color: var(--gold); box-shadow: var(--glow-gold); }
.modal__body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px; }
.modal__art { display: grid; place-items: center; perspective: 900px; position: relative; }
.modal__art::before { content: ""; position: absolute; width: 85%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,200,61,.35), rgba(47,107,255,.2) 45%, transparent 70%); filter: blur(10px); }
.holo-card { position: relative; width: min(340px, 100%); aspect-ratio: 63/88; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 2px rgba(255,200,61,.5), 0 0 40px rgba(47,107,255,.35); transition: transform .15s ease-out; transform-style: preserve-3d; }
.holo-card img { width: 100%; height: 100%; object-fit: cover; }

.modal__info { display: flex; flex-direction: column; gap: 8px; }
.modal__info .tags { position: static; }
.modal__info .tag--lang { margin-left: 0; }
.modal__info h3 { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1.08; margin: 6px 0 0; color: var(--cream); text-shadow: 0 3px 0 var(--ink), 0 0 20px rgba(47,107,255,.5); }
.modal__set { color: var(--muted); margin: 0; }
.modal__specs { display: grid; margin: 8px 0; }
.modal__specs div { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.modal__specs dt { font-family: var(--label); font-weight: 700; font-size: 11px; color: var(--muted); letter-spacing: .16em; }
.modal__specs dd { margin: 0; text-align: right; }
.modal__price { font-family: var(--display); font-size: 46px; color: var(--gold); margin: 6px 0 12px; line-height: 1; text-shadow: var(--logo-text); }
.modal__ref { font-size: 12px; color: var(--muted); margin: 6px 0 0; }

/* animação de entrada */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* responsivo */
@media (max-width: 1180px) { .nav { display: none; } }
@media (max-width: 1020px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__stage { height: 430px; }
  .eras { grid-template-columns: repeat(2, 1fr); }
  .cards--featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .header__row { height: 64px; gap: 10px; }
  .brand img { height: 48px; }
  .btn--ig span { display: none; }
  .btn--ig { padding: 0 11px; }
  .search { height: 40px; padding: 0 12px; }
  .search input { font-size: 14px; }
  .hero { padding: 40px 0 90px; }
  .eyebrow { font-size: 11px; letter-spacing: .2em; }
  .lead { font-size: 16px; }
  .stats li { min-width: 0; flex: 1 1 40%; }
  .hero__stage { height: 340px; }
  .moon { width: 250px; box-shadow: inset 44px -12px 0 0 #FFD45E, inset 64px -18px 22px -6px rgba(255,244,214,.9); }
  .fan-card { width: 140px; }
  .fan-card:nth-child(2) { width: 160px; }
  .clouds { height: 120px; }
  .section { padding: 60px 0 20px; }
  .section__head { flex-wrap: wrap; }
  .eras { gap: 12px; }
  .era { padding: 12px; }
  .era__stack { height: 104px; }
  .era__stack img { width: 58px; }
  .era::before { top: 70px; height: 40px; }
  .era__name { font-size: 19px; }
  .players { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tile { padding: 8px; }
  .tags { top: 14px; left: 14px; right: 14px; }
  .tile__name { font-size: 15px; }
  .price { font-size: 20px; }
  .tile__foot { flex-direction: column; align-items: stretch; }
  .tile__buy { text-align: center; }
  .filters { padding: 12px; }
  .modal__body { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
  .holo-card { width: 230px; }
  .fab span { display: none; }
  .fab { padding: 0 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
