:root {
  --bg: #050508;
  --bg-2: #0c0a0b;
  --ink: #f4f1f2;
  --muted: #a8a2a5;
  --faint: #6e6669;
  --line: rgba(244, 241, 242, 0.12);
  --line-strong: rgba(255, 43, 69, 0.4);
  --accent: #ff2b45;
  --accent-bright: #ff6b7d;
  --accent-dim: #7a0213;
  --danger: #ff6b6b;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(255, 43, 69, 0.28);
  color: #fff;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(196, 15, 36, 0.28), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(60, 8, 16, 0.7), transparent 55%),
    linear-gradient(180deg, #050405 0%, var(--bg) 40%, var(--bg-2) 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.wrap {
  width: min(1040px, calc(100% - 40px));
  margin-inline: auto;
}

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.fog {
  position: absolute;
  width: 140%;
  height: 55%;
  left: -20%;
  background: radial-gradient(ellipse at center, rgba(255, 43, 69, 0.07), transparent 68%);
  filter: blur(8px);
  animation: fog-drift 18s var(--ease) infinite alternate;
}

.fog-1 {
  top: 8%;
}

.fog-2 {
  bottom: -5%;
  opacity: 0.7;
  animation-duration: 26s;
  animation-direction: alternate-reverse;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mark-bg {
  position: absolute;
  right: max(2vw, 2%);
  top: 50%;
  width: min(460px, 52vw);
  color: rgba(255, 43, 69, 0.16);
  transform: translateY(-50%);
  animation: mark-breathe 8s ease-in-out infinite;
  transition: color 0.8s var(--ease), opacity 0.6s ease, width 0.7s var(--ease);
}

body.stage-catalog .mark-bg {
  color: rgba(255, 43, 69, 0.06);
  width: min(320px, 38vw);
}

body.stage-catalog .lang-field {
  opacity: 0.18;
}

.lang-field {
  position: absolute;
  inset: 0;
  transition: opacity 0.7s ease;
}

.lang-orb {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 43, 69, 0.28);
  background: rgba(14, 8, 9, 0.45);
  color: rgba(255, 107, 125, 0.72);
  font-family: var(--font-body);
  font-size: calc(0.72rem * var(--s, 1));
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 24px rgba(255, 43, 69, 0.08);
  transform: scale(var(--s, 1));
  animation: lang-float 7.5s var(--ease) infinite;
  animation-delay: var(--d, 0s);
  user-select: none;
  white-space: nowrap;
}

.lang-orb::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 43, 69, 0.7);
  flex: 0 0 auto;
}

