/* =================================================================
   BASE — design tokens, reset, typography, utilities
   Neha Joshi · Neon Night / Party Pulse
   ================================================================= */

:root {
  /* ---- Color ---- */
  --bg: #0B0B10;
  --bg-2: #14121C;
  --bg-3: #1C1930;

  --magenta: #FF2D95;
  --cyan: #16E0FF;
  --lime: #C6FF3A;

  /* text hierarchy */
  --tx-1: #F5F2FF;
  --tx-2: #C9C4DA;
  --tx-3: #8E89A3;
  --tx-4: #5A566B;

  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);

  /* ---- Type ---- */
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;

  /* ---- Easing ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ---- Duration ---- */
  --d-micro: 150ms;
  --d-sm: 250ms;
  --d-md: 400ms;
  --d-lg: 600ms;

  /* ---- Layout ---- */
  --pad: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1320px;
}

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

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

body {
  background: var(--bg);
  color: var(--tx-2);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.55vw + 0.9rem, 1.15rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

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

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

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

ul { list-style: none; }

::selection { background: var(--magenta); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Typography helpers ---- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tx-3);
}

.hl { position: relative; white-space: nowrap; }
.hl--magenta { color: var(--magenta); }
.hl--cyan { color: var(--cyan); }
.hl--lime { color: var(--lime); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.95em 1.6em;
  border-radius: 100px;
  position: relative;
  transition: transform var(--d-sm) var(--ease-out),
              box-shadow var(--d-sm) var(--ease-out),
              background var(--d-sm) var(--ease-out);
  will-change: transform;
}

.btn--primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 45, 149, 0.5),
              0 10px 40px -8px rgba(255, 45, 149, 0.6);
}
.btn--primary:hover {
  background: #ff47a4;
  box-shadow: 0 0 0 1px rgba(255, 45, 149, 0.8),
              0 14px 50px -6px rgba(255, 45, 149, 0.85);
}

.btn--ghost {
  color: var(--tx-1);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 30px -6px rgba(22, 224, 255, 0.5);
}

.btn--xl { font-size: 1.15rem; padding: 1.15em 2.2em; }

/* ---- Utility ---- */
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pulse 1.4s var(--ease-inout) infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .pulse-dot { animation: none; }
}
