@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --bg-primary:    #0d0d1a;
  --bg-secondary:  #1a1a2e;
  --bg-card:       #16213e;
  --bg-card-hover: #1e2a4a;
  --accent-gold:   #ffd700;
  --accent-gold-dim: #b8980a;
  --accent-red:    #e63946;
  --accent-red-dim: #8b1a22;
  --accent-green:  #2dc653;
  --accent-green-dim: #1a7a32;
  --accent-blue:   #4cc9f0;
  --accent-purple: #9b59b6;
  --text-primary:  #e0e0e0;
  --text-muted:    #7a7c9a;
  --text-dim:      #4a4c6a;
  --border:        #2a2a4a;
  --border-bright: #3a3a6a;
  --font-display:  'Press Start 2P', monospace;
  --font-body:     system-ui, -apple-system, sans-serif;
  --radius:        6px;
  --radius-lg:     10px;
  --shadow:        0 2px 12px rgba(0, 0, 0, 0.5);
  --shadow-glow-gold: 0 0 12px rgba(255, 215, 0, 0.3);
  --shadow-glow-red:  0 0 12px rgba(230, 57, 70, 0.4);
  --transition:    0.18s ease;
}

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

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 100dvh;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
}

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

input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent-gold);
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a7c9a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

input[type="number"] {
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

ul, ol {
  list-style: none;
}

.hidden {
  display: none !important;
}

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