/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #D17A5C;
    --bg-color: #0a0a0a;
    --orb-color: rgba(209, 122, 92, 0.1);
    --orb-color-2: rgba(209, 122, 92, 0.08);
    --orb-color-3: rgba(255, 255, 255, 0.03);
    --footer-color: rgba(255, 255, 255, 0.5);
}

:root.light-theme {
    --bg-color: #f5f5f5;
    --orb-color: rgba(209, 122, 92, 0.15);
    --orb-color-2: rgba(209, 122, 92, 0.12);
    --orb-color-3: rgba(0, 0, 0, 0.05);
    --footer-color: rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Nunito', 'Rounded Mplus 1c', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    transition: background 0.3s ease;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, var(--orb-color) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--orb-color-2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, var(--orb-color-3) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.8;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.9;
    }
}

.container {
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: var(--footer-color);
    font-size: 0.875rem;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
    padding: 10px 15px;
    border-radius: 50%;
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--orange);
    color: white;
    transform: scale(1.05);
}

.typewriter-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.typewriter {
    color: var(--orange);
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

#line1 {
    font-size: clamp(4rem, 10vw, 8rem);
    letter-spacing: -0.02em;
}

#line2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .typewriter-container {
        gap: 0.25rem;
    }

    #line1 {
        font-size: clamp(3rem, 12vw, 6rem);
    }

    #line2 {
        font-size: clamp(1.5rem, 6vw, 3rem);
    }
}
