/* LIMA Musikbox – Startseite */
:root {
  --aubergine: #1d0b33; --aubergine-2: #2a1247; --aubergine-3: #3a1c5e;
  --red: #ff3b5c; --amber: #ffb020; --green: #2be38b; --blue: #3d7bff;
  --text: #fff4e6; --muted: #c4aee3; --line: rgba(196, 174, 227, 0.18);
  --display: Bahnschrift, "DIN Alternate", "Arial Narrow", "Roboto Condensed", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: grid; place-items: center;
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
  background:
    radial-gradient(60vmax 50vmax at 110% -10%, rgba(61, 123, 255, .3), transparent 60%),
    radial-gradient(60vmax 50vmax at -20% 110%, rgba(255, 59, 92, .25), transparent 60%),
    var(--aubergine);
  color: var(--text); font: 400 17px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.start { width: min(460px, 100%); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.bars { display: flex; gap: 8px; align-items: flex-end; height: 56px; }
.bars i { width: 20px; border-radius: 4px; animation: bounce 1.1s ease-in-out infinite; transform-origin: bottom; height: 100%; }
.bars i:nth-child(1) { background: var(--red); }
.bars i:nth-child(2) { background: var(--amber); animation-delay: -.3s; }
.bars i:nth-child(3) { background: var(--green); animation-delay: -.6s; }
.bars i:nth-child(4) { background: var(--blue); animation-delay: -.9s; }
@keyframes bounce { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
h1 { margin: 0 0 6px; font: 500 52px/1 var(--display); font-stretch: 75%; text-align: center; }
h1 b { font-weight: 800; color: var(--amber); letter-spacing: .04em; }
.card { width: 100%; padding: 22px; border-radius: 18px; background: var(--aubergine-2); border: 1px solid var(--line); }
.card h2 { margin: 0 0 4px; font: 700 26px/1.1 var(--display); font-stretch: 75%; }
.muted { margin: 0 0 14px; color: var(--muted); }
form { display: flex; gap: 10px; }
input {
  flex: 1; min-width: 0; height: 54px; padding: 0 16px; border-radius: 14px;
  border: 2px solid var(--line); background: var(--aubergine); color: var(--text);
  font: 600 20px system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase;
}
input::placeholder { letter-spacing: normal; text-transform: none; font-weight: 400; color: var(--muted); }
input:focus { outline: none; border-color: var(--amber); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 24px; border-radius: 27px; border: 2px solid var(--line);
  background: var(--aubergine-3); color: var(--text); font: 700 18px system-ui, sans-serif; text-decoration: none; cursor: pointer;
}
.btn:disabled { opacity: .5; }
.btn-hot { background: var(--red); border-color: var(--red); color: #fff; }
.btn-ghost { background: transparent; }
.btn-big { width: 100%; background: var(--green); border-color: var(--green); color: var(--aubergine); }
.resume { width: 100%; margin-top: 12px; }
.msg { min-height: 1.4em; margin: 10px 0 0; color: var(--amber); font-weight: 600; }
.msg:empty { min-height: 0; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .bars i { animation: none; } }
.admin-link { margin-top: 4px; color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 10px; }
