/* PlotRise — estilos de la landing y la wiki (mismo lenguaje visual que el juego) */
:root {
  --navy: #0d1f45; --p1: #3466b8; --p2: #1f4285; --inset: #173a74;
  --text: #fff; --text-2: #d3e2ff; --muted: #92acd9;
  --gold: #ffc531; --green: #3ad17c; --blue: #47a3ff; --purple: #a274ff; --orange: #ff9a3c; --red: #ff5a5a;
  --display: "Lilita One", "Nunito", system-ui, sans-serif;
  --font: "Nunito", "Segoe UI", system-ui, "PingFang SC", "Microsoft YaHei", "Malgun Gothic", "Hiragino Sans", sans-serif;
  --ts: 0 2px 0 rgba(0, 0, 0, .35);
  --shadow-soft: 0 5px 0 rgba(9, 22, 52, .5), 0 22px 40px -10px rgba(3, 10, 30, .6);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-weight: 800; color: var(--text); background: #0d1f45; overflow-x: hidden; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; margin: 0; text-shadow: 0 3px 0 rgba(9, 22, 52, .55), 0 8px 24px rgba(3, 10, 30, .45); }

/* ---------- fondo con el juego ---------- */
#bgWorld { position: fixed; inset: 0; z-index: 0; background: linear-gradient(180deg, #78bfe0, #c4e6f2); }
#bgWorld canvas { display: block; width: 100% !important; height: 100% !important; }
/* degradado suave del lado del texto (sin cortes) */
#bgShade { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 0% 50%, rgba(9, 22, 52, .82) 0%, rgba(9, 22, 52, .55) 35%, rgba(9, 22, 52, .12) 65%, rgba(9, 22, 52, 0) 85%),
    linear-gradient(180deg, rgba(9, 22, 52, .5) 0%, rgba(9, 22, 52, 0) 18%, rgba(9, 22, 52, 0) 80%, rgba(9, 22, 52, .45) 100%); }
/* oscurecido global que crece de forma continua al bajar (lo controla JS) */
#bgDim { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(130% 100% at 50% 40%, rgba(12, 28, 64, .82), rgba(7, 16, 40, .94)); opacity: 0; will-change: opacity; }
header, section, footer { position: relative; z-index: 2; }

/* ---------- botones con relieve y vida ---------- */
.btn { --c1: #6cc0ff; --c2: #2f7fe0; --bd: #17499a;
  font-family: var(--display); font-size: 18px; letter-spacing: .02em; color: #fff; text-shadow: var(--ts); text-decoration: none; white-space: nowrap;
  border: 3px solid var(--bd); border-radius: 16px; padding: 10px 18px; cursor: pointer; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--c1), var(--c2));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -4px 0 rgba(0, 0, 0, .18), 0 5px 0 var(--bd), 0 12px 22px -6px rgba(3, 10, 30, .55);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; position: relative; top: 0;
  transition: transform .18s ease-out, filter .15s, top .06s, box-shadow .06s; }