.lang-orb[data-lang="py"]::before { background: #3776ab; box-shadow: 0 0 10px rgba(55, 118, 171, 0.7); }
.lang-orb[data-lang="js"]::before { background: #f7df1e; box-shadow: 0 0 10px rgba(247, 223, 30, 0.55); }
.lang-orb[data-lang="java"]::before { background: #ed8b00; box-shadow: 0 0 10px rgba(237, 139, 0, 0.55); }
.lang-orb[data-lang="cpp"]::before { background: #00599c; box-shadow: 0 0 10px rgba(0, 89, 156, 0.6); }
.lang-orb[data-lang="html"]::before { background: #e34f26; box-shadow: 0 0 10px rgba(227, 79, 38, 0.55); }
.lang-orb[data-lang="css"]::before { background: #1572b6; box-shadow: 0 0 10px rgba(21, 114, 182, 0.55); }
.lang-orb[data-lang="ps"]::before { background: #5391fe; box-shadow: 0 0 10px rgba(83, 145, 254, 0.55); }
.lang-orb[data-lang="go"]::before { background: #00add8; box-shadow: 0 0 10px rgba(0, 173, 216, 0.55); }
.lang-orb[data-lang="rust"]::before { background: #dea584; box-shadow: 0 0 10px rgba(222, 165, 132, 0.45); }
.lang-orb[data-lang="cs"]::before { background: #68217a; box-shadow: 0 0 10px rgba(104, 33, 122, 0.55); }

.lang-orb:nth-child(odd) {
  animation-name: lang-float-alt;
  animation-duration: 9s;
}

.lang-orb:nth-child(3n) {
  animation-duration: 11s;
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(5, 5, 8, 0.72);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.35s ease, background 0.35s ease;
}

body.is-scrolled .top {
  background: rgba(5, 5, 8, 0.88);
  border-bottom-color: rgba(255, 43, 69, 0.18);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-size: 1.35rem;
  transition: color 0.25s ease, letter-spacing 0.35s var(--ease);
}

.brand:hover {
  color: var(--accent);
  letter-spacing: 0.18em;
}

.brand:hover .brand-glyph {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 0 18px rgba(255, 43, 69, 0.55);
}

.brand:active .brand-glyph {
  transform: scale(0.92);
}

.brand-glyph {
  width: 14px;
  height: 18px;
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
  background: var(--accent);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.main-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  animation: rise 0.45s var(--ease) both;
}

.main-nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 2px;
  padding: 13px 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.28s var(--ease-spring),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.35s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
  z-index: 0;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.08s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn > span:not(.ripple),
.btn > svg {
  position: relative;
  z-index: 1;
}

/* El ripple SIEMPRE absoluto: si participa del flex, agranda el boton. */
.btn > .ripple {
  position: absolute;
  z-index: 2;
}

.btn-ico {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  display: block;
}

.btn-primary {
  color: #0c0708;
  background: linear-gradient(180deg, #ff6b7d 0%, var(--accent) 55%, #ff4054 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 0 0 rgba(255, 43, 69, 0),
    0 8px 22px rgba(150, 10, 28, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #ffc9d0 0%, #ff6b7d 50%, var(--accent) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 12px 32px rgba(255, 43, 69, 0.35),
    0 0 28px rgba(255, 43, 69, 0.2);
}

.btn-primary:active {
  box-shadow: 0 2px 10px rgba(255, 43, 69, 0.18);
}

.btn-glow {
  animation: btn-breathe 2.8s ease-in-out infinite;
}

.btn-glow:hover {
  animation: none;
}

@keyframes btn-breathe {
  0%,
  100% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.35) inset,
      0 8px 22px rgba(150, 10, 28, 0.18),
      0 0 0 0 rgba(255, 43, 69, 0);
  }
  50% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.4) inset,
      0 10px 28px rgba(255, 43, 69, 0.32),
      0 0 22px 2px rgba(255, 43, 69, 0.22);
  }
}

.btn-line {
  color: var(--ink);
  background: rgba(255, 43, 69, 0.04);
  border: 1px solid var(--line-strong);
}

.btn-line:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 43, 69, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 43, 69, 0.16), 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 18px rgba(255, 43, 69, 0.12);
}

.btn-pulse-border {
  animation: border-pulse 2.4s ease-in-out infinite;
}

.btn-pulse-border:hover {
  animation: none;
}

@keyframes border-pulse {
  0%,
  100% {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 0 rgba(255, 43, 69, 0);
  }
  50% {
    border-color: rgba(255, 43, 69, 0.55);
    box-shadow: 0 0 16px rgba(255, 43, 69, 0.14);
  }
}

.btn-ghost {
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  padding-inline: 12px;
}

.btn-ghost::before {
  display: none;
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--line);
  transform: translateY(-1px);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn-social {
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #f6f2f3;
  background: linear-gradient(180deg, rgba(28, 22, 40, 0.95), rgba(12, 10, 18, 0.98));
  border: 1px solid rgba(255, 43, 69, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 8px 20px rgba(0, 0, 0, 0.35);
  overflow: visible;
}

.btn-social::before {
  display: none;
}

.btn-social:hover {
  color: #fff;
  border-color: rgba(255, 43, 69, 0.45);
  transform: translateY(-2px);
}

.btn-social:active {
  transform: translateY(0) scale(0.98);
}

.ico-tiktok {
  position: relative;
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  display: inline-block;
  color: #fff;
  filter:
    drop-shadow(-1.2px 0.8px 0 #25f4ee)
    drop-shadow(1.2px -0.8px 0 #fe2c55);
}

.ico-tiktok svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ico-tiktok .tt-cyan,
.ico-tiktok .tt-red {
  display: none;
}

.ico-tiktok .tt-main {
  color: #fff;
}

.btn-tiktok:hover {
  border-color: rgba(254, 44, 85, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    -4px 0 16px rgba(37, 244, 238, 0.22),
    4px 0 16px rgba(254, 44, 85, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.4);
}

.btn-discord .btn-ico {
  color: #8ea1ff;
}

.btn-discord:hover {
  border-color: rgba(88, 101, 242, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 18px rgba(88, 101, 242, 0.28),
    0 10px 24px rgba(0, 0, 0, 0.4);
}

.btn-discord:hover .btn-ico {
  color: #b4c0ff;
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  animation: none;
}

.btn.is-pressed {
  animation: btn-kick 0.45s var(--ease-spring);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-out 0.55s var(--ease) forwards;
  pointer-events: none;
  z-index: 2;
}

.btn-line .ripple,
.btn-ghost .ripple {
  background: rgba(255, 43, 69, 0.35);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 6vh 0 8vh;
  isolation: isolate;
  transition: min-height 0.7s var(--ease), padding 0.7s var(--ease);
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 20%, rgba(5, 5, 8, 0.55) 58%, var(--bg) 100%),
    linear-gradient(90deg, rgba(5, 5, 8, 0.75) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 70% 40%, rgba(196, 15, 36, 0.35), transparent 70%);
  transition: opacity 0.7s ease;
}

.hero-content {
  animation: rise 0.9s var(--ease) both;
}

.brand-hero {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 0.82;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-shadow: 0 0 60px rgba(255, 43, 69, 0.12);
  animation: brand-in 1.1s var(--ease) both;
  transition: font-size 0.7s var(--ease), letter-spacing 0.7s var(--ease), color 0.4s ease, text-shadow 0.4s ease;
  cursor: default;
}

.brand-hero:hover {
  color: #f7f3f4;
  text-shadow: 0 0 70px rgba(255, 43, 69, 0.22);
}

.lead {
  max-width: 26rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.55;
  animation: rise 1s var(--ease) 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: rise 1s var(--ease) 0.22s both;
}

#btnShowApps {
  animation: cta-glow 2.8s ease-in-out infinite;
}

body.stage-catalog .hero {
  min-height: auto;
  padding: 44px 0 12px;
  align-items: flex-start;
}

body.stage-catalog .hero-plane {
  opacity: 0.35;
}

body.stage-catalog .brand-hero {
  font-size: clamp(2.8rem, 8vw, 4.5rem);
}

body.stage-catalog .mark-bg {
  opacity: 0.35;
}

body.stage-catalog #btnShowApps {
  animation: none;
}

.catalog-stage {
  padding-top: 28px;
  padding-bottom: 20px;
}

.catalog-stage.is-entering {
  animation: catalog-in 0.65s var(--ease) both;
}

.catalog-stage[hidden],
.main-nav[hidden],
#siteFooter[hidden] {
  display: none !important;
}

/* Apps */
.section {
  padding: 48px 0 32px;
}

.section-head {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  letter-spacing: 0.06em;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.app-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.app-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  padding: 28px 24px 36px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(8, 8, 16, 0.35);
  opacity: 0;
  transform: translateY(22px);
  animation: rise-fill 0.65s var(--ease) forwards;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.4s var(--ease),
    box-shadow 0.4s ease;
}

.app-row:nth-child(1) { animation-delay: 0.05s; }
.app-row:nth-child(2) { animation-delay: 0.14s; }
.app-row:nth-child(3) { animation-delay: 0.23s; }
.app-row:nth-child(4) { animation-delay: 0.32s; }

.app-row:hover {
  background: rgba(255, 43, 69, 0.05);
  border-color: rgba(255, 43, 69, 0.28);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.app-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-height: 220px;
}

.app-media:has(.app-shot:nth-child(2)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-media-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 1px dashed var(--line);
  color: var(--faint);
  font-size: 0.92rem;
  background: rgba(0, 0, 0, 0.25);
}

.app-shot {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #0a0809;
  cursor: zoom-in;
  aspect-ratio: 16 / 10;
  transition:
    border-color 0.3s ease,
    transform 0.4s var(--ease),
    box-shadow 0.4s ease;
}

.app-shot:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.app-shot:active {
  transform: translateY(0) scale(0.985);
}

.app-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s ease;
  filter: saturate(0.92);
}

.app-shot:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.app-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 4px 4px 4px 0;
  min-height: 100%;
}

.app-body-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.app-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: 0.05em;
  transition: color 0.3s ease, letter-spacing 0.35s var(--ease);
}

.app-row:hover .app-body h3 {
  color: var(--accent);
  letter-spacing: 0.07em;
}

.app-body .meta {
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.app-row:hover .meta {
  color: var(--muted);
}

.app-downloads {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.app-downloads svg {
  width: 12px;
  height: 12px;
}

.app-row:hover .app-downloads {
  border-color: rgba(255, 43, 69, 0.35);
  color: var(--accent-bright);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--accent-dim);
  transition: border-color 0.3s ease, letter-spacing 0.35s ease;
}

.app-row:hover .tag {
  border-color: var(--accent);
  letter-spacing: 0.16em;
}

.tag.soon {
  color: var(--muted);
  border-color: var(--line);
}

.app-body .blurb {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 34rem;
}

.app-body ul {
  margin: 4px 0 0;
  padding-left: 18px;
  color: var(--ink);
  opacity: 0.88;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-body li {
  transition: transform 0.3s var(--ease), color 0.3s ease;
  line-height: 1.45;
}

.app-row:hover .app-body li {
  transform: translateX(3px);
}

.app-body li + li {
  margin-top: 0;
}

.app-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
}

.app-actions .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(255, 43, 69, 0.28);
}

/* Tips */
.tip-section {
  margin-top: 56px;
  padding: 72px 0 80px;
  background:
    linear-gradient(180deg, transparent, rgba(255, 43, 69, 0.04) 30%, transparent),
    linear-gradient(90deg, transparent, rgba(12, 10, 20, 0.9), transparent);
  border-top: 1px solid var(--line);
}

.tip-inner {
  max-width: 36rem;
}

.tip-inner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: 0.05em;
  transition: letter-spacing 0.4s var(--ease), color 0.3s ease;
}

.tip-section:hover .tip-inner h2 {
  letter-spacing: 0.08em;
  color: #f7f3f4;
}

.tip-inner > p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.tip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tip-note {
  margin: 20px 0 0;
  color: var(--faint);
  font-size: 0.88rem;
}

.tip-note.is-ready {
  color: var(--muted);
}

/* Download gate */
.gate {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 4, 10, 0.84);
  backdrop-filter: blur(10px);
  animation: fade-in 0.25s ease both;
}

.gate[hidden] {
  display: none !important;
}

.gate-panel {
  position: relative;
  width: min(560px, 100%);
  padding: 28px 28px 24px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(160deg, rgba(255, 43, 69, 0.12), transparent 42%),
    linear-gradient(180deg, #121011, #0a0909);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: rise 0.4s var(--ease) both;
  overflow: hidden;
}

.gate-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 2px;
  padding: 7px 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-spring);
}

.gate-close:hover {
  color: var(--accent);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

/* Intro cinematic */
.gate-intro {
  position: relative;
  padding: 28px 8px 10px;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gate-intro[hidden],
.gate-unlock[hidden] {
  display: none !important;
}

.gate-intro-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 43, 69, 0.35), transparent 62%);
  filter: blur(8px);
  animation: gate-glow-breathe 2.4s ease-in-out infinite;
  pointer-events: none;
}

.gate-intro-pulse {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 43, 69, 0.35);
  animation: gate-ring-pulse 2.2s var(--ease) infinite;
  pointer-events: none;
}

.gate-intro-kicker {
  position: relative;
  margin: 0 0 10px;
  color: var(--accent-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: gate-fade-up 0.55s var(--ease) both;
}

.gate-intro-title {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 4rem);
  letter-spacing: 0.06em;
  line-height: 0.95;
  animation: gate-fade-up 0.7s 0.08s var(--ease) both;
}

