:root {
  --cyan: #62f4ff;
  --teal: #86fff6;
  --active-green: #62ef5f;
  --active-green-hot: #b8ff6b;
  --text: #dcfeff;
  --muted: rgba(220, 254, 255, 0.68);
  --line: rgba(134, 255, 246, 0.42);
  --panel: rgba(4, 28, 34, 0.66);
  --ui-font: "Rajdhani", "Segoe UI", Arial, sans-serif;
  --hand-font: "Segoe Print", "Bradley Hand ITC", "Comic Sans MS", cursive;
}

* {
  box-sizing: border-box;
}

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

body.modal-open {
  overflow: hidden;
}

body {
  overflow: auto;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 14%, rgba(98, 244, 255, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(1, 8, 12, 0.96), rgba(2, 20, 28, 0.94) 52%, rgba(1, 8, 12, 0.96));
  font-family: var(--ui-font);
  letter-spacing: 0;
  text-shadow: 0 0 8px rgba(98, 244, 255, 0.2);
}

.app {
  position: relative;
  min-height: 100vh;
  padding-bottom: 64px;
  background:
    repeating-linear-gradient(180deg, rgba(220, 254, 255, 0.035) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.72));
}

.app::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(98, 244, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 244, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
}

.nav {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(220px, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 78px;
  padding: 0 48px;
  border-bottom: 1px solid rgba(98, 244, 255, 0.22);
  background: rgba(2, 9, 12, 0.92);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(12px);
}

.brand-link {
  color: #ffffff;
  text-decoration: none;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
}

.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 8px rgba(98, 244, 255, 0.58))
    drop-shadow(0 0 18px rgba(98, 244, 255, 0.24));
  transform-origin: center;
  animation: logo-periodic-rotation 6s ease-in-out infinite;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.nav-links button {
  padding: 8px 10px;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  font-family: var(--ui-font);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-links button:hover,
.nav-links button.is-active,
.nav-page-link:hover,
.nav-page-link.is-active {
  border-color: rgba(98, 244, 255, 0.45);
  color: var(--cyan);
  background: rgba(65, 229, 255, 0.1);
  text-shadow: 0 0 12px rgba(98, 244, 255, 0.72);
}

.nav-page-link {
  padding: 8px 10px;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-note {
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-help:hover {
  color: var(--cyan);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  overflow: hidden;
  border-bottom: 1px solid rgba(98, 244, 255, 0.2);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 10, 14, 0.88), transparent 22%, transparent 78%, rgba(4, 10, 14, 0.88)),
    radial-gradient(circle at 50% 78%, rgba(98, 244, 255, 0.24), transparent 30%),
    linear-gradient(115deg, transparent 0 28%, rgba(134, 255, 246, 0.16) 29% 31%, transparent 32% 68%, rgba(134, 255, 246, 0.13) 69% 71%, transparent 72%),
    linear-gradient(180deg, rgba(2, 14, 20, 0.88), rgba(4, 28, 34, 0.54));
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34%;
  opacity: 0.62;
  background:
    linear-gradient(90deg, rgba(98, 244, 255, 0.28), transparent 10%),
    repeating-linear-gradient(115deg, transparent 0 28px, rgba(255, 255, 255, 0.12) 28px 30px, transparent 30px 62px);
}

.hero-bg::before {
  left: 0;
  transform: skewX(-15deg);
}

.hero-bg::after {
  right: 0;
  transform: skewX(15deg) scaleX(-1);
}

.hero-panel {
  position: relative;
  width: min(680px, calc(100% - 32px));
  padding: 26px 34px 30px;
  border: 1px solid rgba(98, 244, 255, 0.35);
  background:
    linear-gradient(135deg, rgba(5, 38, 46, 0.7), rgba(2, 13, 18, 0.72)),
    repeating-linear-gradient(180deg, rgba(220, 254, 255, 0.04) 0 1px, transparent 1px 8px);
  box-shadow:
    0 0 30px rgba(98, 244, 255, 0.18),
    inset 0 0 34px rgba(98, 244, 255, 0.08);
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.update {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 9px 14px;
  border-left: 4px solid var(--cyan);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.36);
  font-size: 15px;
}

.hero-panel h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.hangar-time {
  margin-top: 22px;
  color: #ffffff;
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 500;
  line-height: 1;
}

.hangar-progress {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0 18px;
}

.hangar-progress span {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(134, 255, 246, 0.4);
  border-radius: 50%;
  background: rgba(88, 230, 255, 0.18);
  box-shadow: 0 0 14px rgba(88, 230, 255, 0.32);
}

.hangar-progress span.is-green {
  border-color: rgba(98, 239, 95, 0.78);
  background: #07b622;
  box-shadow: 0 0 18px rgba(7, 182, 34, 0.72);
}

.hangar-progress span.is-red {
  border-color: rgba(255, 89, 89, 0.72);
  background: rgba(255, 89, 89, 0.46);
  box-shadow: 0 0 16px rgba(255, 89, 89, 0.5);
}

.hangar-progress span.is-black {
  border-color: rgba(220, 254, 255, 0.18);
  background: rgba(0, 0, 0, 0.72);
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.08);
}

