/* Переменные темы */
:root {
    --bg-terminal: #1a1b26; /* Глубокий темный в стиле Tokyo Night / Kitty */
    --header-bg: #16161e;
    --text-main: #c0caf5;
    --prompt-color: #9ece6a; /* Зеленый промпт */
    --command-color: #e0af68; /* Желтая команда */
    --highlight-color: #7dcfff; /* Голубой акцент */
    --accent-color: #7aa2f7; /* Синий для ссылок */
    --status-running: #9ece6a;
    --border-color: #3b4261;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

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

body {
    background-color: #0f1016;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Окно терминала Kitty-стиль */
.terminal-window {
    width: 100%;
    max-width: 720px;
    background-color: var(--bg-terminal);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
    overflow: hidden;
    animation: fadeInWindow 0.6s ease-out;
}

.terminal-header {
    background-color: var(--header-bg);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.red { background-color: #f7768e; }
.yellow { background-color: #e0af68; }
.green { background-color: #9ece6a; }

.title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #565f89;
}

/* Тело терминала */
.terminal-body {
    padding: 24px;
}

.line {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

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

.command {
    color: var(--command-color);
    font-weight: bold;
}

/* Вывод команд с анимацией появления */
.output {
    margin-bottom: 18px;
    padding-left: 12px;
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Специфичный вывод для Neofetch с ASCII */
.neofetch-output {
    display: flex;
    gap: 20px;
    align-items: center;
}

.matrix-art {
    font-family: var(--font-mono);
    line-height: 1.1;
    color: var(--highlight-color);
    font-weight: bold;
    animation: glitchArt 3s infinite alternate;
}

.specs p {
    margin-bottom: 3px;
    font-size: 13px;
}

.specs .highlight {
    color: var(--highlight-color);
    font-weight: bold;
}

/* Специфичный вывод для Bio */
.bio-text {
    line-height: 1.5;
    color: #9aa5ce;
}

.status-online {
    color: var(--status-running);
    font-weight: bold;
}

/* Список ссылок */
.links-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.links-list a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.links-list a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--accent-color);
    transform: translateX(4px);
}

.links-list a i {
    width: 20px;
    margin-right: 6px;
    text-align: center;
}

/* Мигающий курсор */
.cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-color: var(--text-main);
    animation: blink 1s step-end infinite;
    margin-left: 4px;
}

/* Анимации */
@keyframes blink {
    50% { opacity: 0; }
}

@keyframes fadeInWindow {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glitchArt {
    0% { text-shadow: 1px 0 var(--prompt-color); }
    50% { text-shadow: -1px 0 var(--highlight-color); }
    100% { text-shadow: 1px 0 var(--accent-color); }
}

/* Адаптивность для мобилок */
@media (max-width: 650px) {
    body {
        padding: 10px;
    }
    .neofetch-output {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .title {
        display: none;
    }
}