.gate-intro-line {
  display: inline-block;
  background: linear-gradient(90deg, #fff, var(--accent-bright), #fff, var(--accent));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gate-shine 2.8s linear infinite;
  text-shadow: 0 0 28px rgba(255, 43, 69, 0.35);
}

.gate-intro-sub {
  position: relative;
  margin: 16px 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
  animation: gate-fade-up 0.7s 0.16s var(--ease) both;
}

.gate-intro-sub strong {
  color: var(--accent-bright);
  font-weight: 700;
}

.gate-intro-steps {
  position: relative;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  max-width: 30rem;
  display: grid;
  gap: 8px;
  text-align: left;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  animation: gate-fade-up 0.7s 0.22s var(--ease) both;
}

.gate-intro-steps li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.gate-intro-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(255, 31, 143, 0.16);
  border: 1px solid rgba(255, 31, 143, 0.5);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.gate-intro-steps a,
.gate-hint-links a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gate-hint-links {
  margin: 10px 0 0;
  color: rgba(196, 167, 255, 0.75);
  font-size: 0.8rem;
  line-height: 1.5;
}

.gate-license-row {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
  width: 100%;
  margin-top: 0.6rem;
}

.gate-license-row .gate-code-input {
  flex: 1 1 auto;
  min-width: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gate-license-row .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.gate-intro-actions {
  position: relative;
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  animation: gate-fade-up 0.7s 0.28s var(--ease) both;
}

.gate-intro-discord {
  box-shadow: 0 0 24px rgba(255, 43, 69, 0.35);
}

.gate-unlock {
  animation: gate-fade-up 0.45s var(--ease) both;
}

.gate-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gate-panel h2 {
  margin: 0;
  padding-right: 64px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.6rem);
  letter-spacing: 0.05em;
}

.gate-lead {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.gate-lead strong {
  color: var(--accent-bright);
}

.gate-code-block {
  margin-top: 22px;
}

.gate-code-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.gate-code-row {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
  width: 100%;
}

.gate-code-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid rgba(196, 167, 255, 0.35);
  background: rgba(8, 6, 14, 0.85);
  color: #f5f1f2;
  border-radius: 0.45rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  letter-spacing: 0.06em;
}

.gate-code-input:focus {
  outline: 2px solid rgba(168, 85, 247, 0.55);
  outline-offset: 1px;
}

.gate-code-row .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.gate-rotacion {
  margin: 10px 0 0;
  color: rgba(196, 167, 255, 0.85);
  font-size: 0.82rem;
  line-height: 1.45;
}

.gate-rotacion strong {
  color: #f5f1f2;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.gate-rotacion.is-urgente strong {
  color: #ffb4c8;
}

.gate-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.gate-step.optional .btn {
  opacity: 0.95;
}

.gate-step-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gate-step-copy strong {
  font-size: 0.98rem;
}

.gate-step-copy span {
  color: var(--faint);
  font-size: 0.88rem;
  line-height: 1.4;
}

.gate-step .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.gate-check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  cursor: pointer;
  user-select: none;
  color: var(--ink);
  font-weight: 600;
}

.gate-check[hidden],
.gate-step[hidden] {
  display: none !important;
}

.gate-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.gate-status {
  margin: 20px 0 0;
  min-height: 1.4em;
  color: var(--faint);
  font-size: 0.92rem;
  font-weight: 600;
}

.gate-status.is-ok {
  color: var(--accent);
}

.gate-status.is-error {
  color: var(--danger);
}

.gate-actions {
  margin-top: 20px;
}

.gate-neon-wrap {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 0.7rem;
  padding: 3px;
  overflow: hidden;
  isolation: isolate;
}

.gate-neon-spin,
.gate-neon-spin-2 {
  display: none;
  position: absolute;
  inset: -70%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 220deg,
    rgba(255, 107, 125, 0.1) 260deg,
    #f6eef0 295deg,
    #ff6b7d 315deg,
    #ff2b45 335deg,
    #c40f24 350deg,
    transparent 360deg
  );
  animation: gate-neon-spin 1.2s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.gate-neon-spin-2 {
  animation-duration: 1.8s;
  animation-direction: reverse;
  opacity: 0.7;
  background: conic-gradient(
    from 90deg,
    transparent 0deg,
    transparent 250deg,
    rgba(255, 43, 69, 0.2) 290deg,
    #ff6b7d 320deg,
    transparent 360deg
  );
}

.gate-neon-wrap.is-unlocked .gate-neon-spin,
.gate-neon-wrap.is-unlocked .gate-neon-spin-2 {
  display: block;
  filter: drop-shadow(0 0 12px rgba(255, 43, 69, 0.95));
}

.gate-neon-wrap.is-unlocked {
  box-shadow:
    0 0 22px rgba(255, 43, 69, 0.45),
    0 0 48px rgba(196, 15, 36, 0.28);
  animation: gate-unlock-pop 0.55s var(--ease-spring) both;
}

.gate-neon-wrap.is-locked {
  filter: grayscale(0.2);
}

.gate-download-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 0;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  background: #7a7073;
  color: #1a1213;
  font-weight: 700;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s var(--ease-spring);
}

.gate-lock-icon,
.gate-unlock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.gate-unlock-icon {
  display: none;
}

.gate-neon-wrap.is-locked .gate-lock-icon {
  display: inline-flex;
  animation: gate-lock-shake 2.4s ease-in-out infinite;
}

.gate-neon-wrap.is-locked .gate-unlock-icon {
  display: none;
}

.gate-neon-wrap.is-unlocked .gate-lock-icon {
  display: none;
}

.gate-neon-wrap.is-unlocked .gate-unlock-icon {
  display: inline-flex;
  animation: gate-unlock-bounce 0.7s var(--ease-spring) both;
}

