/* Color Palette */
:root {
  --base-dark: #0F1117;
  --base-mid: #1E2028;
  --base-light: #F5F3EE;
  --base-warm: #E8E5DC;
  --brand-teal: #3B8F8F;
  --brand-lime: #C4F464;
  --brand-purple: #A78BCC;
  --text-light: #F5F3EE;
  --text-mid: #B8B5AD;
  --text-dim: #6B6E7B;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--base-dark);
  color: var(--text-light);
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  min-height: 100vh;
  overflow: hidden;
}

/* Header */
header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem 3rem;
  position: relative;
  z-index: 10;
}

.datetime {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.status-panel {
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(107, 110, 123, 0.15);
  border-radius: 4px;
  background: rgba(30, 32, 40, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 180px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-teal);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.status-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.panel-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.panel-metric-label {
  color: var(--text-dim);
  text-transform: uppercase;
}

.panel-metric-value {
  color: var(--text-mid);
  font-variant-numeric: tabular-nums;
}

.numbers {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.5;
  font-weight: 500;
}

/* Main */
main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem 3rem;
  position: relative;
  height: calc(100vh - 140px);
}

.content {
  flex: 0 0 auto;
  max-width: 550px;
  z-index: 10;
}

.title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.title-gradient {
  background: linear-gradient(135deg, var(--text-light) 0%, var(--brand-teal) 40%, var(--brand-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 400px;
}

.email {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.5rem 0;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--brand-teal);
  text-decoration: none;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--brand-teal);
  transition: color 0.2s, border-color 0.2s;
}

.email:hover {
  color: var(--brand-lime);
  border-color: var(--brand-lime);
}

/* Decorative line */
header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 3rem;
  right: 3rem;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-teal) 0%, var(--brand-purple) 50%, transparent 100%);
  opacity: 0.25;
}

/* Corner accent */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top left, var(--brand-teal) 0%, transparent 70%);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* Bottom accent */
body::after {
  content: '';
  position: fixed;
  bottom: 2rem;
  left: 3rem;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-lime), var(--brand-purple));
  opacity: 0.4;
  pointer-events: none;
  z-index: 10;
}

/* Footer */
footer {
  position: fixed;
  bottom: 1.5rem;
  right: 3rem;
  z-index: 10;
}

.numbers-secondary {
  display: flex;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

/* Network Graph */
.graph-container {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  z-index: 1;
}

#network {
  width: 100%;
  height: 100%;
}
