/* components.css — section-specific styling for the DUNITY landing */

/* clip decorative glows so nada genera scroll horizontal en móvil */
#legado, #creadores, #madriguera { overflow: hidden; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.wordmark {
  font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: 0.14em;
  display: inline-flex; align-items: center; gap: 10px;
}
.wordmark .mark { width: 30px; height: 30px; border-radius: 8px; flex: none; box-shadow: 0 0 18px -4px var(--accent); }
.wordmark .pill-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav .btn { padding: 10px 20px; font-size: 14px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero shared ---------- */
.hero-a { position: relative; overflow: hidden; padding-top: 150px; padding-bottom: 60px; }

/* ---------- rabbit hole (Despertar) ---------- */
.hole { position: relative; width: 380px; height: 380px; max-width: 100%; display: grid; place-items: center; margin: 0 auto; }
.hole .ring {
  position: absolute; border-radius: 50%; border: 1px solid var(--line-2);
  left: 50%; top: 50%; translate: -50% -50%;
  animation: holepulse 6s linear infinite;
}
@keyframes holepulse {
  0% { opacity: 0.05; transform: scale(0.2); }
  40% { opacity: 0.5; }
  100% { opacity: 0; transform: scale(1.05); }
}
/* the rabbit hole reacts to the cursor — "te absorbe" */
.hole { cursor: pointer; }
.hole .swirl {
  position: absolute; width: 230px; height: 230px; border-radius: 50%; z-index: 2;
  left: 50%; top: 50%; translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(243,36,36,0.55) 90deg, transparent 200deg, rgba(243,36,36,0.4) 300deg, transparent 360deg);
  filter: blur(7px); opacity: 0; transition: opacity .5s var(--ease);
  animation: spin-slow 6s linear infinite; pointer-events: none;
}
.hole .ring { transition: border-color .45s, opacity .45s; }
.hole:hover .swirl, .hole.opened .swirl { opacity: 1; }
.hole:hover .ring, .hole.opened .ring { border-color: rgba(243,36,36,0.65); }

/* ---------- la píldora roja (tómala → se abre) ---------- */
.pill {
  position: relative; z-index: 3; display: block; padding: 0; margin: 0; border: 0;
  background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; -webkit-user-select: none; user-select: none;
  width: 84px; height: 217px;            /* relación de aspecto real ≈ 0.387 */
  transform: rotate(-22deg);
  filter: drop-shadow(0 0 30px rgba(243,36,36,0.5));
  transition: transform .5s var(--ease), filter .5s var(--ease);
}
.pill:hover  { transform: rotate(-22deg) scale(1.06); filter: drop-shadow(0 0 58px rgba(243,36,36,0.85)); }
.pill:active { transform: rotate(-22deg) scale(0.97); }
.pill:focus-visible { outline: 2px solid rgba(255,255,255,0.7); outline-offset: 8px; border-radius: 48px; }
.pill .pill-half {
  position: absolute; inset: 0;
  background: url(../assets/pildora.png) center / 100% 100% no-repeat;
  backface-visibility: hidden; will-change: transform;
  transition: transform .6s cubic-bezier(.34,1.4,.5,1), filter .6s var(--ease);
}
.pill .pill-top { clip-path: inset(0 0 55.3% 0); }   /* mitad superior (ranura al 44.7%) */
.pill .pill-bot { clip-path: inset(44.7% 0 0 0); }   /* mitad inferior */
.pill.is-open .pill-top { transform: translateY(-40%) rotate(-7deg); }
.pill.is-open .pill-bot { transform: translateY(40%)  rotate(7deg);  }
.pill.is-open { filter: drop-shadow(0 0 66px rgba(243,36,36,0.95)); }
/* palabra revelada al abrir */
.pill .pill-word {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%) rotate(22deg) scale(.55);
  font-family: var(--mono); font-weight: 700; font-size: 16px; letter-spacing: .26em;
  color: #fff; text-shadow: 0 0 16px var(--accent), 0 0 40px var(--accent); white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .45s .12s var(--ease), transform .6s .12s cubic-bezier(.34,1.56,.64,1);
}
.pill.is-open .pill-word { opacity: 1; transform: translate(-50%,-50%) rotate(22deg) scale(1); }
/* fogonazo */
.pill .pill-flash {
  position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; z-index: -1;
  transform: translate(-50%,-50%) scale(0); border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, #fff 0%, rgba(243,36,36,0.7) 38%, transparent 70%);
}
.pill.is-open .pill-flash { animation: pill-flash .7s var(--ease) forwards; }
@keyframes pill-flash { 0% { opacity: .95; transform: translate(-50%,-50%) scale(.25); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(6); } }

