/* persona.quest */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #0a0a12; color: #e2e8f0; font-family: 'Inter', sans-serif; font-weight: 400; line-height: 1.6; }
.grid-bg { background-image: linear-gradient(#1e1e30 1px, transparent 1px), linear-gradient(90deg, #1e1e30 1px, transparent 1px); background-size: 40px 40px; }
.hero { text-align: center; padding: 5rem 2rem 3rem; }
.quest-badge { font-family: 'Fira Code', monospace; font-size: 0.5rem; color: #d946ef; text-shadow: 0 0 10px rgba(217, 70, 239, 0.5); letter-spacing: 0.15em; display: block; margin-bottom: 1rem; }
.brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); text-shadow: 0 0 10px rgba(217, 70, 239, 0.5), 0 0 30px rgba(217, 70, 239, 0.2); }
.persona-card { display: inline-block; background: #12121f; border: 1px solid #2a2a40; padding: 1rem 1.5rem; margin-top: 1.5rem; }
.persona-id { font-family: 'Fira Code', monospace; font-size: 0.55rem; color: #d946ef; display: block; margin-bottom: 0.3rem; }
.persona-score { font-family: 'Fira Code', monospace; font-size: 0.9rem; color: #22d3ee; }
.attributes { max-width: 480px; margin: 0 auto; padding: 2rem 1.5rem; }
.attr-panel { background: #12121f; border: 1px solid #2a2a40; padding: 1.25rem; }
.attr-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.attr-row:last-child { margin-bottom: 0; }
.attr-name { font-family: 'Fira Code', monospace; font-size: 0.6rem; width: 80px; color: #e2e8f0; opacity: 0.7; }
.attr-bar { flex: 1; height: 12px; background: #1e1e30; border-radius: 6px; overflow: hidden; }
.attr-fill { height: 100%; border-radius: 6px; }
.attr-fill.magenta { background: #d946ef; }
.attr-fill.cyan { background: #22d3ee; }
.attr-fill.yellow { background: #facc15; }
.attr-val { font-family: 'Fira Code', monospace; font-size: 0.6rem; width: 24px; text-align: right; }
.network { text-align: center; padding: 3rem 2rem; }
.section-label { font-family: 'Fira Code', monospace; font-size: 0.55rem; color: #22d3ee; opacity: 0.5; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.node-graph { display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; }
.node { width: 14px; height: 14px; border-radius: 50%; }
.n1, .n3, .n5 { background: #22d3ee; box-shadow: 0 0 8px rgba(34, 211, 238, 0.4); }
.n2, .n4 { background: #d946ef; box-shadow: 0 0 8px rgba(217, 70, 239, 0.4); }
.node-line { width: 40px; height: 1px; background: #2a2a40; }
.quest-end { text-align: center; padding: 3rem 2rem 4rem; }
.progress-track { display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.milestone { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #2a2a40; }
.milestone.active { border-color: #d946ef; background: #d946ef; box-shadow: 0 0 8px rgba(217, 70, 239, 0.5); }
.progress-line { width: 40px; height: 2px; background: #2a2a40; }
.end-text { font-family: 'Fira Code', monospace; font-size: 0.7rem; opacity: 0.4; }
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(217, 70, 239, 0.5), 0 0 30px rgba(217, 70, 239, 0.2);
    }
    50% {
        text-shadow: 0 0 15px rgba(217, 70, 239, 0.8), 0 0 40px rgba(217, 70, 239, 0.4);
    }
}

.fade-in { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.quest-badge { animation: glow-pulse 2s infinite; }
