:root {
    --bg-cream: #FDF5E6;
    --accent-pink: #FFD1DC;
    --accent-brown: #8B4513;
    --soft-brown: #A0522D;
    --glass: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glow: 0 0 15px rgba(255, 209, 220, 0.8);
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'JetBrains+Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-cream);
    font-family: var(--font-main);
    color: var(--accent-brown);
    overflow-x: hidden;
    cursor: none;
}

#cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: multiply;
    transition: transform 0.1s ease;
    filter: blur(2px);
}

.hidden { display: none !important; }

/* Overlay Screens */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 2rem;
}

.terminal {
    width: 100%;
    max-width: 600px;
    color: #00ff00;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    line-height: 1.6;
}

.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* Navbar */
.navbar {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #4caf50;
    border-radius: 50%;
    box-shadow: 0 0 5px #4caf50;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#music-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

#music-toggle:hover { transform: scale(1.2); }

.status-chip {
    background: var(--accent-pink);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Layout */
.layout-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* Sidebar */
.sidebar {
    padding: 2rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-card {
    text-align: center;
}

.avatar-ring {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, var(--accent-pink), var(--accent-brown));
    box-shadow: var(--glow);
}

.avatar-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.8;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-box {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-box label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

.progress-container {
    height: 8px;
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--accent-pink);
    box-shadow: var(--glow);
}

/* Content Area */
.content-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-header .title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.teddy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.teddy-card {
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.teddy-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    background: #fff;
}

.teddy-card .emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Message Box */
.message-box {
    padding: 2rem;
    min-height: 150px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.big-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Action Zone */
.action-zone {
    display: flex;
    justify-content: center;
}

.btn-primary {
    background: var(--accent-brown);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(139, 69, 19, 0.2);
}

.btn-primary:hover {
    transform: scale(1.05);
    background: var(--soft-brown);
    box-shadow: 0 15px 30px rgba(139, 69, 19, 0.3);
}

/* Letter Overlay */
.letter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.letter-card {
    width: 90%;
    max-width: 500px;
    padding: 3rem;
    background: #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.letter-content {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-close {
    background: none;
    border: 1px solid var(--accent-brown);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }
}

.mono { font-family: var(--font-mono); }
