body {
    margin: 0;
    overflow: hidden;
    background-color: #0a0a0a;
    background-image: linear-gradient(45deg, #0a0a0a 0%, #1a1010 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Courier New", monospace;
    color: #666;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    transition: all 2s ease;
}

.chat-container {
    background-color: rgba(20, 20, 20, 0.95);
    border: 1px solid #333;
    border-radius: 2px;
    width: 400px;
    height: 80vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4),
                inset 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: fadeIn 1.5s ease-in;
    transition: all 2s ease;
}

.message-container {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 20px;
    padding-bottom: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.status {
    text-align: center;
    margin: 10px;
    margin-top: 5px;
    font-size: 0.8em;
    color: #444;
    font-style: italic;
    letter-spacing: 2px;
    transition: all 2s ease;
}

.pulse {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #333;
    border-radius: 50%;
    margin-left: 5px;
    animation: faint 3s infinite;
}

@keyframes faint {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.1; }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}