/* ==========================================================================
   BonoStake — styles.css
   Tema oscuro premium. Sin frameworks. Custom properties para todo.
   Breakpoints: 480 / 768 / 1100
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Color — paleta azul-pizarra estilo rewards */
  --bg: #0b1219;
  --bg-deep: #080e14;
  --surface: #141e28;
  --surface-2: #1a2634;
  --surface-code: #0e161e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #eaf2f8;
  --text-2: #8fa3b8;

  --accent: #00e676;
  --accent-dim: #00c853;
  --accent-soft: rgba(0, 230, 118, 0.1);
  --accent-border: rgba(0, 230, 118, 0.35);
  --on-accent: #0b1219;
  --gradient-accent: linear-gradient(135deg, #00e676 0%, #00c853 100%);

  --cyan: #00d4ff;
  --cyan-soft: rgba(0, 212, 255, 0.1);

  --gold: #e8c15a;
  --gold-soft: rgba(232, 193, 90, 0.12);

  --glass-bg: rgba(20, 30, 40, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Tipografía */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;

  /* Espaciado (escala 4/8) */
  --sp-1: 0.25rem;   /* 4  */
  --sp-2: 0.5rem;    /* 8  */
  --sp-3: 0.75rem;   /* 12 */
  --sp-4: 1rem;      /* 16 */
  --sp-5: 1.5rem;    /* 24 */
  --sp-6: 2rem;      /* 32 */
  --sp-7: 3rem;      /* 48 */
  --sp-8: 4rem;      /* 64 */
  --sp-9: 6rem;      /* 96 */

  /* Radios */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-full: 999px;

  /* Sombras (luz desde arriba, consistente) */
  --shadow-1: 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  --shadow-2: 0 24px 48px -20px rgba(0, 0, 0, 0.65);
  --glow-cta: 0 0 28px rgba(0, 230, 118, 0.3);

  /* Capas */
  --z-header: 100;
  --z-sticky: 90;

  /* Layout */
  --container: 1140px;
  --header-h: 64px;
}

/* ---------- Reset mínimo ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

/* ---------- Utilidades ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.container-narrow {
  max-width: 820px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: calc(var(--z-header) + 1);
  padding: var(--sp-2) var(--sp-4);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 0;
}

/* Foco visible global */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Offset de anclas bajo el header fijo */
section[id] {
  scroll-margin-top: calc(var(--header-h) + var(--sp-5));
}

/* ---------- Tipografía ---------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw + 0.9rem, 3.5rem);
}

h2 {
  font-size: clamp(1.55rem, 2.2vw + 0.7rem, 2.35rem);
}

h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

p {
  max-width: 68ch;
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1em 0.4em;
}

.kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.hl-green {
  color: var(--accent);
}

.hl-gold {
  color: var(--gold);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.15s ease, filter 0.2s ease;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--on-accent);
  box-shadow: 0 5px 15px rgba(0, 230, 118, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 20px rgba(0, 230, 118, 0.35);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 230, 118, 0.2);
}

.btn-sm {
  min-height: 44px;
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.9375rem;
}

.btn-lg {
  min-height: 56px;
  padding: var(--sp-4) var(--sp-6);
  font-size: 1.0625rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(11, 18, 25, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-name em {
  font-style: normal;
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: var(--sp-5);
  margin-left: auto;
}

.site-nav a {
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding: var(--sp-2) 0;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.header-cta {
  flex-shrink: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(var(--sp-8), 9vw, 7.5rem);
  overflow: hidden;
}

/* Grid de puntos decorativo, esquina superior izquierda */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(560px 400px at 12% 8%, #000, transparent 72%);
  mask-image: radial-gradient(560px 400px at 12% 8%, #000, transparent 72%);
  pointer-events: none;
}

/* Glow radial detrás de la tarjeta */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 420px at 80% 48%, rgba(0, 230, 118, 0.09), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: var(--sp-8);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

.code-inline {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.04em 0.3em;
  white-space: nowrap;
}

.hero-sub {
  margin-top: var(--sp-5);
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 56ch;
}

.hero-cta {
  margin-top: var(--sp-6);
}

.micro-copy {
  margin-top: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-2);
}

/* Tarjeta de bono flotante */
.bonus-card {
  justify-self: end;
  width: min(100%, 400px);
  background: linear-gradient(165deg, var(--surface), var(--surface-code));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-2);
  transform: rotate(2deg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.bonus-card:hover {
  transform: rotate(0deg) translateY(-2px);
  border-color: var(--accent-border);
}

.bonus-card-head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-2);
  margin-bottom: var(--sp-4);
}

