/* ============================================================
   variables.css — MXR Private Design System
   ============================================================ */

:root {
  /* Backgrounds */
  --bg-void:      #000000;
  --bg-base:      #050508;
  --bg-elevated:  #0c0c10;
  --bg-card:      #090910;
  --bg-card-hover:#0f0f16;

  /* Borders */
  --border-faint:    rgba(255,255,255,0.045);
  --border-soft:     rgba(255,255,255,0.09);
  --border-medium:   rgba(255,255,255,0.16);
  --border-strong:   rgba(255,255,255,0.26);

  /* Text */
  --text-primary:   #f2f2f7;
  --text-secondary: #8e8e99;
  --text-muted:     #4a4a55;
  --text-accent:    #ffffff;

  /* Accent palette — Sleek Silver / Titanium / Platinum (Siyah ve Gri Tema) */
  --accent-r:      235;
  --accent-g:      235;
  --accent-b:      240;
  --accent:        #ffffff;
  --accent-silver: #a1a1aa;
  --accent-dark:   #27272a;
  --accent-soft:   rgba(255,255,255,0.08);
  --accent-border: rgba(255,255,255,0.22);

  /* Green (status) */
  --green:       #22c55e;
  --green-soft:  rgba(34,197,94,0.18);
  --green-border:rgba(34,197,94,0.3);

  /* Radius */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   26px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast:   150ms cubic-bezier(.4,0,.2,1);
  --t-normal: 280ms cubic-bezier(.16,1,.3,1);
  --t-slow:   500ms cubic-bezier(.16,1,.3,1);

  /* Fonts */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Z-index layers */
  --z-bg:     0;
  --z-base:   1;
  --z-card:   5;
  --z-nav:    50;
  --z-loader: 9000;
  --z-modal:  8000;
}

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

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

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

img, svg { display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

/* ── CSS Security Layer ─────────────────────────────────────── */
/* Global text-selection block */
* {
  -webkit-user-select: none !important;
  -moz-user-select:    none !important;
  -ms-user-select:     none !important;
  user-select:         none !important;
  -webkit-touch-callout: none;   /* iOS long-press menu */
}

/* Allow selection only in input fields */
input, textarea {
  -webkit-user-select: text !important;
  -moz-user-select:    text !important;
  user-select:         text !important;
}

/* Disable image drag / save-as */
img {
  -webkit-user-drag: none;
  -khtml-user-drag:  none;
  -moz-user-drag:    none;
  -o-user-drag:      none;
  user-drag:         none;
  pointer-events:    none;
}

/* Invisible overlay for all canvas elements — prevents pixel-grab */
canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: auto;
}

/* Block highlight colour reveal */
::selection { background: transparent; color: inherit; }

