/* =========================================================
   DAILY SCROLL STUDIO · estética de club (solo /studio/)
   Siempre oscura. Reutiliza los componentes de main.css y
   redefine sus tokens dentro de .page-studio.
   ========================================================= */
.page-studio {
  --accent: #ff2878;
  --accent-ink: #ffffff;
  --accent-soft: #2a0d1b;
  --accent-strong: #ff5c9a;
  --studio-cyan: #28dcff;
  --bg: #08060c;
  --surface: #120f18;
  --surface-2: #1b1723;
  --ink: #f5f0fa;
  --ink-2: #c9c1d4;
  --ink-3: #958ca3;
  --line: #2a2433;
  --line-strong: #3a3245;
  --logo-mark: var(--ink);
  --logo-lines: #08060c;
  --panel: #120f18;
  --panel-line: #2a2433;
  --shadow: none;
  background: var(--bg);
  color: var(--ink);
}
.page-studio .site-header { background: rgba(8, 6, 12, .85); border-bottom-color: var(--line); }

/* ---------- Hero ---------- */
.studio-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  text-align: center;
  background: radial-gradient(60% 80% at 50% 0%, rgba(255, 40, 120, .22), transparent 70%);
}
.studio-hero h1 {
  max-width: 14ch;
  margin: 8px auto 16px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.studio-kicker {
  margin: 0;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.studio-intro { max-width: 58ch; margin: 0 auto 28px; color: var(--ink-2); font-size: 1.1rem; }
.studio-cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 32px rgba(255, 40, 120, .45);
}
.studio-cta:hover { background: var(--accent-strong); color: var(--accent-ink); }

/* Ecualizador animado */
.studio-eq {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: flex-end;
  height: 64px;
  margin-bottom: 24px;
}
.studio-eq span {
  width: 8px;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(to top, var(--studio-cyan), var(--accent));
  transform-origin: bottom;
  animation: studio-eq 0.47s ease-in-out infinite alternate;   /* 0.47 s ≈ 128 BPM */
  animation-delay: calc(var(--i) * -0.083s);
  opacity: .9;
}
@keyframes studio-eq {
  from { transform: scaleY(.15); }
  to   { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .studio-eq span { animation: none; transform: scaleY(calc(.3 + var(--i) * .02)); }
}

/* ---------- Cuerpo ---------- */
.studio-body { padding-bottom: 48px; }
.studio-body h2 { font-size: 1.5rem; letter-spacing: -.01em; }
.page-studio .tool-card { background: var(--surface); border-color: var(--line); }
.page-studio .tool-card:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 24px rgba(255, 40, 120, .2); }
.page-studio .tool-card-icon { color: var(--accent); }

.studio-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 40px 0;
}
@media (min-width: 820px) { .studio-split { grid-template-columns: 1fr 1fr; } }
.studio-notes { display: grid; gap: 20px; align-content: start; }
.studio-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.studio-panel h2 { margin-top: 0; }
.studio-panel p { color: var(--ink-2); }
.studio-panel a { color: var(--accent-strong); }

.studio-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.studio-table th, .studio-table td { padding: 10px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.studio-table th { color: var(--ink-3); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.studio-table td:last-child { color: var(--accent); font-weight: 700; text-align: right; }
.studio-table th:last-child { text-align: right; }

/* Enlace del menú principal hacia Studio (todas las páginas) */
.nav-studio { font-weight: 700; }

/* ---------- Emblema: vinilo con brazo de tocadiscos ---------- */
.studio-deck { position: relative; width: 240px; height: 240px; margin: 0 auto 18px; }
.studio-vinyl { width: 240px; height: 240px; filter: drop-shadow(0 0 40px rgba(255, 40, 120, .35)); }
.studio-vinyl-spin { transform-origin: 120px 120px; animation: studio-spin 1.8s linear infinite; }   /* 33⅓ RPM */
@keyframes studio-spin { to { transform: rotate(360deg); } }
.studio-arm { position: absolute; top: -18px; right: -64px; width: 120px; height: 200px; transform-origin: 88px 22px; animation: studio-arm-in 1.2s ease-out both; }
@keyframes studio-arm-in { from { transform: rotate(-24deg); } to { transform: rotate(0deg); } }
.studio-deck + .studio-eq { height: 34px; margin-bottom: 14px; }
.studio-deck + .studio-eq span { width: 6px; }
@media (max-width: 560px) {
  .studio-deck { width: 190px; height: 190px; }
  .studio-vinyl { width: 190px; height: 190px; }
  .studio-arm { width: 96px; height: 160px; right: -50px; top: -14px; transform-origin: 70px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-vinyl-spin, .studio-arm { animation: none; }
}
