:root {
    --primary: oklch(.5 .15 140);
    --text: #3c4e3c;
    --bg: #f6f9f6;
    --accent: #3d6a37;
    --particle: 44, 62, 80;
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: oklch(.65 .15 140);
        --text: #e0e6e0;
        --bg: #1a1f1a;
        --accent: #6db365;
        --particle: 200, 210, 200;
    }
}

html {
    height: 100%;
}

body {
    font-family: Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
    line-height: 1.6;
    display: grid;
    place-items: center;
    background: var(--bg);
    color: var(--text);
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

#canvas-background {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    padding: 2rem;
    margin: 2rem auto;
    text-align: center;
    min-height: min-content;
}

.logo {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
    border-radius: 50%;
    transition: background 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    .logo {
        background: rgba(255, 255, 255, 0.1);
    }
}

h1 {
    margin: 0;
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    animation: fadeIn 1s ease-out;
    transition: transform 0.3s ease, color 0.3s ease;
}

h1:hover {
    transform: scale(1.05);
    color: var(--accent);
}

p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
    animation: fadeIn 1s ease-out 0.2s backwards;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

p:hover {
    opacity: 1;
}

.social-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
    opacity: 0.9;
}

.social-link:hover {
    opacity: 1;
    color: var(--accent);
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.cta-link:hover {
    transform: translateY(-2px);
    background: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-link::after {
    content: "→";
    transition: transform 0.3s ease;
}

.cta-link:hover::after {
    transform: translateX(4px);
}

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

@media (max-width: 480px) {
    .content {
        padding: 1.5rem;
    }
    h1 {
        font-size: 2rem;
    }
    p {
        font-size: 1rem;
    }
}