.gate-neon-wrap .gate-download-btn[disabled] {
  opacity: 1;
  pointer-events: none;
  cursor: not-allowed;
  background: linear-gradient(180deg, #5c5457, #3f3a3c);
  color: #cdc4c7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.gate-neon-wrap.is-unlocked .gate-download-btn:not([disabled]) {
  background: linear-gradient(180deg, #ff6b7d, #ff2b45 55%, #e02338);
  color: #130809;
  animation: gate-btn-glow 1.6s ease-in-out infinite;
}

.gate-note {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 0.84rem;
  text-align: center;
}

.gate-note.is-ready {
  color: var(--accent-bright);
}

@keyframes gate-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gate-shine {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@keyframes gate-glow-breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes gate-ring-pulse {
  0% {
    transform: scale(0.72);
    opacity: 0.75;
  }
  70% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

@keyframes gate-neon-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes gate-btn-glow {
  0%,
  100% {
    box-shadow: 0 0 14px rgba(255, 43, 69, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 43, 69, 0.85);
  }
}

@keyframes gate-unlock-pop {
  0% {
    transform: scale(0.96);
  }
  60% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes gate-lock-shake {
  0%,
  80%,
  100% {
    transform: rotate(0deg);
  }
  85% {
    transform: rotate(-8deg);
  }
  90% {
    transform: rotate(8deg);
  }
  95% {
    transform: rotate(-4deg);
  }
}

@keyframes gate-unlock-bounce {
  0% {
    transform: scale(0.6) translateY(4px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@media (max-width: 560px) {
  .gate-step {
    flex-direction: column;
    align-items: stretch;
  }

  .gate-step .btn {
    width: 100%;
  }

  .gate-code-row {
    flex-direction: column;
  }

  .gate-intro-actions {
    width: 100%;
  }

  .gate-intro-actions .btn {
    width: 100%;
  }
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.9rem;
}

.foot strong {
  color: var(--muted);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  transition: color 0.3s ease, letter-spacing 0.35s ease;
}

.foot:hover strong {
  color: var(--accent);
  letter-spacing: 0.16em;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: rgba(4, 6, 5, 0.9);
  backdrop-filter: blur(8px);
  animation: fade-in 0.25s ease both;
}

.lightbox-frame {
  position: relative;
  width: min(920px, 100%);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: rise 0.35s var(--ease) both;
}

.lightbox-frame img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border: 1px solid var(--line-strong);
  background: #0a0809;
}

.lightbox-caption {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0c0a0b;
  color: var(--ink);
  border-radius: 2px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 0.25s var(--ease-spring), border-color 0.25s ease, color 0.25s ease;
}

.lightbox-close {
  align-self: center;
  padding: 10px 16px;
}

.lightbox-nav {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.lightbox-nav:active,
.lightbox-close:active {
  transform: scale(0.95);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-fill {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes catalog-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brand-in {
  from {
    opacity: 0;
    letter-spacing: 0.22em;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    letter-spacing: 0.04em;
    transform: translateY(0);
  }
}

@keyframes fog-drift {
  from {
    transform: translateX(-3%) translateY(0);
  }
  to {
    transform: translateX(4%) translateY(-2%);
  }
}

@keyframes mark-breathe {
  0%,
  100% {
    opacity: 0.85;
    transform: translateY(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.04);
  }
}

@keyframes lang-float {
  0%,
  100% {
    transform: scale(var(--s, 1)) translateY(0) translateX(0);
    opacity: 0.55;
  }
  50% {
    transform: scale(var(--s, 1)) translateY(-14px) translateX(6px);
    opacity: 0.9;
  }
}

@keyframes lang-float-alt {
  0%,
  100% {
    transform: scale(var(--s, 1)) translateY(0) translateX(0) rotate(0deg);
    opacity: 0.45;
  }
  50% {
    transform: scale(var(--s, 1)) translateY(12px) translateX(-8px) rotate(-2deg);
    opacity: 0.85;
  }
}

@keyframes cta-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 43, 69, 0);
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 43, 69, 0.28);
  }
}

@keyframes btn-kick {
  0% { transform: scale(1); }
  35% { transform: scale(0.94); }
  100% { transform: scale(1); }
}

@keyframes ripple-out {
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 860px) {
  .app-row {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 18px 28px;
  }

  .app-list {
    gap: 28px;
  }

  .main-nav {
    display: none;
  }

  .mark-bg {
    width: min(300px, 72vw);
    right: -4vw;
    opacity: 0.7;
  }

  .lang-orb:nth-child(n + 7) {
    display: none;
  }

  .hero {
    align-items: center;
    padding: 8vh 0 10vh;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 28px, 1040px);
  }

  .top-actions {
    gap: 6px;
  }

  .top-actions .btn-social {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .top-actions .btn-social .btn-label {
    display: none;
  }

  .hero-actions,
  .tip-actions,
  .app-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .tip-actions .btn,
  .app-actions .btn {
    width: 100%;
  }

  .foot {
    flex-direction: column;
  }
}

/* ==========================================================================
   VIDA + 3D  ·  WENDIGO con profundidad, brillo, aura y particulas
   --------------------------------------------------------------------------
   OJO: la animacion de entrada del titulo se reemplaza por "marca-entra"
   (solo opacidad y desenfoque). La original "brand-in" terminaba en
   transform: translateY(0) y, al quedarse aplicada, anulaba la inclinacion 3D.
   ========================================================================== */

.hero-content {
  perspective: 1100px;
}

.hero-aura {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: -1;
  width: min(86vw, 820px);
  aspect-ratio: 1 / 0.58;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 43, 69, 0.26), rgba(255, 43, 69, 0.07) 46%, transparent 72%);
  filter: blur(14px);
  pointer-events: none;
  animation: aura-late 6.5s ease-in-out infinite;
}

@keyframes aura-late {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.94); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.07); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles i {
  position: absolute;
  left: var(--x, 50%);
  bottom: -26px;
  width: var(--s, 3px);
  height: var(--s, 3px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 132, 152, 0.95) 0%, rgba(255, 43, 69, 0.5) 45%, rgba(255, 43, 69, 0) 72%);
  opacity: 0;
  animation: particula-sube var(--dur, 10s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

@keyframes particula-sube {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.5); }
  12% { opacity: 0.95; }
  70% { opacity: 0.5; }
  100% { opacity: 0; transform: translate3d(var(--drift, 0px), -104vh, 0) scale(1.2); }
}

/* --- El titulo: volumen de verdad --- */
.brand-hero {
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  animation: marca-entra 1s var(--ease) both;
  transition: transform 0.22s ease-out, font-size 0.7s var(--ease), letter-spacing 0.7s var(--ease);
  will-change: transform;
}

@keyframes marca-entra {
  from { opacity: 0; filter: blur(12px); }
  to { opacity: 1; filter: blur(0); }
}

.brand-hero .bh-letra {
  display: inline-block;
  color: #fff;
  background-image: linear-gradient(180deg, #ffffff 0%, #fff8f9 30%, #ffdee3 50%, #ff93a3 68%, #ff2b45 88%, #8a0416 100%);
  background-size: 100% 240%;
  background-position: 50% 0%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 #e8dee0,
    0 2px 0 #cfc3c6,
    0 3px 0 #afa2a6,
    0 4px 0 #8b7d82,
    0 5px 0 #685b60,
    0 6px 0 #463b40,
    0 7px 0 #2a2225,
    0 9px 18px rgba(0, 0, 0, 0.72),
    0 0 26px rgba(255, 43, 69, 0.45),
    0 0 70px rgba(255, 43, 69, 0.22);
  animation: letra-flota 5s ease-in-out infinite, letra-brillo 6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.12s), calc(var(--i, 0) * 0.2s);
}

@keyframes letra-flota {
  0%, 100% { transform: translate3d(0, 0, 0) rotateY(0deg) rotateX(0deg); }
  50% { transform: translate3d(0, -12px, 36px) rotateY(-12deg) rotateX(7deg); }
}

@keyframes letra-brillo {
  0%, 100% { background-position: 50% 0%; }
  50% { background-position: 50% 100%; }
}

.brand-hero:hover .bh-letra {
  filter: brightness(1.15) saturate(1.12);
}

/* --- Tarjetas con vida ---
   El levantamiento se hace con "translate" (propiedad suelta) y no con
   transform: la animacion de entrada de .app-row deja transform aplicado y
   pisaria el hover. */
.app-row {
  position: relative;
}

.app-row:hover {
  translate: 0 -5px;
  box-shadow: 0 22px 60px rgba(255, 43, 69, 0.18), 0 0 0 1px rgba(255, 43, 69, 0.32);
}

.app-row::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 43, 69, 0.13) 50%, transparent 62%);
  background-size: 260% 100%;
  background-position: 130% 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.app-row:hover::after {
  opacity: 1;
  animation: barrido 1.1s var(--ease) both;
}

@keyframes barrido {
  from { background-position: 130% 0; }
  to { background-position: -40% 0; }
}

/* --- Subrayado de los titulos de seccion --- */
.section-head h2::after,
.tip-inner h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 43, 69, 0));
  transition: width 0.45s var(--ease);
}

.section-head:hover h2::after,
.tip-inner:hover h2::after {
  width: 104px;
}

/* Con "menos movimiento" en el sistema, todo esto se apaga. */
@media (prefers-reduced-motion: reduce) {
  .hero-aura,
  .hero-particles i,
  .brand-hero,
  .brand-hero .bh-letra,
  .app-row::after {
    animation: none !important;
  }

  .brand-hero,
  .brand-hero .bh-letra {
    transform: none !important;
  }

  .hero-particles {
    display: none;
  }
}

/* ==========================================================================
   POLISH · capa de acabado visual (portada, catalogo, tarjetas, tips y pie)
   ========================================================================== */

:root {
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --glass: rgba(16, 12, 14, 0.62);
  --glass-strong: rgba(22, 16, 19, 0.9);
  --shadow-card: 0 30px 80px rgba(0, 0, 0, 0.45);
  --shadow-red: 0 24px 70px rgba(255, 43, 69, 0.18);
}

html {
  scrollbar-color: #4a0a14 #0a0709;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0709;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff4054, #7a0213);
  border-radius: var(--radius-pill);
  border: 2px solid #0a0709;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Textura de rejilla suave sobre la atmosfera */
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 78%);
}

/* Cabecera de cristal */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.86), rgba(5, 5, 8, 0.45));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

body.is-scrolled .top {
  background: rgba(5, 5, 8, 0.92);
  border-bottom-color: rgba(255, 43, 69, 0.18);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.brand strong {
  letter-spacing: 0.16em;
  transition: color 0.3s ease, letter-spacing 0.35s var(--ease);
}

.brand:hover strong {
  color: var(--accent-bright);
  letter-spacing: 0.22em;
}

.brand-glyph {
  filter: drop-shadow(0 0 10px rgba(255, 43, 69, 0.65));
}

/* Botones mas redondos y con brillo */
.btn {
  border-radius: var(--radius-md);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.btn-primary {
  border-radius: var(--radius-md);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 10px 26px rgba(255, 43, 69, 0.22),
    0 0 0 1px rgba(255, 130, 145, 0.25) inset;
}

.btn-primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 16px 40px rgba(255, 43, 69, 0.38),
    0 0 30px rgba(255, 43, 69, 0.22);
}

.btn-social {
  border-radius: var(--radius-pill);
}

/* Hero con foco que sigue al raton */
.hero {
  min-height: calc(100svh - 72px);
  padding: 9vh 0 12vh;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  z-index: -1;
  background: radial-gradient(
    460px circle at var(--mx, 58%) var(--my, 40%),
    rgba(255, 43, 69, 0.16),
    transparent 62%
  );
  transition: background 0.25s ease-out;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30%;
  z-index: -1;
  width: 70vw;
  height: 60vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 43, 69, 0.12), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 43, 69, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(255, 43, 69, 0.07);
  color: var(--accent-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 43, 69, 0.6);
  animation: polish-pulse 2.4s ease-out infinite;
}

@keyframes polish-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 43, 69, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(255, 43, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 43, 69, 0); }
}

.brand-hero {
  font-size: clamp(5rem, 17vw, 12rem);
  line-height: 0.8;
  text-shadow:
    0 0 90px rgba(255, 43, 69, 0.22),
    0 22px 60px rgba(0, 0, 0, 0.55);
}

