/* PokeFun · pokefuntools.xyz · © 2026 Kike */
@font-face { font-family: 'Outfit'; src: url('fonts/Outfit-Regular.ttf') format('truetype'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('fonts/Outfit-Bold.ttf') format('truetype'); font-weight: 700 900; font-display: swap; }

:root {
  --bg: #090d1b; --bg2: #0e1429; --bg3: #141b36;
  --card: rgba(255, 255, 255, .035); --card2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .14);
  --text: #eef1fb; --muted: #a3acca; --dim: #6f7899;
  --red: #ff4524; --red2: #d92f12; --yellow: #ffd500; --gold: #ffbb14; --blue: #2f72ff; --cyan: #1fcbff;
  --green: #19dc72; --violet: #9558ff; --pink: #ff4c9a; --discord: #5865f2;
  --t-normal: #b8b08a; --t-fire: #ff6a33; --t-water: #4f8dff; --t-grass: #3fcf6a; --t-electric: #ffd21f;
  --t-psychic: #ff5b8f; --t-fighting: #e0533f; --t-steel: #a7bdd3; --t-dragon: #8466ff;
  --r: 18px; --wrap: 1200px; --pad: 24px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: #111; padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }

/* fondo: brillos y el dibujo de Poké Balls */
.bgfx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bgfx::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; background: radial-gradient(closest-side, rgba(255, 69, 36, .22), transparent 70%); }
.bgfx::after { content: ''; position: absolute; inset: auto auto -25% -15%; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; background: radial-gradient(closest-side, rgba(47, 114, 255, .18), transparent 70%); }
.bgfx i { position: absolute; inset: 0; opacity: .04; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23fff' stroke-width='3'%3E%3Ccircle cx='60' cy='60' r='26'/%3E%3Cpath d='M34 60h18M68 60h18'/%3E%3Ccircle cx='60' cy='60' r='8'/%3E%3C/g%3E%3C/svg%3E"); background-size: 120px 120px; mask-image: linear-gradient(180deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); }

/* cabecera */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); background: rgba(9, 13, 27, .72); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.top.scrolled { border-bottom-color: var(--line); background: rgba(9, 13, 27, .9); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 132px; height: auto; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .45)); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15.5px; padding: 8px 12px; border-radius: 10px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: var(--card2); }
.top .sp { flex: 1; }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.langs a { text-decoration: none; font-size: 13px; font-weight: 700; color: var(--muted); padding: 5px 9px; border-radius: 9px; letter-spacing: .03em; }
.langs a[aria-current='true'] { background: var(--card2); color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 16px; border-radius: 14px; padding: 13px 22px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn.discord { background: var(--discord); color: #fff; box-shadow: 0 8px 26px rgba(88, 101, 242, .38); }
.btn.discord:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(88, 101, 242, .5); }
.btn.red { background: linear-gradient(180deg, #ff5a36, var(--red2)); color: #fff; box-shadow: 0 8px 26px rgba(255, 69, 36, .35); }
.btn.red:hover { transform: translateY(-2px); }
.btn.ghost { background: var(--card); border-color: var(--line2); color: var(--text); }
.btn.ghost:hover { background: var(--card2); }
.btn.sm { font-size: 14.5px; padding: 9px 14px; border-radius: 12px; }
.menu { display: none; background: none; border: 1px solid var(--line2); color: var(--text); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; }
.menu svg { width: 22px; height: 22px; }

/* portada */
.hero { position: relative; padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); background: rgba(255, 213, 0, .08); border: 1px solid rgba(255, 213, 0, .22); padding: 6px 12px 6px 8px; border-radius: 999px; }
.kicker .mini { width: 18px; height: 18px; }
.hero h1 { margin-top: 18px; font-size: clamp(38px, 5.2vw, 62px); font-weight: 900; }
.hero h1 span { display: block; background: linear-gradient(92deg, #ffd500, #ffbb14 45%, #ff6a33); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 560px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.note { margin-top: 16px; font-size: 14.5px; color: var(--dim); }
.stage { position: relative; }
.stage .shot { transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transform-origin: 70% 50%; transition: transform .5s; }
.stage:hover .shot { transform: perspective(1600px) rotateY(-4deg) rotateX(1deg); }
.float { position: absolute; z-index: 3; image-rendering: pixelated; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55)); animation: bob 5s ease-in-out infinite; pointer-events: none; }
.float.f1 { width: 112px; left: -42px; bottom: -26px; }
.float.f2 { width: 96px; right: -18px; top: -48px; animation-delay: -1.6s; }
.float.f3 { width: 84px; right: 18%; bottom: -46px; animation-delay: -3.1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* marco de las capturas: una Pokédex */
.shot { position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg2); border: 1px solid var(--line2); box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .4); }
.shot .bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; background: linear-gradient(180deg, #ff4a2b, #d42f15); border-bottom: 2px solid rgba(0, 0, 0, .35); }
.shot .bar .lens { width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #bfe9ff, #2f9bff 45%, #10508f); box-shadow: 0 0 0 2px #fff; }
.shot .bar .led { width: 7px; height: 7px; border-radius: 50%; }
.shot .bar .l1 { background: #ff8a7a; } .shot .bar .l2 { background: #ffd500; } .shot .bar .l3 { background: #3fe07f; }
.shot img { width: 100%; }
.zoom { cursor: zoom-in; }

/* cifras */
.stats { padding: 26px 0 10px; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; align-items: baseline; gap: 10px; }
.stats b { font-size: 30px; font-weight: 900; color: var(--yellow); }
.stats span { color: var(--muted); font-size: 15px; }

/* secciones */
section { scroll-margin-top: 84px; }
.sec { padding: 92px 0 20px; }
.sec-h { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec-h h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; }
.sec-h p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.divider { display: flex; align-items: center; gap: 14px; max-width: 520px; margin: 0 auto; color: var(--line2); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line2), transparent); }
.divider svg { width: 30px; height: 30px; opacity: .8; }

.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 34px 0; }
.feat.rev .txt { order: 2; }
.feat h3 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; margin-top: 14px; }
.feat p { margin-top: 14px; color: var(--muted); font-size: 17.5px; }
.feat ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.feat li { position: relative; padding-left: 30px; font-size: 16.5px; }
.feat li::before { content: ''; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #fff 0 3px, #1a1a1a 3.5px 4.5px, transparent 5px), linear-gradient(180deg, var(--tc, var(--red)) 0 45%, #1a1a1a 45% 55%, #f4f4f4 55%); box-shadow: 0 0 0 1.5px #1a1a1a; }
.feat .shot.narrow { max-width: 440px; margin: 0 auto; }
.type { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #fff; background: var(--tc); padding: 5px 12px 5px 6px; border-radius: 999px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2), 0 4px 14px color-mix(in srgb, var(--tc) 35%, transparent); text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
.type i { width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .28); display: grid; place-items: center; font-style: normal; font-size: 11px; }
.t-normal { --tc: var(--t-normal); } .t-fire { --tc: var(--t-fire); } .t-water { --tc: var(--t-water); } .t-grass { --tc: var(--t-grass); }
.t-electric { --tc: var(--t-electric); } .t-psychic { --tc: var(--t-psychic); } .t-fighting { --tc: var(--t-fighting); } .t-steel { --tc: var(--t-steel); } .t-dragon { --tc: var(--t-dragon); }
.t-electric.type, .t-steel.type, .t-normal.type { color: #1b1b1b; text-shadow: none; }

/* herramientas */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s, border-color .2s, background .2s; }
.tool:hover { transform: translateY(-4px); border-color: var(--line2); background: var(--card2); }
.tool .th { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg2); }
.tool .th img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.tool .tt { padding: 14px 18px 18px; }
.tool h3 { font-size: 19px; font-weight: 800; }
.tool p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }

