/* =================================================================
   LINKTREE.CSS
   Styles nur für mylinktree.html.
   Setzt css/base.css voraus (Tokens, Reset).
   ================================================================= */

body.linktree-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.terminal {
    width: 100%;
    max-width: 460px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    margin-left: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.terminal-body {
    padding: 28px 24px;
}

.profile {
    text-align: center;
    margin-bottom: 24px;
}

.avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    object-fit: cover;
    margin: 0 auto;
}

.profile h1 {
    font-family: var(--font-display);
    font-size: 18px;
    margin: 14px 0 4px;
    color: var(--text);
}

.profile .subtitle {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-2);
}

.prompt-line {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 14px;
    word-break: break-word;
}

.cursor-line {
    margin: 16px 0 0;
}

.cursor {
    display: inline-block;
    width: 7px;
    height: 13px;
    background: var(--accent);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 13px;
    transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
    opacity: 0;
    animation: fade-in 0.35s ease forwards;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.links a:hover,
.links a:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateX(4px);
}

.links .cmd {
    color: var(--accent-2);
    font-weight: 700;
    min-width: 16px;
    display: inline-flex;
    justify-content: center;
}

.links a:hover .cmd,
.links a:focus-visible .cmd {
    color: var(--accent);
}

.empty-links {
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 12px 0;
}

.back-to-portfolio {
    display: block;
    text-align: center;
    margin-top: 18px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 12px;
    text-decoration: none;
}

.back-to-portfolio:hover {
    color: var(--accent-2);
}