.hero .bh-letra {
  animation: polish-shine 7s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 90ms);
}

@keyframes polish-shine {
  0%, 100% { background-position: 50% 0%; }
  50% { background-position: 50% 60%; }
}

.lead {
  max-width: 30rem;
  font-size: 1.22rem;
  color: #c4bcc0;
}

.hero-stats {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  margin-top: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(23, 17, 20, 0.72), rgba(12, 9, 11, 0.72));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 116px;
  padding: 16px 22px;
}

.hero-stat + .hero-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.hero-stat span {
  color: var(--faint);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-stat:nth-child(2) strong { color: #8dffb4; }
.hero-stat:nth-child(3) strong { color: #ffcf6b; }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.022);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.pill-ico {
  font-size: 0.9rem;
  filter: grayscale(0.1);
}

/* Tarjetas flotantes de la portada (decorativas) */
.hero-cards {
  position: absolute;
  right: max(3vw, 20px);
  top: 50%;
  z-index: -1;
  display: grid;
  gap: 16px;
  width: 250px;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 43, 69, 0.22);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(30, 20, 24, 0.85), rgba(10, 8, 10, 0.78));
  box-shadow: var(--shadow-card);
  transform: rotate(-5deg) translate3d(0, 0, 0);
  animation: hero-card-float 7s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -1.7s);
}

.hero-card:nth-child(2) { transform: rotate(3deg); margin-left: 26px; }
.hero-card:nth-child(3) { transform: rotate(-2deg); margin-left: 8px; }

.hero-card-chip {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(141, 255, 180, 0.14);
  color: #8dffb4;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero-card.is-paid .hero-card-chip {
  background: rgba(255, 207, 107, 0.14);
  color: #ffcf6b;
}

.hero-card strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.hero-card-meta {
  color: var(--faint);
  font-size: 0.78rem;
}

@keyframes hero-card-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.scroll-cue:hover {
  color: var(--accent-bright);
}

.scroll-cue.is-hidden {
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
}

.scroll-cue-arrow {
  width: 22px;
  height: 34px;
  border: 1px solid rgba(255, 43, 69, 0.4);
  border-radius: var(--radius-pill);
  position: relative;
}

.scroll-cue-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 5px;
  height: 9px;
  margin-left: -2.5px;
  border-radius: 3px;
  background: var(--accent);
  animation: cue-drop 1.8s ease-in-out infinite;
}

@keyframes cue-drop {
  0% { opacity: 0; translate: 0 -4px; }
  35% { opacity: 1; }
  100% { opacity: 0; translate: 0 12px; }
}

body.stage-catalog .scroll-cue {
  opacity: 0;
  pointer-events: none;
}

/* Secciones */
.section {
  padding: 76px 0 36px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--accent-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(2.8rem, 6vw, 4rem);
  letter-spacing: 0.03em;
}

.count-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid rgba(255, 43, 69, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(255, 43, 69, 0.08);
  color: var(--accent-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Tarjetas de app */
.app-list {
  gap: 34px;
}

.app-row {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(255, 43, 69, 0.06), transparent 55%),
    linear-gradient(160deg, rgba(19, 14, 17, 0.86), rgba(8, 7, 9, 0.9));
  box-shadow: var(--shadow-card);
  padding: 26px;
  overflow: hidden;
  translate: 0 0;
  transition:
    translate 0.45s var(--ease),
    border-color 0.4s ease,
    box-shadow 0.45s ease;
}

.app-row::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 43, 69, 0.55), transparent);
  opacity: 0.7;
}

.app-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    340px circle at var(--px, 50%) var(--py, 50%),
    rgba(255, 43, 69, 0.1),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.app-row:hover {
  translate: 0 -5px;
  border-color: rgba(255, 43, 69, 0.3);
  box-shadow: var(--shadow-card), var(--shadow-red);
}

.app-row:hover::after {
  opacity: 1;
}

.app-media {
  min-height: 250px;
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.25s ease-out;
  will-change: transform;
}

.app-shot {
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.1);
  position: relative;
}

.app-shot::after {
  content: "Ver captura";
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(5, 5, 8, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.app-shot:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.app-media-empty {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  border: 1px dashed rgba(255, 43, 69, 0.26);
  border-radius: 18px;
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(255, 43, 69, 0.1), transparent 70%),
    linear-gradient(160deg, rgba(24, 14, 17, 0.7), rgba(8, 7, 9, 0.8));
  overflow: hidden;
}

.empty-mark {
  font-family: var(--font-display);
  font-size: 5.4rem;
  line-height: 1;
  color: rgba(255, 43, 69, 0.22);
  text-shadow: 0 0 40px rgba(255, 43, 69, 0.25);
}

.empty-text {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.app-body {
  gap: 16px;
  padding: 6px 4px 6px 0;
}

.app-body h3 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1;
}

.tag-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-badge.free {
  color: #8dffb4;
  background: rgba(141, 255, 180, 0.12);
  border: 1px solid rgba(141, 255, 180, 0.3);
}

.price-badge.paid {
  color: #ffcf6b;
  background: rgba(255, 207, 107, 0.12);
  border: 1px solid rgba(255, 207, 107, 0.3);
}

.tag {
  padding: 6px 11px;
  border: 1px solid rgba(255, 43, 69, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(255, 43, 69, 0.07);
  border-bottom: 1px solid rgba(255, 43, 69, 0.28);
  font-size: 0.68rem;
}

.app-row:hover .tag {
  border-color: rgba(255, 43, 69, 0.5);
}

.text-muted,
.app-body .meta {
  color: var(--faint);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.app-body .blurb {
  max-width: 36rem;
  color: #c4bcc0;
  font-size: 1.02rem;
}

.app-body ul {
  padding-left: 0;
  gap: 9px;
  opacity: 1;
}

.app-body li {
  position: relative;
  padding-left: 22px;
  color: #d6cfd3;
  font-size: 0.95rem;
}

.app-body li::before {
  content: "✦";
  position: absolute;
  left: 2px;
  top: 0.02em;
  color: var(--accent);
  font-size: 0.86em;
}

.app-actions {
  padding-top: 20px;
}

.app-actions .btn {
  min-width: 170px;
}

.btn-download::after {
  content: "↓";
  margin-left: 4px;
  font-weight: 800;
}

.btn-buy::after {
  content: "→";
  margin-left: 4px;
  font-weight: 800;
}

/* Tips como tarjeta de cristal */
.tip-section {
  margin-top: 70px;
  padding: 60px 0 80px;
  background:
    radial-gradient(60% 80% at 15% 20%, rgba(255, 43, 69, 0.08), transparent 70%),
    linear-gradient(180deg, transparent, rgba(255, 43, 69, 0.03) 40%, transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tip-inner {
  position: relative;
  max-width: 46rem;
  margin-inline: auto;
  padding: 44px;
  border: 1px solid rgba(255, 43, 69, 0.22);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(255, 43, 69, 0.12), transparent 60%),
    linear-gradient(160deg, rgba(24, 16, 20, 0.9), rgba(9, 7, 9, 0.92));
  box-shadow: var(--shadow-card), var(--shadow-red);
  overflow: hidden;
}

.tip-inner::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 43, 69, 0.18), transparent 66%);
  pointer-events: none;
}

.tip-inner h2 {
  position: relative;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
}

.tip-inner p {
  position: relative;
  color: #c4bcc0;
  max-width: 34rem;
}

.tip-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.tip-note {
  position: relative;
  margin: 20px 0 0;
  color: var(--faint);
  font-size: 0.88rem;
}

/* Pie completo */
.foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 32px;
  align-items: start;
  padding: 34px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.foot::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.foot-brand strong {
  font-size: 1.4rem;
  letter-spacing: 0.18em;
}

.foot-brand span {
  color: var(--faint);
  font-size: 0.86rem;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.foot-links a {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.foot-links a:hover {
  color: var(--ink);
  border-color: rgba(255, 43, 69, 0.4);
  background: rgba(255, 43, 69, 0.08);
}

.foot-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--faint);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* Ventana de descarga y visor */
.gate-panel {
  border-radius: var(--radius-xl);
  border-color: rgba(255, 43, 69, 0.28);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65), var(--shadow-red);
}

.lightbox-frame img {
  border-radius: 18px;
  border-color: rgba(255, 43, 69, 0.35);
  box-shadow: var(--shadow-card);
}

.lightbox-close,
.lightbox-nav {
  border-radius: var(--radius-pill);
}

/* Aparicion suave al hacer scroll */
.tiene-js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.tiene-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-cards { display: none; }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding: 8vh 0 90px;
  }

  .brand-hero {
    font-size: clamp(4.2rem, 20vw, 7rem);
  }

  .hero-stats {
    width: 100%;
  }

  .hero-stat {
    flex: 1;
    min-width: 0;
    padding: 14px 12px;
  }

  .hero-stat strong {
    font-size: 1.8rem;
  }

  .app-row {
    padding: 18px;
    border-radius: var(--radius-lg);
  }

  .app-media {
    min-height: 210px;
    transform: none;
  }

  .app-media-empty {
    min-height: 210px;
  }

  .section {
    padding: 56px 0 28px;
  }

  .tip-inner {
    padding: 30px 24px;
  }

  .foot {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .app-body-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .app-body h3 {
    max-width: 100%;
    letter-spacing: 0.02em;
  }

  .hero-eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }

  .hero-pills li {
    font-size: 0.76rem;
  }

  .scroll-cue {
    display: none;
  }

  .section-head h2 {
    font-size: 2.6rem;
  }

  .app-body h3 {
    font-size: 1.9rem;
  }

  .tag-wrap {
    justify-content: flex-start;
  }

  .app-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card,
  .pulse-dot,
  .scroll-cue-arrow::after,
  .hero .bh-letra,
  .btn-glow,
  .btn-pulse-border {
    animation: none !important;
  }

  .app-media {
    transform: none !important;
  }

  .tiene-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   PULIDO 2 · progreso, pasos, dudas, boton de subir y navegacion activa
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  height: 3px;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, #8a0416, #ff2b45, #ff6b7d);
  box-shadow: 0 0 14px rgba(255, 43, 69, 0.5);
  pointer-events: none;
  transition: width 0.1s linear;
}

