:root {
  --bg: #0a0a0a;
  --bg2: #141414;
  --bg3: #1e1e1e;
  --accent: #FFD700;
  --accent2: #FFA500;
  --text: #ffffff;
  --text2: #888888;
  --danger: #ff4444;
  --success: #00cc66;
  --font-display: 'Courier New', 'Consolas', monospace;
  --font-body: 'Segoe UI', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(255,215,0,0.1);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.container {
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.view {
  width: 100%;
  min-height: 100vh;
  padding-bottom: 80px; /* Espacio para el nav fijo */
}

/* Navegación Inferior */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background-color: var(--bg2);
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
}

.nav-btn {
  background: none;
  border: none;
  color: var(--text2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-btn .icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.nav-btn .label {
  font-size: 11px;
  font-weight: 500;
}

.nav-btn.active {
  color: var(--accent);
}

/* HUD Typography helper */
.hud-font {
  font-family: var(--font-display);
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

/* Auth View Styles */
.auth-header {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 2rem;
}
.auth-header p {
  color: var(--text2);
  letter-spacing: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.auth-box {
  background: var(--bg2);
  border: 1px solid var(--bg3);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.auth-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--bg3);
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--text2);
  padding: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.auth-tab.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Forms & Inputs */
input {
  background: var(--bg3);
  border: 1px solid #333;
  color: var(--text);
  padding: 12px 15px;
  border-radius: 8px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s;
}

input:focus {
  border-color: var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: bold;
  font-family: var(--font-display);
  cursor: pointer;
  margin-top: 10px;
  transition: transform 0.1s;
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Utilities */
.hidden { display: none !important; }
