/* En Una Nota — shared brand system (Tapados de Laburo x OLGA).
   TDL: electric blue field, signal red-orange lettering with blue extrusion and a cream sticker outline.
   Layered with Y2K chrome + holographic foil, halftone "zine" hands and a neon Vice-sunset accent for
   the GTA VI theme night. One variable font (Archivo, 62–125 width) does all the typography. */
@font-face { font-family: 'Archivo'; src: url('/fonts/Archivo.ttf') format('truetype'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/Archivo-Italic.ttf') format('truetype'); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }

:root {
  --blue: #2b36e3; --blue-2: #2029c4; --blue-3: #141a8a; --blue-4: #0b0f52; --blue-hi: #5e6bff;
  --red: #ff3b1f; --red-2: #e0280f; --red-3: #9e1606;
  --cream: #fde8d5; --cream-2: #f1cfb2; --ink: #0a0b2c; --white: #fff;
  --pink: #ff4fb8; --cyan: #3fe6ff; --lime: #b4ff3a; --sun: #ffb13b; --ok: #3dff8a; --no: #ff3b55;
  --chrome: linear-gradient(180deg, #ffffff 0%, #dfe4ee 20%, #8d96a8 46%, #f7f9fc 52%, #b3bccb 74%, #ffffff 100%);
  --chrome-x: linear-gradient(100deg, #8d96a8 0%, #ffffff 18%, #c9d0dc 34%, #6f7889 50%, #f5f7fb 66%, #aab3c2 82%, #ffffff 100%);
  --holo: conic-gradient(from 210deg, #ff9ad5, #c3a6ff, #8fe3ff, #b6ffda, #fff3a6, #ffb3a3, #ff9ad5);
  --vice: linear-gradient(180deg, #ff4fb8 0%, #ff7a59 45%, #ffb13b 100%);
  --sticker: drop-shadow(3px 0 0 var(--cream)) drop-shadow(-3px 0 0 var(--cream)) drop-shadow(0 3px 0 var(--cream)) drop-shadow(0 -3px 0 var(--cream)) drop-shadow(0 10px 14px rgba(4, 6, 50, .45));
  --spring: cubic-bezier(.2, 1.4, .35, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); font-stretch: 100%; font-weight: 600; color: var(--cream); background: var(--blue);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -webkit-tap-highlight-color: transparent; }
img { -webkit-user-drag: none; user-select: none; }
button { font: inherit; color: inherit; }

/* type */
.disp { font-style: italic; font-weight: 900; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.02em; line-height: .88; }
.cond { font-weight: 900; font-stretch: 62%; text-transform: uppercase; letter-spacing: -.005em; line-height: .86; }
.wide { font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: .06em; }
.chrome-t { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.holo-t { background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* the "EN UNA NOTA" wordmark: red pill + chrome NOTA with TDL-style blue extrusion and cream outline.
   Everything is in em, so setting font-size on .wordmark scales the whole lockup. */
.wordmark { display: inline-grid; justify-items: center; position: relative; isolation: isolate; line-height: .8; font-size: 4.6rem; }
.wordmark .en { font-size: .23em; font-style: italic; font-weight: 900; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  background: var(--red); color: var(--cream); padding: .42em .9em .36em 1em; border-radius: 999px; transform: rotate(-4deg) translateY(.55em); z-index: 2;
  box-shadow: 0 0 0 .16em var(--cream), .2em .26em 0 .16em var(--blue-3); }
.wordmark .nota { position: relative; font-size: 1em; font-style: italic; font-weight: 900; font-stretch: 125%; letter-spacing: -.035em; padding: 0 .08em; white-space: nowrap; }
.wordmark .nota i { font-style: inherit; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; z-index: 1; }
.wordmark .nota::before { content: attr(data-t); position: absolute; inset: 0; padding: inherit; z-index: 0; color: var(--blue-2);
  -webkit-text-stroke: .12em var(--cream); paint-order: stroke fill;
  text-shadow: .015em .015em 0 var(--blue-3), .03em .03em 0 var(--blue-3), .045em .045em 0 var(--blue-3), .06em .06em 0 var(--blue-3), .075em .075em 0 var(--blue-3), .09em .09em 0 var(--blue-4), .1em .13em .16em rgba(4, 6, 50, .55); }

/* OLGA channel bug */
.olga { display: inline-flex; align-items: center; gap: .55em; background: #000; color: #fff; border-radius: 999px; padding: .5em 1em .5em .8em;
  font-weight: 900; font-stretch: 125%; letter-spacing: .08em; font-size: .9rem; box-shadow: 0 0 0 3px var(--cream), 0 10px 20px -8px rgba(0,0,0,.6); }
.olga::before { content: ''; width: .62em; height: .62em; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 59, 31, .7); animation: live 1.6s infinite; }
.olga small { font-weight: 700; font-stretch: 100%; letter-spacing: .12em; opacity: .7; font-size: .62em; }
@keyframes live { 70% { box-shadow: 0 0 0 .5em rgba(255, 59, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 31, 0); } }

/* theme tag (playlist name) */
.theme { display: inline-flex; align-items: center; gap: .45em; padding: .45em 1em .45em .5em; border-radius: 999px; background: var(--vice);
  color: #2a0626; font-weight: 900; font-style: italic; font-stretch: 112%; text-transform: uppercase; letter-spacing: .03em; box-shadow: 0 0 0 3px var(--cream), 0 10px 22px -10px rgba(255, 79, 184, .9); }
.theme img { height: 1.7em; filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); transform: rotate(-20deg); }

.sticker { filter: var(--sticker); }
.pill { display: inline-flex; align-items: center; gap: .5em; padding: .42em .95em; border-radius: 999px; font-weight: 800; font-stretch: 112%; text-transform: uppercase;
  letter-spacing: .06em; font-size: .78rem; background: rgba(5, 8, 60, .45); color: var(--cream); border: 1.5px solid rgba(253, 232, 213, .25); }

.btn { appearance: none; border: 0; cursor: pointer; font-weight: 900; font-style: italic; font-stretch: 112%; text-transform: uppercase; letter-spacing: .01em;
  padding: .95em 1.5em; border-radius: 18px; background: var(--cream); color: var(--ink); box-shadow: 0 6px 0 var(--cream-2), 0 14px 26px -12px rgba(0,0,0,.6);
  transition: transform .22s var(--spring), box-shadow .2s var(--ease), filter .2s; touch-action: manipulation; user-select: none; }
.btn:active, .btn.down { transform: translateY(5px) scale(.98); box-shadow: 0 1px 0 var(--cream-2), 0 6px 14px -8px rgba(0,0,0,.6); }
.btn:disabled { filter: grayscale(.8) brightness(.8); cursor: not-allowed; }
.btn.red { background: var(--red); color: var(--cream); box-shadow: 0 6px 0 var(--red-3), 0 14px 26px -12px rgba(0,0,0,.6); }
.btn.red:active { box-shadow: 0 1px 0 var(--red-3); }
.btn.blue { background: var(--blue-hi); color: #fff; box-shadow: 0 6px 0 var(--blue-3), 0 14px 26px -12px rgba(0,0,0,.6); }
.btn.ok { background: var(--ok); color: #03301a; box-shadow: 0 6px 0 #129a4e, 0 14px 26px -12px rgba(0,0,0,.6); }
.btn.no { background: var(--no); color: #fff; box-shadow: 0 6px 0 #8f0c20, 0 14px 26px -12px rgba(0,0,0,.6); }
.btn.ghost { background: rgba(5, 8, 60, .35); color: var(--cream); box-shadow: inset 0 0 0 2px rgba(253, 232, 213, .35); }
.btn.ghost:active { box-shadow: inset 0 0 0 2px rgba(253, 232, 213, .6); }
.btn.chrome { background: var(--chrome-x); color: var(--ink); box-shadow: 0 6px 0 #5b6475, 0 14px 26px -12px rgba(0,0,0,.6); }

/* backgrounds: TDL light streaks + halftone + grain */
.bg-tdl { background: radial-gradient(120% 90% at 50% 40%, var(--blue-hi) 0%, var(--blue) 38%, var(--blue-3) 100%); }
.rays { position: absolute; inset: -60%; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.075) 0deg 7deg, transparent 7deg 22deg);
  animation: spin 90s linear infinite; mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 62%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 62%); }
.halftone { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(253,232,213,.20) 1.15px, transparent 1.7px); background-size: 11px 11px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%); }
.grain { position: fixed; inset: -50%; pointer-events: none; z-index: 90; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.3 -.1'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(.2) rotate(-12deg); opacity: 0; } 60% { transform: scale(1.12) rotate(3deg); opacity: 1; } 100% { transform: scale(1) rotate(0); } }
@keyframes rise { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wobble { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-14px) rotate(-1deg); } 40% { transform: translateX(12px) rotate(1deg); } 60% { transform: translateX(-8px); } 80% { transform: translateX(5px); } }

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .grain, .rays { animation: none; } }
