/* ============================================================
   Ana Pao Marin · Sitio Oficial · base.css
   Reset, variables CSS, scrollbar, cursor glow
   ============================================================ */

/* ════════════════════════════════════════════════
   ANA PAO MARIN · HM WEB STUDIO
   Paleta unificada + 4 "mundos" diferenciados
   ════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

/* Skip-link · accesibilidad teclado */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 16px;
  background: #f472b6;
  color: #0a0a0f;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 8px 24px -6px rgba(244,114,182,.6);
  transform: translateY(-200%);
  transition: transform .25s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

body {
  font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: #0a0a0f;
  color: #e9e6ef;
  line-height: 1.6;
  overflow-x: hidden;
}

:root {
  --accent:    #f472b6;
  --accent-hi: #fb7fbf;
  --accent2:   #be185d;
  --gold:      #f59e0b;
  --gold-soft: #fde68a;
  --green:     #10b981;
  --cyan:      #22d3ee;
  --plum:      #6d28d9;
  --crimson:   #9f1239;
  --bg:        #0a0a0f;
  --surface:   #13101a;
  --surface2:  #1c1024;
  --border:    rgba(244,114,182,.18);
  --muted:     #9aa0b4;
  --display:   'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --serif-it:  'Cormorant Garamond', 'Bricolage Grotesque', serif;
  --sans:      'Hanken Grotesk', system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

::selection { background: var(--accent); color: #0a0a0f; }

/* ── Cursor glow follower ── */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,114,182,.18) 0%, rgba(244,114,182,.05) 35%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: opacity .6s ease, background .8s ease;
  opacity: 0;
  filter: blur(20px);
}
.cursor-glow.on { opacity: 1; }
body[data-world="modeling"] .cursor-glow { background: radial-gradient(circle, rgba(245,158,11,.2) 0%, rgba(245,158,11,.05) 35%, transparent 70%); }

/* ════════════════════════════════════════════════
   REDUCED MOTION · fallback global
   ════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .cursor-glow { display: none !important; }
}
body[data-world="music"]    .cursor-glow { background: radial-gradient(circle, rgba(244,114,182,.22) 0%, rgba(109,40,217,.08) 35%, transparent 70%); }
body[data-world="acting"]   .cursor-glow { background: radial-gradient(circle, rgba(245,158,11,.22) 0%, rgba(159,18,57,.08) 35%, transparent 70%); }
body[data-world="social"]   .cursor-glow { background: radial-gradient(circle, rgba(34,211,238,.2) 0%, rgba(244,114,182,.08) 35%, transparent 70%); }
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* ── Scrollbar elegante ── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), var(--accent2)); border-radius: 10px; }