/* control */
.safe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.safe div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.safe .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--card2); border: 1px solid var(--line); }
.safe h3 { margin-top: 14px; font-size: 18.5px; font-weight: 800; }
.safe p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }

/* Analyzer */
.analyzer { margin-top: 30px; border-radius: 28px; border: 1px solid rgba(47, 114, 255, .25); background: radial-gradient(900px 400px at 85% 0%, rgba(31, 203, 255, .14), transparent 70%), linear-gradient(180deg, rgba(47, 114, 255, .1), rgba(149, 88, 255, .06)); padding: 56px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.analyzer h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 900; margin-top: 14px; }
.analyzer p { margin-top: 14px; color: var(--muted); font-size: 17.5px; }
.analyzer ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.analyzer li { padding-left: 28px; position: relative; }
.analyzer li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--cyan); font-weight: 900; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #bdeeff; background: rgba(31, 203, 255, .12); border: 1px solid rgba(31, 203, 255, .3); padding: 6px 12px; border-radius: 999px; }
.duo { position: relative; padding-bottom: 60px; }
.duo .shot:last-child { position: absolute; width: 58%; right: -18px; bottom: 0; }

/* precios */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 20px 20px; transition: transform .2s, border-color .2s; }
.plan:hover { transform: translateY(-4px); border-color: var(--line2); }
.plan.hot { border-color: rgba(149, 88, 255, .55); background: linear-gradient(180deg, rgba(149, 88, 255, .14), rgba(255, 255, 255, .03)); box-shadow: 0 18px 50px rgba(149, 88, 255, .18); }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--violet), var(--pink)); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.plan .ph { display: flex; align-items: center; gap: 12px; }
.plan .ph svg { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); }
.plan h3 { font-size: 19px; font-weight: 800; }
.plan .sub { font-size: 14px; color: var(--muted); }
.plan .price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font-size: 40px; font-weight: 900; letter-spacing: -.02em; }
.plan .price span { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 12px 0 20px; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.plan li::before { content: '•'; color: var(--yellow); margin-right: 8px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plans2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.plan .rows { display: grid; gap: 10px; margin: 16px 0 20px; }
.plan .row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.plan .row b { font-size: 22px; font-weight: 900; }
.plan .row span { display: grid; gap: 2px; }
.plan .row em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--green); white-space: nowrap; }
.payline { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; color: var(--muted); font-size: 15px; text-align: center; }
.payline b { color: var(--text); }
.chips { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chips span { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--card2); border: 1px solid var(--line); color: var(--text); }

