:root {
  --bg: #05060f;
  --bg2: #0b0f24;
  --card: rgba(22, 28, 58, 0.72);
  --card2: rgba(35, 43, 88, 0.65);
  --accent: #4f7cff;
  --gold: #ffbe3c;
  --green: #2ee56f;
  --red: #ff4d5e;
  --text: #eef1ff;
  --muted: #7d86ad;
  --radius: 18px;
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  overflow-x: hidden;
}

/* animated spotlights + vignette, fixed behind everything */
body::before {
  content: "";
  position: fixed; inset: -40%;
  background:
    conic-gradient(from 0deg at 30% 0%, transparent 0deg, rgba(79,124,255,.09) 20deg, transparent 45deg),
    conic-gradient(from 180deg at 70% 0%, transparent 0deg, rgba(255,190,60,.07) 20deg, transparent 45deg),
    radial-gradient(60% 50% at 50% 0%, rgba(56,70,180,.35), transparent 70%),
    var(--bg);
  animation: spotSway 26s ease-in-out infinite alternate;
  z-index: -2;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0,0,0,.55) 100%);
  z-index: -1;
  pointer-events: none;
}
@keyframes spotSway {
  from { transform: rotate(-4deg) scale(1.05); }
  to { transform: rotate(4deg) scale(1.12); }
}

button {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  padding: 0.55em 1.2em;
  background: var(--card2);
  color: var(--text);
  backdrop-filter: blur(8px);
  transition: transform .12s, box-shadow .12s, background .15s;
}
button:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(79,124,255,.25); }
button:active { transform: translateY(0) scale(.98); }
button.primary {
  background: linear-gradient(135deg, #4f7cff, #7a4fff);
  box-shadow: 0 4px 22px rgba(79,124,255,.4);
}
button.primary:hover { box-shadow: 0 6px 28px rgba(79,124,255,.6); }
button.danger { background: linear-gradient(135deg, #571f26, #3a1418); }
button.danger:hover { box-shadow: 0 4px 18px rgba(255,77,94,.35); }
button:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }

input, select {
  font: inherit;
  background: rgba(11,15,36,.8);
  border: 1px solid #2c3568;
  border-radius: 10px;
  color: var(--text);
  padding: 0.5em 0.75em;
}
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,124,255,.2); }

h1, h2, h3 { font-weight: 700; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* ============ BOARD ============ */
.board {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 2vh 3vw;
}
.board-header { text-align: center; margin-bottom: 1.5vh; }
.round-label {
  display: inline-block;
  font-size: 2.6vh;
  font-weight: 800;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .8vh 3vw;
  border: 1px solid rgba(255,190,60,.45);
  border-radius: 999px;
  background: rgba(255,190,60,.06);
  text-shadow: 0 0 18px rgba(255,190,60,.55);
  box-shadow: 0 0 30px rgba(255,190,60,.12), inset 0 0 18px rgba(255,190,60,.06);
}

.board-players {
  display: flex;
  flex: 0 0 auto;
  gap: 1.4vw;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.2vh;
  transition: flex-grow .55s ease, margin-bottom .55s ease;
}
/* idle mode: no question -> players take the whole stage */
.board.idle-mode .board-players { flex-grow: 1; margin-bottom: 0; }
.board.idle-mode .board-idle { flex-grow: 0; font-size: 3vh; padding-bottom: 2vh; }
.player-card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(120,135,200,.22);
  border-top: 4px solid var(--slot, var(--accent));
  border-radius: var(--radius);
  padding: 1.6vh 1vw 1.8vh;
  min-width: 15vw;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px var(--slot-glow, transparent),
              inset 0 0 18px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .25s, opacity .2s,
              padding .5s ease, min-width .5s ease;
}
.player-card.clickable { cursor: pointer; }
.player-card.clickable:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(0,0,0,.5); }
.player-card .pname { font-size: 3vh; font-weight: 600; letter-spacing: .02em; transition: font-size .5s ease; }
.player-card .pscore {
  font-size: 6vh;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  text-shadow: 0 0 22px rgba(255,190,60,.35);
  transition: font-size .5s ease;
}
/* idle mode: bigger cards */
.board.idle-mode .player-card { padding: 4.5vh 2vw 4.8vh; min-width: 18vw; }
.board.idle-mode .player-card .pname { font-size: 5.5vh; }
.board.idle-mode .player-card .pscore { font-size: 13vh; }
.player-card .pscore.pop { animation: scorePop .5s ease; }
@keyframes scorePop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.player-card.buzzed {
  border-color: var(--slot);
  box-shadow: 0 0 50px var(--slot), 0 0 90px var(--slot-glow),
              inset 0 0 30px var(--slot-glow);
  animation: buzzPulse .7s ease-in-out infinite alternate;
}
.player-card.buzzed::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: calc(var(--radius) + 6px);
  border: 2px solid var(--slot);
  animation: ringGrow 1s ease-out infinite;
  pointer-events: none;
}
@keyframes buzzPulse {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}
@keyframes ringGrow {
  from { opacity: .9; transform: scale(.98); }
  to { opacity: 0; transform: scale(1.12); }
}
.player-card.blocked {
  opacity: .3;
  border-top-color: var(--red);
  background: repeating-linear-gradient(45deg, rgba(90,20,28,.5) 0 10px, var(--card) 10px 20px);
}

