.page {
  --loader-bg: #050705;
  --loader-fg: #f5f7f4;
  --loader-muted: rgba(245, 247, 244, 0.56);
  --loader-grid: rgba(255, 255, 255, 0.12);
  --loader-primary: var(--color-primary, #76b900);
  --loader-primary-light: var(--color-primary-light, #8fd400);
  --loader-cyan: var(--color-accent-cyan, #00d4ff);
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 42%, rgba(118, 185, 0, 0.16), transparent 32%),
    radial-gradient(circle at 72% 28%, rgba(0, 212, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #080b08 0%, var(--loader-bg) 58%, #020302 100%);
  color: var(--loader-fg);
}

.page::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.22) 72%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.grid,
.overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr minmax(22rem, 2fr) 1fr;
  grid-template-rows: 1fr minmax(14rem, 2fr) 1fr;
}

.grid {
  pointer-events: none;
  z-index: 1;
}

.gridCell {
  border-right: 1px solid var(--loader-grid);
  border-bottom: 1px solid var(--loader-grid);
}

.gridCell:nth-child(3n) {
  border-right: none;
}

.gridCell:nth-child(n + 7) {
  border-bottom: none;
}

.canvasContainer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.overlay {
  z-index: 2;
  pointer-events: none;
}

.metaText,
.metaLabel,
.sequenceHeader,
.sequenceYear,
.centerEyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topLeft,
.topRight,
.bottomLeft,
.bottomRight {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.topLeft {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: flex-start;
  align-items: flex-start;
  color: var(--loader-muted);
}

.topLeft .metaText:first-child {
  color: rgba(255, 255, 255, 0.86);
}

.topRight {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--loader-muted);
}

.statusBeacon {
  width: 0.58rem;
  height: 0.58rem;
  margin-top: 0.18rem;
  border-radius: 50%;
  background: var(--loader-primary-light);
  box-shadow: 0 0 20px rgba(143, 212, 0, 0.8);
  animation: beaconPulse 1.6s ease-in-out infinite;
}

.center {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.centerCopy {
  width: min(30rem, 86vw);
  display: grid;
  justify-items: center;
  gap: 0.72rem;
  padding-top: min(15vh, 8rem);
}

.centerEyebrow {
  color: var(--loader-primary-light);
  font-weight: 750;
}

.centerTitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(2.2rem, 6vw, 4.9rem);
  font-weight: 760;
  line-height: 0.98;
  text-shadow: 0 22px 64px rgba(0, 0, 0, 0.45);
}

.centerText {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.55;
}

.bottomLeft {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  align-items: flex-end;
}

.sequencePanel {
  width: min(33rem, 100%);
  padding: 1rem 1.05rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.032)),
    rgba(7, 10, 7, 0.44);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.sequenceHeader {
  display: inline-block;
  margin-bottom: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.sequenceList {
  width: 100%;
  display: grid;
  gap: 0.7rem;
  list-style: none;
}

.sequenceItem {
  display: grid;
  grid-template-columns: minmax(2.25rem, auto) 1fr;
  gap: 0.78rem;
  align-items: start;
  opacity: 0.32;
  transform: translateY(0);
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.sequenceItemVisible {
  opacity: 0.7;
}

.sequenceItemActive {
  opacity: 1;
}

.sequenceYear {
  min-width: 2.25rem;
  color: var(--loader-primary-light);
  font-weight: 750;
  line-height: 1.45;
}

.sequenceCopy,
.sequenceDetail {
  display: block;
  line-height: 1.45;
}

.sequenceCopy {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
  font-weight: 680;
}

.sequenceDetail {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
}

.bottomRight {
  grid-column: 3;
  grid-row: 3;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
}

.metaBlock {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.metaLabel {
  color: var(--loader-muted);
  font-weight: 700;
}

.metaValue {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 760;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.progressTrack {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  width: min(280px, 54vw);
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.progressBar {
  height: 100%;
  transform-origin: left center;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--loader-primary), var(--loader-primary-light) 56%, var(--loader-cyan));
  box-shadow: 0 0 18px rgba(118, 185, 0, 0.5);
  transition: transform 120ms linear;
}

@keyframes beaconPulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@media (max-width: 860px) {
  .grid,
  .overlay {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto auto;
  }

  .topLeft,
  .topRight,
  .bottomLeft,
  .bottomRight {
    padding: 1.15rem;
  }

  .topLeft {
    grid-column: 1;
    grid-row: 1;
    gap: 0.35rem;
  }

  .topRight {
    display: none;
  }

  .center {
    grid-column: 1;
    grid-row: 2;
  }

  .centerCopy {
    padding-top: 8rem;
  }

  .bottomLeft {
    grid-column: 1;
    grid-row: 3;
  }

  .sequencePanel {
    width: 100%;
    padding: 0.95rem;
  }

  .bottomRight {
    grid-column: 1;
    grid-row: 4;
    justify-content: flex-start;
    text-align: left;
    padding-top: 0;
    padding-bottom: 4.1rem;
  }

  .progressTrack {
    bottom: 1.35rem;
  }
}

@media (max-width: 560px) {
  .centerCopy {
    width: min(21rem, 90vw);
    padding-top: 7rem;
  }

  .centerTitle {
    font-size: min(12vw, 3.7rem);
  }

  .sequenceItem {
    grid-template-columns: 1fr;
    gap: 0.12rem;
  }

  .sequenceYear {
    min-width: 0;
  }
}

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

  .sequenceItem,
  .progressBar {
    transition: none;
  }
}
