@font-face { font-family: 'Cherry Bomb One'; src: url('../fonts/CherryBombOne-Regular.ttf') format('truetype'); font-display: swap; }

:root {
  --bg: #f1e6d2;
  --ink: #17110d;
  --orange: #e2861c;
  --brown: #7a4a1f;
  --card: #f8f0e0;
  --line: 3px;
  --maxw: 1120px;
  --gut: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, .brand span, .btn, .links b { font-family: 'Cherry Bomb One', ui-rounded, "Comic Sans MS", cursive; font-weight: normal; }
p, h1, h2 { text-wrap: pretty; }
h1, h2, .slogan, .lead, .sub { text-wrap: balance; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* cabecera */
.top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px var(--gut); background: rgba(241, 230, 210, .92); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(23, 17, 13, .15);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 22px; line-height: 1; }
.brand img { border-radius: 50%; display: block; }
.top nav { display: flex; gap: clamp(12px, 3vw, 26px); }
.top nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 2px; border-bottom: 2px solid transparent; }
.top nav a:hover { border-bottom-color: var(--orange); }
@media (max-width: 520px) { .brand span { display: none; } .top { justify-content: center; } }

/* hero */
.hero { text-align: center; padding: clamp(28px, 6vw, 64px) var(--gut) clamp(40px, 7vw, 88px); max-width: var(--maxw); margin: 0 auto; }
.eyes-wrap { width: min(560px, 92%); margin: 0 auto; }
.eyes-wrap svg { width: 100%; height: auto; display: block; }
h1 { font-size: clamp(44px, 8vw, 100px); line-height: .95; margin: 8px 0 14px; color: var(--orange); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; letter-spacing: 1px; text-shadow: 0 0 0 transparent; }
.slogan { font-family: 'Cherry Bomb One', cursive; font-size: clamp(22px, 3.6vw, 34px); color: var(--ink); margin: 0 0 18px; }
.lead { max-width: 560px; margin: 0 auto 26px; font-size: 18px; color: #3b2a1c; }

/* botones */
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn {
  display: inline-block; font-size: 24px; line-height: 1; padding: 12px 26px 14px; text-decoration: none; cursor: pointer;
  color: var(--ink); background: var(--orange); border: 4px solid var(--ink); border-radius: 18px;
  transition: transform .12s ease; letter-spacing: 1px;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; }

/* secciones */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--gut); text-align: center; }
h2 { font-size: clamp(34px, 6vw, 58px); line-height: 1; margin: 0 0 10px; }
.sub { margin: 0 auto 30px; max-width: 520px; color: #3b2a1c; }

/* tarjetas */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 2.6vw, 28px); }
.card {
  position: relative; width: min(320px, 100%); border: var(--line) solid var(--ink); border-radius: 22px; overflow: hidden;
  background: var(--card); text-align: left; cursor: pointer; padding: 0; font: inherit; color: inherit;
  transition: transform .15s ease;
}
.card:hover { transform: translateY(-3px) rotate(-.6deg); }
.card:nth-child(even):hover { transform: translateY(-3px) rotate(.6deg); }
.card svg { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; background: #ddd; }
.card figcaption, .card .cap { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 14px; border-top: var(--line) solid var(--ink); background: var(--card); }
.cap b { font-family: 'Cherry Bomb One', cursive; font-weight: normal; font-size: 24px; line-height: 1.05; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 9px; border: 2px solid var(--ink); border-radius: 999px; white-space: nowrap; }
.tag.new { background: var(--orange); }
.tag.soon { background: transparent; }
.bubble {
  position: absolute; left: 14px; right: 14px; top: 14px; padding: 10px 14px; border: var(--line) solid var(--ink); border-radius: 16px;
  background: #fffaf0; font-family: 'Cherry Bomb One', cursive; font-size: 22px; line-height: 1.15; opacity: 0; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease; pointer-events: none;
}
.bubble.on { opacity: 1; transform: none; }
.card .go { position: absolute; right: 12px; bottom: 62px; font-size: 13px; font-weight: 700; background: #fffaf0; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; text-decoration: none; opacity: 0; transition: opacity .15s; }
.card:hover .go, .card:focus-within .go { opacity: 1; }
@media (hover: none) { .card .go { opacity: 1; } }

/* reproductor */
.player { width: min(340px, 88vw); aspect-ratio: 9 / 16; margin: 0 auto 26px; border: 4px solid var(--ink); border-radius: 24px; overflow: hidden; background: #000; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }

/* enlaces */
.links { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 900px; }
.links li { flex: 0 1 280px; min-width: min(220px, 100%); }
.links a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 12px; text-decoration: none; border: var(--line) solid var(--ink); border-radius: 18px; background: var(--card); transition: transform .12s, background .12s; }
.links a:hover { background: var(--orange); transform: translateY(-2px); }
.links b { font-size: 28px; line-height: 1.1; }
.links span { font-size: 14px; color: #3b2a1c; }

footer { text-align: center; padding: 34px var(--gut) 46px; font-size: 14px; color: #3b2a1c; border-top: 1px solid rgba(23, 17, 13, .15); }
footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card, .btn, .links a { transition: none; } }
