body {
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#avatar {
    width: 250px;
    height: 350px;
    margin-bottom: 20px;
}

@keyframes head-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

#avatar {
    animation: head-bob 1s ease-in-out infinite;
}

.eyes ellipse {
    animation: blink 4s infinite;
}

@keyframes blink {
    0%, 90%, 100% { ry: 8; }
    95% { ry: 2; }
}

.controls {
    display: flex;
    gap: 10px;
}

#prompt {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
}

#speak {
    padding: 12px 24px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
}

#speak:hover {
    background: #45a049;
}

#speak:disabled {
    background: #ccc;
    cursor: not-allowed;
}
