/* =====================================================
   DESIGN TOKENS
   ===================================================== */
:root {
  /* Background & surface — mrd-servers.de palette */
  --bg:         #0e0520;
  --surface-1:  #190830;
  --surface-2:  #2d0a35;
  --card:       #190830;
  --card-hover: #4a044e;

  /* Borders */
  --border:       rgba(74, 4, 78, 0.8);
  --border-hover: #d946ef;

  /* Text */
  --text:  #faf5ff;
  --muted: rgba(255, 255, 255, 0.60);
  --dim:   rgba(255, 255, 255, 0.35);

  /* Accent — magenta / fuchsia */
  --accent:       #d946ef;
  --accent-mid:   #c084fc;
  --accent-light: #e879f9;
  --accent-glow:  rgba(217, 70, 239, 0.20);

  /* Semantic */
  --success:    #34d399;
  --success-bg: rgba(52, 211, 153, 0.10);
  --danger:     #ff3d4a;

  /* Typography */
  --font-display: 'Syne', system-ui, sans-serif;
  --font-sans:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing — 4 pt grid */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;

  /* Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Elevation */
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.30);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.40);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.50);
  --shadow-accent: 0 0 28px rgba(217, 70, 239, 0.20);

  /* Layout */
  --nav-h: 60px;
  --max-w: 1080px;

  /* Timing */
  --dur-fast:    120ms;
  --dur-base:    220ms;
  --dur-slow:    380ms;
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1.0);
  --ease-in:     cubic-bezier(0.4, 0.0, 1.0, 1.0);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(217,70,239,0.10) 0%, transparent 70%),
    radial-gradient(circle 1px at center, rgba(255,255,255,0.013) 0%, transparent 0%);
  background-size: auto, 48px 48px;
  min-height: 100dvh;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* =====================================================
   ACCESSIBILITY
   ===================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s4);
  background: var(--accent);
  color: #fff;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 9999;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: var(--s3); }

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* =====================================================
   TOPBAR
   ===================================================== */
.topbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s5);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.topbar-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
@supports not (-webkit-background-clip: text) {
  .topbar-logo { color: var(--accent-light); -webkit-text-fill-color: unset; }
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.topbar-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.topbar-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.topbar-link.active { color: var(--accent-light); }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-left: var(--s2);
}

/* =====================================================
   HAMBURGER BUTTON
   ===================================================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 9px var(--s3);
  margin-left: auto;
  transition: border-color var(--dur-fast);
}
.hamburger:hover { border-color: var(--border-hover); }

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: var(--r-full);
  transition: transform var(--dur-base) var(--ease-out),
              opacity var(--dur-base),
              width var(--dur-base);
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 720px) {
  .hamburger { display: flex; }
  .topbar-links,
  .topbar-actions { display: none; }
}

/* =====================================================
   MOBILE MENU — FULLSCREEN OVERLAY
   ===================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 14, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0 var(--s6) var(--s7);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  flex-shrink: 0;
}

.mobile-menu-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not (-webkit-background-clip: text) {
  .mobile-menu-logo { color: var(--accent-light); -webkit-text-fill-color: unset; }
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.mobile-menu-close:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--border-hover);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  gap: 0;
}

.mobile-menu-link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 800;
  color: var(--muted);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--dur-fast), padding-left var(--dur-base) var(--ease-spring);
  letter-spacing: -0.025em;
}
.mobile-menu-link:last-child { border-bottom: none; }
.mobile-menu-link:hover { color: var(--text); padding-left: var(--s4); }
.mobile-menu-link.active { color: var(--accent-light); }

.mobile-menu-footer {
  flex-shrink: 0;
  margin-top: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.mobile-menu-sub-links {
  display: flex;
  gap: var(--s5);
  flex-wrap: wrap;
}
.mobile-menu-sub-links a {
  font-size: 0.8125rem;
  color: var(--dim);
  transition: color var(--dur-fast);
}
.mobile-menu-sub-links a:hover { color: var(--muted); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 10px var(--s5);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-mid) 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: opacity var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  box-shadow: 0 4px 16px rgba(217,70,239,0.35);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(217,70,239,0.50);
}
.btn-primary:active { transform: translateY(0); }

.btn-primary.btn-sm {
  padding: 7px var(--s4);
  font-size: 0.8125rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 10px var(--s5);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.04);
}

/* =====================================================
   PAGE WRAPPER
   ===================================================== */
.page-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--s7) var(--s5) var(--s8);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  padding: var(--s8) 0 var(--s7);
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4);
  background: var(--success-bg);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: var(--r-full);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: var(--s5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0   rgba(52,211,153,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(52,211,153,0);   }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: var(--s4);
}

.gradient-text {
  background: linear-gradient(135deg, #d946ef 0%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not (-webkit-background-clip: text) {
  .gradient-text { color: var(--accent-light); -webkit-text-fill-color: unset; }
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto var(--s6);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  flex-wrap: wrap;
}

/* =====================================================
   BENTO GRID
   ===================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
}

.bento-cell {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s5);
  transition: border-color var(--dur-base),
              box-shadow var(--dur-base),
              transform var(--dur-base);
  position: relative;
  overflow: hidden;
}

.bento-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(217,70,239,0.05) 0%, transparent 55%);
  pointer-events: none;
  border-radius: inherit;
}

.bento-cell:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

.bento-cell--span2 { grid-column: span 2; }
.bento-cell--span3 { grid-column: span 3; }
.bento-cell--full  { grid-column: 1 / -1; }

/* ---- Spec card ---- */
.spec-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: rgba(217,70,239,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s3);
}
.spec-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent-light);
}

