:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Modern Game Palette */
  --bg-body: #e8f4ff;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.96);
  --border-color: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-subtle: #64748b;
  
  --accent-blue: #3b82f6;
  --accent-red: #ef4444;
  --accent-gold: #f59e0b;
  --accent-slate: #1e293b;

  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
  --bg-body: #0a0f1c;
  --bg-surface: #1e293b;
  --bg-surface-elevated: #334155;
  --bg-card: rgba(30, 41, 59, 0.96);
  --border-color: #334155;
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-subtle: #94a3b8;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Radial Blob Effects (Matches Screenshot) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(circle at 8% 8%, rgba(186, 230, 253, 0.75) 0%, transparent 40%),
    radial-gradient(circle at 92% 85%, rgba(191, 219, 254, 0.75) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

[data-theme="dark"] body::before {
  background-image: 
    radial-gradient(circle at 8% 8%, rgba(30, 58, 138, 0.45) 0%, transparent 40%),
    radial-gradient(circle at 92% 85%, rgba(30, 64, 175, 0.35) 0%, transparent 45%);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-to-content:focus {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 8px 16px;
  background: #3b82f6;
  color: #ffffff;
  font-weight: 800;
  z-index: 999;
}