/* KMtube Design Tokens - Crisp Modern White Theme (VidMate Reference) */
:root {
  /* Brand Colors */
  --km-red: #E62117;
  --km-red-hover: #CC1810;
  --km-red-subtle: rgba(230, 33, 23, 0.08);

  /* Clean White Theme Base */
  --km-bg-white: #FFFFFF;
  --km-bg-surface: #F9FAFB;
  --km-bg-card: #F3F4F6;
  --km-bg-card-hover: #E5E7EB;
  --km-border: #E5E7EB;
  --km-border-subtle: #F3F4F6;

  /* Typography Colors */
  --km-text-primary: #111827;
  --km-text-secondary: #4B5563;
  --km-text-muted: #6B7280;

  /* Functional Accents */
  --km-verified-green: #059669;
  --km-verified-green-bg: rgba(5, 150, 105, 0.08);
  --km-warning-amber: #D97706;

  /* Spacing Scale */
  --km-space-xs: 4px;
  --km-space-sm: 8px;
  --km-space-md: 16px;
  --km-space-lg: 24px;
  --km-space-xl: 32px;
  --km-space-2xl: 48px;
  --km-space-3xl: 64px;

  /* Corner Radii - Sleek 8px */
  --km-radius-xs: 4px;
  --km-radius-sm: 6px;
  --km-radius-btn: 8px;
  --km-radius-md: 10px;
  --km-radius-lg: 14px;
  --km-radius-xl: 18px;

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

  /* Subtle Crisp Shadows */
  --km-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --km-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --km-transition-fast: 0.15s ease;
}

/* Universal Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: var(--km-font-sans);
  background-color: var(--km-bg-white);
  color: var(--km-text-primary);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.55;
  overflow-x: hidden;
  background-color: var(--km-bg-white);
  color: var(--km-text-primary);
  width: 100%;
}

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

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