:root {
  --void: #070b16;
  --ice: #8fd6ff;
  --violet: #9b8cff;
  --text: #e7eef8;
  --dim: #9aa8be;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(120% 80% at 50% -10%, #152038, var(--void) 55%);
  color: var(--text);
  font-family: Figtree, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ice); }
h1, h2, h3 { font-family: Sora, sans-serif; font-weight: 500; letter-spacing: -0.04em; line-height: 1.12; }
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.stars i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--ice);
  animation: twinkle 4.5s ease-in-out infinite;
}
.stars i:nth-child(1) { top: 12%; left: 18%; }
.stars i:nth-child(2) { top: 28%; left: 72%; animation-delay: -1s; }
.stars i:nth-child(3) { top: 46%; left: 40%; animation-delay: -2s; background: var(--violet); }
.stars i:nth-child(4) { top: 70%; left: 84%; animation-delay: -3s; }
.stars i:nth-child(5) { top: 82%; left: 22%; animation-delay: -1.5s; }
.nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  align-items: center;
  padding: 18px 16px 0;
}
.nav a { text-decoration: none; }
.sigil {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-family: Sora, sans-serif;
}
.sigil img { width: 34px; height: 34px; }
.flight {
  position: relative;
  z-index: 1;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 36px 16px 20px;
}
.orbit {
  width: min(180px, 46vw);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  position: relative;
}
.orbit span {
  position: absolute;
  inset: 12%;
  border: 1px solid var(--ice);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 22s linear infinite;
}
.orbit b {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: var(--violet);
  opacity: 0.85;
}
.flight h1 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 16ch; margin: 0 0 0.4em; }
.flight p { max-width: 36rem; margin: 0 0 0.8em; color: var(--dim); }
.lane {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100% - 32px));
  margin: 0 auto 28px;
}
.lane img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 20px; }
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.board article, .log article {
  min-width: 0;
  background: rgba(12, 18, 36, 0.72);
  border: 1px solid rgba(143, 214, 255, 0.22);
  border-radius: 16px;
  padding: 14px;
}
.board strong { display: block; color: var(--violet); font-family: Sora, sans-serif; }
.to {
  display: inline-flex;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--ice);
  color: #071018;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.log { display: grid; gap: 10px; margin-top: 12px; margin-bottom: 28px; }
.lane.log { margin-left: auto; margin-right: auto; }
.foot {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(143, 214, 255, 0.2);
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0.3em 0; }
.fine { grid-column: 1 / -1; color: var(--dim); }
.varsel {
  position: fixed;
  z-index: 6;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #10182c;
  border: 1px solid var(--violet);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.varsel p { margin: 0; max-width: 36rem; }
.soft {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--dim);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 800px) {
  .board, .foot { grid-template-columns: 1fr 1fr; }
  .flight { min-height: auto; padding-top: 28px; }
}
@media (max-width: 520px) {
  .board { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
