/* ============================================
   Font Face Declarations
   ============================================ */
@font-face {
  font-family: 'Mona Sans';
  src: url('/static/fonts/Mona-Sans.var.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('/static/fonts/Inter.var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

/* ============================================
   Glow Effects
   ============================================ */
.glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(
    ellipse at center,
    rgba(56, 189, 248, 0.3) 0%,
    rgba(0, 71, 255, 0.09) 40%,
    transparent 70%
  );
}

.glow-sidebar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow-sidebar::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(56, 189, 248, 0.12) 0%,
    rgba(0, 71, 255, 0.04) 40%,
    transparent 65%
  );
}

/* ============================================
   Star Field Animations
   ============================================ */
@keyframes twinkle-1 {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.3); }
}

@keyframes twinkle-2 {
  0%, 100% { opacity: 0.5; transform: scale(1.1); }
  50% { opacity: 0.3; transform: scale(0.9); }
}

@keyframes twinkle-3 {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes constellation-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

.star {
  fill: white;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.star-dim { animation-name: twinkle-1; }
.star-medium { animation-name: twinkle-2; }
.star-bright { animation-name: twinkle-3; }

.constellation-line {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 0.5;
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: constellation-draw 4s ease-out forwards;
}

/* ============================================
   Timeline (Status History)
   ============================================ */
.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.4375rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  border-left: 2px dashed rgba(255, 255, 255, 0.1);
}

.timeline-entry {
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-entry:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 0.375rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.timeline-dot-latest {
  background: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.4);
}
