@font-face {
  font-family: "Roboto Mono";
  src: url("fonts/RobotoMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("fonts/RobotoMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #02070b;
  --panel: rgba(3, 10, 16, 0.94);
  --line: #00d9ff;
  --line-soft: rgba(0, 217, 255, 0.32);
  --text: #9fe6ff;
  --text-dim: #7fc8dd;
  --shadow: 0 0 18px rgba(0, 217, 255, 0.08), inset 0 0 18px rgba(0, 217, 255, 0.03);
  --font: "Roboto Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html[data-current-lang="en"] [data-lang="de"] {
  display: none !important;
}

html[data-current-lang="de"] [data-lang="en"] {
  display: none !important;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(0, 217, 255, 0.10), transparent 28%),
    linear-gradient(180deg, #01060a 0%, #000204 100%);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.page-shell {
  min-height: 100vh;
  padding: 34px 24px;
  position: relative;
  overflow: hidden;
}

.background-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 217, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  opacity: 0.26;
}

.mission-panel {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 24px 42px 40px 42px;
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}

.panel-topline {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line-soft) 20%, var(--line) 50%, var(--line-soft) 80%, transparent 100%);
}

.top-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 2;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 217, 255, 0.45);
  background: rgba(0, 217, 255, 0.06);
  overflow: hidden;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  cursor: pointer;
  padding: 6px 12px;
  font-size: clamp(10px, 1.12vw, 14px);
  line-height: 1;
  font-weight: 700;
  opacity: 0.7;
}

.lang-btn.active {
  background: rgba(0, 217, 255, 0.16);
  opacity: 1;
}

.lang-divider {
  width: 1px;
  height: 22px;
  background: rgba(0, 217, 255, 0.4);
}

.hero {
  padding: 26px 0 8px 0;
}

.eyebrow {
  margin: 0 0 18px 0;
  color: var(--text-dim);
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.2;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.96;
  font-weight: 700;
  color: #18e2fd;
}

.video-section,
.objective-section {
  margin-top: 34px;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}

.section-index {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.1;
  font-weight: 700;
}

.video-frame {
  background:
    linear-gradient(180deg, rgba(0, 217, 255, 0.04), rgba(0, 217, 255, 0.01)),
    rgba(0, 0, 0, 0.28);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}

.mission-objective {
  margin: 0;
  max-width: 760px;
  padding: 20px 22px;
  border-left: 3px solid var(--line);
  background: rgba(0, 217, 255, 0.05);
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.45;
}

.mission-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.mission-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 16px 18px;
  text-decoration: none;
  text-align: center;
  color: var(--text);
  border: 1px solid rgba(0, 217, 255, 0.45);
  background: rgba(0, 217, 255, 0.06);
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mission-link:hover,
.mission-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(0, 217, 255, 0.12);
  border-color: var(--line);
  box-shadow: 0 0 14px rgba(0, 217, 255, 0.10);
  outline: none;
}

.mission-link.primary {
  background: rgba(0, 217, 255, 0.14);
}

@media (max-width: 760px) {
  .page-shell {
    padding: 18px;
  }

  .mission-panel {
    padding: 20px 20px 24px 20px;
  }

  .hero {
    padding-top: 22px;
  }

  .mission-links {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
  }
}