#apps,
#howto,
#faq,
#tips {
  scroll-margin-top: 84px;
}

.main-nav a.is-active {
  color: var(--accent);
}

.main-nav a.is-active::after {
  transform: scaleX(1);
}

/* Pasos */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 82px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 43, 69, 0.45), transparent);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(255, 43, 69, 0.06), transparent 55%),
    linear-gradient(160deg, rgba(22, 15, 18, 0.86), rgba(9, 7, 9, 0.9));
  box-shadow: var(--shadow-card);
  translate: 0 0;
  transition: translate 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.step:hover {
  translate: 0 -4px;
  border-color: rgba(255, 43, 69, 0.32);
  box-shadow: var(--shadow-card), var(--shadow-red);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(255, 43, 69, 0.35);
  letter-spacing: 0.06em;
}

.step-ico {
  display: inline-flex;
  width: 34px;
  height: 34px;
  color: var(--accent-bright);
  filter: drop-shadow(0 0 12px rgba(255, 43, 69, 0.4));
}

.step-ico svg {
  width: 100%;
  height: 100%;
}

.step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}

.step p {
  margin: 0;
  flex: 1;
  color: #b9b1b5;
  font-size: 0.95rem;
  line-height: 1.58;
}

.step p strong {
  color: var(--ink);
}

.step-link {
  align-self: flex-start;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-bright);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.25s ease, gap 0.25s ease;
}

.step-link:hover {
  color: var(--ink);
}

/* Preguntas frecuentes */
.faq-section .section-head {
  margin-bottom: 26px;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 840px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(18, 13, 16, 0.68);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(255, 43, 69, 0.35);
  background: rgba(28, 16, 20, 0.75);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 19px;
  color: #b9b1b5;
  line-height: 1.62;
}

.faq-item p strong {
  color: var(--ink);
}

/* Boton de volver arriba */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 43, 69, 0.42);
  border-radius: 50%;
  background: rgba(10, 8, 10, 0.86);
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
  opacity: 0;
  translate: 0 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: opacity 0.3s ease, translate 0.3s ease, background 0.25s ease, border-color 0.25s ease;
}

.to-top.is-visible {
  opacity: 1;
  translate: 0 0;
}

.to-top:hover {
  background: rgba(255, 43, 69, 0.18);
  border-color: var(--accent);
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .step {
    padding: 22px 20px 20px;
  }
}

@media (max-width: 560px) {
  .main-nav {
    gap: 14px;
    font-size: 0.86rem;
  }

  .faq-item summary {
    padding: 15px 16px;
    font-size: 0.95rem;
  }

  .faq-item p {
    padding: 0 16px 17px;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .step,
  .to-top {
    transition: none;
    translate: none;
  }
}

/* ==========================================================================
   PORTADA CON PERFIL DE DISCORD · logo real y tarjeta de perfil
   ========================================================================== */

.brand-logo {
  width: 26px;
  height: 26px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 43, 69, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 43, 69, 0.35), 0 0 18px rgba(255, 43, 69, 0.35);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 0 1px rgba(255, 43, 69, 0.55), 0 0 24px rgba(255, 43, 69, 0.5);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 44px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.brand-hero {
  font-size: clamp(4.6rem, 12.5vw, 9.6rem);
}

.dc-card {
  position: relative;
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(170deg, rgba(24, 17, 20, 0.94), rgba(9, 7, 9, 0.96));
  box-shadow: var(--shadow-card), 0 0 60px rgba(255, 43, 69, 0.16);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease, border-color 0.35s ease;
}

.dc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 43, 69, 0.32);
  box-shadow: var(--shadow-card), 0 0 70px rgba(255, 43, 69, 0.28);
}

.dc-banner {
  position: relative;
  height: 96px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 43, 69, 0.18);
  background:
    radial-gradient(ellipse 70% 120% at 72% 18%, rgba(196, 15, 36, 0.55), transparent 70%),
    linear-gradient(160deg, #2a0b12, #120a0d);
}

.dc-banner img {
  position: absolute;
  right: -8px;
  top: 50%;
  width: 150px;
  transform: translateY(-50%) rotate(-8deg);
  opacity: 0.3;
  filter: drop-shadow(0 0 22px rgba(255, 43, 69, 0.45));
}

.dc-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 30%, #000, transparent 75%);
}

.dc-body {
  position: relative;
  padding: 0 20px 20px;
  margin-top: -37px;
}

.dc-avatar {
  position: relative;
  width: 84px;
  height: 84px;
  padding: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 43, 69, 0.38);
  background: linear-gradient(160deg, #1a1013, #0a0709);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 43, 69, 0.25);
}

.dc-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background: #0b0809;
}

.dc-dot {
  position: absolute;
  right: 3px;
  bottom: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3ddc84;
  border: 3px solid #0c0a0b;
  box-shadow: 0 0 10px rgba(61, 220, 132, 0.7);
}

.dc-names {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
}

.dc-names strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.05em;
}

.dc-check {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #1a0508;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
}

.dc-handle {
  color: var(--faint);
  font-size: 0.86rem;
}

.dc-bio {
  margin: 12px 0 0;
  color: #b9b1b5;
  font-size: 0.9rem;
  line-height: 1.5;
}

.dc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.dc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.dc-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 8px rgba(61, 220, 132, 0.8);
}

.dc-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.dc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.dc-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 43, 69, 0.42);
  background: rgba(255, 43, 69, 0.1);
}