.hangar-state {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(22px, 3vw, 30px);
}

.hangar-state strong {
  color: #62ef5f;
}

body:not(.hangar-open) .hangar-state strong {
  color: var(--cyan);
}

.hangar-light-status {
  margin-top: 12px;
  color: rgba(220, 254, 255, 0.72);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 800;
  text-transform: uppercase;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 22px 18px 8px;
}

.toolbar button,
.start,
.controls button {
  border: 1px solid rgba(98, 244, 255, 0.45);
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(65, 229, 255, 0.14), rgba(4, 23, 31, 0.7));
  font-family: var(--ui-font);
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.toolbar button:focus,
.start:focus,
.controls button:focus,
.map-button:focus,
.map-modal-panel header button:focus {
  outline: none;
}

.toolbar button:focus-visible,
.start:focus-visible,
.controls button:focus-visible,
.map-button:focus-visible,
.map-modal-panel header button:focus-visible {
  border-color: var(--cyan);
  box-shadow:
    0 0 0 2px rgba(4, 23, 31, 0.95),
    0 0 0 4px rgba(98, 244, 255, 0.72),
    0 0 18px rgba(98, 244, 255, 0.32);
}

.toolbar button {
  min-width: 118px;
  min-height: 38px;
  padding: 8px 18px;
}

.toolbar button:hover,
.start:hover,
.controls button:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(98, 244, 255, 0.28);
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(1440px, calc(100% - 40px));
  margin: 18px auto 0;
}

.zone {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(98, 244, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(7, 52, 63, 0.38), rgba(2, 12, 16, 0.68)),
    repeating-linear-gradient(180deg, rgba(220, 254, 255, 0.035) 0 1px, transparent 1px 8px);
  box-shadow:
    inset 0 0 28px rgba(98, 244, 255, 0.06),
    0 14px 32px rgba(0, 0, 0, 0.26);
}

.zone.is-hidden {
  display: none;
}

.zone header {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(98, 244, 255, 0.2);
}

.zone-title {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.zone header span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(134, 255, 246, 0.46);
  color: var(--cyan);
  font-weight: 900;
}

.zone h2,
.zone h3,
.timer-card h4 {
  margin: 0;
}

.zone h2 {
  color: #ffffff;
  font-size: 24px;
  text-transform: uppercase;
}

.zone-section {
  margin-top: 18px;
}

.zone-section h3 {
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 17px;
  text-transform: uppercase;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.featured-card-grid {
  grid-template-columns: minmax(260px, 1fr);
}

.map-button,
.map-modal-panel header button {
  min-width: 74px;
  min-height: 36px;
  border: 1px solid rgba(98, 244, 255, 0.45);
  color: var(--cyan);
  background:
    linear-gradient(180deg, rgba(65, 229, 255, 0.14), rgba(4, 23, 31, 0.72));
  font-family: var(--ui-font);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.map-button:hover,
.map-modal-panel header button:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(98, 244, 255, 0.28);
}

.timer-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(98, 244, 255, 0.24);
  background: rgba(0, 0, 0, 0.28);
}

