:root {
    --bg: #0a0a0a;
    --text: #e5e5e5;
    --accent-green: #20ff6b;
    --dim: #9aa39f;
    --dark-border: #1a1a1a;
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'SF Mono', 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
    line-height: 1.6;
    font-size: 14px;
    position: relative;
    overflow-x: hidden;
}

/* Subtle scanline effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(32, 255, 107, 0.01) 2px,
        rgba(32, 255, 107, 0.01) 4px
    );
    pointer-events: none;
    z-index: 1000;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--dark-border);
    padding: 1rem 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.logo-link {
    display: inline-block;
    transition: all 0.2s ease;
    text-decoration: none;
}

.logo-link:hover {
    transform: translateY(-1px);
}

.logo-link:hover .logo {
    filter: drop-shadow(0 0 8px rgba(32, 255, 107, 0.4));
}

.nav-brand .logo {
    height: 24px;
    width: auto;
    transition: filter 0.2s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--dim);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    padding: 0.2rem 0.5rem;
}

.nav-links a:hover {
    color: var(--accent-green);
    text-shadow: 0 0 5px rgba(32, 255, 107, 0.3);
    transform: translateY(-1px);
}

.nav-links a::before {
    content: '>';
    position: absolute;
    left: -0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-links a:hover::before {
    opacity: 1;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 16px;
}

.prompt {
    color: var(--accent-green);
    font-weight: bold;
}


/* Subtle glow effect */
.terminal-line {
    text-shadow: 0 0 3px rgba(32, 255, 107, 0.1);
}

/* More subtle flicker effect */
@keyframes flicker {
    0%, 96% { opacity: 1; }
    97%, 99% { opacity: 0.96; }
    100% { opacity: 1; }
}

.terminal-line {
    animation: flicker 15s infinite;
    animation-delay: 5s;
}

/* Gallery */
.gallery {
    padding: 6rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-placeholder {
    text-align: center;
}

.ascii-grid {
    margin-top: 3rem;
}

.grid-layout {
    color: var(--dim);
    font-size: 14px;
    line-height: 2;
    opacity: 0.5;
    font-family: inherit;
    letter-spacing: 2px;
}

/* Contact */
.contact {
    padding: 6rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: center;
}

.contact-info a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.contact-info a:hover {
    color: var(--accent-green);
    text-shadow: 0 0 5px rgba(32, 255, 107, 0.3);
}

.contact-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}

.contact-info a:hover::after {
    width: 100%;
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    text-align: center;
    background: var(--bg);
    border-top: 1px solid var(--dark-border);
}

footer p {
    color: var(--dim);
    font-size: 0.8rem;
}

.footer-link {
    color: var(--dim);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-green);
    text-shadow: 0 0 8px rgba(32, 255, 107, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .terminal-line {
        font-size: 14px;
    }
}