.bonus-card-head svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  background: var(--surface-code);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-4);
}

.code-value {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  background: none;
  border: 0;
  padding: 0;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: var(--sp-2) var(--sp-4);
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    transform 0.15s ease;
}

.btn-copy:hover {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--glow-cta);
}

.btn-copy:active,
.code-pill:active,
.sticky-code:active {
  transform: scale(0.97);
}

.btn-copy svg {
  width: 18px;
  height: 18px;
}

/* Estados del botón copiar (icono copy <-> check) */
.ico-check {
  display: none;
}

.is-copied .ico-copy {
  display: none;
}

.is-copied .ico-check {
  display: block;
}

.btn-copy.is-copied,
.code-pill.is-copied,
.sticky-code.is-copied {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

.bonus-perks {
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}

.bonus-perks li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 500;
}

.perk-ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.perk-green {
  color: var(--accent);
}

.perk-gold {
  color: var(--gold);
}

/* ---------- Barra de confianza ---------- */
.trust-bar {
  border-block: 1px solid var(--border);
  background: rgba(19, 23, 34, 0.55);
  padding-block: var(--sp-4);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
}

.trust-logo {
  width: 88px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.9;
}

.trust-bar p {
  max-width: 58ch;
  text-align: left;
  font-size: 0.9375rem;
  color: var(--text-2);
}

@media (max-width: 480px) {
  .trust-inner {
    flex-direction: column;
    gap: var(--sp-3);
  }

  .trust-bar p {
    text-align: center;
  }
}

/* ---------- Secciones ---------- */
.section {
  padding-block: clamp(var(--sp-8), 9vw, 7rem);
}

.section-head {
  margin-bottom: var(--sp-7);
}

.section-head h2 {
  max-width: 24ch;
}

.section-cta {
  margin-top: var(--sp-7);
}

/* ---------- Rakeback ---------- */
.section-rakeback {
  border-bottom: 1px solid var(--border);
}

.rakeback-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--sp-8);
  align-items: center;
}

.rakeback-figure {
  user-select: none;
}

.giant-stat {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(6rem, 13vw, 11rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent-border);
}

@supports not (-webkit-text-stroke: 2px black) {
  .giant-stat {
    color: var(--accent-soft);
  }
}

.giant-stat small {
  font-size: 0.5em;
}

.giant-stat-label {
  display: block;
  margin-top: var(--sp-3);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
}

.rakeback-body h2 {
  margin-bottom: var(--sp-5);
}

.rakeback-body p + p {
  margin-top: var(--sp-4);
}

.rakeback-body p {
  color: var(--text-2);
}

/* ---------- Pasos (timeline) ---------- */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-6);
  counter-reset: paso;
}

.step {
  position: relative;
  border-top: 1px solid var(--border);
  padding-top: var(--sp-5);
}

.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.55);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border-strong);
  margin-bottom: var(--sp-4);
}

@supports not (-webkit-text-stroke: 1px black) {
  .step-num {
    color: var(--surface-2);
  }
}

.step h3 {
  margin-bottom: var(--sp-2);
}

.step p {
  color: var(--text-2);
  font-size: 0.9375rem;
}

/* ---------- Beneficios ---------- */
.section-beneficios {
  background: linear-gradient(var(--bg-deep), var(--bg));
  border-block: 1px solid var(--border);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-1);
}