.board-question {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--card);
  border: 1px solid rgba(120,135,200,.2);
  border-radius: var(--radius);
  padding: 3vh 3vw;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.board-question:not(.hidden) {
  animation: qBoxIn .55s cubic-bezier(.2,.8,.25,1) both;
}
@keyframes qBoxIn {
  from { opacity: 0; transform: translateY(4vh) scale(.97); }
  to { opacity: 1; transform: none; }
}
.qmeta {
  text-align: center;
  color: var(--muted);
  font-size: 1.9vh;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.5vh;
  animation: fadeUp .5s ease both;
}
.qtext {
  font-size: 4.4vh;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3.5vh;
  line-height: 1.3;
  animation: fadeUp .55s ease both;
}
.stars { color: var(--gold); text-shadow: 0 0 12px rgba(255,190,60,.6); }

.answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vh 2vw;
}
.answer {
  background: var(--card2);
  border: 1px solid rgba(120,135,200,.25);
  border-radius: var(--radius);
  padding: 2.4vh 1.4vw;
  font-size: 3vh;
  display: flex;
  align-items: center;
  gap: .9em;
  animation: slideIn .45s cubic-bezier(.2,.9,.3,1.2) both;
}
.answer:nth-child(1) { animation-delay: .15s; }
.answer:nth-child(2) { animation-delay: .25s; }
.answer:nth-child(3) { animation-delay: .35s; }
.answer:nth-child(4) { animation-delay: .45s; }
.answers.no-anim .answer { animation: none; }
.answer .letter {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 5.4vh; height: 5.4vh;
  border-radius: 50%;
  font-weight: 800;
  font-size: 3vh;
  color: #05060f;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(255,190,60,.4);
}
.answer.correct {
  border-color: var(--green);
  background: rgba(20,80,45,.55);
  box-shadow: 0 0 35px rgba(46,229,111,.35);
  animation: correctFlash .6s ease;
}
.answer.correct .letter { background: var(--green); box-shadow: 0 0 20px rgba(46,229,111,.7); }
.answer.wrong {
  border-color: var(--red);
  background: rgba(90,22,30,.5);
  animation: shake .45s ease;
}
.answer.wrong .letter { background: var(--red); box-shadow: 0 0 20px rgba(255,77,94,.6); }
@keyframes correctFlash {
  0% { box-shadow: 0 0 0 rgba(46,229,111,0); }
  50% { box-shadow: 0 0 60px rgba(46,229,111,.8); }
  100% { box-shadow: 0 0 35px rgba(46,229,111,.35); }
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-12px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-7px); }
  80% { transform: translateX(5px); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.board-idle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6vh;
  transition: flex-grow .55s ease, font-size .45s ease;
  font-weight: 800;
  letter-spacing: .08em;
  background: linear-gradient(90deg, var(--muted), #fff, var(--muted));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* Star-Wars-Intro (vor Quizstart) */
.crawl {
  position: absolute; inset: 0; z-index: 20; overflow: hidden;
  background: var(--bg);
  perspective: 42vh;
}
.crawl-plane {
  position: absolute; inset: 0 12%;
  transform-origin: 50% 100%;
  transform: rotateX(58deg);
}
.crawl-text {
  position: absolute; top: 105%; left: 0; right: 0;
  animation: crawlMove 80s linear infinite;
  color: var(--gold); text-align: justify;
  font-size: 4.6vh; font-weight: 700; line-height: 1.55;
  text-shadow: 0 0 2vh rgba(255,215,0,.35);
}
.crawl-head {
  text-align: center; font-size: 7vh; letter-spacing: .12em;
  margin-bottom: 4vh;
}
.crawl-ep {
  text-align: center; font-size: 4.2vh; letter-spacing: .18em;
  margin-bottom: 8vh; color: #ffe680;
}
.crawl-text p { margin: 0 0 6vh; }
@keyframes crawlMove { to { transform: translateY(-115%); } }

.sound-toggle {
  position: fixed;
  right: 16px; bottom: 14px;
  font-size: .85em;
  opacity: .6;
}

/* ============ ADMIN / SETTINGS ============ */
.admin-wrap { max-width: 1400px; margin: 0 auto; padding: 20px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.settings-wrap { max-width: 1100px; margin: 0 auto; padding: 20px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.panel {
  background: var(--card);
  border: 1px solid rgba(120,135,200,.18);
  border-radius: var(--radius);
  padding: 18px 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 34px rgba(0,0,0,.35);
}
.panel h2 {
  font-size: .95em;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.panel.full { grid-column: 1 / -1; }

.admin-players td, .admin-players th { padding: 7px 10px; text-align: left; }
.admin-players th { color: var(--muted); font-size: .8em; text-transform: uppercase; letter-spacing: .1em; }
.admin-players tr.buzzed td { color: var(--gold); font-weight: 700; }
.admin-players tr.blocked td { color: var(--red); opacity: .6; }
.admin-players tr.buzzsim { cursor: pointer; }
.admin-players tr.buzzsim:hover td { background: rgba(79,124,255,.12); }

.answer-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.answer-btns button { text-align: left; font-size: 1.02em; padding: 14px; overflow-wrap: break-word; min-width: 0; }
.answer-btns button .letter { color: var(--gold); font-weight: 800; margin-right: 8px; }
.answer-btns button.reveal-correct { border: 2px solid var(--green); box-shadow: 0 0 18px rgba(46,229,111,.3); }
.answer-btns button.reveal-wrong { border: 2px solid var(--red); }

.btnrow { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.qtext-admin { font-size: 1.25em; line-height: 1.35; margin: 8px 0; }
.next-q { color: var(--muted); font-size: .95em; margin-top: 10px; line-height: 1.45; }

.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: .78em;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--card2);
  border: 1px solid rgba(120,135,200,.3);
}
.badge.active { background: linear-gradient(135deg, #4f7cff, #7a4fff); border-color: transparent; }
.badge.finished { background: rgba(20,80,45,.6); border-color: rgba(46,229,111,.4); }

.statusline { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* question-limit progress bar (moderator) */
#qProgress { margin: 8px 0; }
.qp-bar {
  height: 10px; border-radius: 999px;
  background: rgba(11,15,36,.8);
  border: 1px solid rgba(120,135,200,.25);
  overflow: hidden;
}
.qp-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #4f7cff, #7a4fff);
  transition: width .4s ease;
}
.qp-fill.full { background: linear-gradient(90deg, #ffbe3c, #ff8c1a); }
.qp-label { font-size: .82em; margin-top: 4px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.dot.ok { background: var(--green); box-shadow: 0 0 10px var(--green); }
.dot.off { background: var(--red); box-shadow: 0 0 10px var(--red); }

label.field { display: block; margin: 10px 0 4px; color: var(--muted); font-size: .9em; }
.skill-cb { display: inline-flex; gap: 6px; align-items: center; margin-right: 14px; }
.player-row { display: flex; gap: 10px; align-items: center; margin: 6px 0; flex-wrap: wrap; }
.player-row input[type=text] { flex: 1; min-width: 140px; }
.player-row.bench { opacity: .55; }
.player-row.inactive { opacity: .4; }
.seat-dot {
  width: 16px; height: 16px; border-radius: 50%;
  display: inline-block; flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.35);
}
.seat-dot.sm { width: 10px; height: 10px; vertical-align: 0; }

/* jokers */
.jchip {
  display: inline-block; min-width: 1.7em; text-align: center;
  border: 1px solid rgba(140,255,160,.6); color: #9ff5b0;
  border-radius: 5px; padding: 2px 5px; margin-right: 4px;
  font-size: .92em; font-weight: 700;
  box-shadow: 0 0 8px rgba(46,229,111,.2);
}
.jchip.audience {
  border-color: var(--green); color: var(--green);
  box-shadow: 0 0 10px rgba(46,229,111,.45);
}
.jchip.used { opacity: .3; filter: grayscale(1); border-color: rgba(120,135,200,.4); box-shadow: none; color: var(--muted); }
.pjokers { margin-top: 6px; }
.joker-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.joker-bar:empty { margin: 0; }
.joker-btn {
  border: 1px solid rgba(255,210,60,.6); color: var(--gold);
  background: rgba(255,210,60,.08); font-weight: 700;
}
.joker-btn:hover { background: rgba(255,210,60,.2); }
.badge.joker-active { border: 1px solid rgba(255,210,60,.6); color: var(--gold); background: rgba(255,210,60,.12); }
.audience-hint { color: var(--gold); font-size: .9em; }
.answer.fifty-hidden { opacity: .25; }
.answer-btns button.fifty-hidden { opacity: .3; border-style: dashed; }
.answer.audience-pick, .answer-btns button.audience-pick {
  border-color: rgba(255,210,60,.7); box-shadow: 0 0 16px rgba(255,210,60,.25);
}

/* audience vote result: translucent bar + percent on the board */
.answer { position: relative; overflow: hidden; }
.answer .abar {
  position: absolute; inset: 0; width: 0;
  background: rgba(79,124,255,.28);
  border-right: 2px solid rgba(79,124,255,.7);
  transition: width .8s ease;
}
.answer > .letter, .answer > span:not(.abar), .answer .apct {
  position: relative;
}
.answer .apct {
  margin-left: auto; font-weight: 800;
  color: #bcd0ff; font-size: .85em;
}
.answer.locked {
  border-color: var(--gold);
  box-shadow: 0 0 22px rgba(255,210,60,.5);
  animation: lockpulse 1s ease-in-out infinite alternate;
}
.answer-btns button.locked {
  border-color: var(--gold) !important;
  box-shadow: 0 0 18px rgba(255,210,60,.45);
}
@keyframes lockpulse {
  from { box-shadow: 0 0 10px rgba(255,210,60,.3); }
  to { box-shadow: 0 0 26px rgba(255,210,60,.65); }
}
.apct-admin { color: var(--accent2); font-weight: 700; font-size: .85em; }

/* /audience page */
.audience-page { background: var(--bg); }
.aud-wrap {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px; text-align: center;
}
.aud-title { font-size: 2em; margin-bottom: 24px; color: var(--gold); }
.aud-wait p { margin-top: 18px; font-size: 1.1em; }
.wave { display: flex; gap: 8px; justify-content: center; align-items: flex-end; height: 60px; }
.wave span {
  width: 10px; border-radius: 5px; background: var(--accent);
  animation: wave 1.1s ease-in-out infinite;
}
.wave span:nth-child(1) { animation-delay: 0s; }
.wave span:nth-child(2) { animation-delay: .12s; }
.wave span:nth-child(3) { animation-delay: .24s; }
.wave span:nth-child(4) { animation-delay: .36s; }
.wave span:nth-child(5) { animation-delay: .48s; }
@keyframes wave { 0%, 100% { height: 14px; } 50% { height: 56px; } }
.aud-q { font-size: 1.4em; font-weight: 700; margin-bottom: 22px; max-width: 640px; }
.aud-answers {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  width: 100%; max-width: 480px;
}
.aud-btn {
  font-size: 1.25em; padding: 18px; text-align: left;
  border: 2px solid rgba(120,135,200,.35); border-radius: var(--radius);
  background: var(--card); color: var(--fg);
}
.aud-btn .letter { color: var(--gold); font-weight: 800; margin-right: 10px; }
.aud-btn.mine {
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(46,229,111,.4);
  background: rgba(46,229,111,.12);
}

/* admin rounds list */
.round-card {
  background: var(--card2);
  border: 1px solid rgba(120,135,200,.18);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin: 8px 0;
}
.round-card.active { border-color: rgba(79,124,255,.55); box-shadow: 0 0 18px rgba(79,124,255,.15); }
.round-card.finished { opacity: .65; }
.rc-head { display: flex; align-items: center; gap: 10px; }
.rc-head b { color: var(--gold); }
.rc-actions { margin-left: auto; }
.rc-players { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(11,15,36,.6);
  border: 1px solid rgba(120,135,200,.25);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: .88em;
}
.chip b { color: var(--gold); }
table.list { width: 100%; border-collapse: collapse; }
table.list td, table.list th { padding: 6px 8px; border-bottom: 1px solid rgba(120,135,200,.15); text-align: left; font-size: .95em; }
table.list th { color: var(--muted); font-size: .78em; text-transform: uppercase; letter-spacing: .1em; }

nav.topnav {
  display: flex; gap: 20px; padding: 14px 24px;
  background: rgba(11,15,36,.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(120,135,200,.15);
  margin-bottom: 14px;
}
nav.topnav a { color: var(--muted); text-decoration: none; font-weight: 600; letter-spacing: .03em; }
nav.topnav a.active, nav.topnav a:hover { color: var(--gold); }
nav.topnav .spacer { flex: 1; }

/* settings function cards + modals */
.fn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.fn-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  min-height: 92px;
  text-align: left;
  background: var(--card);
  border: 1px solid rgba(120,135,200,.18);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(0,0,0,.35);
  cursor: pointer;
  transition: transform .15s, border-color .2s, box-shadow .2s;
}
.fn-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,190,60,.5);
  box-shadow: 0 14px 40px rgba(0,0,0,.45), 0 0 22px rgba(255,190,60,.12);
}
.fn-title { font-size: 1.05em; font-weight: 700; color: var(--gold); letter-spacing: .04em; }
.fn-sub { font-size: .85em; color: var(--muted); line-height: 1.4; }
.fn-sub .seat-dot { width: 12px; height: 12px; margin-right: 4px; }

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(5,8,20,.72);
  backdrop-filter: blur(7px);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  padding: 3vh 3vw;
}
.modal {
  background: var(--card);
  border: 1px solid rgba(120,135,200,.25);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  padding: 22px 24px;
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  animation: modalIn .22s cubic-bezier(.2,.9,.3,1.1) both;
}
.modal.wide { width: min(920px, 100%); }
.modal h2 {
  font-size: .95em; color: var(--gold); margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: .14em;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.modal-foot {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(120,135,200,.15);
}

.login-box {
  max-width: 380px; margin: 16vh auto; background: var(--card);
  border: 1px solid rgba(120,135,200,.2);
  padding: 34px; border-radius: var(--radius); text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.login-box h1 {
  font-weight: 800; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); text-shadow: 0 0 24px rgba(255,190,60,.5);
}
.login-box input { width: 100%; margin: 8px 0; }
.login-box form { margin-top: 16px; }
.login-box button { width: 100%; }
.login-box .error { color: var(--red); margin-top: 10px; }
