/* quizmo.club — «Feria de cine antiguo» (PRD 14, lienzo 14.1–14.7). Same tokens as the app. */

@font-face { font-family: "Lilita One"; src: url("/fonts/LilitaOne-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 400; src: url("/fonts/Barlow-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 600; src: url("/fonts/Barlow-SemiBold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 700; src: url("/fonts/Barlow-Bold.ttf") format("truetype"); font-display: swap; }

:root {
  --ink: #0e0a0c;
  --hall: #1a1012;
  --velvet-dark: #5c0f19;
  --velvet: #7b1622;
  --red: #ab1f29;
  --cream: #f1e4c8;
  --butter: #ffe7a8;
  --yellow: #ffd34d;
  --brass: #c9a15b;
  --green: #6fcf97;
  --cocoa: #3a2428;
  --paper: #fffcf4;
  --muted: #a99c93;
  --stone: #d8cdc4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--hall); color: var(--ink); font-family: Barlow, system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }

.disp { font-family: "Lilita One", sans-serif; font-weight: 400; }
.ol { text-shadow: 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink), 3px 3px 0 var(--ink), -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 0 7px 0 var(--ink); }
.curtain { background: radial-gradient(circle, rgba(255, 231, 168, .18) 0 2px, transparent 2.5px) 0 0 / 22px 22px, repeating-linear-gradient(90deg, var(--velvet-dark) 0 18px, var(--velvet) 18px 36px); }
.dark { background: var(--hall); }
.center { text-align: center; }

.wordmark { display: inline-block; line-height: 1; color: var(--cream); transform: rotate(-4deg); }
.wordmark-xl { font-size: 150px; }
.wordmark-m { font-size: 36px; }
.wordmark-s { font-size: 34px; }

.pill { display: inline-block; padding: 3px 12px; border: 3px solid var(--ink); border-radius: 999px; font-size: 14px; letter-spacing: .04em; }
.pill-yellow { background: var(--yellow); }
.pill-brass { background: var(--brass); }
.pill-green { background: var(--green); }

.btn-cream { display: inline-block; padding: 10px 20px; border: 4px solid var(--ink); border-radius: 16px; background: var(--butter); color: var(--ink); text-decoration: none; font-size: 18px; box-shadow: 0 5px 0 var(--ink); }
.btn-cream:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }

.card { background: var(--cream); border: 4px solid var(--ink); box-shadow: 0 7px 0 var(--ink); color: var(--cocoa); }

/* --- Top navigation (home) --- */
.topnav { position: absolute; left: 0; right: 0; top: 0; z-index: 5; display: flex; align-items: center; gap: 26px; padding: 34px 80px 22px; }
.topnav-links { display: flex; gap: 26px; font-size: 16px; font-weight: 600; }
.topnav a:not(.btn-cream), .lang { color: var(--cream); text-decoration: none; font-weight: 600; }
.topnav .btn-cream { margin-left: 0; }
.topnav > .lang { margin-left: auto; }
.menu { display: none; }

/* --- Hero --- */
.hero { position: relative; min-height: 820px; overflow: hidden; display: flex; align-items: flex-start; justify-content: space-between; padding: 130px 80px 80px; gap: 40px; }
.valance { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: radial-gradient(circle at 50% 0, var(--red) 0 20px, transparent 21px) 0 0 / 40px 40px repeat-x; filter: drop-shadow(0 4px 0 var(--ink)); z-index: 2; }
.hero-copy { position: relative; z-index: 3; width: 580px; max-width: 100%; }
.hero-q { margin-top: 34px; font-size: 34px; letter-spacing: .1em; color: var(--butter); }
.hero-copy .pill { margin-top: 18px; font-size: 16px; padding: 4px 14px; transform: rotate(-2deg); }
.hero-lead { margin: 20px 0 0; font-size: 21px; line-height: 31px; color: var(--butter); }
.hero-lead b { color: var(--cream); }
.hero-lead-narrow { display: none; }
.hero-note { margin: 14px 0 0; font-size: 14px; color: var(--stone); }
#descargar { margin-top: 32px; scroll-margin-top: 120px; }

.stores { display: flex; gap: 14px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 9px; height: 57px; padding: 0 16px; border: 1.5px solid #a6a6a6; border-radius: 10px; background: #000; color: #fff; text-decoration: none; font-family: -apple-system, system-ui, sans-serif; }
.store-soon { opacity: .75; cursor: default; }
.store-text { display: flex; flex-direction: column; line-height: 1.05; }
.store-small { font-size: 12px; }
.store-big { font-size: 22px; font-weight: 600; letter-spacing: -.3px; }

.hero-art { position: relative; width: 470px; height: 680px; flex: none; margin-right: 70px; margin-top: -20px; }
.phone { position: absolute; left: 0; top: 0; width: 310px; height: 638px; border: 6px solid var(--ink); border-radius: 46px; background: var(--hall); box-shadow: 0 14px 0 var(--ink), 0 30px 60px rgba(0, 0, 0, .45); overflow: hidden; transform: rotate(3deg); }
.phone-notch { position: absolute; left: 50%; top: 10px; width: 34%; height: 22px; margin-left: -17%; border-radius: 999px; background: var(--ink); z-index: 3; }
.phone-valance { position: absolute; left: 0; right: 0; top: 0; height: 26px; background: radial-gradient(circle at 50% 0, var(--red) 0 13px, transparent 14px) 0 0 / 26px 26px repeat-x; }
.phone-curtain { position: absolute; top: 0; width: 26px; height: 267px; }
.phone-curtain-l { left: 0; background: repeating-linear-gradient(90deg, var(--red) 0 8px, var(--velvet) 8px 13px); border-right: 3px solid var(--ink); border-bottom-right-radius: 26px; }
.phone-curtain-r { right: 0; background: repeating-linear-gradient(90deg, var(--velvet) 0 5px, var(--red) 5px 13px); border-left: 3px solid var(--ink); border-bottom-left-radius: 26px; }
.phone-screen { position: absolute; left: 50%; top: 63px; width: 72%; margin-left: -36%; padding: 5px; background: #f4efe6; border: 4px solid var(--ink); border-radius: 8px; box-shadow: 0 0 40px rgba(255, 248, 225, .35); }
.phone-screen img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.phone-ask { position: absolute; left: 14px; right: 14px; top: 319px; display: flex; flex-direction: column; gap: 10px; }
.phone-q { color: var(--butter); font-size: 18px; }
.phone-row { display: flex; gap: 8px; }
.phone-input { flex: 1; padding: 10px 12px; border: 3px solid var(--ink); border-radius: 14px; background: var(--cream); color: var(--cocoa); font-size: 14px; }
.phone-go { padding: 0 12px; display: flex; align-items: center; border: 3px solid var(--ink); border-radius: 14px; background: var(--red); color: var(--cream); font-size: 18px; box-shadow: 0 4px 0 var(--ink); }
.seats { position: absolute; left: 0; right: 0; bottom: -10px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.seat-row { display: flex; gap: 8px; }
.seat-row i { display: block; width: 24px; height: 20px; background: var(--red); border: 3px solid var(--ink); border-radius: 10px 10px 3px 3px; }
.seat-row:nth-child(2) i { width: 32px; height: 27px; }
.seat-row:nth-child(3) i { width: 44px; height: 37px; }
.hero-pochi { position: absolute; right: -60px; top: 410px; transform: rotate(8deg); }
.hero-rollo { position: absolute; left: -140px; top: 490px; transform: rotate(-8deg); }

/* --- Bands --- */
.band { position: relative; padding: 100px 80px 110px; }
.section-title { display: inline-block; font-size: 46px; line-height: 1.05; color: var(--cream); transform: rotate(-2deg); }
.section-lead { margin: 14px auto 0; max-width: 620px; font-size: 18px; line-height: 27px; color: var(--butter); }

.steps { display: flex; gap: 32px; margin-top: 110px; }
.step { position: relative; flex: 1; border-radius: 26px; box-shadow: 0 8px 0 var(--ink); padding: 74px 24px 26px; text-align: center; }
.step:nth-child(1) { transform: rotate(-1.5deg); }
.step:nth-child(2) { transform: rotate(1deg); }
.step:nth-child(3) { transform: rotate(-1deg); }
.step-art { position: absolute; left: 50%; top: -58px; margin-left: -60px; }
.step-art img { display: block; }
.step-n { position: absolute; left: 18px; top: 16px; width: 40px; height: 40px; border: 3px solid var(--ink); border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ink); }
.step-title { font-size: 26px; line-height: 1.1; color: var(--velvet); }
.step p, .mode p { margin: 10px 0 0; font-size: 16px; line-height: 24px; }

.modes { display: flex; gap: 28px; margin-top: 56px; }
.mode { flex: 1; border-radius: 22px; padding: 22px; }
.mode:nth-child(1) { transform: rotate(1deg); }
.mode:nth-child(2) { transform: rotate(-1deg); }
.mode:nth-child(3) { transform: rotate(1.2deg); }
.mode-title { margin-top: 12px; font-size: 28px; line-height: 1.05; color: var(--velvet); }
.mode .pill { color: var(--ink); }

.characters-band { padding-bottom: 90px; }
.characters { display: flex; justify-content: center; flex-wrap: wrap; gap: 34px; margin-top: 50px; }
.character { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--cream); font-size: 22px; }
.avatar { width: 140px; height: 140px; border-radius: 50%; border: 4px solid var(--ink); box-shadow: 0 6px 0 var(--ink); display: flex; align-items: center; justify-content: center; }
.avatar img { display: block; }

.faq-band { padding-top: 30px; }
.faq { max-width: 820px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 16px; }
.faq-item { border-radius: 20px; box-shadow: 0 6px 0 var(--ink); padding: 20px 26px; }
.faq-item h3 { font-size: 23px; color: var(--velvet); }
.faq-item p { margin: 6px 0 0; font-size: 17px; line-height: 26px; }

.cta { padding: 90px 80px; text-align: center; overflow: hidden; }
.cta .pill { font-size: 16px; padding: 4px 14px; transform: rotate(-2deg); }
.cta-title { display: inline-block; margin-top: 18px; font-size: 64px; line-height: 1.05; color: var(--cream); transform: rotate(-3deg); }
.cta .section-lead { margin: 18px auto 30px; font-size: 20px; line-height: 29px; }
.cta-lead-narrow { display: none; }
.cta .stores { justify-content: center; }
.cta-art { position: absolute; bottom: -30px; }
.cta-art-l { left: 110px; }
.cta-art-r { right: 120px; bottom: -24px; }

/* --- Footer --- */
.footer { background: var(--ink); padding: 34px 80px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; font-size: 15px; color: var(--muted); }
.footer-mark { text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 600; }
.footer-links a { color: var(--cream); text-decoration: none; }
.footer-copy { margin-left: auto; text-align: right; }

/* --- Inner pages (legal, delete account) --- */
.topbar { display: flex; align-items: center; gap: 24px; padding: 22px 80px; }
.topbar > a:first-child { text-decoration: none; }
.topbar .lang { margin-left: auto; }
.back { color: var(--cream); font-weight: 600; text-decoration: none; }
.back-narrow { display: none; }
.page-head { padding: 30px 80px 50px; border-bottom: 4px solid var(--ink); }
.page-head-inner { max-width: 820px; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.page-head-inner img { flex: none; }
.page-title { font-size: 52px; line-height: 1; color: var(--cream); }
.page-updated { margin-top: 10px; font-size: 16px; color: var(--butter); }
.paper { background: var(--paper); padding: 40px 80px 70px; }
.paper-inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.tab { padding: 6px 16px; border: 3px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: 16px; }
.tab-on { background: var(--red); color: var(--cream); }
.summary { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; border: 3px solid var(--ink); border-radius: 18px; background: var(--butter); font-size: 18px; line-height: 27px; color: var(--cocoa); }
.summary b { white-space: nowrap; flex: none; color: var(--ink); }
.lead { margin: 0; font-size: 19px; line-height: 29px; color: var(--cocoa); }
.legal { color: var(--cocoa); font-size: 17px; line-height: 27px; }
.legal h2 { margin: 28px 0 6px; font-family: "Lilita One", sans-serif; font-size: 26px; line-height: 1.15; color: var(--velvet); scroll-margin-top: 16px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 18px 0 4px; font-weight: 700; font-size: 18px; color: var(--ink); }
.legal p { margin: 6px 0 0; }
.legal ul { margin: 8px 0 0; padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal a, .faq-item a, .lead a { color: var(--red); font-weight: 600; }
.to-top { margin: 10px 0 0; text-align: center; }
.to-top a { color: var(--red); font-weight: 600; text-decoration: none; }

/* --- 404 --- */
.nf-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 40px 16px; text-align: center; color: var(--butter); }
.nf p { font-size: 18px; margin: 12px 0 0; }
.nf .page-title { font-size: 40px; }

/* --- Narrow screens (lienzo 14.2, 14.4, 14.7) --- */
@media (max-width: 900px) {
  .topnav { padding: 20px 16px; gap: 12px; }
  .topnav-links, .topnav > .lang, .topnav > .btn-cream { display: none; }
  .menu { display: block; margin-left: auto; position: relative; }
  .menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border: 3px solid var(--ink); border-radius: 12px; background: var(--butter); box-shadow: 0 4px 0 var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span { display: block; width: 20px; height: 3px; border-radius: 2px; background: var(--ink); }
  .menu-links { position: absolute; right: 0; top: 54px; min-width: 210px; display: flex; flex-direction: column; padding: 8px; border: 3px solid var(--ink); border-radius: 16px; background: var(--cream); box-shadow: 0 6px 0 var(--ink); }
  .menu-links a, .menu-links .lang { padding: 10px 12px; color: var(--ink) !important; text-decoration: none; font-weight: 600; }

  .hero { flex-direction: column; align-items: center; text-align: center; padding: 84px 16px 40px; min-height: 0; gap: 26px; }
  .hero-copy { width: auto; }
  .wordmark-xl { font-size: 88px; }
  .hero-q { margin-top: 20px; font-size: 24px; }
  .hero-lead { font-size: 17px; line-height: 25px; }
  .hero-lead-wide { display: none; }
  .hero-lead-narrow { display: block; }
  .stores { justify-content: center; }
  .store { height: 50px; padding: 0 12px; }
  .store-big { font-size: 19px; }
  #descargar { margin-top: 22px; }
  .hero-art { width: 300px; height: 540px; margin: 0; transform: scale(.82); transform-origin: top center; margin-bottom: -90px; }
  .phone { left: 50%; margin-left: -155px; }
  .hero-pochi { right: -36px; top: 430px; width: 120px; }
  .hero-rollo { display: none; }

  .band { padding: 64px 16px 72px; }
  .section-title { font-size: 34px; }
  .section-lead { font-size: 16px; line-height: 24px; }
  .steps { flex-direction: column; gap: 76px; margin-top: 90px; }
  .modes { flex-direction: column; gap: 22px; margin-top: 36px; }
  .characters-band { display: none; }
  .faq-band { padding-top: 64px; }
  .faq { margin-top: 30px; }
  .faq-item { padding: 16px 18px; }
  .cta { padding: 64px 16px; }
  .cta-title { font-size: 38px; }
  .cta .section-lead { font-size: 17px; line-height: 25px; }
  .cta-lead-wide { display: none; }
  .cta-lead-narrow { display: block; }
  .cta-art { display: none; }

  .footer { flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 16px; }
  .footer-links { flex-direction: column; gap: 8px; }
  .footer-copy { margin-left: 0; font-size: 13px; }

  .topbar { padding: 16px; gap: 14px; }
  .back-wide { display: none; }
  .back-narrow { display: inline; }
  .page-head { padding: 18px 16px 30px; }
  .page-head-inner img { width: 64px; height: 64px; }
  .page-title { font-size: 34px; }
  .paper { padding: 26px 16px 50px; }
  .summary { flex-direction: column; gap: 4px; font-size: 16px; line-height: 24px; }
  .legal { font-size: 16px; line-height: 25px; }
  .legal h2 { font-size: 22px; }
}