/* ---------- bento (Madriguera) ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.bento .card { padding: 24px; }
.feat-icon {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  font-size: 20px; margin-bottom: 16px;
}
.feat-title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.feat-sub { font-size: 14px; color: var(--muted); margin-top: 7px; line-height: 1.5; }

/* streak dots */
.streak { display: flex; gap: 9px; margin-top: 18px; }
.streak .day {
  flex: 1; height: 38px; border-radius: 9px; border: 1px solid var(--line);
  display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--faint);
  background: rgba(255, 255, 255, 0.02); transition: all .5s var(--ease);
}
.streak .day.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.streak .day.gold { background: linear-gradient(135deg, #ffd34e, #f59e0b); color: #2a1c00; border-color: #f59e0b; box-shadow: 0 0 24px -4px #f59e0b; }

/* xp bar */
.xp-bar { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; margin-top: 18px; }
.xp-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), #22d3ee); transition: width 1.4s var(--ease); }

.count-big { font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.count-big.pulse { animation: cc-pulse .45s var(--ease); }
@keyframes cc-pulse { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.14); } }

/* ---------- Legado ---------- */
.legado-card {
  background: linear-gradient(180deg, #17171d, #101015);
  border: 1px solid var(--line); border-radius: 22px; padding: 26px;
}
.ref-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 14px;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line-2); color: var(--text);
}
.copy-btn {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--accent); color: #fff; cursor: pointer; transition: transform .2s, background .3s; white-space: nowrap;
}
.copy-btn:hover { transform: translateY(-1px); }
.copy-btn.done { background: #1f8a5b; }

.legado-stat { padding: 16px 18px; border-radius: 14px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); }
.legado-stat .s-lab { font-family: var(--mono); font-size: 10.5px; color: var(--faint); letter-spacing: 0.12em; }

.ladder { display: flex; align-items: stretch; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.rank {
  flex: 1 1 86px; min-width: 86px; padding: 14px 12px; border-radius: 13px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); position: relative;
  cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px;
  transition: border-color .3s, background .3s, box-shadow .3s, transform .2s var(--ease);
}
.rank:hover { transform: translateY(-2px); }
.rank .r-name { line-height: 1.2; }
.rank .r-name { font-weight: 600; font-size: 14px; }
.rank .r-meta { font-family: var(--mono); font-size: 10px; color: var(--faint); margin-top: 5px; letter-spacing: 0.04em; }

/* slider de referidos (simulador de ganancias) */
.ref-control { margin-top: 14px; }
.ref-control input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); outline: none; cursor: pointer; margin: 0;
}
.ref-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--rc, var(--accent)); border: 2px solid #fff; cursor: grab;
  box-shadow: 0 0 14px -2px var(--rc, var(--accent)); transition: transform .15s;
}
.ref-control input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.ref-control input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--rc, var(--accent));
  border: 2px solid #fff; cursor: grab; box-shadow: 0 0 14px -2px var(--rc, var(--accent));
}
.ref-cap { display: flex; justify-content: space-between; gap: 10px; margin-top: 9px; font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.04em; }
.ref-cap .ref-note { color: var(--muted); white-space: nowrap; }

/* control del Árbol (referidos directos) */
.arbol-control { max-width: 440px; margin: 28px auto 0; }
.arbol-hint { text-align: center; margin-top: 10px; font-size: 11px; letter-spacing: 0.08em; color: var(--faint); }

/* big commission centerpiece */
.commission { display: flex; align-items: center; gap: 24px; margin-top: 40px; }
.commission-num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(76px, 9.5vw, 132px); line-height: 0.86; letter-spacing: -0.045em;
  color: var(--accent); text-shadow: 0 0 60px rgba(243, 36, 36, 0.45);
}
.commission-lab {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); line-height: 1.7; padding-left: 24px; border-left: 1px solid var(--line-2);
}

/* ---------- Dunity Studio · 80% creador ---------- */
.studio-earn { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.studio-earn-num {
  font-family: var(--display); font-weight: 700; font-size: clamp(56px, 7vw, 84px);
  line-height: 0.9; letter-spacing: -0.04em; color: var(--accent); text-shadow: 0 0 50px rgba(243, 36, 36, 0.4);
}
.studio-earn-lab {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); line-height: 1.6; padding-left: 18px; border-left: 1px solid var(--line-2);
}

/* ---------- download ---------- */
.dl { border-top: 1px solid var(--line); position: relative; overflow: hidden; }