.btn::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); transition: left .55s ease; }
.btn:hover::before { left: 130%; }
.btn::before { opacity: .55; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn:active { top: 4px; transform: scale(.97); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), 0 1px 0 var(--bd); }
.btn:disabled { filter: grayscale(.6) brightness(.8); cursor: wait; transform: none; }
.btn .ic { filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .3)); }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; z-index: -1; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.btn-gold { --c1: #ffe07a; --c2: #f5a813; --bd: #a96a00; }
.btn-green { --c1: #78f2ac; --c2: #22b860; --bd: #12773c; }
.btn-ghost { --c1: #5b7fc2; --c2: #3e62a6; --bd: #1d3a75; }
.btn-dark { --c1: #3a3f4a; --c2: #15181e; --bd: #000; }
.btn-sm { font-size: 15px; padding: 7px 13px; border-radius: 13px; }
.btn-lg { font-size: 21px; padding: 13px 24px; border-radius: 18px; }
.breathe { animation: breathe 3.6s ease-in-out infinite; }
.breathe:hover { animation: none; }
@keyframes breathe { 50% { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -4px 0 rgba(0, 0, 0, .18), 0 5px 0 var(--bd), 0 0 18px rgba(255, 197, 49, .3); } }
.xlogo { font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", system-ui, sans-serif; font-size: 18px; line-height: 1; text-shadow: none; }
.btn-x { min-width: 44px; }

/* ---------- botones flotantes (música / día-noche) ---------- */
.fabs { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
#musicBtn .eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
#musicBtn .eq i { width: 3px; height: 4px; background: #fff; border-radius: 2px; box-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
#musicBtn.playing .eq i { animation: eq .8s ease-in-out infinite; }
#musicBtn.playing .eq i:nth-child(2) { animation-delay: -.3s; } #musicBtn.playing .eq i:nth-child(3) { animation-delay: -.55s; }
@keyframes eq { 50% { height: 14px; } }
#musicBtn.playing { --c1: #c3a2ff; --c2: #7f4fe6; --bd: #4b2a9a; }

/* ---------- navegación ---------- */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
nav.solid { background: rgba(10, 24, 56, .95); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 14px; }
.brand { font-family: var(--display); font-size: 34px; text-decoration: none; text-shadow: 0 3px 0 var(--navy), 0 -1px 0 var(--navy), 2px 0 0 var(--navy), -2px 0 0 var(--navy); flex: none; }
.brand span, .gold { color: var(--gold); }
.links { display: flex; gap: 20px; font-size: 15px; }
.links a { text-decoration: none; color: var(--text-2); position: relative; padding: 4px 0; text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s ease-out; }
.links a:hover { color: #fff; } .links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; gap: 8px; align-items: center; }

/* selector de idioma */
.lang { position: relative; }
.lang-btn { gap: 6px; height: 40px; padding: 0 12px; font-size: 15px; }
.lang-btn .ic { font-size: 17px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; padding: 6px; border-radius: 16px; display: none;
  background: linear-gradient(180deg, var(--p1), var(--p2)); border: 3px solid var(--navy); box-shadow: var(--shadow-soft); animation: drop .2s cubic-bezier(.3, 1.6, .5, 1); }
.lang.open .lang-menu { display: grid; }
@keyframes drop { from { transform: translateY(-8px) scale(.95); opacity: 0; } }
.lang-menu button { display: flex; gap: 10px; align-items: center; text-align: left; background: none; border: 0; color: var(--text-2); cursor: pointer; padding: 8px 10px; border-radius: 10px; font: inherit; font-size: 14px; }
.lang-menu button b { font-family: var(--display); font-weight: 400; color: #fff; min-width: 34px; }
.lang-menu button:hover, .lang-menu button.on { background: rgba(9, 22, 52, .45); color: #fff; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; padding: 110px 0 70px; }
.pill-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(9, 22, 52, .6); border: 2px solid rgba(255, 255, 255, .15); padding: 6px 14px; border-radius: 30px; font-size: 13px; color: var(--text-2); }
.dotlive { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(58, 209, 124, .25); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(58, 209, 124, 0); } }
.hero h1 { font-size: clamp(42px, 5.8vw, 78px); line-height: 1; margin: 18px 0 16px; text-shadow: 0 6px 0 var(--navy), 0 16px 40px rgba(0, 0, 0, .45); }
.lead { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 540px; margin: 0 0 28px; font-weight: 700; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.wl-count { margin-top: 26px; display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 15px; text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.avatars { display: flex; }
.avatars i { width: 32px; height: 32px; border-radius: 50%; border: 3px solid #1d4588; margin-left: -10px; display: block; }
.avatars i:first-child { margin-left: 0; }
.hero-stage { position: relative; height: min(520px, 62vh); pointer-events: none; }
.float-card { position: absolute; padding: 10px 16px 10px 10px; display: flex; align-items: center; gap: 12px; font-size: 14px; animation: bobc 8s ease-in-out infinite; }
.float-card b { font-family: var(--display); font-weight: 400; font-size: 22px; text-shadow: var(--ts); display: block; }
.float-card small { display: block; color: var(--text-2); font-size: 12px; }
.fc-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; flex: none; border: 3px solid var(--navy); background: linear-gradient(180deg, var(--c1), var(--c2)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45); }
@keyframes bobc { 50% { transform: translateY(-5px); } }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%) rotate(180deg); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; text-decoration: none;
  background: rgba(9, 22, 52, .55); border: 2px solid rgba(255, 255, 255, .2); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 50% { margin-bottom: -4px; } }

/* ---------- marcos ---------- */
.frame { background: linear-gradient(180deg, rgba(52, 102, 184, .96), rgba(31, 66, 133, .96)); border: 3px solid var(--navy); border-radius: 24px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -3px 0 rgba(0, 0, 0, .15), var(--shadow-soft); }

/* ---------- secciones (sin fondos con bordes duros) ---------- */
section { padding: 110px 0; }
section.tight { padding: 0 0 40px; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.sec-head.left { text-align: left; margin: 0 0 28px; }
.kicker { font-family: var(--display); color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: 15px; text-shadow: var(--ts); }
.sec-head h2 { font-size: clamp(34px, 4.2vw, 52px); margin: 8px 0 12px; }
.sec-head p { color: var(--text-2); font-size: 17px; line-height: 1.55; margin: 0; font-weight: 700; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 20px; text-align: center; }
.stat .v { font-family: var(--display); font-size: 44px; text-shadow: 0 4px 0 rgba(9, 22, 52, .6); }
.stat .k { color: var(--text-2); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 26px 22px; position: relative; transition: transform .2s ease-out; }
.step:hover { transform: translateY(-3px); }
.step .num { position: absolute; top: -18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 20px;
  background: linear-gradient(180deg, #ffe07a, #f5a813); border: 3px solid var(--navy); text-shadow: 0 1px 0 #8a5600; }
.ico { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; font-size: 34px; border: 3px solid var(--navy);
  background: linear-gradient(180deg, var(--c1), var(--c2)); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45), inset 0 -5px 0 rgba(0, 0, 0, .2), 0 5px 0 var(--navy); transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }

.ico .ic { filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .3)); }
.step h3 { font-size: 24px; margin: 18px 0 8px; }
.step p { color: var(--text-2); margin: 0; line-height: 1.5; font-size: 15px; font-weight: 700; }

.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.tab { font-family: var(--display); font-size: 17px; color: var(--text-2); background: rgba(9, 22, 52, .6); border: 3px solid var(--navy); border-radius: 14px; padding: 8px 18px; cursor: pointer; display: inline-flex; gap: 7px; align-items: center; transition: color .15s; }
.tab:hover { color: #fff; }
.tab.active { color: #fff; background: linear-gradient(180deg, #ffd65a, #e89a0c); text-shadow: 0 1px 0 #8a5600; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45); }
.props { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.prop { padding: 10px; transition: transform .2s ease-out; }
.prop:hover { transform: translateY(-3px); }
.prop .img { height: 160px; border-radius: 16px; border: 3px solid var(--navy); background: radial-gradient(circle at 50% 70%, #8fc0ff, #3466c4 70%); display: grid; place-items: center; overflow: hidden; }
.prop .img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.prop:hover .img img { transform: scale(1.03); }
.prop h3 { font-size: 20px; margin: 10px 4px 4px; }
.meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; color: var(--text-2); font-size: 13px; margin: 0 4px 4px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.cat { padding: 2px 9px; border-radius: 8px; font-size: 12px; background: rgba(9, 22, 52, .45); }

.w3 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; }
.w3-list { display: grid; gap: 14px; }
.w3-item { display: flex; gap: 16px; padding: 18px; align-items: flex-start; }
.w3-item .ico { width: 56px; height: 56px; flex: none; border-radius: 16px; font-size: 26px; }
.w3-item h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.w3-item p { color: var(--text-2); margin: 6px 0 0; line-height: 1.5; font-size: 15px; font-weight: 700; }
.soon { font-family: var(--font); font-size: 11px; font-weight: 900; padding: 3px 9px; border-radius: 8px; background: rgba(255, 197, 49, .18); color: var(--gold); letter-spacing: .04em; text-shadow: none; }
.nft-card { padding: 18px; max-width: 380px; margin: 0 auto; transform: rotate(2deg); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(1deg) translateY(-6px); } }
.nft-card .img { height: 280px; border-radius: 18px; border: 3px solid var(--navy); background: radial-gradient(circle at 50% 70%, #ffd98a, #e08a2c 45%, #7a3c8f 100%); display: grid; place-items: center; overflow: hidden; }
.nft-card .img img { width: 92%; }
.nft-card .row { display: flex; justify-content: space-between; margin-top: 10px; font-size: 14px; color: var(--text-2); }
.nft-card .row b { color: #fff; font-family: var(--display); font-weight: 400; font-size: 17px; }
.nft-card .title { font-family: var(--display); font-size: 24px; margin-top: 12px; text-shadow: var(--ts); }

.road { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.road::before { content: ""; position: absolute; left: 6%; right: 6%; top: 31px; height: 8px; border-radius: 6px; background: linear-gradient(90deg, #22b860 0%, #f5a813 30%, rgba(9, 22, 52, .6) 45%); }
.phase { position: relative; text-align: center; }
.phase .dot { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; border: 4px solid var(--navy); position: relative; z-index: 1;
  background: linear-gradient(180deg, #5b7fc2, #3e62a6); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35), 0 5px 0 var(--navy); }
.phase.done .dot { background: linear-gradient(180deg, #78f2ac, #22b860); }
.phase.now .dot { background: linear-gradient(180deg, #ffe07a, #f5a813); animation: ring 2s infinite; }
@keyframes ring { 50% { box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45), 0 5px 0 var(--navy), 0 0 0 12px rgba(255, 197, 49, .2); } }
.phase .box { padding: 16px 14px; }
.phase h3 { font-size: 20px; }
.phase .when { font-size: 12px; color: var(--gold); margin: 4px 0 8px; }
.phase ul { margin: 0; padding: 0; list-style: none; color: var(--text-2); font-size: 13.5px; line-height: 1.6; font-weight: 700; text-align: left; }
.phase li { display: flex; gap: 6px; align-items: flex-start; }
.phase li .ic { margin-top: 3px; font-size: 13px; flex: none; }

#whitelist::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 50% at 50% 30%, rgba(58, 114, 207, .45), rgba(58, 114, 207, 0) 70%); }
.wl { display: grid; grid-template-columns: .95fr 1.05fr; gap: 34px; align-items: start; }
.wl-perks { display: grid; gap: 12px; margin-top: 26px; }
.perk { display: flex; gap: 12px; align-items: center; font-size: 16px; color: var(--text-2); }
.perk .ic-wrap { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; flex: none; background: rgba(255, 197, 49, .16); color: var(--gold); border: 2px solid rgba(255, 197, 49, .35); }
.counter { margin-top: 28px; padding: 18px 20px; }
.counter .ck { font-size: 14px; color: var(--text-2); }
.counter .big { font-family: var(--display); font-size: 46px; color: var(--gold); text-shadow: 0 4px 0 #8a5600; line-height: 1; }
.counter .cap { font-size: 22px; color: var(--text-2); text-shadow: var(--ts); }
.counter .bar { height: 18px; border-radius: 10px; background: #0b1a3a; margin-top: 12px; overflow: hidden; box-shadow: inset 0 3px 5px rgba(0, 0, 0, .5); }
.counter .bar div { height: 100%; width: 0; min-width: 18px; border-radius: 10px; background: linear-gradient(180deg, #ffe48a, #f5a813); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45); transition: width 1.2s cubic-bezier(.3, 1, .4, 1); }
.counter small { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 13px; }
.form-card { padding: 0; overflow: hidden; }
.form-head { padding: 18px 24px; background: linear-gradient(180deg, #ffd65a, #e89a0c); border-bottom: 3px solid var(--navy); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45); display: flex; align-items: center; gap: 12px; }
.form-head h3 { font-size: 26px; text-shadow: 0 2px 0 #8a5600; }
.form-head .ic { font-size: 28px; filter: drop-shadow(0 2px 0 #8a5600); }
form { padding: 22px 24px 26px; display: grid; gap: 14px; }
.field label { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--text-2); margin-bottom: 6px; }
.field label em { font-style: normal; color: var(--muted); font-size: 12px; }
.inp { display: flex; align-items: center; gap: 10px; background: var(--inset); border: 3px solid var(--navy); border-radius: 14px; padding: 0 14px; box-shadow: inset 0 3px 6px rgba(0, 0, 0, .3); transition: border-color .15s, box-shadow .15s; }
.inp:focus-within { border-color: var(--gold); box-shadow: inset 0 3px 6px rgba(0, 0, 0, .3), 0 0 0 4px rgba(255, 197, 49, .18); }
.inp.bad { border-color: var(--red); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.inp .ic, .inp .at { color: var(--muted); font-size: 18px; }
.inp input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: inherit; font-size: 16px; padding: 13px 0; }
.inp input::placeholder { color: #6d88bb; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.err-msg { color: #ff9b9b; font-size: 12.5px; margin-top: 5px; }
.err-msg:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--green); flex: none; margin-top: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-foot { font-size: 12px; color: var(--muted); line-height: 1.5; text-align: center; }
.success { padding: 30px 26px 34px; text-align: center; display: none; }
.success.on { display: block; animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.success .badge { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 48px; border: 4px solid var(--navy);
  background: radial-gradient(circle at 35% 30%, #8cf7b9, #22b860 65%); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .5), 0 5px 0 var(--navy), 0 0 40px rgba(58, 209, 124, .45); animation: spin .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes spin { from { transform: scale(0) rotate(-200deg); } }
.success h3 { font-size: 34px; }
.success p { color: var(--text-2); font-size: 16px; line-height: 1.5; }
.success .share { font-size: 14px; margin-top: 18px; }
.pos { font-family: var(--display); font-size: 58px; color: var(--gold); text-shadow: 0 5px 0 #8a5600; margin: 6px 0; }
.ref { display: flex; gap: 8px; margin: 14px auto 0; max-width: 460px; }
.ref .inp { flex: 1; } .ref input { font-size: 13px; }
.demo-note { display: none; margin-top: 14px; font-size: 12.5px; color: var(--gold); background: rgba(255, 197, 49, .1); border: 2px dashed rgba(255, 197, 49, .4); border-radius: 12px; padding: 10px; }
.confetti { position: fixed; top: -12px; width: 10px; height: 14px; z-index: 70; pointer-events: none; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.q { padding: 0; overflow: hidden; }
.q > button { width: 100%; text-align: left; background: none; border: 0; color: #fff; cursor: pointer; padding: 18px 22px; font-family: var(--display); font-size: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-shadow: var(--ts); }
.q > button .ic { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); color: var(--gold); flex: none; transform: rotate(180deg); }
.q.open > button .ic { transform: rotate(0deg); }
.q .a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.q .a p { margin: 0; padding: 0 22px 20px; color: var(--text-2); line-height: 1.6; font-size: 15.5px; font-weight: 700; }

footer { padding: 70px 0 30px; background: linear-gradient(180deg, rgba(8, 20, 48, 0), rgba(8, 20, 48, .92) 45%); }
footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
footer p { color: var(--muted); font-size: 13px; max-width: 460px; line-height: 1.55; font-weight: 700; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.copy { width: 100%; text-align: center; color: #6f88b8; font-size: 12px; margin-top: 30px; }

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

#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(140px); z-index: 60; padding: 12px 20px; border-radius: 16px; font-size: 15px; display: flex; gap: 8px; align-items: center; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
  background: linear-gradient(180deg, #ff7a7a, #c9333a); border: 3px solid var(--navy); box-shadow: 0 5px 0 var(--navy); text-shadow: var(--ts); }
#toast.on { transform: translateX(-50%); }
#toast.ok { background: linear-gradient(180deg, #4fd88a, #1f9b55); }

@media (max-width: 1100px) { .links { display: none; } }
@media (max-width: 960px) {
  .hero .wrap, .w3, .wl { grid-template-columns: 1fr; }
  .hero-stage { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .road { grid-template-columns: 1fr; } .road::before { display: none; }
  .two { grid-template-columns: 1fr; }
  .nav-right .btn-ghost span, .cta-nav span { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .brand { font-size: 26px; } .fabs { right: 10px; bottom: 10px; } #dayTxt, #musicBtn > span:not(.eq) { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }

/* ---------- pasos de la whitelist (landing) ---------- */
.wl-steps { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 18px; }
.wl-step { display: grid; grid-template-columns: 26px 50px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(9, 22, 52, .4); }
.wl-step .n { font-family: var(--display); color: var(--gold); font-size: 22px; text-align: center; text-shadow: var(--ts); }
.wl-step .si { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(180deg, var(--c1), var(--c2)); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .22), inset 0 3px 0 rgba(255, 255, 255, .35); }
.wl-step b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; }
.wl-step small { color: var(--text-2); font-size: 13.5px; line-height: 1.4; }
.wl-join { padding: 18px 22px 24px; }
.counter.early .cap, .counter.early small span:first-child { display: none; }
.counter.early small { justify-content: flex-start; }

/* logo en imagen */
.brand img { display: block; height: 44px; width: auto; filter: drop-shadow(0 4px 6px rgba(3, 10, 30, .35)); }
@media (max-width: 560px) { .brand img { height: 34px; } }

/* botones de la barra sólo con emoji */
.icon-btn { width: 40px; height: 40px; padding: 0 !important; justify-content: center; gap: 0; }
.icon-btn .emo { font-size: 19px; line-height: 1; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .35)); }
#musicBtn.playing { --c1: #c3a2ff; --c2: #7f4fe6; --bd: #4b2a9a; }
@media (max-width: 560px) { .icon-btn { width: 34px; height: 34px; } .icon-btn .emo { font-size: 16px; } }
.nav-right .icon-btn .emo { display: inline !important; }
@media (max-width: 560px) { .nav-right { gap: 5px; } .brand img { height: 28px; } }
@media (max-width: 400px) { #dayBtn { display: none !important; } }
@media (max-width: 420px) { .lang-btn { padding: 0 9px; height: 34px; } .lang-btn span { display: none; } .nav-right .btn-x { width: 34px; height: 34px; padding: 0; justify-content: center; } }

/* botones de la barra: todos del mismo tamaño y con el ícono centrado */
.nav-right .icon-btn { width: 42px; height: 42px; min-width: 42px; padding: 0 !important; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.nav-right .icon-btn .emo { font-size: 20px; display: block; line-height: 1; transform: translateY(1px); }
.nav-right .icon-btn .xlogo { font-size: 19px; display: block; line-height: 1; }
.nav-right .lang-btn { height: 42px; }
.nav-right { align-items: center; }
@media (max-width: 560px) { .nav-right .icon-btn { width: 34px; height: 34px; min-width: 34px; } .nav-right .icon-btn .emo { font-size: 16px; } .nav-right .lang-btn { height: 34px; } }
/* la flecha de "bajar" se va cuando el usuario empieza a scrollear */
.scroll-hint { transition: opacity .3s ease; }
.scroll-hint.gone { opacity: 0; pointer-events: none; }
.nav-right .cta-nav { height: 42px; box-sizing: border-box; }
@media (max-width: 560px) { .nav-right .cta-nav { height: 34px; } }

/* mini icons in nav */
.icon-btn .ui-ico { width: 26px; height: 26px; display: block; pointer-events: none; filter: drop-shadow(0 2px 0 rgba(0,0,0,.25)); transition: transform .15s ease; }
.icon-btn:hover .ui-ico { transform: translateY(-1px) scale(1.08); }
@media (max-width: 600px) { .icon-btn .ui-ico { width: 21px; height: 21px; } }
/* todos los botones de la barra con la misma altura (Home, Waitlist, íconos, idioma) */
.nav-right > .btn { height: 42px; padding-top: 0; padding-bottom: 0; }
.nav-right > .btn .ic { font-size: 17px; }
@media (max-width: 560px) { .nav-right > .btn { height: 34px; } }
/* botón Wiki con texto (landing y waitlist) */
.nav-wiki { gap: 7px; padding: 0 14px 0 10px !important; height: 42px; }
.nav-wiki .ui-ico { width: 24px; height: 24px; display: block; pointer-events: none; filter: drop-shadow(0 2px 0 rgba(0,0,0,.25)); }
.nav-right .nav-wiki span.wiki-txt { display: inline !important; }
@media (max-width: 560px) { .nav-wiki { height: 34px; padding: 0 10px 0 7px !important; font-size: 13px; } .nav-wiki .ui-ico { width: 20px; height: 20px; } }
@media (max-width: 480px) { .nav-right .nav-wiki span.wiki-txt { display: none !important; } .nav-wiki { width: 34px; padding: 0 !important; } }