.benefit-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

.benefit-ico svg {
  width: 22px;
  height: 22px;
}

.benefit-ico-gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.benefit-card h3 {
  margin-bottom: var(--sp-2);
}

.benefit-card p {
  color: var(--text-2);
  font-size: 0.9375rem;
}

/* ---------- Comparativa ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.table-wrap:focus-visible {
  outline-offset: 0;
}

.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare-table th,
.compare-table td {
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  vertical-align: middle;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-2);
  border-bottom: 1px solid var(--border-strong);
}

.compare-table thead th.col-highlight {
  color: var(--accent);
}

.compare-table tbody th {
  font-weight: 500;
  color: var(--text);
}

.compare-table tbody td {
  color: var(--text-2);
}

.compare-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.025);
}

.compare-table tbody td.col-highlight {
  color: var(--text);
  font-weight: 500;
  background: rgba(0, 230, 118, 0.045);
}

.cell-ico {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  margin-right: var(--sp-1);
}

.ico-yes {
  color: var(--accent);
}

.ico-no {
  color: var(--text-2);
  opacity: 0.7;
}

.table-note {
  margin-top: var(--sp-5);
  color: var(--text-2);
  font-size: 0.9375rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: var(--sp-3);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  cursor: pointer;
  list-style: none;
  border-radius: var(--r-md);
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: var(--surface-2);
}

.faq-item summary h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-2);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 var(--sp-5) var(--sp-5);
}

.faq-a p {
  color: var(--text-2);
  font-size: 0.9375rem;
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.faq-item[open] .faq-a {
  animation: faq-in 0.25s ease-out;
}

/* ---------- CTA final ---------- */
.section-final {
  position: relative;
  overflow: hidden;
}

.section-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 380px at 50% 62%, rgba(0, 230, 118, 0.1), transparent 70%);
  pointer-events: none;
}

.final-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-sub {
  margin-top: var(--sp-5);
  color: var(--text-2);
  font-size: 1.0625rem;
  max-width: 58ch;
}

.final-actions {
  margin-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
}

.code-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: var(--sp-2) var(--sp-4);
  background: var(--surface);
  color: var(--text);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease,
    transform 0.15s ease;
}

.code-pill:hover {
  border-color: var(--accent-border);
}

.code-pill code {
  background: none;
  border: 0;
  padding: 0;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.code-pill svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.code-pill.is-copied svg {
  color: var(--on-accent);
}

.code-pill .copy-label {
  color: var(--text-2);
}

.code-pill:hover .copy-label,
.code-pill.is-copied .copy-label {
  color: inherit;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding-block: var(--sp-7) var(--sp-6);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--text-2);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-2);
  flex-shrink: 0;
}

.footer-disclaimer p {
  color: var(--text-2);
  font-size: 0.875rem;
  max-width: 78ch;
}

.footer-disclaimer p + p {
  margin-top: var(--sp-3);
}

.footer-copy {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-2);
}

/* ---------- Barra CTA fija (móvil) ---------- */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  display: none;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  padding-bottom: calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 14, 20, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  visibility: visible;
}

.sticky-code {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: var(--sp-2) var(--sp-3);
  background: var(--surface);
  color: var(--text);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  cursor: pointer;
  touch-action: manipulation;
  min-width: 0;
  flex: 1;
  justify-content: space-between;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease,
    transform 0.15s ease;
}