/* ---------- juego del conejo (runner) ---------- */
.game-shell {
  position: relative; max-width: 760px; margin: 36px auto 0;
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -24px rgba(243, 36, 36, 0.4);
}
#bunnyGame { display: block; width: 100%; height: clamp(220px, 46vw, 300px); background: #0a0a0b; touch-action: none; cursor: pointer; }
.game-mute { position: absolute; top: 10px; left: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(8,8,10,0.6); color: #fff; cursor: pointer; font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0; }
.game-mute:hover { background: rgba(8,8,10,0.85); }
.game-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 20px;
  background: rgba(8, 8, 10, 0.5); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  transition: opacity .3s;
}
.game-overlay.hide { opacity: 0; pointer-events: none; }
.game-msg { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 3vw, 28px); line-height: 1.2; }
.game-msg:empty { display: none; }
.game-msg .pts { color: var(--accent); }
.game-nudge { display: none; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--amber); text-decoration: none; border-bottom: 1px dashed rgba(245,158,11,0.5); padding-bottom: 1px; }
.game-nudge:hover { color: #fff; border-bottom-color: #fff; }
.game-nudge.show { display: inline-block; }
.game-foot { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 18px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.game-foot strong { color: var(--amber); font-size: 16px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 50px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-col { display: flex; flex-direction: column; }
.foot-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.foot-col a { display: block; margin-bottom: 11px; font-size: 14px; }

/* ---------- Árbol del Despertar ---------- */
.arbol-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 760px; margin: 40px auto 0;
}
.arbol-stat {
  text-align: center; padding: 22px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line);
}
.arbol-num { font-family: var(--display); font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.arbol-stat:first-child .arbol-num { color: var(--accent); }
.arbol-lab { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-top: 10px; }

.arbol-callout {
  display: flex; gap: 16px; align-items: flex-start;
  max-width: 760px; margin: 18px auto 0; padding: 18px 22px;
  border-radius: 16px; border: 1px solid var(--line-2);
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(243, 36, 36, 0.07), transparent 70%);
}
.arbol-callout p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.arbol-callout .arbol-mark { color: var(--accent); font-size: 22px; line-height: 1.4; flex: none; }

.arbol-legend { display: flex; gap: 24px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.arbol-legend span { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.arbol-legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }

/* tree grow / pop animations */
.tree-svg [data-grow] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--ease); }
.tree-svg.grown [data-grow] { stroke-dashoffset: 0; }
.tree-svg [data-pop] { opacity: 0; transform: scale(0.5); transform-box: fill-box; transform-origin: center; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.tree-svg.grown [data-pop] { opacity: 1; transform: scale(1); }

/* ---------- bunny mascot ---------- */
.bunny {
  display: block; user-select: none; -webkit-user-drag: none; pointer-events: none;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.55));
  position: relative; z-index: 4;
}
.bunny.bob { animation: bunny-bob 5s ease-in-out infinite; }
@keyframes bunny-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* the "follow the rabbit" inline glyph in buttons */
.bunny-chip { width: 22px; height: 22px; object-fit: contain; vertical-align: middle; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)); }

/* ---------- burrow peek-a-boo bunny ---------- */
.burrow-wrap { position: absolute; pointer-events: none; z-index: 5; }
.burrow-clip { position: relative; overflow: hidden; }
.burrow-img {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  animation: burrow-peek 6s ease-in-out infinite; will-change: transform;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45)); -webkit-user-drag: none;
}
.burrow-rim {
  position: absolute; left: 50%; bottom: -7px; height: 26px; translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 42%, #060507 46%, rgba(6, 5, 7, 0) 74%);
  box-shadow: 0 0 30px 7px rgba(243, 36, 36, 0.20), inset 0 3px 8px rgba(0, 0, 0, 0.8);
}
@keyframes burrow-peek {
  0%, 12%   { transform: translateY(112%); }
  27%, 60%  { transform: translateY(0); }
  75%, 100% { transform: translateY(112%); }
}

/* ---------- falling leaves (Árbol) ---------- */
.leaf-field {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1;
  transform: translateX(var(--gust, 0px)); transition: transform 0.12s linear;
}
.leaf {
  position: absolute; top: -8%; border-radius: 52% 8% 52% 8%;
  opacity: 0; will-change: transform, top;
  animation-name: leaf-fall; animation-timing-function: linear; animation-iteration-count: infinite;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
}
@keyframes leaf-fall {
  0%   { top: -8%;  transform: translateX(0) rotate(0deg);     opacity: 0; }
  8%   { opacity: 0.85; }
  35%  { transform: translateX(34px) rotate(140deg); }
  65%  { transform: translateX(-26px) rotate(250deg); }
  92%  { opacity: 0.7; }
  100% { top: 106%; transform: translateX(14px) rotate(380deg); opacity: 0; }
}

