/* Web pública de YoSePlayer. Mismos colores que la plantilla "Cartelera" de las aplicaciones. */
:root {
  --bg: #0b0b0b; --surface: #161616; --surface2: #222; --border: #2e2e2e;
  --text: #f2f2f2; --muted: #a3a3a3; --accent: #e50914; --accent-dark: #b20710;
  --radius: 12px; --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.22em; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 6px; z-index: 20; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 6px; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(11,11,11,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; }
.brand img { border-radius: 7px; }
.menu { display: flex; gap: 4px; flex-wrap: wrap; }
.menu a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.menu a:hover { color: var(--text); background: var(--surface2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface2); color: var(--text); font-weight: 700; text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.btn:hover { background: #2c2c2c; }
.btn-primary { background: var(--accent); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-block { display: flex; width: 100%; }
.btn-off { color: var(--muted); cursor: default; background: transparent; }
.btn-off:hover { background: transparent; }

.hero { padding: 72px 0 64px; background: radial-gradient(900px 420px at 85% 0%, rgba(229,9,20,0.20), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
.lead { margin-top: 18px; font-size: 1.15rem; color: #d0d0d0; max-width: 52ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Dibujo esquemático de la aplicación (no es una captura real) */
.screen { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 14px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.screen-bar { display: flex; gap: 8px; margin-bottom: 12px; }
.screen-bar span { height: 8px; width: 46px; border-radius: 4px; background: var(--surface2); }
.screen-bar span:first-child { background: var(--accent); width: 62px; }
.screen-hero { border-radius: 10px; padding: 70px 18px 18px; background: linear-gradient(120deg, #1b1b1b 20%, #3a2a1c 100%); display: grid; gap: 8px; }
.screen-hero i { display: block; height: 16px; width: 55%; border-radius: 4px; background: var(--accent); }
.screen-hero b { display: block; height: 7px; width: 70%; border-radius: 4px; background: rgba(255,255,255,0.35); }
.screen-hero b.short { width: 45%; }
.screen-hero em { display: block; height: 22px; width: 96px; border-radius: 6px; background: #fff; margin-top: 6px; }
.screen-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.screen-row span { aspect-ratio: 16/9; border-radius: 8px; background: var(--surface2); }

.section { padding: 64px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; }
.section-lead { color: var(--muted); margin-top: 8px; max-width: 62ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.card-mine { border-color: var(--accent); }
.card h3 { font-size: 1.35rem; }
.card .btn { margin-top: 14px; }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--surface2); display: grid; place-items: center; font-size: 22px; margin-bottom: 6px; }
.meta { font-size: 13.5px; color: var(--muted); }
.meta strong { color: var(--text); }
.pill { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill-accent { background: var(--accent); }
.store { font-size: 14px; color: var(--muted); margin-top: 6px; }
details { margin-top: 8px; font-size: 14.5px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 8px; color: var(--muted); }

.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 32px; }
.guide { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.guide h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.guide ol { margin: 16px 0 0; padding-left: 22px; display: grid; gap: 10px; color: #d6d6d6; }

.faq { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-top: 12px; font-size: 16px; }
.faq:first-of-type { margin-top: 28px; }

.prose h1 { font-size: 2.2rem; }
.prose h2 { font-size: 1.3rem; margin-top: 34px; }
.prose p, .prose ul { margin-top: 12px; color: #d6d6d6; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; }

.foot { border-top: 1px solid var(--border); padding: 26px 0; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 18px; }

@media (max-width: 820px) {
  .hero { padding: 44px 0; }
  .hero-in { grid-template-columns: 1fr; }
  .screen { display: none; }
  .menu a { padding: 8px; }
}