.sticky-code code {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-code svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.sticky-code.is-copied svg {
  color: var(--on-accent);
}

.sticky-cta .btn {
  flex-shrink: 0;
}

/* ---------- Scroll reveal (solo con JS activo) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .bonus-card {
    transform: none;
  }
}

/* ==========================================================================
   Responsive — 1100 / 768 / 480
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-grid {
    gap: var(--sp-6);
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rakeback-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: var(--sp-6);
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .hero {
    padding-block: var(--sp-7);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero::after {
    background: radial-gradient(420px 360px at 50% 78%, rgba(0, 230, 118, 0.08), transparent 70%);
  }

  .bonus-card {
    justify-self: start;
    transform: rotate(0deg);
    width: min(100%, 420px);
  }

  .rakeback-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-6);
    align-items: start;
  }

  .giant-stat {
    font-size: clamp(4.5rem, 18vw, 7rem);
    display: inline-block;
  }

  .giant-stat-label {
    display: inline-block;
    margin-left: var(--sp-3);
  }

  /* Timeline vertical */
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-6);
  }

  .step {
    border-top: 0;
    border-left: 1px solid var(--border);
    padding-top: 0;
    padding-left: var(--sp-5);
  }

  .step::before {
    top: 4px;
    left: -5px;
  }

  .step-num {
    font-size: 2.5rem;
  }

  /* Mostrar barra fija */
  .sticky-cta {
    display: flex;
  }

  body {
    /* Reserva espacio para que la barra no tape el final del contenido */
    padding-bottom: 76px;
  }

  .section-head {
    margin-bottom: var(--sp-6);
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: var(--sp-4);
  }

  .header-cta {
    display: none;
  }

  .benefit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-cta .btn-lg {
    width: 100%;
  }

  .final-actions {
    width: 100%;
    flex-direction: column;
  }

  .final-actions .btn {
    width: 100%;
  }

  .code-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .btn-copy {
    justify-content: center;
  }

  .footer-top {
    flex-direction: row;
  }
}

/* ==========================================================================
   Calculadora de bonos VIP
   ========================================================================== */
.kicker-gold {
  color: var(--gold);
}

.section-calc {
  border-bottom: 1px solid var(--border);
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--sp-8);
  align-items: start;
}

.calc-intro p + p {
  margin-top: var(--sp-4);
}

.calc-intro p {
  color: var(--text-2);
  max-width: 52ch;
}

.calc-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: var(--sp-6);
  box-shadow: var(--shadow-1);
  display: grid;
  gap: var(--sp-5);
}

.calc-toggle {
  display: inline-flex;
  padding: var(--sp-1);
  background: var(--surface-code);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  justify-self: start;
}

.calc-toggle-btn {
  min-height: 40px;
  padding: var(--sp-2) var(--sp-4);
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.calc-toggle-btn:active {
  transform: scale(0.97);
}

.calc-toggle-btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
}

.calc-field {
  display: grid;
  gap: var(--sp-2);
}

.calc-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

.calc-wager-box {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--surface-code);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding-inline: var(--sp-4);
  transition: border-color 0.2s ease;
}

.calc-wager-box:focus-within {
  border-color: var(--accent-border);
}

.calc-wager {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.calc-wager:focus-visible {
  outline: none;
}

.calc-wager-cur {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
}

/* Range slider */
.calc-range {
  width: 100%;
  height: 24px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent-border);
  transition: transform 0.15s ease;
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-range::-moz-range-track {
  height: 6px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.calc-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent-border);
}

.calc-range-ends {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-2);
}

/* Resultado neto del período (ganó / perdió + monto) */
.calc-net-row {
  display: grid;
  grid-template-columns: minmax(110px, auto) minmax(0, 1fr);
  gap: var(--sp-2);
}

.calc-net-box .calc-wager {
  font-size: 1.25rem;
}

.calc-hint {
  font-size: 0.75rem;
  color: var(--text-2);
}

.calc-row-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}

.calc-select {
  min-height: 52px;
  padding: var(--sp-2) var(--sp-4);
  background: var(--surface-code);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.calc-select:focus-visible {
  border-color: var(--accent-border);
}

/* Resultados */
.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
  margin: 0;
}

.calc-result {
  background: var(--surface-code);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
}

.calc-result.is-primary {
  border-color: rgba(232, 193, 90, 0.4);
  background: linear-gradient(180deg, var(--gold-soft), var(--surface-code) 70%);
}

