/* ═══════════════════════════════════════════════
   BASE.CSS — Reset, Variables, Tipografía, Animaciones
   ReaperTech © 2026
═══════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* ── DESIGN TOKENS ── */
:root {
  --ink:      #0a0a0a;
  --ink2:     #111111;
  --ink3:     #161616;
  --surface:  #f5f3ee;
  --cream:    #faf8f4;
  --border:   #e0ddd6;
  --muted:    #7a7670;
  --dim:      #b0ada6;
  --accent:   #c8f135;
  --accent-h: #d4f750;
  --accent2:  #ff4d1c;
  --white:    #ffffff;
  --glass:    rgba(255,255,255,.04);
  --glass-b:  rgba(255,255,255,.08);

  --ease:       cubic-bezier(.22,.68,0,1.2);
  --ease-in:    cubic-bezier(.55,0,1,.45);
  --ease-out:   cubic-bezier(0,.55,.45,1);
  --ease-sharp: cubic-bezier(.4,0,.2,1);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ── BODY ── */
body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── TIPOGRAFÍA ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Unbounded', sans-serif;
  line-height: 1.1;
  letter-spacing: -.03em;
}

a { color: inherit; text-decoration: none; }

img, video { display: block; max-width: 100%; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(200,241,53,.25); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(200,241,53,.45); }

/* ── SELECCIÓN ── */
::selection {
  background: rgba(200,241,53,.25);
  color: var(--cream);
}

/* ── ANIMACIONES GLOBALES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .55; transform: scale(.75); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,241,53,.4); }
  50%       { box-shadow: 0 0 0 8px rgba(200,241,53,0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollDown {
  0%  { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* ── REVEAL (SCROLL ANIMATION) ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── UTILIDADES ── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── RESPONSIVE BASE ── */
@media (max-width: 900px) {
  body { cursor: auto; }
}