.dc-btn-primary {
  border-color: transparent;
  color: #1a0508;
  background: linear-gradient(180deg, #ff6b7d, #ff2b45);
  box-shadow: 0 10px 26px rgba(255, 43, 69, 0.28);
}

.dc-btn-primary:hover {
  color: #1a0508;
  background: linear-gradient(180deg, #ffc9d0, #ff4054);
}

body.stage-catalog .hero-content {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
}

body.stage-catalog .dc-card {
  display: block;
  width: 100%;
}

body.stage-catalog .dc-banner {
  display: none;
}

body.stage-catalog .dc-body {
  margin-top: 0;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-areas:
    "avatar names"
    "pills pills"
    "actions actions";
  gap: 10px 14px;
  align-items: center;
}

body.stage-catalog .dc-avatar {
  grid-area: avatar;
  width: 58px;
  height: 58px;
  padding: 3px;
}

body.stage-catalog .dc-names {
  grid-area: names;
  margin-top: 0;
}

body.stage-catalog .dc-names strong {
  font-size: 1.45rem;
}

body.stage-catalog .dc-bio {
  display: none;
}

body.stage-catalog .dc-pills {
  grid-area: pills;
  margin-top: 2px;
}

body.stage-catalog .dc-pill {
  padding: 5px 9px;
  font-size: 0.68rem;
}

body.stage-catalog .dc-actions {
  grid-area: actions;
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

body.stage-catalog .dc-btn {
  flex: 1;
  padding: 9px 10px;
  font-size: 0.8rem;
}

@media (max-width: 860px) {
  body.stage-catalog .hero-content {
    grid-template-columns: 1fr;
  }

  body.stage-catalog .dc-card {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    justify-items: start;
  }

  .dc-card {
    width: min(100%, 400px);
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .dc-card {
    border-radius: 18px;
  }

  .dc-banner {
    height: 82px;
  }

  .dc-names strong {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dc-card,
  .brand-logo {
    transition: none;
  }
}

/* ==========================================================================
   SOBRE WENDIGO · quien soy, historia y valores
   ========================================================================== */

#about {
  scroll-margin-top: 84px;
}

.about-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin-top: 34px;
}

.about-card {
  position: sticky;
  top: 92px;
  padding: 26px 22px 22px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(170deg, rgba(24, 16, 20, 0.92), rgba(9, 7, 9, 0.95));
  box-shadow: var(--shadow-card), 0 0 50px rgba(255, 43, 69, 0.14);
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -90px;
  width: 260px;
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 43, 69, 0.22), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.about-avatar {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 4px auto 16px;
  padding: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 43, 69, 0.4);
  background: linear-gradient(160deg, #1d1216, #0a0709);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 32px rgba(255, 43, 69, 0.3);
}

.about-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background: #0b0809;
}

.about-card > strong {
  position: relative;
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
}

.about-role {
  position: relative;
  color: var(--faint);
  font-size: 0.86rem;
}

.about-badges {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 16px;
}

.about-badges span {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.about-stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.about-stats div {
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.about-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--accent-bright);
}

.about-stats span {
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-card .dc-btn {
  position: relative;
  width: 100%;
}

.about-sign {
  position: relative;
  display: block;
  margin-top: 12px;
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-lead {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.58;
  color: #e2dbdf;
}

.about-copy p {
  margin: 0;
  color: #b9b1b5;
  line-height: 1.68;
}

.about-copy p strong {
  color: var(--ink);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.about-values li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.3s ease, background 0.3s ease, translate 0.3s ease;
}

.about-values li:hover {
  translate: 0 -2px;
  border-color: rgba(255, 43, 69, 0.3);
  background: rgba(255, 43, 69, 0.05);
}

.about-values strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.95rem;
}

.about-values span {
  color: var(--faint);
  font-size: 0.85rem;
  line-height: 1.5;
}

.about-quote {
  margin: 10px 0 0;
  padding: 18px 20px 18px 24px;
  border-left: 2px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(255, 43, 69, 0.09), transparent 72%);
  color: #e2dbdf;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
}

.about-quote cite {
  display: block;
  margin-top: 8px;
  color: var(--faint);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-closing {
  margin: 2px 0 0;
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 1rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-card {
    position: static;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .about-values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .about-avatar {
    width: 112px;
    height: 112px;
  }

  .about-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-values li {
    transition: none;
  }
}

/* ==========================================================================
   EXTRAS · buscador, compartir, nav movil, skeletons y avisos
   ========================================================================== */

.pill-ico {
  display: inline-flex;
  color: var(--accent-bright);
}

.pill-ico svg {
  width: 15px;
  height: 15px;
}

.catalog-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 280px;
  max-width: 420px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(9, 7, 9, 0.75);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.search-box:focus-within {
  border-color: rgba(255, 43, 69, 0.5);
  background: rgba(14, 10, 12, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 43, 69, 0.12);
}

.search-ico {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--faint);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}

.search-box input::placeholder {
  color: var(--faint);
}

.search-clear[hidden] {
  display: none;
}

.search-clear {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  line-height: 1;
  cursor: pointer;
}

.search-clear:hover {
  background: rgba(255, 43, 69, 0.2);
  color: var(--ink);
}

.search-result {
  color: var(--faint);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.app-row[hidden] {
  display: none !important;
}

.app-empty {
  margin-top: 24px;
  padding: 40px 24px;
  text-align: center;
  border: 1px dashed rgba(255, 43, 69, 0.28);
  border-radius: 20px;
  background: rgba(18, 12, 15, 0.6);
}

.app-empty strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.app-empty span {
  color: var(--muted);
  font-size: 0.92rem;
}

.app-actions .btn-share {
  min-width: 0;
}

/* Aviso flotante */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 80;
  transform: translate(-50%, 18px);
  padding: 12px 20px;
  border: 1px solid rgba(255, 43, 69, 0.35);
  border-radius: 999px;
  background: rgba(12, 9, 11, 0.95);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Cargando apps */
.app-skeleton {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 26px;
  background: rgba(14, 10, 12, 0.5);
}

.sk-media {
  min-height: 210px;
  border-radius: 18px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.04) 20%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.04) 60%);
  background-size: 220% 100%;
  animation: brillo-esqueleto 1.4s linear infinite;
}

.sk-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.sk-line {
  display: block;
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.04) 20%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.04) 60%);
  background-size: 220% 100%;
  animation: brillo-esqueleto 1.4s linear infinite;
}

.sk-60 { width: 60%; height: 22px; }
.sk-90 { width: 90%; }
.sk-70 { width: 70%; }

@keyframes brillo-esqueleto {
  from { background-position: 180% 0; }
  to { background-position: -40% 0; }
}

/* Navegacion movil del catalogo */
.mobile-nav {
  display: none;
}

@media (max-width: 860px) {
  .mobile-nav {
    position: sticky;
    top: 64px;
    z-index: 35;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 20px;
    margin: 0;
    background: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    scrollbar-width: none;
  }

  .mobile-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav a {
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  }

  .mobile-nav a.is-active,
  .mobile-nav a:hover {
    color: var(--accent-bright);
    border-color: rgba(255, 43, 69, 0.4);
    background: rgba(255, 43, 69, 0.1);
  }

  .app-skeleton {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sk-media,
  .sk-line {
    animation: none;
  }
}

/* ==========================================================================
   NOVEDADES + MODAL DE DETALLE
   ========================================================================== */

.price-badge.new {
  color: #ff8b9a;
  background: rgba(255, 43, 69, 0.16);
  border: 1px solid rgba(255, 43, 69, 0.4);
}

.app-title-link {
  cursor: pointer;
  transition: color 0.25s ease;
}

.app-title-link:hover {
  color: var(--accent);
}

.updates-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.update-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, translate 0.3s ease;
}

.update-row:hover {
  translate: 0 -2px;
  border-color: rgba(255, 43, 69, 0.32);
  background: rgba(255, 43, 69, 0.05);
}

.update-date {
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.update-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.update-info strong {
  font-size: 0.98rem;
}

.update-info span {
  color: var(--faint);
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.update-badge {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.update-badge.is-new {
  color: #ff8b9a;
  border-color: rgba(255, 43, 69, 0.4);
  background: rgba(255, 43, 69, 0.14);
}

/* Modal */
body.modal-open {
  overflow: hidden;
}

.app-modal[hidden] {
  display: none;
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
}

.app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 5, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.app-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  width: min(940px, 100%);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(24, 16, 20, 0.98), rgba(8, 7, 9, 0.99));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 70px rgba(255, 43, 69, 0.16);
  animation: modal-entra 0.3s var(--ease) both;
}

@keyframes modal-entra {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.app-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(10, 8, 10, 0.85);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.app-modal-close:hover {
  border-color: rgba(255, 43, 69, 0.5);
  color: var(--accent-bright);
}

.app-modal-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(70% 80% at 40% 30%, rgba(255, 43, 69, 0.12), transparent 70%),
    rgba(9, 7, 9, 0.8);
}

.app-modal-main {
  display: grid;
  place-items: center;
  min-height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0809;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.app-modal img[hidden],
.app-modal-thumbs[hidden],
.app-modal-empty[hidden] {
  display: none !important;
}

.app-modal-main img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: contain;
}

.app-modal-empty {
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(255, 43, 69, 0.22);
  text-shadow: 0 0 60px rgba(255, 43, 69, 0.3);
}

.app-modal-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.app-modal-thumb {
  flex: 0 0 auto;
  width: 68px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  background: #0a0809;
  cursor: pointer;
}

.app-modal-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-modal-thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(255, 43, 69, 0.3);
}

.app-modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
}