/* ---------- 3D tilt + parallax ---------- */
.tilt3d { transform-style: preserve-3d; }
.tilt3d, [data-tilt], [data-parallax] { will-change: transform; }
[data-tilt] { transition: border-color 0.3s, box-shadow 0.3s; }
.tilt-glare {
  position: absolute; inset: 0; border-radius: 48px; pointer-events: none;
  background: transparent; mix-blend-mode: screen; z-index: 60;
}
.floaty { animation: float-tr 7s ease-in-out infinite; }
@keyframes float-tr { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* en táctil / móvil los teléfonos cobran vida solos: leve vaivén 3D (reemplaza el tilt con cursor) */
@media (hover: none) and (pointer: coarse), (max-width: 900px) {
  .tilt3d { animation: phone-sway 7s ease-in-out infinite; }
}
@keyframes phone-sway {
  0%, 100% { transform: perspective(1100px) rotateX(0deg) rotateY(-6deg) scale(1); }
  50%      { transform: perspective(1100px) rotateX(5deg) rotateY(6deg) scale(1.01); }
}

/* ============================================================
   iOS phone frame (static recreation of the design's IOSDevice)
   internal resolution 402 × 874, scaled via --s
   ============================================================ */
.phone-stage { width: calc(402px * var(--s, 0.66)); height: calc(874px * var(--s, 0.66)); }
.phone-stage .ios-frame { transform-origin: top left; transform: scale(var(--s, 0.66)); }

.ios-frame {
  width: 402px; height: 874px; border-radius: 48px; overflow: hidden; position: relative;
  background: #000;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 0 11px #15151a, 0 0 0 12px rgba(255, 255, 255, 0.05);
  font-family: -apple-system, system-ui, sans-serif;
}
.ios-island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 126px; height: 37px; border-radius: 24px; background: #000; z-index: 50;
}
.ios-status {
  position: absolute; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 19px 30px 0; color: #fff;
}
.ios-status .t { font-weight: 600; font-size: 16px; }
.ios-status .ic { display: flex; align-items: center; gap: 6px; }
.ios-home {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 60; height: 34px;
  display: flex; justify-content: center; align-items: flex-end; padding-bottom: 8px; pointer-events: none;
}
.ios-home::after { content: ""; width: 139px; height: 5px; border-radius: 100px; background: rgba(255, 255, 255, 0.7); }
.ios-screen { position: absolute; inset: 0; overflow: hidden; }

