/* p9r.xyz - Glassmorphism NOC */
/* Colors: #22D3EE, #6B7280, #7C3AED, #EF4444, #10B981, #0A0E18, #F0F0F8 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #F0F0F8; background: #0A0E18; overflow-x: hidden; }

.neon-glow {
    position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(80px);
}
.glow-1 { width: 300px; height: 300px; background: #7C3AED; opacity: 0.03; top: 10%; left: 10%; }
.glow-2 { width: 250px; height: 250px; background: #22D3EE; opacity: 0.03; top: 50%; right: 5%; }
.glow-3 { width: 200px; height: 200px; background: #7C3AED; opacity: 0.02; bottom: 10%; left: 30%; }

.timeline-container {
    max-width: 700px; margin: 0 auto; padding: 80px 24px; position: relative; z-index: 1;
}

.timeline-spine {
    position: absolute; left: 50%; top: 0; width: 2px; height: 0;
    background: linear-gradient(180deg, #7C3AED, #22D3EE, #10B981, #7C3AED);
    transform: translateX(-50%); transition: height 2s ease; z-index: 0;
}
.timeline-spine.drawn { height: 100%; }

.glass-panel {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px; padding: 32px; position: relative;
}

.hero-panel { text-align: center; margin-bottom: 60px; box-shadow: 0 0 30px rgba(124, 58, 237, 0.08); }

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; color: #F0F0F8;
    margin-bottom: 8px;
}
.hero-mono {
    font-family: 'JetBrains Mono', monospace; font-size: 14px; color: #6B7280;
}

.timeline-entry {
    position: relative; width: 45%; margin-bottom: 48px;
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-entry.visible { opacity: 1; transform: translateY(0); }
.entry-left { margin-right: auto; }
.entry-right { margin-left: auto; }

.timeline-node {
    position: absolute; width: 12px; height: 12px; border-radius: 50%;
    background: #7C3AED; top: 24px; z-index: 2;
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.4);
    animation: nodePulse 2s ease-in-out infinite;
}
.node-green { background: #10B981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.4); }
.node-cyan { background: #22D3EE; box-shadow: 0 0 8px rgba(34, 211, 238, 0.4); }
.node-red { background: #EF4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.4); }

.entry-left .timeline-node { right: -42px; }
.entry-right .timeline-node { left: -42px; }

.entry-label {
    font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #7C3AED;
    letter-spacing: 0.08em; display: block; margin-bottom: 8px;
}
.entry-title {
    font-size: 1.3rem; font-weight: 700; color: #F0F0F8; margin-bottom: 8px;
}
.entry-body { font-size: 0.9rem; line-height: 1.75; color: #6B7280; margin-bottom: 12px; }
.entry-code {
    font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #22D3EE;
    display: block; padding: 8px 12px; background: rgba(255,255,255,0.03);
    border-radius: 6px; border: 1px solid rgba(255,255,255,0.04);
}

.reveal { opacity: 0; }

@keyframes nodePulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

@media (max-width: 768px) {
    .timeline-entry { width: 80%; margin-left: 20% !important; }
    .timeline-spine { left: 10%; }
    .timeline-node { left: -30px !important; right: auto !important; }
}
