/* 2003 aesthetic with clean minimalism */
/* Inspired by early web design with modern touches */

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

body {
    font-family: "Inter", "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", monospace;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

/* Clean professional aesthetic with subtle easter eggs */
:root {
    --accent-purple: #6b5b95;
    --light-purple: #f0ebf5;
    --hover-purple: #4a3f6b;
    --tech-purple: #8b7fb8;
    --bright-purple: #e6ccff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-light: #e0e0e0;
    --bg-light: #fafafa;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}

/* Subtle easter egg - corner indicators on hover */
.container:hover::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, var(--tech-purple) 0%, var(--accent-purple) 50%, var(--bright-purple) 100%);
    z-index: -1;
    opacity: 0.05;
    border-radius: 2px;
}

header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

/* Easter egg - subtle glitch on hover */
h1:hover::after {
    content: "zykhe";
    position: absolute;
    left: 1px;
    top: 1px;
    color: var(--tech-purple);
    opacity: 0.1;
    z-index: -1;
}

.subtitle {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9em;
}

/* Hidden easter egg - status indicator only shows on specific interaction */
.terminal-status {
    margin-top: 10px;
    font-family: "SF Mono", monospace;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.container:hover .terminal-status {
    opacity: 0.3;
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-purple);
}

.status-text {
    color: var(--text-light);
    font-weight: normal;
}

nav {
    text-align: center;
    margin-bottom: 30px;
    padding: 10px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
}

.nav-link {
    display: inline-block;
    margin: 0 15px;
    text-decoration: none;
    color: var(--accent-purple);
    font-weight: bold;
    text-transform: lowercase;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--hover-purple);
    text-decoration: underline;
}

section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    position: relative;
}

/* Easter egg - subtle grid only on hover */
section:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(107, 91, 149, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 91, 149, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

section > * {
    position: relative;
    z-index: 1;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 5px;
}

p {
    margin-bottom: 15px;
}

.post-list {
    list-style-type: none;
}

.post-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Easter egg - subtle scan effect on hover */
.post-item:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(107, 91, 149, 0.05), transparent);
    transition: left 0.5s ease;
}

.post-item:hover::before {
    left: 100%;
}

.post-item:hover {
    border-color: var(--accent-purple);
}

.post-title {
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: all 0.2s ease;
}

.post-title:hover {
    color: var(--accent-purple);
    text-decoration: none;
}

.post-date {
    font-size: 0.8em;
    color: var(--text-light);
    font-style: italic;
}

.post-excerpt {
    margin-top: 5px;
    font-size: 0.9em;
    color: var(--text-dark);
}

footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
    margin-top: 20px;
    font-size: 0.8em;
    color: var(--text-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.validation a {
    color: var(--accent-purple);
    text-decoration: none;
}

.validation a:hover {
    color: var(--hover-purple);
    text-decoration: underline;
}

.heart {
    color: var(--accent-purple);
}

/* High-tech animations */
@keyframes subtle-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Terminal cursor effect for code blocks */
code {
    background-color: var(--light-purple);
    padding: 2px 4px;
    border-radius: 2px;
    font-family: "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", monospace;
    position: relative;
}

/* Easter egg - cursor appears only on hover */
code:hover::after {
    content: "_";
    animation: pulse 1s infinite;
    color: var(--accent-purple);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-link {
        display: block;
        margin: 5px 0;
    }
}