/* ================================================================
   ONO Golf — Elevation, shadow & motion tokens
   The system is largely FLAT: hairline borders do the structural
   work; shadow is a subtle 1–2px card lift, with a bigger lifted
   shadow reserved for hover / floating elements.
   ================================================================ */

:root {
  /* ---- Shadows ---- */
  --shadow-card:   0 1px 0 rgb(0 0 0 / 0.02), 0 1px 2px rgb(0 0 0 / 0.04);
  --shadow-lifted: 0 2px 0 rgb(0 0 0 / 0.03), 0 12px 32px -8px rgb(0 0 0 / 0.12);
  --shadow-float:  0 20px 40px -12px rgb(0 0 0 / 0.35), 0 2px 0 rgb(0 0 0 / 0.04);
  --shadow-phone:  0 30px 80px -20px rgb(42 48 32 / 0.35), 0 8px 24px -8px rgb(0 0 0 / 0.1);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(.2, .8, .2, 1); /* @kind other */
  --dur-fast: 0.15s; /* @kind other */
  --dur-med:  0.2s; /* @kind other */
  --dur-reveal: 0.52s; /* @kind other */

  /* ---- Signature gradients ---- */
  /* Editorial photo grade (dark → olive floor + gold glow) */
  --grade-hero: linear-gradient(180deg,
      rgb(26 26 24 / 0.55) 0%, rgb(26 26 24 / 0.15) 30%,
      rgb(26 26 24 / 0.25) 55%, rgb(42 48 32 / 0.85) 100%); /* @kind other */
  /* Olive→deep brand fill (buttons, avatars, dark panels) */
  --grade-brand: linear-gradient(135deg, rgb(var(--olive)) 0%, rgb(var(--olive-deep)) 100%); /* @kind other */
  /* Gold→orange progress / money accents */
  --grade-gold: linear-gradient(90deg, rgb(var(--orange)), rgb(var(--gold))); /* @kind other */
  /* Signature dark surface — deep-olive ground with a top-right gold glow and a
     bottom-left orange wash. The membership-panel look; use it for hero /
     feature backgrounds. Text on it is cream/gold. */
  --grade-surface-dark:
      radial-gradient(circle at 88% 8%, rgb(var(--gold) / 0.30), transparent 44%),
      radial-gradient(circle at 2% 104%, rgb(var(--orange) / 0.20), transparent 52%),
      linear-gradient(150deg, rgb(var(--olive-deep)) 0%, #14180e 62%, #0d0f0a 100%); /* @kind other */
  /* Frosted dark glass — app dashboard cards over course imagery. Pair with a
     1px rgba(255,255,255,.10) border + backdrop-filter: blur(20px). */
  --glass-dark: linear-gradient(180deg, rgba(18,24,14,.72) 0%, rgba(11,14,9,.66) 100%); /* @kind other */
  --glass-dark-bd: rgba(255,255,255,0.10); /* @kind color */
}

[data-theme="dark"] {
  --shadow-card:   0 1px 0 rgb(0 0 0 / 0.2), 0 1px 2px rgb(0 0 0 / 0.3);
  --shadow-lifted: 0 2px 0 rgb(0 0 0 / 0.3), 0 12px 32px -8px rgb(0 0 0 / 0.5);
}
