/* ============================================================
   Sí Señor Pepe  -  shared brand styles (site + docs)
   ============================================================ */
:root {
  --bg: #12062e;
  --bg-2: #1b0a40;
  --ink: #fff7ff;
  --muted: #cbb8ec;
  --dim: #9a86c4;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(34, 12, 78, 0.48);
  --glass-2: rgba(255, 255, 255, 0.07);
  --pink: #ff3d9a;
  --purple: #9b3dff;
  --violet: #7b2ff7;
  --cyan: #2fd3c4;
  --sky: #63e3ff;
  --gold: #ffc93c;
  --orange: #ff8a1f;
  --green: #5df07a;
  --frog: #58c637;
  --f-display: "Lilita One", "Arial Black", system-ui, sans-serif;
  --f-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(8, 0, 30, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); }
body { font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 58px; padding: 0 30px; border-radius: 16px;
  font-family: var(--f-display); font-size: 21px; letter-spacing: 0.02em; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .2s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-buy {
  background: linear-gradient(100deg, #ff3d9a 0%, #c13dff 55%, #7b2ff7 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .25) inset, 0 10px 34px rgba(255, 61, 154, .5);
}
.btn-buy:hover { box-shadow: 0 0 0 2px rgba(255, 255, 255, .4) inset, 0 12px 44px rgba(255, 61, 154, .75); }
.btn-fiesta {
  background: rgba(20, 8, 60, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 2px var(--sky) inset, 0 0 26px rgba(99, 227, 255, .45);
}
.btn-fiesta:hover { box-shadow: 0 0 0 2px #b9f4ff inset, 0 0 40px rgba(99, 227, 255, .7); }
.btn-green {
  background: linear-gradient(100deg, #5df07a, #2fd3c4); color: #0d2a14;
  box-shadow: 0 10px 30px rgba(93, 240, 122, .35);
}
.btn-ghost { box-shadow: 0 0 0 2px var(--line) inset; background: var(--glass-2); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 16px; border-radius: 12px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1480px, calc(100% - 24px));
  display: flex; align-items: center; gap: 18px; padding: 8px 10px 8px 14px;
  background: rgba(22, 8, 56, .55); border: 1px solid var(--line); border-radius: 20px;
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 10px 40px rgba(6, 0, 24, .45);
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 46px; height: 46px; }
.brand-name { font-family: var(--f-display); font-size: 25px; line-height: 1; white-space: nowrap; }
.brand-name .y { color: var(--gold); }
.brand-name .g { color: var(--green); }
.brand-tick { font-family: var(--f-display); font-size: 17px; color: var(--muted); padding: 3px 8px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.site-nav { display: flex; gap: 4px; margin: 0 auto; }
.site-nav a { padding: 8px 14px; border-radius: 12px; font-size: 15px; font-weight: 500; color: #e4d6ff; transition: background .2s, color .2s; white-space: nowrap; }
.site-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.site-nav a.active { box-shadow: 0 0 0 1.5px var(--purple) inset; background: rgba(155, 61, 255, .2); color: #fff; }
.header-right { display: flex; align-items: center; gap: 6px; flex: none; }
.social { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #e4d6ff; transition: background .2s, color .2s; }
.social:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.social svg { width: 19px; height: 19px; }
.social[aria-disabled="true"] { opacity: .55; }
.header-buy { margin-left: 6px; height: 44px; padding: 0 22px; font-size: 17px; border-radius: 13px; background: rgba(155, 61, 255, .18); box-shadow: 0 0 0 2px var(--pink) inset, 0 0 22px rgba(255, 61, 154, .35); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; background: rgba(255, 255, 255, .08); }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-scene { position: absolute; inset: 0; z-index: 0; }
.hero-scene svg { width: 100%; height: 100%; }
.hero-scene .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero-scene.has-art > svg { display: none; }
.mascot-bob .mascot-img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
/* production art sizing: square 1200x1200 cut-out with ~10% transparent margin top and bottom */
.mascot.has-art .mascot-img { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 91%); mask-image: linear-gradient(to bottom, #000 80%, transparent 91%); }
/* same glow, but applied to the static <img> inside the bobbing layer so it is rasterised once (perf) */
.mascot.has-art { filter: none; }
.mascot.has-art .mascot-bob { will-change: transform; }
.mascot.has-art .mascot-img { filter: drop-shadow(0 0 40px rgba(255, 122, 217, .45)) drop-shadow(0 24px 30px rgba(10, 0, 30, .5)); }
.mascot.has-art { aspect-ratio: 1 / 1; height: min(74vh, 780px); top: clamp(56px, 6vh, 80px); }
/* readability scrim behind the HTML title/buttons on the busy production background */
.hero-scene.has-art::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(18, 6, 46, .35) 0%, rgba(18, 6, 46, 0) 18%, rgba(18, 6, 46, 0) 50%, rgba(18, 6, 46, .55) 82%, rgba(18, 6, 46, .8) 100%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#rainBack { z-index: 1; }
#rainFront { z-index: 5; filter: blur(5px) saturate(1.1); }
.hero::after { /* bottom fade into page */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 4; pointer-events: none;
  background: linear-gradient(to bottom, rgba(18, 6, 46, 0), var(--bg));
}
.mascot {
  position: absolute; z-index: 2; left: 50%; top: clamp(70px, 8vh, 96px);
  height: min(66vh, 700px); aspect-ratio: 800 / 840; transform: translateX(-50%);
  filter: drop-shadow(0 0 40px rgba(255, 122, 217, .45)) drop-shadow(0 24px 30px rgba(10, 0, 30, .5));
}
.mascot-bob { width: 100%; height: 100%; animation: bob 4.2s ease-in-out infinite; transform-origin: 50% 90%; }
.mascot-bob svg { width: 100%; height: 100%; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }

.hero-copy { position: relative; z-index: 6; text-align: center; padding: 0 16px 26px; }
.title { font-family: var(--f-display); font-weight: 400; line-height: .9; font-size: clamp(58px, 9.2vw, 158px); letter-spacing: .005em; }
.title span { display: inline-block; }
.title .ticker { display: block; }
.title .t-si, .title .t-pepe {
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(3px 0 0 #2a0640) drop-shadow(-3px 0 0 #2a0640) drop-shadow(0 3px 0 #2a0640) drop-shadow(0 -3px 0 #2a0640) drop-shadow(0 8px 0 #7a1a8a) drop-shadow(0 0 26px rgba(255, 61, 154, .55));
}
.title .t-si { background-image: linear-gradient(180deg, #fff7c4 0%, #ffd23f 40%, #ff9b1f 78%, #ff6a3d 100%); transform: rotate(-2deg); }
.title .t-pepe { background-image: linear-gradient(180deg, #e6ffb0 0%, #7df24a 40%, #2fc23a 80%, #1f9a3a 100%); transform: rotate(-1deg); }
.ticker {
  display: block; margin-top: 4px; font-family: var(--f-display); font-size: clamp(40px, 5vw, 78px); line-height: 1;
  background: linear-gradient(180deg, #ffd6f4, #ff3d9a 55%, #9b3dff); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #2a0640) drop-shadow(0 0 18px rgba(255, 61, 154, .7));
}
.tagline { margin: 16px auto 22px; font-weight: 600; letter-spacing: .32em; font-size: clamp(12px, 1.25vw, 17px); color: #fff; text-shadow: 0 2px 12px rgba(20, 0, 40, .8); }
.ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.ctas .btn { min-width: 260px; }

.chips { position: relative; z-index: 6; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; width: min(1320px, calc(100% - 32px)); margin: 0 auto 26px; }
.chip {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; min-height: 78px;
  background: rgba(20, 8, 60, .55); border: 1px solid rgba(160, 120, 255, .35); border-radius: 16px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.chip svg { width: 30px; height: 30px; flex: none; }
.chip small { display: block; font-size: 12px; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
.chip b { display: block; font-size: 17px; font-weight: 700; line-height: 1.25; }
.chip .live { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.chip .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.6s infinite; }
.chip button.copy { font-size: 12px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); margin-left: 6px; }
@keyframes pulse { 50% { opacity: .35; } }

/* scene micro-animations */
.tw1 { animation: tw 2.6s ease-in-out infinite; }
.tw2 { animation: tw 3.4s ease-in-out infinite .8s; }
.tw3 { animation: tw 4.1s ease-in-out infinite 1.6s; }
@keyframes tw { 50% { opacity: .15; } }
.lasers { transform-origin: 800px 560px; animation: sweep 9s ease-in-out infinite; }
.beam.b1 { animation: beam 3s ease-in-out infinite; } .beam.b2 { animation: beam 4.3s ease-in-out infinite 1s; }
@keyframes sweep { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes beam { 50% { opacity: .05; } }
.flag { animation: flutter 3.2s ease-in-out infinite; }
@keyframes flutter { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(3deg); } }

/* ---------- sections ---------- */
main section { position: relative; padding: 110px 0; }
.wrap { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--sky); margin-bottom: 12px; }
h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; margin-bottom: 18px; }
h2 .hl { color: var(--gold); }
h3 { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.1; margin-bottom: 8px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 760px; }
.card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.section-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.motto { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin-top: 26px; }
.motto span:nth-child(1) { color: var(--green); } .motto span:nth-child(2) { color: var(--pink); } .motto span:nth-child(3) { color: var(--gold); }
.pillars { display: grid; gap: 16px; }
.pillar { display: flex; gap: 18px; align-items: flex-start; }
.pillar .ico { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: rgba(255, 255, 255, .08); }
.pillar p { color: var(--muted); font-size: 16px; }

/* arena */
.arena-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.preview { position: relative; border-radius: 22px; overflow: hidden; border: 2px solid rgba(99, 227, 255, .5); box-shadow: 0 0 50px rgba(99, 227, 255, .25), var(--shadow); aspect-ratio: 16 / 10; background: #3b1a8a; }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview .tag { position: absolute; left: 14px; top: 14px; font-weight: 700; font-size: 13px; letter-spacing: .12em; padding: 6px 12px; border-radius: 999px; background: rgba(20, 8, 60, .7); border: 1px solid rgba(255, 255, 255, .2); }
.preview a.play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s; background: rgba(20, 8, 60, .35); }
.preview:hover a.play, .preview a.play:focus-visible { opacity: 1; }
.free-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.free-badges span { font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(93, 240, 122, .14); color: #b9ffc9; border: 1px solid rgba(93, 240, 122, .35); }
.roster { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 54px; }
.fighter { text-align: center; padding: 18px 10px 16px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.fighter:hover { transform: translateY(-6px); border-color: var(--c, var(--green)); }
.fighter .art { height: 132px; display: grid; place-items: center; }
.fighter .art svg { height: 100%; width: auto; animation: idle 2.4s ease-in-out infinite; transform-origin: 50% 100%; }
.fighter:nth-child(2) .art svg { animation-delay: .3s; } .fighter:nth-child(3) .art svg { animation-delay: .6s; } .fighter:nth-child(4) .art svg { animation-delay: .9s; } .fighter:nth-child(5) .art svg { animation-delay: 1.2s; }
@keyframes idle { 50% { transform: translateY(-5px) scale(1.02, .98); } }
.fighter h3 { font-size: 22px; margin: 10px 0 2px; }
.fighter small { color: var(--c, var(--green)); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.fighter p { color: var(--dim); font-size: 14px; line-height: 1.45; margin-top: 6px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* tokenomics */
.tok-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.tok { padding: 22px 24px; }
.tok small { display: block; color: var(--dim); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.tok b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 28px; margin-top: 6px; word-break: break-all; }
.tok b.tba { color: var(--muted); font-size: 22px; }
.notice { margin-top: 22px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 14px; background: rgba(255, 201, 60, .1); border: 1px solid rgba(255, 201, 60, .35); color: #ffe7a8; font-size: 15px; }

/* roadmap */
.road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; counter-reset: ph; }
.phase { position: relative; padding: 26px 22px; display: flex; flex-direction: column; }
.phase .num { font-family: var(--f-display); font-size: 15px; letter-spacing: .14em; color: var(--sky); }
.phase h3 { font-size: 27px; margin: 6px 0 10px; }
.phase ul { list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 15.5px; }
.phase li { padding-left: 22px; position: relative; }
.phase li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: var(--c, var(--green)); transform: rotate(45deg); }
.status { align-self: flex-start; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }
.status.now { color: var(--green); border-color: rgba(93, 240, 122, .5); }
.status.beta { color: var(--sky); border-color: rgba(99, 227, 255, .5); }
.status.future { color: var(--gold); border-color: rgba(255, 201, 60, .5); }
.phase.p2e { border-color: rgba(255, 201, 60, .5); background: linear-gradient(160deg, rgba(255, 201, 60, .12), rgba(34, 12, 78, .5) 60%); }
.phase .phase-copy { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.phase .fine { margin-top: auto; padding-top: 16px; font-size: 13.5px; color: #ffe7a8; line-height: 1.5; }
.phase .fine a { text-decoration: underline; text-underline-offset: 3px; }

/* faq */
.faq { display: grid; gap: 12px; margin-top: 34px; max-width: 900px; }
.faq details { background: var(--glass); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(155, 61, 255, .6); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-display); font-size: 26px; line-height: 1; color: var(--pink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 20px; color: var(--muted); }
.faq .a p + p { margin-top: 10px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 54px 0 40px; background: #0d0424; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.disclaimer { margin-top: 28px; color: var(--dim); font-size: 13px; max-width: 900px; line-height: 1.6; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; z-index: 80; padding: 14px 20px; border-radius: 14px; background: rgba(30, 10, 70, .92); border: 1px solid rgba(255, 255, 255, .2); box-shadow: var(--shadow); font-weight: 600; transition: opacity .25s, transform .25s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .site-nav a { padding: 8px 9px; font-size: 14px; }
  .social { display: none; }
  .chips { grid-template-columns: repeat(3, 1fr); }
  .chips .chip:nth-child(n+4) { display: none; }
  .road { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .site-nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; padding: 10px; border-radius: 18px; background: rgba(22, 8, 56, .95); border: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 16px; }
  .menu-btn { display: grid; }
  .header-right { margin-left: auto; }
  .about-grid, .arena-grid { grid-template-columns: 1fr; }
  .roster { grid-template-columns: repeat(3, 1fr); }
  .tok-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-name { font-size: 20px; }
  .brand-tick { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .header-buy { padding: 0 14px; font-size: 15px; height: 40px; }
  .mascot { height: 50svh; top: 74px; }
  .mascot.has-art { height: min(54svh, 100vw); top: 70px; }
  .title { font-size: 15.5vw; }
  .tagline { letter-spacing: .18em; font-size: 11.5px; }
  .ctas { flex-direction: column; align-items: stretch; gap: 12px; padding: 0 8px; }
  .ctas .btn { min-width: 0; width: 100%; height: 54px; }
  .chips { grid-template-columns: 1fr 1fr; gap: 10px; }
  .chips .chip:nth-child(n+3) { display: none; }
  .chip { padding: 10px 12px; min-height: 64px; gap: 10px; }
  .chip svg { width: 24px; height: 24px; }
  .chip b { font-size: 14px; }
  #rainFront { filter: none; opacity: .9; }
  .site-header, .chip, .btn-fiesta, .card { backdrop-filter: none; -webkit-backdrop-filter: none; }
  main section { padding: 76px 0; }
  .roster { grid-template-columns: repeat(2, 1fr); }
  .tok-grid, .road { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
