:root {
    /* Light theme (Anthropic cream inspired) */
    --bg-color: #fdfbf7;
    --text-primary: #2d2d2d;
    --text-secondary: #5a5a5a;
    --accent-color: #8b5cf6;
    --toggle-bg: #eae6df;
    --toggle-fg: #2d2d2d;
    --blob-1: rgba(139, 92, 246, 0.12);
    --blob-2: rgba(56, 189, 248, 0.08);
}

[data-theme="dark"] {
    /* Dark theme (Dark gray, not pure black) */
    --bg-color: #1a1a1a;
    --text-primary: #f3f4f6;
    --text-secondary: #a1a1aa;
    --accent-color: #a78bfa;
    --toggle-bg: #2d2d2d;
    --toggle-fg: #f3f4f6;
    --blob-1: rgba(139, 92, 246, 0.08);
    --blob-2: rgba(56, 189, 248, 0.05);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 10;
}

.greeting {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.name {
    font-family: "Playfair Display", "Merriweather", ui-serif, Georgia, serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.bio-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background-color: rgba(139, 92, 246, 0.08);
    color: var(--accent-color);
    border: 1px solid rgba(139, 92, 246, 0.15);
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .bio-tag {
    background-color: rgba(167, 139, 250, 0.08);
    border-color: rgba(167, 139, 250, 0.15);
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--toggle-bg);
    color: var(--toggle-fg);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, background-color 0.4s ease;
    z-index: 100;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }
[data-theme="light"] .theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .moon { display: block; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mild ambient background animation */
.ambient-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float 20s infinite ease-in-out alternate;
    pointer-events: none;
}

.blob-1 {
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, var(--blob-1) 0%, rgba(255,255,255,0) 70%);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 60vw;
    height: 60vw;
    max-width: 700px;
    max-height: 700px;
    background: radial-gradient(circle, var(--blob-2) 0%, rgba(255,255,255,0) 70%);
    bottom: -20%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}



@media (max-width: 600px) {
    .theme-toggle {
        top: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
    }
    .theme-toggle svg {
        width: 18px;
        height: 18px;
    }
}