:root {
    /* Base Colors */
    --bg-dark: #0a0a0a;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    
    /* Chris's Theme */
    --chris-main: #00ff66;
    --chris-dark: #003314;
    --chris-bg: #0d120f;
    
    /* Lily's Theme */
    --lily-main: #ff007f;
    --lily-dark: #4a0025;
    --lily-bg: #140a10;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --trans-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --trans-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow: hidden; /* Prevent scrolling if we want a pure split app feel */
    min-height: 100vh;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* Layout Container */
.split-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: relative;
}

/* Center Branding */
.center-brand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    text-align: center;
    pointer-events: none; /* Let clicks pass through to sections if needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.center-brand h1 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-main);
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
    margin-top: 1rem;
}

.brand-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    background: var(--bg-dark);
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    animation: pulseCore 4s infinite alternate ease-in-out;
}

.brand-ring::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--chris-main), transparent 40%, transparent 60%, var(--lily-main));
    z-index: -1;
    animation: rotateGradient 10s linear infinite;
}

/* Panels */
.panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: flex var(--trans-slow);
}

.panel:hover {
    flex: 1.15;
}

.chris-panel {
    background-color: var(--chris-bg);
}

.lily-panel {
    background-color: var(--lily-bg);
}

/* Panel Content */
.panel-content {
    position: relative;
    z-index: 10;
    max-width: 480px;
    padding: 2rem;
    text-align: center;
    opacity: 0.9;
    transition: opacity var(--trans-fast), transform var(--trans-slow);
    transform: translateY(20px);
    animation: fadeInUp 1s forwards ease-out;
}

.panel:hover .panel-content {
    opacity: 1;
    transform: translateY(0);
}

.lily-panel .panel-content {
    animation-delay: 0.2s; /* Staggered load */
}

/* Name */
.name {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.chris-panel .name {
    background: linear-gradient(to right, #00ff66, #b3ffcc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 255, 102, 0.3);
}

.lily-panel .name {
    background: linear-gradient(to right, #ff007f, #ffb3d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 0, 127, 0.3);
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tags span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

/* Bio */
.bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--text-main);
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--trans-fast), box-shadow var(--trans-fast);
    z-index: 1;
}

.btn-text {
    position: relative;
    z-index: 2;
    letter-spacing: 0.05em;
}

.btn-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    transition: opacity var(--trans-fast);
}

/* Chris Button */
.btn-chris {
    background: transparent;
    border: 1px solid rgba(0, 255, 102, 0.4);
}

.btn-chris .btn-glow {
    background: linear-gradient(45deg, #006629, #00ff66);
    opacity: 0.1;
}

.btn-chris:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 102, 0.2);
    border-color: rgba(0, 255, 102, 0.8);
}

.btn-chris:hover .btn-glow {
    opacity: 0.3;
}

/* Lily Button */
.btn-lily {
    background: transparent;
    border: 1px solid rgba(255, 0, 127, 0.4);
}

.btn-lily .btn-glow {
    background: linear-gradient(45deg, #660033, #ff007f);
    opacity: 0.1;
}

.btn-lily:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 127, 0.2);
    border-color: rgba(255, 0, 127, 0.8);
}

.btn-lily:hover .btn-glow {
    opacity: 0.3;
}

/* Background Atmospheric Effects */
.bg-elements {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.chris-panel .bg-elements {
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 102, 0.05) 0%, transparent 70%);
}

.lily-panel .bg-elements {
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 127, 0.05) 0%, transparent 70%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseCore {
    0% { box-shadow: 0 0 30px rgba(0,0,0,0.8); }
    100% { box-shadow: 0 0 50px rgba(255,255,255,0.05), inset 0 0 20px rgba(255,255,255,0.02); }
}

/* Responsive */
@media (max-width: 900px) {
    .split-container {
        flex-direction: column;
        overflow: auto; /* Allow scroll on mobile */
    }
    
    body {
        overflow: auto;
    }
    
    .panel {
        flex: none;
        min-height: 100vh;
        width: 100%;
        padding: 4rem 1rem;
    }
    
    .panel:hover {
        flex: none;
    }
    
    .center-brand {
        top: 2rem;
        transform: translate(-50%, 0);
        flex-direction: row;
        gap: 1rem;
    }
    
    .brand-ring {
        width: 40px;
        height: 40px;
    }
    
    .center-brand h1 {
        margin-top: 0;
        font-size: 1.2rem;
    }
    
    .name {
        font-size: 3rem;
    }
}
