/* ============================================================
   ARCANE FRONTIER — Global CSS
   Variablen, Reset, Basis-Styles
   ============================================================ */

/* ─── FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600&display=swap');

/* ─── VARIABLEN ─── */
:root {
  /* Farben */
  --bg0:    #05070f;
  --bg1:    #0a0d1a;
  --bg2:    #0f1323;
  --bg3:    #161b2e;
  --cyan:   #00d4ff;
  --purple: #9b5de5;
  --gold:   #f4a600;
  --red:    #ff4455;
  --green:  #22c55e;
  --text:   #e6edf3;
  --dim:    #8b949e;
  --border: rgba(255,255,255,0.06);

  /* Schriften */
  --font-head: 'Orbitron', monospace;
  --font-body: 'Rajdhani', sans-serif;

  /* Abstände */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Übergänge */
  --transition: all 0.2s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-outline {
  background: transparent;
  border-color: rgba(0,212,255,0.4);
  color: var(--cyan);
}
.btn-outline:hover {
  background: rgba(0,212,255,0.08);
  border-color: var(--cyan);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(155,93,229,0.2));
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,212,255,0.15);
}
.btn-primary:hover {
  background: linear-gradient(135deg, rgba(0,212,255,0.3), rgba(155,93,229,0.3));
  box-shadow: 0 0 30px rgba(0,212,255,0.3);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, rgba(244,166,0,0.2), rgba(244,166,0,0.05));
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(244,166,0,0.15);
}
.btn-gold:hover {
  box-shadow: 0 0 30px rgba(244,166,0,0.3);
  transform: translateY(-1px);
}

.btn-red {
  background: rgba(255,68,85,0.1);
  border-color: rgba(255,68,85,0.4);
  color: var(--red);
}
.btn-red:hover {
  background: rgba(255,68,85,0.2);
  border-color: var(--red);
}

.btn-sm { font-size: 10px; padding: 7px 16px; }
.btn-lg { font-size: 12px; padding: 14px 36px; }
.btn-full { width: 100%; }

/* ─── ALERTS ─── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  margin-bottom: 16px;
}
.alert-error   { background: rgba(255,68,85,0.1);  border: 1px solid rgba(255,68,85,0.3);  color: #ff8090; }
.alert-success { background: rgba(34,197,94,0.1);  border: 1px solid rgba(34,197,94,0.3);  color: #4ade80; }
.alert-info    { background: rgba(0,212,255,0.1);  border: 1px solid rgba(0,212,255,0.3);  color: var(--cyan); }
.alert-warning { background: rgba(244,166,0,0.1);  border: 1px solid rgba(244,166,0,0.3);  color: var(--gold); }

/* ─── FORMS ─── */
.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--dim);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(0,212,255,0.5);
  background: rgba(0,212,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}

.form-select { cursor: pointer; }
.form-select option { background: var(--bg1); }

/* ─── UTILITIES ─── */
.text-cyan   { color: var(--cyan); }
.text-gold   { color: var(--gold); }
.text-purple { color: var(--purple); }
.text-red    { color: var(--red); }
.text-green  { color: var(--green); }
.text-dim    { color: var(--dim); }

.font-head { font-family: var(--font-head); }

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
