/* ════════════════════════════════════════════════════════
   VARIABLES.CSS — Design Tokens & Base Reset
   Chetan Rathod Portfolio
════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

:root {
  /* Brand Colors */
  --red:           #C8102E;
  --red-light:     #e8143a;
  --red-dark:      #8B0A1F;
  --red-glow:      rgba(200, 16, 46, 0.18);
  --red-subtle:    rgba(200, 16, 46, 0.08);
  --navy:          #0D1F4C;
  --navy-light:    #162a5e;

  /* Backgrounds */
  --bg-base:       #060610;
  --bg-off:        #0c0c18;
  --bg-surface:    #111120;
  --bg-surface2:   #181828;
  --bg-glass:      rgba(17, 17, 32, 0.7);

  /* Borders */
  --border:        rgba(255, 255, 255, 0.06);
  --border-hover:  rgba(200, 16, 46, 0.25);
  --border-active: rgba(200, 16, 46, 0.5);

  /* Text */
  --text:          #eaeaf5;
  --text-dim:      #8888aa;
  --text-dimmer:   #50506a;
  --white:         #ffffff;

  /* Typography */
  --font-head:  'Syne', sans-serif;
  --font-body:  'DM Sans', sans-serif;
  --font-mono:  'DM Mono', monospace;

  /* Spacing */
  --pad-section: 130px 64px;
  --pad-section-sm: 80px 24px;
  --max-w: 1220px;

  /* Transitions */
  --ease-out:   cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in:    cubic-bezier(0.55, 0, 1, 0.45);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-card:  0 4px 24px rgba(0,0,0,0.4);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px var(--red-glow);
  --shadow-red:   0 12px 40px rgba(200,16,46,0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 92px;
}

body {
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font: inherit; }

/* Utility */
.max-w { max-width: var(--max-w); width: 100%; margin: 0 auto; }
.text-red   { color: var(--red); }
.text-dim   { color: var(--text-dim); }
.font-mono  { font-family: var(--font-mono); }
.font-head  { font-family: var(--font-head); }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* Selection */
::selection { background: var(--red); color: white; }
