/* ============================================================
   designers & tea — link tree
   Estilo pixel / 8-bit. Los colores viven aquí arriba (una sola
   fuente de verdad); cámbialos para ajustar toda la página.
   ============================================================ */
:root {
  --pink: #FDAFE1;       /* fondo — muestreado exacto del logo */
  --magenta: #E0559F;    /* acento (fecha del episodio) */
  --navy: #191A79;       /* texto y bordes — muestreado exacto del logo */
  --white: #FFFFFF;  /* relleno de botones */
  --shadow: 6px 6px 0 var(--navy); /* sombra dura, sin blur → look 8-bit */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--pink);
  color: var(--navy);
  font-family: "Jersey 10", "Courier New", monospace;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  justify-content: center;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
}

/* Columna central, mobile-first */
.tree {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Logo pixelado y nítido */
.logo {
  width: 100%;
  max-width: 128px;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Episodio — texto centrado directamente sobre el rosa (sin caja) */
.episode {
  width: 100%;
  text-align: center;
}

.episode p {
  margin: 0;
  color: var(--navy);
  line-height: 1.05;
}

.episode__eyebrow {
  font-size: 22px;
}

.episode__title {
  font-size: 40px;
  margin: 6px 0 8px;
}

.episode__date {
  font-size: 22px;
  color: var(--magenta);
}

/* Grupo de links */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Botón pixel: relleno blanco, borde navy grueso, sombra dura */
.btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: var(--white);
  color: var(--navy);
  border: 4px solid var(--navy);
  box-shadow: var(--shadow);
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}

.btn__icon {
  display: inline-flex;
  flex: 0 0 auto;
}

.btn__label {
  /* deja respiro; la fuente pixel es ancha */
  letter-spacing: 0.5px;
}

/* Efecto "presionado" al pasar el mouse o tocar */
.btn:hover,
.btn:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--navy);
}

.btn:active {
  transform: translate(6px, 6px);
  box-shadow: 0 0 0 var(--navy);
}

/* Accesibilidad: foco visible claro */
.btn:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

/* Solo lectores de pantalla */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Respeta reduce-motion */
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
