/* Pixelify Sans (SIL OFL 1.1), alojada en la propia web: los visitantes no se conectan a Google. */
@font-face { font-family: "Pixelify Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/pixelify-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Pixelify Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/pixelify-sans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Layout: mosaico de tarjetas en inicio (#), página de tienda (#tienda). Fondo casi negro, acento cobre.
   Todo el movimiento lo hace GSAP (ver script); el CSS solo transiciona colores. */
:root {
  --bg: #0f0f11;
  --card: #1b1b1f;
  --line: #2c2c33;
  --text: #f4f4f5;
  --muted: #9a9aa3;
  --accent: #ff8a3d;
  --accent-bg: #2a1c12;
  --pix: "Pixelify Sans", "Courier New", monospace;
  --body: "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
body { background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--body); min-height: 100vh; }
a { color: inherit; text-decoration: none; }
/* cursor pixelado: flecha normal y espada en todo lo que se puede clickear (si no carga, usa el del sistema) */
html, body { cursor: url(../img/cursor.png) 2 2, auto; }
a, button, .chip, .tile, .shotbtn, .buy, .vote, label, summary, [role="button"] { cursor: url(../img/cursor-click.png) 2 2, pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
canvas { image-rendering: pixelated; display: block; }
.wrap { width: min(1092px, 100% - 32px); margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- NAV ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 64px; display: flex; align-items: center; gap: 22px; padding: 0 max(16px, calc((100vw - 1092px) / 2)); background: rgba(15,15,17,.84); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 600 22px var(--pix); }
.brand svg { width: 36px; height: 36px; }
.brand b { color: var(--accent); font-weight: 600; }
.links { display: flex; gap: 4px; margin-left: 10px; }
.links a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font: 600 14px var(--body); transition: color .5s, background .5s; }
.links a:hover, .links a.on { color: var(--text); background: var(--card); }
.top .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.chip { background: var(--card); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font: 400 15px var(--pix); cursor: pointer; transition: border-color .5s; }
.chip:hover { border-color: var(--accent); }

/* ---------- INICIO ---------- */
.home { padding: 104px 0 60px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; min-height: 380px; }
.hero .txt { padding: 44px 40px; display: flex; flex-direction: column; gap: 14px; justify-content: center; align-items: flex-start; }
.hero .eyebrow { font: 400 16px var(--pix); color: var(--accent); letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { font: 600 46px/1.05 var(--pix); }
.hero h1 i { font-style: normal; color: var(--accent); }
.hero p { color: var(--muted); max-width: 44ch; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.hero .cta .btn { padding: 12px 18px; font-size: 15px; }
.btn.solid { background: var(--accent); color: #1a0f07; border-color: var(--accent); }
.btn.solid:hover { background: #ffa062; }
.art { position: relative; min-height: 300px; background: #12121a; }
.art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.art .logo { position: absolute; inset: 0; display: grid; place-items: center; }
.art .logo svg { width: 190px; height: 190px; filter: drop-shadow(0 16px 0 rgba(0,0,0,.28)); }

.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.tile { position: relative; border-radius: 28px; overflow: hidden; background: var(--card); min-height: 300px; display: block; will-change: transform; }
.tile canvas { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.tile .label { position: absolute; top: 20px; left: 20px; z-index: 2; font: 600 30px var(--pix); text-shadow: 0 2px 0 rgba(0,0,0,.45); }
.chat { background: var(--card); border-radius: 28px; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; }
.chat svg { width: 64px; height: 64px; }
.chat b { font: 600 32px var(--pix); }
.chat small { color: var(--muted); display: flex; align-items: center; gap: 6px; }
.chat small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ecf6e; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.step b { font: 600 40px var(--pix); color: var(--accent); }
.step h3 { font: 600 20px var(--pix); }
.step p { color: var(--muted); font-size: 14px; }
.step code { background: #000; border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; font: 400 16px var(--pix); color: var(--text); }

/* ---------- TIENDA ---------- */
.store { padding: 70px 0 80px; }
.store header { text-align: center; }
.store header svg { width: 64px; height: 64px; }
.store h1 { font: 600 44px var(--pix); margin-top: 10px; }
.store .tag { font: 400 18px var(--pix); color: var(--muted); margin-top: 4px; }
.store .ipcopy { color: var(--accent); font: 400 18px var(--pix); background: none; border: 0; cursor: pointer; margin-top: 4px; }
.promo { margin-top: 40px; border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.promo b { font: 600 17px var(--pix); color: var(--accent); }
.promo span { flex: 1; min-width: 200px; }
.btn { border: 1px solid var(--line); background: var(--accent-bg); color: var(--accent); border-radius: 10px; padding: 9px 16px; font: 600 14px var(--body); cursor: pointer; display: inline-block; transition: border-color .6s; }
.btn:hover { border-color: var(--accent); }
.sec { display: flex; justify-content: space-between; align-items: baseline; margin: 48px 0 18px; }
.sec h2 { font: 600 26px var(--pix); }
.sec small { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rank { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 18px; transition: border-color .6s; will-change: transform; }
.rank h3 { font: 400 32px var(--pix); }
.rank h3 i { font-style: normal; color: var(--accent); }
.rank dl div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); color: #d4d4d8; }
.rank dl div:last-child { border: 0; }
.rank dd { margin: 0; font-weight: 700; color: var(--text); }
.buy { margin-top: auto; text-align: center; background: var(--accent-bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font: 600 24px var(--pix); color: var(--accent); transition: background .6s, color .6s, border-color .6s; }
.buy small { font: 600 14px var(--pix); }
.buy:hover { background: var(--accent); color: #1a0f07; border-color: var(--accent); }
.btn:active, .buy:active { opacity: .8; }
.buy.soon { opacity: .55; pointer-events: none; }
.back { display: inline-block; margin-bottom: 20px; color: var(--muted); font: 400 16px var(--pix); transition: color .6s; }
.back:hover { color: var(--text); }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 0 16px 36px; }
/* ---------- EXTRA LostEraSMP ---------- */
.brand img { width: 36px; height: 36px; image-rendering: pixelated; }
.art .logo img { width: min(300px, 70%); image-rendering: pixelated; filter: drop-shadow(0 16px 0 rgba(0,0,0,.28)); }
.store header img.mk { width: 120px; image-rendering: pixelated; }
.status { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #666; }
.status.on::before { background: #3ecf6e; box-shadow: 0 0 8px #3ecf6e; }
.feats { grid-template-columns: repeat(3, 1fr); }
.feat .ico { font-size: 30px; line-height: 1; }
.title { font: 600 30px var(--pix); margin-top: 48px; }
.title + p { color: var(--muted); }
.rank .yes { color: #3ecf6e; } .rank .no { color: #55555e; }
.rank.best { border-color: #4a3a2e; }
.rank .badge { align-self: flex-start; font: 600 13px var(--pix); color: #1a0f07; background: var(--accent); border-radius: 6px; padding: 2px 8px; margin-top: -8px; }
.note { color: var(--muted); font-size: 13.5px; }
.votes { grid-template-columns: repeat(3, 1fr); }
.vote { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 6px; transition: border-color .6s; will-change: transform; }
.vote:hover { border-color: var(--accent); }
.vote b { font: 600 22px var(--pix); } .vote b i { font-style: normal; color: var(--accent); }
.vote span { color: var(--muted); font-size: 14px; }
.reward { margin-top: 30px; border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 18px 20px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.reward b { font: 600 18px var(--pix); color: var(--accent); }
.rules { list-style: none; counter-reset: r; padding: 0; margin: 34px auto 0; max-width: 720px; display: grid; gap: 12px; }
.rules li { counter-increment: r; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 64px; position: relative; will-change: transform; }
.rules li::before { content: counter(r); position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font: 600 26px var(--pix); color: var(--accent); }
.rules li b { display: block; font: 600 18px var(--pix); }
.rules li span { color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .hero, .row3, .steps, .cards, .feats, .votes { grid-template-columns: 1fr; }
  .links { display: none; }
  .hero .txt { padding: 30px 24px; } .hero h1 { font-size: 36px; }
  .home { padding-top: 88px; }
  #navIp { display: none; }
}
.centered { text-align: center; margin-top: 22px; }

/* ---------- FOTOS REALES + ESTÉTICA ---------- */
body { background:
  radial-gradient(1200px 600px at 80% -10%, rgba(255,138,61,.08), transparent 60%),
  radial-gradient(900px 500px at -10% 30%, rgba(120,200,90,.05), transparent 60%), var(--bg); }
::selection { background: var(--accent); color: #1a0f07; }
.btn.solid { box-shadow: 0 6px 24px -8px rgba(255,138,61,.6); }

/* hero: foto del spawn de fondo, texto sobre degradado */
.hero { position: relative; isolation: isolate; min-height: 460px; background: #0b0b0d; }
.hero .bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform-origin: 60% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12,12,14,.96) 0%, rgba(12,12,14,.82) 38%, rgba(12,12,14,.25) 70%, rgba(12,12,14,.05) 100%),
              linear-gradient(0deg, rgba(12,12,14,.55), transparent 40%); }
.hero h1 { text-shadow: 0 3px 0 rgba(0,0,0,.5); }
.hero p { color: #c9c9cf; }
.art { background: none; }
.art .logo img { width: min(320px, 78%); filter: drop-shadow(0 18px 24px rgba(0,0,0,.7)); }

/* tarjetas grandes con foto */
.tile .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.75) 0%, rgba(10,10,12,.1) 45%, rgba(10,10,12,.55) 100%); pointer-events: none; }
.tile .label { z-index: 3; display: grid; gap: 2px; }
.tile .label small { font: 400 15px var(--pix); color: #e6e6ea; opacity: .85; }
.tile { border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(0,0,0,.8); }

/* galería */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 14px; margin-top: 22px; }
.shotbtn { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #000; }
.shotbtn.big { grid-row: span 2; }
.shotbtn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.22,1,.36,1), filter .8s; filter: saturate(.9); }
.shotbtn:hover img { transform: scale(1.07); filter: saturate(1.1); }
.shotbtn span { position: absolute; left: 12px; bottom: 10px; font: 600 18px var(--pix); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.7); }
.shotbtn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 45%); pointer-events: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); }
.lightbox::backdrop { background: rgba(5,5,7,.86); backdrop-filter: blur(6px); }
.lightbox img { display: block; max-width: 100%; max-height: 86vh; border-radius: 16px; border: 1px solid var(--line); }
.lightbox button { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: rgba(15,15,17,.85); color: var(--text); font-size: 18px; cursor: pointer; }

/* cabeceras de Tienda / Votar / Reglas con foto */
.store .phead { position: relative; isolation: isolate; border-radius: 28px; overflow: hidden; padding: 46px 20px 36px; border: 1px solid var(--line); }
.phead .phbg { position: absolute; inset: -40px 0; width: 100%; height: calc(100% + 80px); object-fit: cover; z-index: -2; }
.phead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,12,14,.55), rgba(12,12,14,.88)); }
.phead h1, .phead .tag { text-shadow: 0 2px 0 rgba(0,0,0,.6); }
.phead .tag { color: #d4d4d8; }
.store { padding-top: 96px; }

/* ---------- DECORACIÓN ---------- */
/* fondo: cuadrícula de píxeles muy suave sobre los degradados */
body { background:
  linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 32px 32px,
  radial-gradient(1200px 600px at 80% -10%, rgba(255,138,61,.10), transparent 60%),
  radial-gradient(900px 500px at -10% 30%, rgba(120,200,90,.06), transparent 60%), var(--bg); background-attachment: fixed; }
.top { border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .45; }
/* chispas que suben en el hero (las mueve GSAP) */
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.embers i { position: absolute; bottom: -10px; width: 4px; height: 4px; background: var(--accent); box-shadow: 0 0 8px var(--accent); opacity: 0; }
.status.on::before { animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(62,207,110,0); } 0% { box-shadow: 0 0 0 0 rgba(62,207,110,.6); } }
/* títulos con bloque de acento */
.title { display: flex; align-items: center; gap: 12px; }
.title::before { content: ""; width: 12px; height: 12px; background: var(--accent); box-shadow: 4px 4px 0 #8a4318; flex: none; }
/* tarjetas: brillo de acento al pasar el mouse */
.step, .rank, .vote, .rules li, .mini, .purchase { transition: border-color .5s, box-shadow .5s; }
.step:hover, .rank:hover, .rules li:hover, .mini:hover, .purchase:hover { border-color: #5a3b25; box-shadow: 0 18px 40px -22px rgba(255,138,61,.45); }
.feat .ico { width: 54px; height: 54px; display: grid; place-items: center; background: var(--accent-bg); border: 1px solid #4a3220; border-radius: 14px; font-size: 26px; }
/* aviso de última compra */
.ticker { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(90deg, var(--accent-bg), var(--card)); border: 1px solid #4a3220; font-size: 14.5px; color: #e4e4e7; }
.ticker i { font-style: normal; font-size: 18px; }
.ticker b { color: var(--accent); }
.store .ticker { margin: 24px auto 0; max-width: 720px; }
/* footer */
footer { padding: 0 0 36px; margin-top: 40px; }
footer .grass { height: 12px; margin-bottom: 30px; background:
  linear-gradient(90deg, #3f8f2e 0 25%, #57a83a 0 50%, #4a9a33 0 75%, #62b544 0) 0 0 / 48px 6px repeat-x,
  linear-gradient(90deg, #6b4a2e 0 33%, #5a3d25 0 66%, #7a5535 0) 0 6px / 36px 6px repeat-x; image-rendering: pixelated; opacity: .9; }
.fwrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; text-align: left; }
.fwrap p { color: var(--muted); font-size: 14px; }
.flinks { display: flex; gap: 18px; }
.flinks a { color: #c9c9cf; transition: color .4s; }
.flinks a:hover { color: var(--accent); }
footer > small { display: block; padding: 0 16px; }

/* ---------- TOPS ---------- */
/* cabeza del jugador: cara (8,8) + capa del sombrero (40,8) de la skin de Mojang, sin suavizar */
.head { --s: 40px; width: var(--s); height: var(--s); flex: none; border-radius: 6px; image-rendering: pixelated;
  background-repeat: no-repeat; background-size: calc(var(--s) * 8) auto; background-position: calc(var(--s) * -5) calc(var(--s) * -1), calc(var(--s) * -1) calc(var(--s) * -1);
  background-color: #2a2a31; box-shadow: 0 4px 0 rgba(0,0,0,.35); display: grid; place-items: center; font: 600 calc(var(--s) * .5) var(--pix); color: var(--muted); }
.minitops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; align-items: center; gap: 14px; }
.mini .head { --s: 56px; }
.mini div { display: grid; gap: 2px; min-width: 0; }
.mini small { color: var(--muted); font: 400 14px var(--pix); text-transform: uppercase; letter-spacing: .06em; }
.mini b { font: 600 20px var(--pix); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini span { color: var(--accent); font: 600 17px var(--pix); }
.more { display: inline-block; margin-top: 14px; color: var(--accent); font: 400 17px var(--pix); }
.more:hover { text-decoration: underline; }
.seg { display: flex; gap: 6px; justify-content: center; margin: 30px auto 0; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; width: fit-content; max-width: 100%; }
.seg button { border: 0; background: none; color: var(--muted); font: 600 15px var(--pix); padding: 10px 16px; border-radius: 10px; cursor: pointer; transition: background .4s, color .4s; white-space: nowrap; }
.seg button[aria-selected="true"] { background: var(--accent); color: #1a0f07; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 16px; max-width: 720px; margin: 34px auto 0; }
.podium .pl { display: grid; justify-items: center; gap: 8px; text-align: center; min-width: 0; }
.podium .pl .head { --s: 72px; }
.podium .p1 { order: 2; } .podium .p2 { order: 1; } .podium .p3 { order: 3; }
.podium .p1 .head { --s: 92px; }
.podium .crown { font-size: 26px; line-height: 1; height: 26px; font-style: normal; }
.podium b { font: 600 18px var(--pix); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium span { font: 600 16px var(--pix); color: var(--accent); }
.podium .base { width: 100%; border-radius: 12px 12px 4px 4px; display: grid; place-items: center; font: 600 34px var(--pix); color: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.08); }
.podium .p1 .base { height: 120px; background: linear-gradient(180deg, #f5c542, #b8891c); }
.podium .p2 .base { height: 88px; background: linear-gradient(180deg, #d9dde3, #8d949e); }
.podium .p3 .base { height: 64px; background: linear-gradient(180deg, #e0915a, #9a5a2c); }
.board { list-style: none; padding: 0; margin: 22px auto 0; max-width: 720px; display: grid; gap: 8px; }
.board li { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; }
.board li em { font: 600 18px var(--pix); color: var(--muted); font-style: normal; width: 28px; }
.board li b { flex: 1; font: 600 16px var(--pix); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board li span { font: 600 16px var(--pix); color: var(--accent); }
.board li .head { --s: 32px; }
.purchases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.purchase { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.purchase div { display: grid; min-width: 0; }
.purchase b { font: 600 17px var(--pix); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.purchase small { color: var(--muted); }
.purchase .rk { margin-left: auto; font: 600 14px var(--pix); color: #1a0f07; background: var(--accent); border-radius: 6px; padding: 3px 9px; white-space: nowrap; }
.empty { color: var(--muted); text-align: center; padding: 26px; border: 1px dashed var(--line); border-radius: 14px; grid-column: 1 / -1; }

/* ---------- BARRA DE ABAJO (celular) ---------- */
.tabbar { display: none; }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(12,12,14,.92) 0%, rgba(12,12,14,.7) 55%, rgba(12,12,14,.35) 100%); }
  .art { min-height: 240px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 150px; }
  .shotbtn.big { grid-column: span 2; grid-row: span 2; }

  /* celular: barra de abajo con todas las secciones; arriba solo marca + IP */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(15,15,17,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 0; border-radius: 10px; font: 600 11.5px var(--body); color: var(--muted); transition: color .4s, background .4s; }
  .tabbar a i { font-style: normal; font-size: 20px; line-height: 1.1; filter: grayscale(.6); transition: filter .4s; }
  .tabbar a.on { color: var(--text); background: var(--card); }
  .tabbar a.on i { filter: none; }
  #navStore { display: none; }
  #navIp { display: inline-block; font-size: 14px; padding: 7px 10px; }
  .top { height: 58px; gap: 10px; }
  .brand { font-size: 19px; } .brand img { width: 30px; height: 30px; }
  footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .wrap { width: min(1092px, 100% - 24px); }

  /* hero: logo chico arriba, texto abajo */
  .home { padding-top: 74px; }
  .hero { border-radius: 22px; }
  .art { order: -1; min-height: 0; padding-top: 26px; }
  .art .logo { position: static; }
  .art .logo img { width: 150px; }
  .hero .txt { padding: 18px 20px 26px; gap: 12px; }
  .hero h1 { font-size: 31px; }
  .hero p { font-size: 14.5px; }
  .hero .cta { width: 100%; }
  .hero .cta .btn { flex: 1; text-align: center; white-space: nowrap; }

  /* tarjetas más bajas y en dos columnas */
  .row3 { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
  .tile { min-height: 170px; border-radius: 20px; }
  .tile .label { font-size: 22px; top: 14px; left: 14px; }
  .tile .label small { font-size: 13px; }
  .chat { grid-column: span 2; min-height: 0; flex-direction: row; justify-content: flex-start; text-align: left; padding: 16px 18px; border-radius: 20px; gap: 14px; }
  .chat svg { width: 40px; height: 40px; }
  .chat b { font-size: 24px; }
  .title { font-size: 24px; margin-top: 36px; }
  .feats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feat { padding: 16px; }
  .feat .ico { width: 44px; height: 44px; font-size: 22px; border-radius: 12px; }
  .feat h3 { font-size: 17px; }
  .feat p { font-size: 13px; }
  .step code { font-size: 14px; word-break: break-all; }
  .minitops { grid-template-columns: 1fr; gap: 10px; }
  .mini { padding: 14px 16px; }
  .mini .head { --s: 44px; }

  /* páginas */
  .store { padding-top: 74px; }
  .store .phead { border-radius: 22px; padding: 28px 16px 24px; }
  .store header img.mk { width: 84px; }
  .store h1 { font-size: 34px; }
  .store .tag { font-size: 16px; }
  .sec { margin: 34px 0 14px; flex-wrap: wrap; gap: 4px 12px; }
  .sec h2 { font-size: 22px; }
  .rank { padding: 20px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 10px 4px; font-size: 13.5px; }
  .podium { gap: 8px; }
  .podium .pl .head { --s: 54px; }
  .podium .p1 .head { --s: 68px; }
  .podium b { font-size: 14px; } .podium span { font-size: 13px; }
  .podium .p1 .base { height: 92px; } .podium .p2 .base { height: 68px; } .podium .p3 .base { height: 50px; }
  .purchases { grid-template-columns: 1fr; }
  .fwrap { flex-direction: column; text-align: center; }
}