/* ============================================
   DESIGN SYSTEM — VARIABLES & RESET
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,600&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300&display=swap');

:root {
  /* Colors */
  --bg-deep:      #0f0000;
  --bg-dark:      #1a0000;
  --bg-mid:       #2b0000;
  --bg-rich:      #3d0000;
  --red-primary:  #7a0000;
  --red-bright:   #a30000;
  --red-accent:   #c0392b;
  --red-glow:     #ff2020;
  --cream:        #f5e6d3;
  --cream-muted:  #e8d5be;
  --cream-dark:   #c9b49a;
  --gold:         #d4a96a;
  --gold-light:   #f0c878;

  /* Glass */
  --glass-bg:     rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --glass-blur:   blur(20px);

  /* Shadows */
  --shadow-glow:  0 0 60px rgba(160,0,0,0.4);
  --shadow-card:  0 8px 40px rgba(0,0,0,0.6);
  --shadow-inner: inset 0 2px 20px rgba(0,0,0,0.5);

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-alt:     'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --section-pad:  120px 2%;
  --radius-sm:    12px;
  --radius-md:    20px;
  --radius-lg:    32px;

  /* Transitions */
  --transition:   all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- LIGHT MODE THEME --- */
[data-theme="light"] {
  --bg-deep:      #fdfdfd;
  --bg-dark:      #f8f8f8;
  --bg-mid:       #f0f0f0;
  --bg-rich:      #e5e5e5;
  --red-primary:  #9e0000;
  --red-bright:   #cc0000;
  --red-accent:   #eb4d4b;
  --red-glow:     #ff4d4d;
  --cream:        #121212;
  --cream-muted:  #2f3640;
  --cream-dark:   #7f8c8d;
  --gold:         #8e44ad;
  --gold-light:   #9b59b6;

  /* Glass */
  --glass-bg:     rgba(0,0,0,0.04);
  --glass-border: rgba(0,0,0,0.1);
  --glass-blur:   blur(20px);

  /* Shadows */
  --shadow-glow:  0 0 40px rgba(0,0,0,0.1);
  --shadow-card:  0 8px 30px rgba(0,0,0,0.08);
  --shadow-inner: inset 0 2px 10px rgba(0,0,0,0.05);
}

/* --- CYBER MODE THEME (Dark Purple & Neon Blue) --- */
[data-theme="cyber"] {
  --bg-deep:      #050012;
  --bg-dark:      #0b001f;
  --bg-mid:       #12012d;
  --bg-rich:      #1c0044;
  --red-primary:  #6c189b;
  --red-bright:   #8e44ad;
  --red-accent:   #00d2ff;
  --red-glow:     #00ffff;
  --cream:        #e0e0ff;
  --cream-muted:  #a0a0ff;
  --cream-dark:   #610094;
  --gold:         #00d2ff;
  --gold-light:   #3498db;

  /* Glass */
  --glass-bg:     rgba(108, 24, 155, 0.08);
  --glass-border: rgba(0, 210, 255, 0.15);
  --glass-blur:   blur(20px);

  /* Shadows */
  --shadow-glow:  0 0 60px rgba(0, 210, 255, 0.3);
  --shadow-card:  0 8px 40px rgba(0, 0, 0, 0.8);
  --shadow-inner: inset 0 2px 20px rgba(0, 0, 0, 0.6);
}

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

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

body {
  background: var(--bg-deep);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

::selection {
  background: var(--red-accent);
  color: var(--cream);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: var(--red-primary);
  border-radius: 3px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
