:root {
    --bright: #ffffff;
    --mid: #aaaaaa;
    --dark: #111111;
    --bg: #080808;
    --border: #2a2a2a;
    --text: #cccccc;
    --muted: #666666;
}

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

html, body {
    height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    cursor: crosshair;
}

body::before {
    content: '';
    pointer-events: none;
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.15) 2px,
    rgba(0,0,0,0.15) 4px
    );
    z-index: 9999;
}

body::after {
    content: '';
    pointer-events: none;
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.02) 0%, transparent 70%);
    z-index: 9998;
}

.terminal {
    max-width: 760px;
    margin: 40px auto;
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow:
    0 0 0 1px #0b1009,
    0 0 30px rgba(255,255,255,0.03),
    inset 0 0 60px rgba(0,0,0,0.4);
    border-radius: 4px;
    position: relative;
}

.title-bar {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    padding: 0 12px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

/* PROFILE */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.pfp-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
    cursor: pointer;
}

.pfp-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid var(--mid);
    box-shadow: 0 0 12px rgba(255,255,255,0.05), inset 0 0 20px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
}

.pfp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.pfp-wrapper::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px dashed var(--border);
    animation: spin 20s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes flicker {
    0%,95%,100% { opacity: 1; }
    96% { opacity: 0.6; }
    98% { opacity: 0.9; }
}

.name {
    font-size: 22px;
    color: var(--bright);
    letter-spacing: 0.15em;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    animation: flicker 8s infinite;
    cursor: pointer;
    user-select: none;
}

.name::before { content: '[ '; color: var(--muted); }
.name::after  { content: ' ]'; color: var(--muted); }

.quote {
    color: var(--muted);
    font-size: 12px;
    font-style: italic;
    letter-spacing: 0.05em;
    max-width: 420px;
    text-align: center;
}

.quote::before { content: '"'; }
.quote::after  { content: '"'; }

/* NAV */
.nav {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4px;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 2px 10px;
    border-left: 1px solid var(--border);
    transition: color 0.15s, text-shadow 0.15s;
}

.nav a:first-child { border-left: none; }

.nav a:hover,
.nav a.active {
    color: var(--bright);
    text-shadow: 0 0 8px rgba(255,255,255,0.4);
}

.nav a::before { content: './'; color: var(--border); }

/* CONTENT BOX */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.content-box {
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 20px 24px;
    background: rgba(0,0,0,0.4);
    position: relative;
    animation: fadeIn 0.2s ease;
}

.content-box::before {
    content: attr(data-label);
    position: absolute;
    top: -9px;
    left: 16px;
    background: var(--bg);
    padding: 0 8px;
    font-size: 11px;
    color: var(--mid);
    letter-spacing: 0.12em;
}

.content-box p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 12px;
    text-align: justify;
}

.content-box a {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px dashed var(--muted);
    transition: color 0.15s, border-color 0.15s;
}

.content-box a:hover {
    color: var(--bright);
    border-color: var(--bright);
}

.content-box p:last-child { margin-bottom: 0; }

.content-box ul {
    list-style: inside disc;
    margin-left: 16px;
    margin-bottom: 12px;
}

.prompt {
    color: var(--mid);
    margin-right: 6px;
    user-select: none;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--bright);
    vertical-align: middle;
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink { 50% { opacity: 0; } }

/* SOCIAL LINKS */
.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.social-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.1em;
    transition: color 0.15s;
}

.social-links a::before { content: '[ '; color: var(--border); }
.social-links a::after  { content: ' ]'; color: var(--border); }

.social-links a:hover { color: var(--bright); }

/* FOOTER */
.footer {
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.footer span { color: var(--mid); }

/* ASCII DECO */
.ascii-deco {
    text-align: center;
    color: var(--border);
    font-size: 11px;
    line-height: 1.3;
    margin: 16px 0 0;
    user-select: none;
}