.timer-card > * {
  position: relative;
  z-index: 1;
}

.featured-card-grid .timer-card {
  min-height: 230px;
  padding: 20px;
  border-color: rgba(255, 99, 99, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 99, 99, 0.24), rgba(255, 99, 99, 0.08) 45%, rgba(0, 0, 0, 0.34)),
    rgba(0, 0, 0, 0.28);
  box-shadow:
    inset 0 0 28px rgba(255, 99, 99, 0.08),
    0 0 18px rgba(255, 99, 99, 0.12);
}

.featured-card-grid .card-top h4 {
  font-size: 24px;
}

.featured-card-grid .time {
  font-size: 52px;
}

.featured-card-grid .controls button,
.featured-card-grid .start {
  min-height: 44px;
  font-size: 18px;
}

.featured-card-grid .controls button {
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
}

.timer-card.is-running {
  border-color: rgba(98, 239, 95, 0.88);
  background:
    radial-gradient(circle at 18% 0%, rgba(184, 255, 107, 0.34), transparent 38%),
    linear-gradient(135deg, rgba(98, 239, 95, 0.34), rgba(98, 244, 255, 0.14) 44%, rgba(0, 0, 0, 0.3)),
    rgba(0, 0, 0, 0.28);
  box-shadow:
    0 0 24px rgba(98, 239, 95, 0.36),
    inset 0 0 34px rgba(98, 239, 95, 0.18);
  animation: active-timer-pulse 1.7s ease-in-out infinite;
}

.timer-card.is-running::before {
  content: "";
  position: absolute;
  inset: -35% -15%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 18%, rgba(184, 255, 107, 0.26) 36%, transparent 54%);
  opacity: 0.72;
  transform: translateX(-28%);
  animation: active-timer-sweep 2.4s linear infinite;
}

.timer-card.is-running .card-top span {
  color: #07140d;
  background: linear-gradient(90deg, var(--active-green), var(--active-green-hot));
  box-shadow: 0 0 16px rgba(98, 239, 95, 0.48);
}

.timer-card.is-running .time {
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(184, 255, 107, 0.8),
    0 0 22px rgba(98, 239, 95, 0.44);
}

.timer-card.is-running .progress i {
  background: linear-gradient(90deg, var(--active-green), var(--active-green-hot), var(--cyan));
  box-shadow: 0 0 16px rgba(98, 239, 95, 0.82);
}

.timer-card.is-running .start {
  border-color: rgba(184, 255, 107, 0.9);
  color: #07140d;
  background:
    linear-gradient(180deg, rgba(184, 255, 107, 0.96), rgba(98, 239, 95, 0.78));
  box-shadow:
    0 0 18px rgba(98, 239, 95, 0.48),
    inset 0 0 14px rgba(255, 255, 255, 0.18);
}

.timer-card.is-done {
  border-color: rgba(98, 255, 126, 0.7);
  animation: done-pulse 1.3s ease-in-out infinite;
}

.card-top {
  display: flex;
  gap: 10px;
  align-items: start;
  justify-content: space-between;
}

.card-top h4 {
  color: #ffffff;
  font-size: 18px;
}

.card-top span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid rgba(220, 254, 255, 0.18);
  color: rgba(220, 254, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.time {
  color: #ffffff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.progress {
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.11);
}

.progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), #62ef5f);
  box-shadow: 0 0 12px rgba(98, 244, 255, 0.6);
}

.controls {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.controls button {
  display: grid;
  place-items: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
}

.start {
  min-height: 38px;
  font-size: 15px;
}

.map-modal[hidden] {
  display: none;
}

.map-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
}

.map-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.map-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1320px, 96vw);
  height: min(860px, 92vh);
  border: 1px solid rgba(98, 244, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(5, 38, 46, 0.88), rgba(2, 13, 18, 0.94)),
    repeating-linear-gradient(180deg, rgba(220, 254, 255, 0.035) 0 1px, transparent 1px 8px);
  box-shadow:
    0 0 34px rgba(98, 244, 255, 0.2),
    inset 0 0 38px rgba(98, 244, 255, 0.08);
}

.map-modal-panel header {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(98, 244, 255, 0.24);
}