/* ---------- in-phone mock screens (on-brand, dark) ---------- */
.mock {
  position: absolute; inset: 0; padding: 70px 22px 40px;
  background: radial-gradient(120% 60% at 50% -8%, rgba(243, 36, 36, 0.16), transparent 55%), linear-gradient(180deg, #0c0c10, #050506);
  color: var(--text); display: flex; flex-direction: column; gap: 16px; overflow: hidden;
}
.mock-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.mock-h { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.mock-h .kicker { color: var(--accent); }
.mock-card {
  border-radius: 18px; border: 1px solid var(--line); padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}
.mock-row { display: flex; align-items: center; gap: 12px; }
.mock-thumb { width: 46px; height: 60px; border-radius: 8px; flex: none; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); }
.mock-thumb.book { background: linear-gradient(150deg, #2a0e10, #7a0d0d); border: 1px solid rgba(243, 36, 36, 0.4); }
.mock-thumb.audio { background: linear-gradient(150deg, #06222a, var(--cyan)); }
.mock-thumb.course { background: linear-gradient(150deg, #2a1c00, var(--amber)); }
.mock-title { font-size: 14px; font-weight: 600; }
.mock-sub { font-size: 11px; color: var(--muted); margin-top: 3px; font-family: var(--mono); }
.mock-pbar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 10px; }
.mock-pbar > i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-stat { border-radius: 16px; border: 1px solid var(--line); padding: 14px; background: rgba(255, 255, 255, 0.025); }
.mock-stat .n { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.mock-stat .l { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
.mock-ring { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto;
  background: conic-gradient(var(--accent) 0 72%, rgba(255, 255, 255, 0.08) 72% 100%);
  display: grid; place-items: center; }
.mock-ring > span { width: 74px; height: 74px; border-radius: 50%; background: #0a0a0c; display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.mock-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mock-chip { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.mock-streak { display: flex; gap: 6px; }
.mock-streak i { flex: 1; height: 26px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); display: block; }
.mock-streak i.on { background: var(--accent); }
.mock-streak i.gold { background: linear-gradient(135deg, #ffd34e, #f59e0b); }
.mock-tabbar {
  margin-top: auto; display: flex; justify-content: space-around; align-items: center;
  padding: 14px 8px 6px; border-top: 1px solid var(--line); color: var(--faint); font-size: 20px;
}
.mock-tabbar .act { color: var(--accent); }

/* ---------- teléfono interactivo: pantallas deslizables ---------- */
.app { position: absolute; inset: 0; overflow: hidden; user-select: none; -webkit-user-select: none;
  background: radial-gradient(120% 60% at 50% -8%, rgba(243,36,36,0.16), transparent 55%), linear-gradient(180deg,#0c0c10,#050506); color: var(--text); }
.app-viewport { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; touch-action: pan-x; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.app-viewport::-webkit-scrollbar { display: none; }
.app-screen { flex: 0 0 402px; width: 402px; height: 874px; scroll-snap-align: start; position: relative;
  padding: 60px 22px 96px; display: flex; flex-direction: column; gap: 13px; overflow: hidden; }
.app-top { display: flex; align-items: center; justify-content: space-between; }
.app-wm { font-family: var(--display); font-weight: 800; letter-spacing: .05em; color: var(--accent); font-size: 19px; }
.app-pillico { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(243,36,36,.5);
  background: radial-gradient(circle at 38% 32%, #ff8d8d, var(--accent) 60%, #b21414); box-shadow: 0 0 10px rgba(243,36,36,.5); }
.app-h { font-size: 25px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; }
.app-sub { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.app-accent { border-color: rgba(243,36,36,.45); box-shadow: inset 0 0 0 1px rgba(243,36,36,.12), 0 12px 34px -18px rgba(243,36,36,.55); }
.app-row-between { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.app-mischip { font-family: var(--mono); font-size: 10px; color: var(--accent); border: 1px solid rgba(243,36,36,.4); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.app-reward { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.app-bolt { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 17px; background: rgba(245,158,11,.14); }
.app-btn { margin-top: 14px; width: 100%; border: 0; border-radius: 999px; background: var(--accent); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 15px; padding: 13px; cursor: pointer; box-shadow: 0 12px 30px -12px var(--accent); }
.app-btn.sm { width: auto; padding: 9px 16px; font-size: 13px; margin: 0; flex: none; }
.app-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.app-mini { border-radius: 14px; border: 1px solid var(--line); padding: 12px 6px; text-align: center; font-size: 10px;
  color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; background: rgba(255,255,255,0.02); line-height: 1.2; }
.app-mini-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 13px; }
.app-mini-ic.ok { color: var(--cyan); border-color: rgba(6,182,212,.4); }
.app-pulse { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.app-pulse b { color: var(--text); font-size: 15px; }
.app-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.app-search { font-family: var(--mono); font-size: 12px; color: var(--faint); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; background: rgba(255,255,255,0.03); }
.app-play { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; }
.app-cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.app-cover { aspect-ratio: 3 / 4; border-radius: 14px; position: relative; padding: 10px; display: flex; flex-direction: column;
  justify-content: flex-end; overflow: hidden; box-shadow: 0 12px 26px rgba(0,0,0,.45); }
.app-cover.book { background: linear-gradient(160deg,#3a0e10,#7a0d0d); border: 1px solid rgba(243,36,36,.4); }
.app-cover.course { background: linear-gradient(160deg,#10222a,#0a3a47); border: 1px solid rgba(6,182,212,.35); }
.app-cover.gold { background: linear-gradient(160deg,#2a1c00,#5a3d00); border: 1px solid rgba(245,158,11,.4); }
.app-tag { position: absolute; top: 8px; left: 8px; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; background: rgba(0,0,0,.55); padding: 3px 6px; border-radius: 6px; color: #fff; }
.app-cover-t { font-size: 13px; font-weight: 700; line-height: 1.12; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.app-money { font-size: 30px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; margin: 4px 0; }
.app-bullet { display: flex; gap: 8px; font-size: 11.5px; color: var(--muted); margin-top: 9px; line-height: 1.32; }
.app-bullet > span:first-child { flex: none; }
.app-avatar { width: 54px; height: 54px; flex: none; border-radius: 50%; border: 1px solid rgba(243,36,36,.5);
  background: radial-gradient(circle at 38% 32%, #ff8d8d, var(--accent) 55%, #7a0d0d); box-shadow: 0 0 14px rgba(243,36,36,.5); }
.app-badge { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--accent); border: 1px solid rgba(243,36,36,.45); border-radius: 999px; padding: 5px 12px; }
.app-tree { flex: 1; min-height: 0; display: grid; place-items: center; }
.app-tree svg { width: 100%; height: 100%; max-height: 100%; }
/* barra inferior */
.app-nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 45; height: 82px; display: flex; justify-content: space-around;
  align-items: flex-start; padding: 11px 4px 0; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8,8,10,0), rgba(8,8,10,0.94) 36%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.app-tab { flex: 1; background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--faint); font-family: var(--mono); padding: 0; transition: color .25s; }
.app-tab .ico { font-size: 21px; line-height: 1; transition: transform .25s, filter .25s; filter: grayscale(.45) opacity(.7); }
.app-tab .lb { font-size: 8px; letter-spacing: .03em; }
.app-tab.act { color: var(--accent); }
.app-tab.act .ico { filter: none; transform: translateY(-2px) scale(1.16); }
/* hint */
.app-hint { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 46; font-family: var(--mono);
  font-size: 11px; letter-spacing: .04em; color: #fff; background: rgba(8,8,10,.72); border: 1px solid var(--line-2);
  border-radius: 999px; padding: 7px 14px; pointer-events: none; opacity: 0; transition: opacity .4s; white-space: nowrap; }
.app-hint.show { opacity: 1; animation: app-hint-bob 1.7s ease-in-out infinite; }
@keyframes app-hint-bob { 0%,100% { transform: translateX(-50%); } 50% { transform: translateX(calc(-50% + 7px)); } }

/* ---------- hopping bunny (cruza dando brincos) ---------- */
.hop-lane { position: absolute; left: 0; right: 0; height: 0; pointer-events: none; z-index: 6; }
.hopper { position: absolute; left: 0; bottom: 0; animation: hop-travel 15s linear infinite; will-change: transform; }
.hop-img {
  display: block; width: 96px; transform-origin: bottom center;
  animation: hop-bounce 0.8s ease-in-out infinite;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.5));
  -webkit-user-drag: none;
}
@keyframes hop-travel { 0% { transform: translateX(-18vw); } 100% { transform: translateX(118vw); } }
@keyframes hop-travel-rev { 0% { transform: translateX(118vw); } 100% { transform: translateX(-18vw); } }
.hopper.rev .hop-img { animation-name: hop-bounce-rev; }
@keyframes hop-bounce-rev {
  0%, 100% { transform: scaleX(-1) translateY(0) scale(1, 1); }
  18%      { transform: scaleX(-1) translateY(0) scale(1.08, 0.86); }
  50%      { transform: scaleX(-1) translateY(-46px) scale(0.95, 1.07) rotate(-4deg); }
  82%      { transform: scaleX(-1) translateY(0) scale(1.07, 0.9); }
}
@keyframes hop-bounce {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  18%      { transform: translateY(0) scale(1.08, 0.86); }
  50%      { transform: translateY(-46px) scale(0.95, 1.07) rotate(-4deg); }
  82%      { transform: translateY(0) scale(1.07, 0.9); }
}

/* ---------- atrapá al conejo (mini-juego) ---------- */
.hop-img { pointer-events: auto; cursor: pointer; }
.hopper.caught { animation-play-state: paused; }
.hopper.caught .hop-img { animation: bunny-caught .62s var(--ease) forwards; }
@keyframes bunny-caught {
  0%   { transform: translateY(0) scale(1, 1) rotate(0); }
  25%  { transform: translateY(-72px) scale(1.3, 0.78) rotate(18deg); }
  60%  { transform: translateY(-108px) scale(0.7, 1.25) rotate(220deg); opacity: 1; }
  100% { transform: translateY(-146px) scale(0.12) rotate(430deg); opacity: 0; }
}
.bunny-finale-img.jump { animation: bunny-jump .62s var(--ease); }
@keyframes bunny-jump {
  0%   { transform: translateY(0) scale(1, 1); }
  25%  { transform: translateY(-46px) scale(0.9, 1.12) rotate(-4deg); }
  55%  { transform: translateY(0) scale(1.12, 0.9); }
  78%  { transform: translateY(-14px) scale(1, 1); }
  100% { transform: translateY(0) scale(1, 1); }
}

/* burst particles + reward popup */
.cc-particle { position: fixed; z-index: 250; pointer-events: none; will-change: transform, opacity; line-height: 1; }
.cc-pop {
  position: fixed; z-index: 250; pointer-events: none; white-space: nowrap;
  font-family: var(--mono); font-weight: 700; font-size: 20px; color: var(--amber);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  animation: cc-rise 1s var(--ease) forwards;
}
@keyframes cc-rise {
  0%   { transform: translate(-50%, 0) scale(.6); opacity: 0; }
  20%  { transform: translate(-50%, -12px) scale(1.1); opacity: 1; }
  100% { transform: translate(-50%, -78px) scale(1); opacity: 0; }
}

/* contador de atrapados */
.carrot-score {
  position: fixed; bottom: 18px; left: 50%; z-index: 150;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--text);
  padding: 9px 16px; border-radius: 999px;
  background: rgba(18, 18, 22, 0.88); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.7);
  opacity: 0; pointer-events: none; text-decoration: none; white-space: nowrap;
  transform: translateX(-50%) translateY(20px);
  transition: opacity .4s, transform .4s var(--ease);
}
.carrot-score.show { opacity: 1; pointer-events: auto; cursor: pointer; transform: translateX(-50%) translateY(0); }
.carrot-score .cs-cta { color: var(--accent); }
.carrot-score.gold .cs-cta { color: #2a1c00; }
.carrot-score:hover { border-color: var(--line-2); }
.carrot-score.bump { animation: cc-bump .4s var(--ease); }
@keyframes cc-bump {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  40%      { transform: translateX(-50%) translateY(-5px) scale(1.12); }
}

/* conejo peek-a-boo que asoma desde los bordes de la pantalla */
#peekerLayer { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 70; }
.peeker {
  position: absolute; width: 118px; opacity: 0;
  pointer-events: none; will-change: transform, opacity; transform-origin: center;
}
.peeker img {
  display: block; width: 100%; pointer-events: none; cursor: pointer;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.55)); -webkit-user-drag: none; user-select: none;
}

/* contador dorado al alcanzar la meta */
.carrot-score.gold {
  color: #2a1c00; border-color: #f59e0b;
  background: linear-gradient(135deg, #ffd34e, #f59e0b);
  box-shadow: 0 0 30px -4px #f59e0b, 0 14px 34px -12px rgba(0, 0, 0, 0.7);
}

/* confeti de la celebración */
.cc-confetti { position: fixed; pointer-events: none; border-radius: 2px; will-change: transform, opacity; }

/* ---------- sorpresa: ¡Despertaste! (1000 zanahorias) ---------- */
.awaken {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(circle at 50% 38%, rgba(243, 36, 36, 0.20), rgba(5, 5, 6, 0.88) 62%);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s var(--ease), visibility .5s;
}
.awaken.show { opacity: 1; visibility: visible; pointer-events: auto; }
.awaken-card {
  position: relative; z-index: 2; max-width: 460px; width: 100%; text-align: center;
  background: linear-gradient(180deg, #17171d, #101015);
  border: 1px solid var(--line-2); border-radius: 24px; padding: 40px 32px;
  box-shadow: 0 40px 120px -20px rgba(243, 36, 36, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateY(22px) scale(.95); transition: transform .5s var(--ease);
}
.awaken.show .awaken-card { transform: none; }
.awaken-emoji { font-size: 64px; line-height: 1; animation: bunny-bob 3s ease-in-out infinite; }
.awaken-title { font-family: var(--display); font-size: clamp(34px, 7vw, 44px); font-weight: 700; letter-spacing: -0.03em; margin: 12px 0 8px; color: var(--accent); text-shadow: 0 0 40px rgba(243, 36, 36, 0.55); }
.awaken-sub { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0 0 20px; }
.awaken-code {
  font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.06em;
  padding: 14px; border-radius: 12px; border: 1px dashed var(--line-2); background: rgba(0, 0, 0, 0.4); margin-bottom: 22px;
}
.awaken-code strong { color: var(--amber); font-size: 18px; letter-spacing: 0.14em; }

/* ---------- conejo finale (Descarga) ---------- */
.bunny-finale { position: relative; display: inline-block; margin-bottom: 4px; }
.bunny-halo {
  position: absolute; left: 50%; top: 46%; width: 340px; height: 340px;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(243, 36, 36, 0.45), rgba(243, 36, 36, 0.10) 45%, transparent 70%);
  filter: blur(16px); animation: halo-pulse 5s ease-in-out infinite;
}
.bunny-finale-img {
  position: relative; z-index: 2; width: 200px; display: block; margin: 0 auto;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px rgba(243, 36, 36, 0.35));
  animation: bunny-bob 5s ease-in-out infinite;
  transition: transform .4s var(--ease), filter .4s var(--ease);
  cursor: pointer; -webkit-user-drag: none; user-select: none;
}
.bunny-finale-img:hover {
  transform: translateY(-10px) scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 30px 38px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 38px rgba(243, 36, 36, 0.65));
}
.bunny-pedestal {
  position: absolute; left: 50%; bottom: -4px; width: 150px; height: 26px;
  transform: translateX(-50%); border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(243, 36, 36, 0.5), transparent 70%);
  filter: blur(7px); animation: pedestal-pulse 5s ease-in-out infinite;
}
@keyframes halo-pulse {
  0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes pedestal-pulse {
  0%, 100% { opacity: .55; width: 150px; }
  50%      { opacity: .85; width: 128px; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-2, .grid-split { grid-template-columns: 1fr !important; }
  .commission-num { font-size: clamp(64px, 22vw, 110px); }

  /* nav → menú hamburguesa */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(10, 10, 11, 0.97);
    backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; padding: 0 32px;
    transition: max-height .35s var(--ease), padding .35s var(--ease);
  }
  .nav.open .nav-links { max-height: 320px; padding: 6px 32px 18px; }
  .nav-links a { font-size: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav-links a:last-child { border-bottom: none; }

  /* mostrar los conejos también en el celular (más chicos) */
  .hop-img { width: 60px; }
  #madriguera .burrow-clip { width: 94px !important; height: 120px !important; }
  #madriguera .burrow-img { width: 94px !important; }
  #arbol .burrow-clip { width: 84px !important; height: 107px !important; }
  #arbol .burrow-img { width: 84px !important; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .commission { gap: 16px; }
  .arbol-stats { grid-template-columns: 1fr; }
  /* el agujero entra sin recortes */
  .hole { width: 300px; height: 300px; }
  .hole .ring:nth-child(1) { width: 280px !important; height: 280px !important; }
  .hole .ring:nth-child(2) { width: 220px !important; height: 220px !important; }
  .hole .ring:nth-child(3) { width: 160px !important; height: 160px !important; }
  .hole .ring:nth-child(4) { width: 100px !important; height: 100px !important; }
  .pill { width: 70px; height: 181px; }
  .pill .pill-word { font-size: 13px; letter-spacing: .2em; }
  .nav .btn-primary { padding: 9px 16px; font-size: 13px; }
}
@media (max-width: 480px) {
  .carrot-score { font-size: 12px; padding: 8px 13px; max-width: calc(100vw - 18px); }
  .legado-card { padding: 20px; }
  .card { padding: 22px; }
  .bento .card { padding: 20px; }
  .commission-lab, .studio-earn-lab { padding-left: 14px; font-size: 11px; }
  .studio-earn { gap: 14px; }
  .legado-stat { padding: 14px; }
  .ladder { gap: 7px; }
  .rank { min-width: 0; flex: 1 1 30%; padding: 11px 8px; }
  .rank .r-name { font-size: 13px; }
}

/* tapas reales de libros */
.app-cover { background: #0a0a0c; border: 1px solid var(--line-2); }
.app-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mock-thumb.cover { background: none; overflow: hidden; }
.mock-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }

/* pantalla Despertar (perfil): accesos rápidos + progreso + avatar píldora */
.app-avatar { display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 38%, #2a0e10, #0a0a0c); }
.app-avatar img { width: 60%; height: auto; transform: rotate(-26deg); filter: drop-shadow(0 0 8px rgba(243,36,36,.7)); }
.app-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.app-q { border-radius: 13px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); padding: 11px 4px; text-align: center;
  font-size: 9.5px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 7px; }
.app-q span { font-size: 17px; line-height: 1; }
.app-prow { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.app-pico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 15px; }
.app-pico.fire { background: rgba(245,158,11,.14); }
.app-pico.read { background: rgba(6,182,212,.14); }

/* ---------- Círculos de Despertar (sección + mock) ---------- */
.circ-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.circ-points li { display: flex; gap: 14px; align-items: flex-start; }
.circ-points .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: rgba(243,36,36,.1); border: 1px solid var(--line-2); }
.circ-points b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.circ-points span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.circ-app { background: radial-gradient(120% 60% at 50% -8%, rgba(243,36,36,0.14), transparent 55%), linear-gradient(180deg,#0c0c10,#050506); }
.circ-screen { position: absolute; inset: 0; padding: 56px 20px 34px; display: flex; flex-direction: column; gap: 13px; overflow: hidden; color: var(--text); }
.circ-top { display: flex; align-items: center; gap: 14px; }
.circ-back { font-size: 22px; color: var(--muted); }
.clan-card { border-radius: 18px; padding: 16px; border: 1px solid rgba(243,36,36,.45);
  background: linear-gradient(120deg, rgba(243,36,36,0.13), rgba(245,158,11,0.10) 82%), #0d0c0a;
  box-shadow: inset 0 0 0 1px rgba(243,36,36,.1), 0 14px 36px -18px rgba(243,36,36,.5); }
.clan-ico { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 21px; background: rgba(243,36,36,.16); border: 1px solid rgba(243,36,36,.4); }
.clan-ico.sm { width: 42px; height: 42px; font-size: 19px; }
.clan-goal { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; padding: 12px 14px; border-radius: 13px; background: rgba(0,0,0,.32); border: 1px solid var(--line); }
.clan-pct { font-size: 24px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; text-align: right; line-height: 1; }
.clan-pct span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-top: 3px; }
.clan-pct.sm { font-size: 20px; color: var(--cyan); }
.clan-metas { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.meta-chip { font-family: var(--mono); font-size: 10px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 11px; }
.clan-btns { display: flex; gap: 9px; margin-top: 13px; }
.clan-btns .app-btn { flex: 1; }
.app-btn2 { border: 1px solid var(--line-2); background: rgba(255,255,255,0.04); color: #fff; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 13.5px; padding: 13px 16px; cursor: pointer; white-space: nowrap; }
.app-btn2.red { color: var(--accent); border-color: rgba(243,36,36,.4); }
.circ-mission { display: flex; align-items: center; gap: 10px; margin-top: 13px; padding: 12px; border-radius: 13px; background: rgba(255,255,255,0.025); border: 1px solid var(--line); }
.pill-teal { font-family: var(--mono); font-size: 10px; color: #2fe0c0; border: 1px solid rgba(47,224,192,.4); border-radius: 999px; padding: 6px 11px; white-space: nowrap; flex: none; }
