/* Design System Main Stylesheet */
/* Import all design system modules */

/* Core Variables */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Press+Start+2P&family=Space+Mono:wght@400;700&family=Courier+New:wght@400;700&display=swap');

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Import Design System Modules */
@import 'colors.css';
@import 'typography.css';
@import 'spacing.css';
@import 'effects.css';

/* Base Body Styles */
body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-mono);
  background-image: 
    radial-gradient(circle at 2px 2px, rgba(0, 255, 255, 0.15) 1px, transparent 0);
  background-size: 20px 20px;
}

/* Light Theme */
body[data-theme="light"] {
  background-color: var(--bg-light);
  color: var(--text-primary);
  background-image: none;
}

/* Terminal Theme */
body[data-theme="terminal"] {
  background-color: var(--bg-darkest);
  color: var(--text-green);
  background-image: none;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Border utilities */
.border { border: var(--border) solid var(--border-cyan); }
.border-green { border: var(--border) solid var(--border-green); }
.border-none { border: none; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Z-index */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* Transition */
.transition { transition: all 0.2s ease; }
.transition-fast { transition: all 0.1s ease; }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

/* User select */
.select-none { user-select: none; }
.select-text { user-select: text; }