/*
 * EXM Games — PesaTu Distribution
 * THESIS: A game distribution page that feels like the game PesaTu itself.
 * Dark, pixel-font, game-terminal aesthetic. Refuses standard SaaS hero+cards+footer.
 * OWN-WORLD: #131a29 deep navy, white text, PixelOperator8, game-immersive on PesaTu pages.
 * STORY: Discover → pick OS → agree to real-money terms → download → install.
 * FIRST VIEWPORT: Logo/tagline, 3 OS download cards, CTAs visible without scroll.
 * FORM: Pixel-game terminal aesthetic, dark, confident, conversion-focused.
 */

@font-face {
  font-family: 'PixelOperator';
  src: url('../assets/fonts/PixelOperator8.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PixelOperator';
  src: url('../assets/fonts/PixelOperator8-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #131a29;
  --color-bg-elevated: #1a2338;
  --color-bg-surface: #1f2a42;
  --color-text: #ffffff;
  --color-text-secondary: #8b9bb5;
  --color-text-muted: #5a6a85;
  --color-accent: #3b82f6;
  --color-accent-glow: rgba(59, 130, 246, 0.25);
  --color-success: #22c55e;
  --color-warning: #eab308;
  --color-danger: #ef4444;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);

  --font-game: 'PixelOperator', monospace;
  --font-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --max-width: 960px;
  --max-width-narrow: 680px;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-game);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #60a5fa;
}

button {
  font-family: var(--font-game);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font-family: var(--font-ui);
  font-size: 0.875rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-game);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

ul, ol {
  list-style: none;
}

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

.container-narrow {
  max-width: var(--max-width-narrow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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