.map-modal-title {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.map-modal-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  text-transform: uppercase;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  max-width: 880px;
  color: rgba(220, 254, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.map-legend div {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 18px;
}

.legend-road {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  box-shadow: 0 0 8px currentColor;
}

.legend-road::before,
.legend-road::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

.legend-road::before {
  left: -1px;
}

.legend-road::after {
  right: -1px;
}

.legend-road-free {
  color: #23ef32;
  background: #23ef32;
}

.legend-road-blue {
  color: #243aff;
  background: #243aff;
}

.legend-road-red {
  color: #ff1e1e;
  background: #ff1e1e;
}

.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.legend-dot-fuse {
  border: 3px solid #ffeb22;
  background: #ff2a2a;
}

.legend-dot-blue {
  color: #243aff;
  background: #243aff;
}

.map-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.map-modal-actions button {
  min-width: 44px;
}

.map-modal-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.map-modal-body.is-dragging {
  cursor: grabbing;
}

.map-modal-body img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.map-transform {
  position: relative;
  flex: 0 0 auto;
  width: var(--map-natural-width, 100%);
  height: var(--map-natural-height, 100%);
  transform: translate(var(--map-pan-x, 0), var(--map-pan-y, 0)) scale(var(--map-zoom, 1));
  transform-origin: center center;
  transition: transform 0.08s ease-out;
  will-change: transform;
}

.map-modal-body.is-dragging .map-transform {
  transition: none;
}

.map-hotspots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.map-modal.is-timers-hidden .map-hotspots {
  opacity: 0;
  pointer-events: none;
}

.map-hotspot {
  cursor: pointer;
}

.map-hotspot-hitbox {
  fill: rgba(0, 0, 0, 0.001);
  stroke: transparent;
}

.map-hotspot:hover .map-hotspot-hitbox,
.map-hotspot:focus-within .map-hotspot-hitbox {
  fill: rgba(98, 244, 255, 0.045);
  stroke: rgba(98, 244, 255, 0.18);
}

.map-hotspot:focus {
  outline: none;
}

.map-hotspot:focus-visible .map-hotspot-ring {
  stroke-width: 0.9;
  filter:
    drop-shadow(0 0 3px rgba(98, 244, 255, 0.95))
    drop-shadow(0 0 8px rgba(98, 244, 255, 0.55));
}

.map-hotspot-ring {
  fill: rgba(2, 14, 20, 0.8);
  stroke: var(--cyan);
  stroke-width: 0.55;
  filter: drop-shadow(0 0 3px rgba(98, 244, 255, 0.9));
}

.map-hotspot.is-running .map-hotspot-ring {
  stroke: var(--active-green);
  fill: rgba(98, 239, 95, 0.32);
  filter: drop-shadow(0 0 5px rgba(98, 239, 95, 0.95));
}

.map-hotspot.is-warning .map-hotspot-ring {
  stroke: #ffdf5a;
  fill: rgba(255, 223, 90, 0.22);
}

.map-hotspot.is-done .map-hotspot-ring {
  stroke: #62ef5f;
  fill: rgba(98, 239, 95, 0.22);
}

.map-hotspot-dot {
  fill: currentColor;
}

.map-hotspot text {
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.88);
  stroke-width: 0.7;
  fill: #ffffff;
  font-size: 2.2px;
  font-weight: 900;
  text-transform: uppercase;
  user-select: none;
}

.map-hotspot-time {
  fill: var(--cyan);
  font-size: 2px;
}

.map-hotspot-controls {
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.12s ease-out;
}

.map-hotspot:hover .map-hotspot-controls,
.map-hotspot:focus-within .map-hotspot-controls {
  opacity: 1;
}

.map-hotspot-control {
  cursor: pointer;
}

.map-hotspot-control:focus {
  outline: none;
}

.map-hotspot-control circle {
  fill: rgba(2, 14, 20, 0.94);
  stroke: rgba(98, 244, 255, 0.95);
  stroke-width: 0.38;
  filter: drop-shadow(0 0 3px rgba(98, 244, 255, 0.75));
}

.map-hotspot-control text {
  fill: #ffffff;
  stroke-width: 0.35;
  font-size: 1.25px;
  text-anchor: middle;
}

.map-hotspot-control:hover circle,
.map-hotspot-control:focus-visible circle {
  fill: rgba(98, 244, 255, 0.28);
  stroke: #ffffff;
  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.85))
    drop-shadow(0 0 8px rgba(98, 244, 255, 0.62));
}