/* empezar */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px 22px; }
.step .n { width: 52px; height: 52px; }
.step h3 { margin-top: 14px; font-size: 20px; font-weight: 800; }
.step p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.dlcta { display: flex; justify-content: center; margin-top: 32px; }
.dlcta .btn { font-size: 18px; padding: 16px 28px; border-radius: 16px; }

/* preguntas */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--line2); background: var(--card2); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--card2); border: 1px solid var(--line); font-size: 20px; color: var(--yellow); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* pie */
.foot { margin-top: 110px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.foot > .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-top: 44px; padding-bottom: 30px; }
.foot img { width: 140px; }
.foot h4 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .copy { color: var(--dim); font-size: 14px; margin-top: 14px; }
.legal { border-top: 1px solid var(--line); padding: 18px 0 30px; color: var(--dim); font-size: 13.5px; text-align: center; }

/* visor de capturas */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(3, 5, 12, .9); display: none; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.lb.on { display: flex; }
.lb img { max-width: min(1600px, 100%); max-height: 100%; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: var(--card2); color: #fff; font-size: 22px; cursor: pointer; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.nf img { width: 120px; margin: 0 auto 18px; image-rendering: pixelated; }
.nf h1 { font-size: 40px; font-weight: 900; }
.nf p { margin: 12px 0 26px; color: var(--muted); }

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu { display: inline-grid; place-items: center; }
  .top.open .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; padding: 12px var(--pad) 18px; background: rgba(9, 13, 27, .97); border-bottom: 1px solid var(--line); }
  .top.open .nav a { padding: 12px; font-size: 17px; }
  .plans { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
}
@media (max-width: 960px) {
  .hero .wrap, .feat, .analyzer { grid-template-columns: 1fr; }
  .feat.rev .txt { order: 0; }
  .feat { gap: 28px; padding: 28px 0; }
  .hero { padding-top: 40px; }
  .stage .shot { transform: none; }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .safe, .steps, .plans2 { grid-template-columns: 1fr 1fr; }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .analyzer { padding: 34px 24px; }
  .foot > .wrap { grid-template-columns: 1fr 1fr; }
  .foot > .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --pad: 16px; }
  body { font-size: 16.5px; }
  .top .wrap { height: 64px; gap: 12px; }
  .brand img { width: 108px; }
  .top .btn.discord span { display: none; }
  .top .btn.discord { padding: 10px; }
  .top.open .nav { top: 64px; }
  .langs a { padding: 5px 7px; }
  .hero p.lead { font-size: 17.5px; }
  .ctas .btn { flex: 1 1 auto; }
  .float.f1 { width: 76px; left: -8px; bottom: -22px; }
  .float.f2 { width: 66px; right: -4px; top: -34px; }
  .float.f3 { display: none; }
  .tools, .safe, .steps, .plans, .plans2 { grid-template-columns: 1fr; }
  .stats li { flex-direction: column; gap: 0; }
  .sec { padding-top: 70px; }
  .duo { padding-bottom: 0; }
  .duo .shot:last-child { position: relative; width: 100%; right: 0; margin-top: 16px; }
  .foot > .wrap { grid-template-columns: 1fr; }
  .shot .bar { height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .stage .shot, .tool, .plan, .btn { transition: none; }
}
