/* Reset and Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: #0b0c10; color: #c5c6c7;
    display: flex; flex-direction: column; min-height: 100vh;
}
header {
    background: linear-gradient(180deg, #1f2833 0%, #0b0c10 100%);
    padding: 30px 20px; text-align: center;
    border-bottom: 1px solid #45f3ff;
}
header h1 { font-size: 2.5rem; color: #66fcf1; letter-spacing: 4px; text-shadow: 0 0 10px rgba(102, 252, 241, 0.5); }
header .subtitle { font-size: 1rem; color: #45f3ff; letter-spacing: 2px; text-transform: uppercase; opacity: 0.8; }
main { flex: 1; display: flex; justify-content: center; align-items: center; padding: 20px; }
.card {
    background-color: #1f2833; border: 1px solid #45f3ff; border-radius: 8px;
    padding: 30px; width: 100%; max-width: 600px;
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.15);
}
.welcome-text { font-size: 1.1rem; line-height: 1.6; margin-bottom: 20px; text-align: center; }

/* CHAT INTERFACE */
.chat-interface { margin-top: 20px; border: 1px solid rgba(102, 252, 241, 0.3); border-radius: 5px; overflow: hidden; }
.chat-log { height: 300px; overflow-y: auto; padding: 15px; background: #050505; display: flex; flex-direction: column; gap: 10px; }
.message { max-width: 85%; padding: 10px 14px; border-radius: 5px; font-size: 0.95rem; line-height: 1.4; }
.ciel-msg { background: rgba(69, 243, 255, 0.1); color: #66fcf1; border-left: 3px solid #66fcf1; align-self: flex-start; }
.user-msg { background: #1f2833; color: #fff; align-self: flex-end; border-right: 3px solid #c5c6c7; }
.chat-input-area { display: flex; border-top: 1px solid rgba(102, 252, 241, 0.3); }
#chat-input { flex: 1; padding: 15px; background: #111; border: none; color: #66fcf1; font-family: 'Inter'; outline: none; }
#send-btn { background: #45f3ff; color: #000; border: none; padding: 0 20px; font-weight: bold; cursor: pointer; transition: 0.2s; }
#send-btn:hover { background: #66fcf1; box-shadow: 0 0 10px #66fcf1; }

/* BOOT SEQUENCE */
.boot-screen { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: #050505; z-index: 9999; display: flex; flex-direction: column; padding: 30px; font-family: 'Courier New', monospace; color: #66fcf1; transition: opacity 1s ease-out, visibility 1s ease-out; }
.boot-screen.hidden { opacity: 0; visibility: hidden; }
.terminal-line { margin-bottom: 8px; font-size: 1.1rem; text-shadow: 0 0 5px rgba(102, 252, 241, 0.7); }
.cursor { width: 12px; height: 20px; background-color: #66fcf1; margin-top: 5px; animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
footer { background-color: #0b0c10; padding: 20px; text-align: center; font-size: 0.8rem; border-top: 1px solid rgba(102, 252, 241, 0.1); }