.map-modal-body p {
  margin: 0;
  padding: 24px;
  border: 1px dashed rgba(98, 244, 255, 0.35);
  color: var(--muted);
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
}

.info-app {
  padding-bottom: 90px;
}

.info-hero {
  width: min(1120px, calc(100% - 40px));
  margin: 58px auto 28px;
  padding: 32px 36px;
  border: 1px solid rgba(98, 244, 255, 0.3);
  background:
    linear-gradient(135deg, rgba(5, 38, 46, 0.62), rgba(2, 13, 18, 0.76)),
    repeating-linear-gradient(180deg, rgba(220, 254, 255, 0.035) 0 1px, transparent 1px 8px);
  box-shadow:
    0 0 30px rgba(98, 244, 255, 0.12),
    inset 0 0 34px rgba(98, 244, 255, 0.07);
}

.info-hero h1 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  text-transform: uppercase;
}

.info-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 22px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.info-panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(98, 244, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(7, 52, 63, 0.34), rgba(2, 12, 16, 0.7)),
    repeating-linear-gradient(180deg, rgba(220, 254, 255, 0.03) 0 1px, transparent 1px 8px);
  box-shadow:
    inset 0 0 24px rgba(98, 244, 255, 0.055),
    0 14px 32px rgba(0, 0, 0, 0.22);
}

.info-panel h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 28px;
  text-transform: uppercase;
}

.info-panel h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 20px;
  text-transform: uppercase;
}

.info-panel p,
.info-list li {
  color: rgba(220, 254, 255, 0.8);
  font-size: 17px;
  line-height: 1.5;
}

.info-panel p {
  margin: 0 0 14px;
}

.info-panel strong {
  color: #ffffff;
}

.phase {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--cyan);
  background: rgba(0, 0, 0, 0.22);
}

.phase-red {
  border-left-color: #ff5959;
}

.phase-green {
  border-left-color: #62ef5f;
}

.phase-black {
  border-left-color: rgba(255, 255, 255, 0.52);
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.legend {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
}

.legend p {
  margin: 0;
}

.legend span {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  box-shadow: 0 0 14px currentColor;
}

.legend-white {
  color: #ffffff;
  background: #ffffff;
}

.legend-red {
  color: #ff5959;
  background: #ff5959;
}

.legend-yellow {
  color: #ffdf5a;
  background: #ffdf5a;
}

.legend-green {
  color: #62ef5f;
  background: #62ef5f;
}

@keyframes active-timer-pulse {
  0%,
  100% {
    box-shadow:
      0 0 22px rgba(98, 239, 95, 0.3),
      inset 0 0 30px rgba(98, 239, 95, 0.16);
  }
  50% {
    box-shadow:
      0 0 36px rgba(98, 239, 95, 0.58),
      0 0 58px rgba(184, 255, 107, 0.2),
      inset 0 0 42px rgba(98, 239, 95, 0.24);
  }
}

@keyframes active-timer-sweep {
  0% {
    transform: translateX(-52%);
  }
  100% {
    transform: translateX(52%);
  }
}

@keyframes done-pulse {
  0%,
  100% {
    box-shadow: 0 0 16px rgba(98, 255, 126, 0.24);
  }
  50% {
    box-shadow: 0 0 28px rgba(98, 255, 126, 0.48);
  }
}

@keyframes logo-periodic-rotation {
  0%,
  52%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  62% {
    transform: rotate(120deg) scale(1.04);
  }
  72% {
    transform: rotate(240deg) scale(1.04);
  }
  82% {
    transform: rotate(360deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .nav {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 14px 18px;
  }

  .nav-note {
    justify-self: center;
  }

  .timer-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    flex-wrap: wrap;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hangar-progress span {
    width: 38px;
    height: 38px;
  }
}
