@font-face {
    font-family: 'VHS Gothic';
    src: url('/static/vhs-gothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'VHS Gothic', 'Inter', 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0d0d0d;
    color: #ffffff;
    line-height: 1.6;
    font-size: 1em;
    min-height: 100vh;
    position: relative;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    margin-bottom: 50px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(187, 134, 252, 0.3);
}

.site-title {
    font-size: 2em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

.cursor-blink {
    animation: blink 1s infinite;
    color: #BB86FC;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

nav li {
    display: inline-block;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

nav a:hover {
    color: #BB86FC;
}

nav a.active {
    color: #BB86FC;
}

main {
    margin-bottom: 60px;
}

h1 {
    font-size: 2em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    margin-top: 30px;
    line-height: 1.2;
}

h2 {
    color: #ffffff;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 50px;
    line-height: 1.3;
    position: relative;
    padding-left: 35px;
    letter-spacing: 0.02em;
}

h2 .hash-link {
    position: absolute;
    left: 0;
    color: #BB86FC;
    text-decoration: none;
    font-weight: bold;
}

h2 .hash-link:hover {
    color: #C486FC;
}

h3 {
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 35px;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

p {
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: #BB86FC;
    text-decoration: none;
}

a:hover {
    color: #C486FC;
    text-decoration: underline;
}

code {
    font-family: 'Courier New', 'Fira Code', 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    color: #BB86FC;
    background-color: rgba(187, 134, 252, 0.1);
    padding: 2px 6px;
    font-size: 0.95em;
    border: 1px solid rgba(187, 134, 252, 0.2);
}

pre {
    background-color: #0d0d0d;
    padding: 20px;
    overflow-x: auto;
    margin-bottom: 25px;
    margin-top: 20px;
    border: 1px solid rgba(187, 134, 252, 0.2);
}

pre code {
    color: #ffffff;
    background-color: transparent;
    padding: 0;
    font-size: 0.9em;
    line-height: 1.5;
    border: none;
}

.terminal {
    margin-top: 30px;
    margin-bottom: 30px;
}

.terminal pre {
    margin: 0;
    padding: 15px 20px;
    background-color: #0d0d0d;
    border: 1px solid rgba(187, 134, 252, 0.2);
    overflow-x: auto;
}

.terminal code {
    font-family: 'Courier New', 'Fira Code', 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    background-color: transparent;
    border: none;
    padding: 0;
    font-size: 0.9em;
}

.terminal-prompt {
    color: #BB86FC;
    margin-right: 8px;
}

.terminal-cursor {
    color: #BB86FC;
    animation: blink 1s infinite;
}

ul, ol {
    margin-bottom: 20px;
    margin-left: 30px;
    color: #ffffff;
}

li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.blog-post {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-left: 2px solid transparent;
    padding-left: 15px;
}

.blog-post:hover {
    border-left-color: rgba(187, 134, 252, 0.4);
}

.blog-post h3 {
    margin-top: 0;
}

.blog-post h3 a {
    color: #ffffff;
    text-decoration: none;
}

.blog-post h3 a:hover {
    color: #BB86FC;
}

.post-meta {
    color: #555;
    font-size: 0.85em;
    margin-bottom: 15px;
}

.contact-methods {
    margin-top: 30px;
}

.contact-methods strong {
    color: #ffffff;
    font-weight: bold;
}

.contact-item {
    padding: 0;
}

section {
    margin-bottom: 40px;
}

.intro {
    margin-bottom: 40px;
}

footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid rgba(187, 134, 252, 0.3);
    text-align: center;
}

.webring {
    text-align: center;
}

.webring-icons {
    background-color: transparent;
    border: none;
    padding: 15px;
    min-height: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.webring-icons img {
    display: block;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.webring-placeholder {
    color: #555;
    font-style: italic;
    font-size: 0.9em;
}

.site-license {
    color: #555;
    text-align: center;
    font-size: 0.9em;
}

h2[id] {
    scroll-margin-top: 20px;
}

::selection {
    background-color: #BB86FC;
    color: #ffffff;
}

@media (max-width: 600px) {
    .container {
        padding: 30px 15px;
    }
    
    .site-title {
        font-size: 1.8em;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.3em;
        padding-left: 30px;
    }
    
    h3 {
        font-size: 1.1em;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}