.calc-result dt {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

.calc-result dd {
  margin: var(--sp-1) 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.calc-result-note {
  font-size: 0.75rem;
  color: var(--text-2);
}

.calc-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-2);
  max-width: none;
}

.calc-cta {
  justify-self: start;
}

/* ==========================================================================
   Leaderboard mensual
   ========================================================================== */
.section-leaderboard {
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.section-leaderboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 420px at 50% 12%, rgba(232, 193, 90, 0.07), transparent 70%);
  pointer-events: none;
}

.lb-head {
  text-align: center;
  display: grid;
  justify-items: center;
}

.lb-head h2 {
  max-width: none;
  font-size: clamp(2rem, 4vw + 0.8rem, 3.25rem);
}

.lb-pool {
  background: linear-gradient(135deg, var(--gold) 0%, #f5d98a 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lb-intro {
  margin-top: var(--sp-4);
  color: var(--text-2);
  max-width: 62ch;
}

.lb-head .lb-badge {
  margin-top: var(--sp-4);
}

.lb-panel {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: var(--sp-6);
  box-shadow: var(--shadow-2);
}

.lb-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.lb-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: lb-pulse 2s ease-in-out infinite;
}

@keyframes lb-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Countdown en cajas */
.lb-countdown {
  display: grid;
  justify-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-7);
}

.lb-countdown-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-2);
}

.lb-count-boxes {
  display: flex;
  gap: var(--sp-3);
}

.lb-count-box {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 76px;
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-code);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
}

.lb-count-box strong {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.lb-count-box small {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
}

/* Podio */
.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  align-items: end;
  margin-bottom: var(--sp-6);
}

.podium-card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-border);
  background: var(--surface-2);
  padding: var(--sp-5);
  padding-top: var(--sp-6);
  text-align: center;
  display: grid;
  gap: var(--sp-2);
  justify-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.podium-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.podium-crown {
  width: 30px;
  height: 30px;
  color: var(--gold);
  filter: drop-shadow(0 0 10px rgba(232, 193, 90, 0.5));
}

.podium-avatar {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--surface-code);
  border: 2px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
}

.podium-user {
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  color: var(--text);
}

.podium-wagered {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-2);
}

.podium-prize {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.podium-rank {
  position: absolute;
  top: calc(-1 * var(--sp-3));
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
}

.podium-1 {
  order: 2;
  padding-block: var(--sp-7);
  border-color: rgba(232, 193, 90, 0.55);
  background: linear-gradient(180deg, var(--gold-soft), var(--surface-2) 70%);
  box-shadow: 0 0 42px rgba(232, 193, 90, 0.14);
}

.podium-1 .podium-prize {
  background: linear-gradient(135deg, var(--gold) 0%, #f5d98a 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.podium-1 .podium-avatar {
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(232, 193, 90, 0.35);
}

.podium-1 .podium-rank {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-accent);
}

.podium-2 {
  order: 1;
  padding-block: var(--sp-6);
}

.podium-2 .podium-prize {
  color: #c7d0e0;
}

.podium-2 .podium-avatar {
  border-color: #c7d0e0;
}

.podium-3 {
  order: 3;
}

.podium-3 .podium-prize {
  color: #cd9a62;
}

.podium-3 .podium-avatar {
  border-color: #cd9a62;
}

/* Puestos 4 y 5 */
.lb-table-wrap {
  overflow-x: auto;
}

.lb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.lb-table th,
.lb-table td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-top: 1px solid var(--border);
}

.lb-table thead th {
  border-top: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-2);
}

.lb-table .lb-user {
  font-family: var(--font-mono);
}

.lb-table .lb-prize {
  font-weight: 700;
  color: var(--gold);
}

.lb-rules {
  margin-top: var(--sp-7);
}

.lb-rules h3 {
  font-size: 1.125rem;
  margin-bottom: var(--sp-4);
}

