:root {
    --primary-color: #14b8a6;
    --primary-glow: rgba(20, 184, 166, 0.4);
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
    --accent-glow: rgba(20, 184, 166, 0.4);
    --bg-dark: #070a0f;
    --text-light: #f8fafc;
    --text-dim: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: var(--text-light);
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(100px);
    opacity: 0.15;
    top: 10%;
    left: 10%;
    z-index: 0;
}

body::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: #0ea5e9;
    filter: blur(100px);
    opacity: 0.1;
    bottom: 5%;
    right: 5%;
    z-index: 0;
}

.zen-container {
    width: 100%;
    max-width: 600px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    position: relative;
}

/* AI Stage */
.ai-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.ai-avatar-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(20, 184, 166, 0.2));
}

.glow-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    background: var(--primary-color);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    transition: all 0.5s ease;
}

/* Speaking Animation */
#emilia-avatar.speaking+.glow-ring {
    opacity: 0.4;
    transform: scale(1.4);
    animation: breathe-large 2s infinite ease-in-out;
}

@keyframes breathe-large {
    0% {
        transform: scale(1.2);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.6);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.question-container {
    width: 100%;
    text-align: center;
    min-height: 80px;
}

.question-text {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-light);
}

/* Minimal Input */
.minimal-input-area {
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.input-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.input-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.15);
}

#user-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.05rem;
    outline: none;
    padding: 0.5rem 0;
}

.send-btn {
    background: var(--primary-color);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.send-btn:hover {
    transform: scale(1.1);
}

.status-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-dim);
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

.hidden {
    display: none;
}