:root {
    --bg-color: #0b0b0e;
    --term-bg: #121216;
    --text-color: #e2e8f0;
    --text-muted: #64748b;
    --accent-neon: #a855f7;
    --accent-green: #22c55e;
    --accent-yellow: #eab308;
    --accent-pink: #ec4899;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 2rem 1rem;
    line-height: 1.5;
}

.container {
    max-width: 850px;
    margin: 0 auto;
}

/* Шапка терминала */
.terminal-header {
    background: #1e1e24;
    padding: 0.5rem 1rem;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    align-items: center;
    border: 1px solid #2d2d34;
    border-bottom: none;
}

.terminal-buttons {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-grow: 1;
    text-align: center;
    padding-right: 50px;
}

/* Тело терминала */
.terminal-body {
    background-color: var(--term-bg);
    border: 1px solid #2d2d34;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Навигация (Ссылки на другие страницы) */
.term-nav {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #2d2d34;
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
}

.term-nav a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    border: 1px solid transparent;
}

.term-nav a:hover, .term-nav a.active {
    color: var(--accent-yellow);
    border: 1px dashed var(--accent-yellow);
}

/* Командная строка */
.prompt {
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.prompt .user { color: var(--accent-green); }
.prompt .host { color: var(--accent-neon); }
.prompt .cmd { color: var(--text-color); }

h1 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--accent-pink);
    font-weight: bold;
    margin-bottom: 1.5rem;
    display: inline-block;
}

p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

/* Списки */
.ls-list {
    list-style: none;
    margin-top: 1rem;
}

.ls-list li {
    margin-bottom: 0.8rem;
    padding-left: 15px;
    position: relative;
}

.ls-list li::before {
    content: "➔";
    position: absolute;
    left: 0;
    color: var(--accent-neon);
}

.ls-list a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--text-muted);
}

.ls-list a:hover {
    color: var(--accent-neon);
    border-bottom-style: solid;
}

/* Элементы блога */
.blog-post {
    margin-bottom: 2.5rem;
    border-left: 2px solid #2d2d34;
    padding-left: 15px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--accent-pink);
    margin-bottom: 0.3rem;
}

.blog-post h2 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.rainbow-divider {
    height: 4px;
    background: linear-gradient(90deg, #ff4565, #ff9a00, #facc15, #4ade80, #3b82f6, #a855f7);
    margin-top: 3rem;
    border-radius: 2px;
}

footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}