.lb-rules-list {
  display: grid;
  gap: var(--sp-3);
  padding-left: 1.25rem;
  color: var(--text-2);
  max-width: 72ch;
}

/* ==========================================================================
   Franja CTA a media página
   ========================================================================== */
.cta-band {
  background: linear-gradient(90deg, var(--accent-soft), transparent 65%);
  border-block: 1px solid var(--border);
  padding-block: var(--sp-6);
}

.band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.band-text {
  font-size: 1.0625rem;
  max-width: 54ch;
}

/* ==========================================================================
   Botón volver arriba + toast
   ========================================================================== */
.to-top {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: var(--z-sticky);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  box-shadow: var(--shadow-1);
  cursor: pointer;
  touch-action: manipulation;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease,
    border-color 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: var(--accent-border);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: var(--sp-6);
  z-index: calc(var(--z-header) + 2);
  transform: translate(-50%, 8px);
  max-width: min(92vw, 420px);
  padding: var(--sp-3) var(--sp-5);
  background: var(--surface-2);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  font-size: 0.9375rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   Páginas internas: hero corto, migas, guías
   ========================================================================== */
.page-hero {
  position: relative;
  padding-block: var(--sp-8) var(--sp-7);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(480px 320px at 50% 0%, rgba(0, 230, 118, 0.07), transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.4vw + 0.8rem, 3rem);
  max-width: 22ch;
}

.page-hero .page-sub {
  margin-top: var(--sp-4);
  color: var(--text-2);
  max-width: 62ch;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  margin: 0 0 var(--sp-4);
  padding: 0;
  font-size: 0.8125rem;
  color: var(--text-2);
}

.breadcrumbs a {
  color: var(--text-2);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--text);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: var(--sp-2);
  opacity: 0.5;
}

/* Cuerpo de artículo (guías) */
.article-body {
  max-width: 720px;
  margin-inline: auto;
}

.article-body h2 {
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-4);
  font-size: clamp(1.35rem, 1.8vw + 0.6rem, 1.75rem);
}

.article-body h3 {
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-3);
}

.article-body p {
  margin-bottom: var(--sp-4);
  color: var(--text-2);
}

.article-body strong {
  color: var(--text);
}

.article-body ul,
.article-body ol {
  margin: 0 0 var(--sp-4);
  padding-left: 1.35rem;
  color: var(--text-2);
  display: grid;
  gap: var(--sp-2);
}

.article-body a {
  color: var(--accent);
}

.article-note {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  margin-block: var(--sp-5);
  font-size: 0.9375rem;
  color: var(--text-2);
}

.article-media {
  margin: var(--sp-5) 0;
}

.article-media video,
.article-media img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}

.article-media figcaption {
  margin-top: var(--sp-2);
  font-size: 0.8125rem;
  color: var(--text-2);
  text-align: center;
}

/* Tarjetas del hub de guías */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}

.guide-card {
  display: grid;
  align-content: start;
  gap: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-1);
}

.guide-card p {
  color: var(--text-2);
  font-size: 0.9375rem;
}

.guide-card .guide-cta {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Responsive de las secciones nuevas
   ========================================================================== */
@media (max-width: 1100px) {
  .calc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-6);
  }
}

@media (max-width: 768px) {
  .calc-card {
    padding: var(--sp-5);
  }

  .calc-row-2col,
  .calc-results-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .podium {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: var(--sp-3);
  }

  .podium-1 { order: 1; }
  .podium-2 { order: 2; }
  .podium-3 { order: 3; }

  .podium-card,
  .podium-1,
  .podium-2 {
    padding-block: var(--sp-5);
  }

  .lb-panel {
    padding: var(--sp-5);
  }

  .band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* No tapar la barra CTA fija en móvil */
  .to-top {
    bottom: calc(76px + var(--sp-4) + env(safe-area-inset-bottom, 0px));
    right: var(--sp-4);
  }

  .toast {
    bottom: calc(76px + var(--sp-4) + env(safe-area-inset-bottom, 0px));
  }
}