.spec-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--dim);
  margin-bottom: var(--s1);
}

.spec-value {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ---- Section heading inside card ---- */
.bento-heading {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--dim);
  margin-bottom: var(--s4);
}

/* ---- Projects card ---- */
.project-list { display: flex; flex-direction: column; }

.project-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: 0.9375rem;
  color: var(--muted);
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.project-item:last-child { border-bottom: none; }

.project-item::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ---- Specs box inner grid ---- */
.specs-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
}

.spec-tile {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s4);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.spec-tile:hover {
  border-color: var(--border-hover);
  background: var(--card-hover);
}

@media (max-width: 600px) {
  .specs-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Tetris promo card ---- */
.tetris-promo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
}

.tetris-promo-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.tetris-promo-sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: var(--s2);
  margin-bottom: var(--s4);
  line-height: 1.5;
}

/* ---- Disclaimer card ---- */
.disclaimer-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- Partners card ---- */
.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s7);
  flex-wrap: wrap;
  padding: var(--s2) 0;
}

.partner-link {
  opacity: 0.5;
  transition: opacity var(--dur-base);
}
.partner-link:hover { opacity: 1; }

.partner-link img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.5);
  transition: filter var(--dur-base);
}
.partner-link:hover img { filter: none; }

/* =====================================================
   PAGE HEADER (non-home pages)
   ===================================================== */
.page-header {
  padding: var(--s6) 0 var(--s5);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s6);
}

.page-header-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-light);
  margin-bottom: var(--s2);
}

.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--s2);
}

.page-header-sub {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* =====================================================
   CONTENT (datenschutz / impressum)
   ===================================================== */
.content-section { max-width: 680px; }

.content-section h2 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text);
  margin: var(--s6) 0 var(--s3);
  letter-spacing: -0.01em;
}
.content-section h2:first-child { margin-top: 0; }

.content-section p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--s4);
}

.content-section a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =====================================================
   FORMS
   ===================================================== */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  max-width: 440px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-bottom: var(--s4);
}

.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.field input {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px var(--s4);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  width: 100%;
  min-height: 44px;
}
.field input::placeholder { color: var(--dim); }
.field input:focus {
  outline: none;
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(217,70,239,0.13);
}

.form-foot {
  margin-top: var(--s4);
  font-size: 0.8125rem;
  color: var(--dim);
  text-align: center;
}
.form-foot a { color: var(--accent-light); font-weight: 500; }

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  border-top: 1px solid var(--border);
  padding: var(--s5);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 5px;
}

.heart { color: #f472b6; }

.footer-links {
  display: flex;
  gap: var(--s5);
}
.footer-links a {
  font-size: 0.8125rem;
  color: var(--dim);
  transition: color var(--dur-fast);
}
.footer-links a:hover { color: var(--muted); }

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up   { animation: fade-up var(--dur-slow) var(--ease-out) both; }
.fade-up-1 { animation-delay: 80ms; }
.fade-up-2 { animation-delay: 160ms; }
.fade-up-3 { animation-delay: 240ms; }
.fade-up-4 { animation-delay: 320ms; }

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .status-dot { animation: none; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-cell--span2 { grid-column: span 1; }
  .bento-cell--span3 { grid-column: span 2; }
  .bento-cell--full  { grid-column: span 2; }
}

@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento-cell--span2,
  .bento-cell--span3,
  .bento-cell--full { grid-column: span 1; }

  .page-content { padding: var(--s5) var(--s4) var(--s7); }
  .hero          { padding: var(--s6) 0 var(--s5); }
  .mobile-menu-link { font-size: 1.625rem; }
}

/* =====================================================
   TETRIS GAME STYLES
   ===================================================== */
#gmtet { width: 100%; }

#gmtet section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--s4) 0 var(--s6);
}

.game-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: var(--s2);
}

#stats {
  display: flex;
  gap: var(--s5);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent-light);
  margin-bottom: var(--s2);
}

.high-score {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: var(--s4);
}

.game-container {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
}

.hold-container,
.preview-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
}

.hold-label,
.preview-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

#hold, #preview {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface-1);
}

#tetris {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface-1);
  display: block;
}

.side-container {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.crt { position: relative; }

.scan-line {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    transparent,
    transparent 2px,
    rgba(0,0,0,0.04) 2px,
    rgba(0,0,0,0.04) 4px
  );
  pointer-events: none;
  border-radius: var(--r-sm);
}

.pulse { animation: card-pulse 3s ease-in-out infinite; }

@keyframes card-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.75; }
}

#controls {
  margin-top: var(--s5);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--dim);
  text-align: center;
  line-height: 1.9;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s4) var(--s5);
}

.control-title {
  font-weight: 600;
  color: var(--muted);
  margin-bottom: var(--s2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.6875rem;
}

/* Boot overlay */
.boot-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  transition: opacity 0.5s;
}
.boot-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

#bootText {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--accent-light);
  text-align: center;
  white-space: pre-line;
  line-height: 1.8;
}