.app-modal-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-modal-top h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.app-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.app-modal-meta {
  margin: 0;
  color: var(--faint);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.app-modal-blurb {
  margin: 0;
  color: #c4bcc0;
  line-height: 1.62;
}

.app-modal-points {
  display: grid;
  gap: 7px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.app-modal-points li {
  position: relative;
  padding-left: 20px;
  color: #d6cfd3;
  font-size: 0.92rem;
  line-height: 1.45;
}

.app-modal-points li::before {
  content: "✦";
  position: absolute;
  left: 2px;
  top: 0.05em;
  color: var(--accent);
  font-size: 0.82em;
}

.app-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.app-modal-updated {
  margin: 0;
  color: var(--faint);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

@media (max-width: 860px) {
  .app-modal {
    padding: 12px;
  }

  .app-modal-panel {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }

  .app-modal-media {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 16px;
  }

  .app-modal-main {
    min-height: 210px;
  }

  .app-modal-body {
    padding: 20px;
  }

  .update-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .update-badge {
    grid-column: 2;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-modal-panel {
    animation: none;
  }
}

/* ==========================================================================
   FIX · feedback de pulsado limpio (sin "cuadrado" ni saltos de tamano)
   ========================================================================== */

html {
  -webkit-tap-highlight-color: transparent;
}

.btn,
.dc-btn,
.gate-download-btn,
.price-chip,
.step-link,
.mobile-nav a,
.foot-links a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn:focus:not(:focus-visible),
.dc-btn:focus:not(:focus-visible),
.gate-download-btn:focus:not(:focus-visible),
.price-chip:focus:not(:focus-visible) {
  outline: none;
}

.btn:active {
  transform: none;
}

.btn .ripple,
.btn > .ripple {
  position: absolute !important;
  z-index: 2;
  pointer-events: none;
}

.btn.is-pressed {
  animation: btn-press-soft 0.35s ease;
}

@keyframes btn-press-soft {
  0% { filter: brightness(1); }
  40% { filter: brightness(1.14); }
  100% { filter: brightness(1); }
}

/* El candado ya no hace "pop" de escala: solo enciende el neón. */
@keyframes gate-unlock-pop {
  0% {
    box-shadow: 0 0 0 rgba(255, 43, 69, 0);
  }
  60% {
    box-shadow: 0 0 30px rgba(255, 43, 69, 0.55), 0 0 62px rgba(196, 15, 36, 0.3);
  }
  100% {
    box-shadow: 0 0 22px rgba(255, 43, 69, 0.45), 0 0 48px rgba(196, 15, 36, 0.28);
  }
}

      .check-row {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin: 4px 0 16px;
        padding: 10px 14px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.025);
        color: var(--muted);
        font-size: 0.86rem;
        font-weight: 600;
        cursor: pointer;
      }

      .check-row input {
        width: 16px;
        height: 16px;
        accent-color: var(--accent);
        cursor: pointer;
      }

      .check-row:hover {
        border-color: rgba(255, 43, 69, 0.35);
      }


.gate-order {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.gate-waiting {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  padding: 18px 16px;
  border: 1px solid rgba(255, 43, 69, 0.35);
  border-radius: 16px;
  background: radial-gradient(70% 100% at 50% 0%, rgba(255, 43, 69, 0.16), rgba(9, 7, 9, 0.9));
  text-align: center;
}

.gate-waiting strong {
  font-size: 1.05rem;
}

.gate-waiting span {
  color: var(--muted);
  font-size: 0.85rem;
}

.gate-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(255, 43, 69, 0.2);
  border-top-color: var(--accent);
  animation: gate-spin 0.9s linear infinite;
}

@keyframes gate-spin {
  to { transform: rotate(360deg); }
}

.gate-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 4px;
  padding: 0;
  list-style: none;
}

.gate-steps li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.gate-step-num {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.66rem;
}

.gate-steps li.is-active {
  border-color: rgba(255, 43, 69, 0.5);
  background: rgba(255, 43, 69, 0.12);
  color: var(--accent-bright);
}

.gate-steps li.is-active .gate-step-num {
  background: var(--accent);
  color: #0c0708;
}

.gate-steps li.is-done {
  border-color: rgba(61, 220, 132, 0.35);
  color: #9dffc4;
}

.gate-steps li.is-done .gate-step-num {
  background: rgba(61, 220, 132, 0.25);
  color: #9dffc4;
}

.gate-code-hint {
  display: block;
  margin-top: 8px;
  color: var(--faint);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* Estadisticas de visitas (panel owner) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.stat-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--accent-bright);
  letter-spacing: 0.03em;
}

.stat-card span {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stats-days {
  display: grid;
  gap: 6px;
}

.stats-day-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

.stats-day-row strong {
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Pedidos de pago (panel owner) */
.orders-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

/* Licencias de apps de pago (panel owner) */
.license-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 10px;
}

.license-form select,
.license-form input {
  flex: 1 1 200px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 9, 14, 0.6);
  color: var(--ink);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.license-form select { flex: 0 1 220px; }

.license-result {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(61, 220, 132, 0.35);
  background: rgba(61, 220, 132, 0.08);
  font-size: 0.9rem;
}

.license-result strong {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.06em;
  color: #b8ffd6;
}

.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.order-row.is-pending {
  border-color: rgba(255, 207, 107, 0.35);
  background: rgba(255, 207, 107, 0.04);
}

.order-row.is-confirmed {
  border-color: rgba(61, 220, 132, 0.3);
}

.order-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.order-info strong {
  font-size: 0.92rem;
}

.order-info span {
  color: var(--faint);
  font-size: 0.74rem;
}

.order-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.order-badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   LICENCIAS DE COMPRA (panel owner)
   ========================================================================== */

.license-generate {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.license-generate .field {
  flex: 1 1 260px;
  margin: 0;
}

.license-result {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed rgba(255, 43, 69, 0.4);
  border-radius: 14px;
  background: rgba(255, 43, 69, 0.06);
}

.license-result strong {
  flex: 1 1 100%;
}

.license-result input {
  flex: 1 1 220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #0a0709;
  color: var(--accent-bright);
  padding: 10px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.licenses-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.license-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.license-row.is-used {
  opacity: 0.55;
}

.license-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.license-info code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--accent-bright);
  letter-spacing: 0.06em;
  font-size: 0.92rem;
}

.license-info span {
  color: var(--faint);
  font-size: 0.76rem;
}

.licenses-empty {
  color: var(--faint);
  font-size: 0.86rem;
}


/* ==========================================================================
   FIX: el atributo hidden debe ganar siempre.
   (display:flex en clases anulaba hidden y mostraba bloques de pago en apps gratis)
   ========================================================================== */
[hidden] {
  display: none !important;
}

/* ==========================================================================
   AVISO DE DONACION (apps gratis)
   ========================================================================== */
.donate-prompt {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 3, 4, 0.72);
  backdrop-filter: blur(10px);
}

.donate-prompt-card {
  position: relative;
  width: min(460px, 100%);
  padding: 30px 26px 26px;
  border: 1px solid rgba(255, 43, 69, 0.4);
  border-radius: 22px;
  background: radial-gradient(80% 120% at 50% 0%, rgba(255, 43, 69, 0.18), rgba(10, 7, 9, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 43, 69, 0.18);
  text-align: center;
  overflow: hidden;
  animation: donate-pop 0.35s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}

@keyframes donate-pop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.donate-prompt-ico {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  border-radius: 50%;
  font-size: 1.7rem;
  background: rgba(255, 43, 69, 0.16);
  border: 1px solid rgba(255, 43, 69, 0.4);
  animation: donate-heart 1.4s ease-in-out infinite;
}

@keyframes donate-heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.donate-prompt-card h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.donate-prompt-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.donate-prompt-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.donate-prompt-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--faint);
  font-size: 1.4rem;
  cursor: pointer;
}

.donate-prompt-close:hover {
  color: var(--ink);
}


.donate-prompt-step {
  display: block;
}

.donate-spinner {
  display: inline-block;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 50%;
  border: 4px solid rgba(255, 43, 69, 0.2);
  border-top-color: var(--accent);
  animation: donate-spin 0.9s linear infinite;
}

@keyframes donate-spin {
  to { transform: rotate(360deg); }
}

#donateUser {
  width: 100%;
  margin-bottom: 4px;
}


.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.donate-amounts .btn {
  min-width: 64px;
}

.donate-custom {
  display: flex;
  gap: 8px;
  width: 100%;
}

.donate-custom input {
  flex: 1;
  min-width: 0;
}

.pay-result {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 3, 4, 0.75);
  backdrop-filter: blur(10px);
}

.pay-result-card {
  width: min(440px, 100%);
  padding: 30px 26px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: radial-gradient(80% 120% at 50% 0%, rgba(255, 43, 69, 0.16), rgba(10, 7, 9, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: donate-pop 0.35s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}

.pay-result-ico {
  display: block;
  font-size: 2.6rem;
  margin-bottom: 8px;
}

.pay-result-card h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.pay-result-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.pay-result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
