@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100..800&family=Inter:wght@300;400;600&display=swap');

:root {
    --bg-color: #030303;
    --text-main: #f0f0f0;
    --text-muted: #888888;
    --accent: #ffffff;
    --border: #333333;
    --glitch-color1: #ff00ff;
    --glitch-color2: #00ffff;
}

body.light-mode {
    --bg-color: #e4e4e7;
    --text-main: #030303;
    --text-muted: #555555;
    --accent: #000000;
    --border: #cccccc;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(220, 220, 220, 1) 0%, transparent 50%),
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(20, 20, 20, 1) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px, 50px 50px;
    background-position: center top, center center, center center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    animation: fadeInDown 1s ease-out forwards;
    opacity: 0;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-main);
    text-decoration: none;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

.page-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.page-content {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.cursor-follower {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: var(--text-main);
    color: var(--bg-color);
}

.theme-toggle .dark-icon { display: none; }
body.light-mode .theme-toggle .light-icon { display: none; }
body.light-mode .theme-toggle .dark-icon { display: block; }

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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