:root { --primary: #ff2d75; --primary-dark: #d4004e; --secondary: #000000; --text: #f8f8f8; --bg: #121212; --card-bg: #1e1e1e; --input-bg: #2a2a2a; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background-color: var(--bg); color: var(--text); height: 100vh; overflow: hidden; display: flex; flex-direction: column; overflow: hidden; } .container { display: flex; flex-direction: column; height: 100vh; position: relative; z-index: 1; } .particles { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1; overflow: hidden; pointer-events: none; } .particle { position: absolute; background: var(--primary); border-radius: 50%; opacity: 0.15; filter: blur(20px); animation: float linear infinite; } header { flex-shrink: 0; display: flex; align-items: center; padding: 5px; border-top: 2px solid var(--primary); border-bottom: 2px solid var(--primary); background: black; z-index: 2; } .logo-container { display: flex; align-items: center; gap: 11px; } .logo { height: 40px; filter: drop-shadow(0 0 5px rgba(255, 45, 117, 0.5)); } .title { font-size: 25px; font-weight: bold; background: linear-gradient(45deg, var(--primary), #ff6b9d); -webkit-background-clip: text; color: transparent; } .chat-container { flex: 1; display: flex; flex-direction: column; background-color: black; overflow: hidden; } .chat-messages { flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 10px; } .message { max-width: 80%; padding: 10px; border-radius: 15px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); animation: fadeInUp 0.4s ease; position: relative; } .user-message { align-self: flex-end; background: var(--primary); color: white; border-bottom-right-radius: 5px; } .ai-message { align-self: flex-start; background: black; color: white; border-bottom-left-radius: 5px; border: 1px solid #ff2d75; padding-right: 35px; } .message-time { font-size: 11px; text-align: right; opacity: 0.7; margin-top: 5px; } .typing-loading-wrap { display: flex; flex-direction: column; padding: 5px 15px; gap: 6px; background-color: #00000022; } .typing-indicator { display: none; align-self: flex-start; background: black; box-shadow: 0 3px 10px rgba(255, 45, 117, 0.2); border-radius: 15px; padding: 8px 15px; b font-size: 15px; color: var(--text); font-weight: 500; border: 1px solid #ff2d75; } .typing-indicator span { display: inline-block; width: 10px; height: 10px; margin-left: 5px; background-color: var(--primary); border-radius: 50%; animation: pulse 1s infinite ease-in-out; } .typing-indicator span:nth-child(2) { animation-delay: 0.2s; } .typing-indicator span:nth-child(3) { animation-delay: 0.4s; } .typing-indicator span:nth-child(4) { animation-delay: 0.6s; } .loading-container { display: none; justify-content: flex-start; padding: 2px; } .loading-dots .dot { width: 10px; height: 10px; background-color: var(--primary); border-radius: 50%; margin: 0 3px; animation: bounce 1.4s infinite ease-in-out; } .loading-dots .dot:nth-child(2) { animation-delay: -0.2s; } .loading-dots .dot:nth-child(3) { animation-delay: -0.4s; } .chat-input-container { flex-shrink: 0; display: flex; padding: 10px; gap: 10px; background: rgba(0, 0, 0, 0.2); border-top: 1px solid rgba(255, 255, 255, 0.1); } .chat-input { flex: 1; padding: 12px; border-radius: 50px; background: black; color: var(--text); border: none; font-size: 16px; outline: none; border: 1px solid #ff2d75; } .send-button { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(45deg, var(--primary), var(--primary-dark)); color: white; border: none; display: flex; align-items: center; justify-content: center; } .copy-btn { position: absolute; right: 8px; top: 8px; background: transparent; border: none; color: var(--primary); cursor: pointer; font-size: 14px; opacity: 0.7; transition: opacity 0.2s; } .copy-btn:hover { opacity: 1; } .ai-message h1, .ai-message h2, .ai-message h3, .ai-message h4 { color: var(--primary); margin: 10px 0; } .ai-message p { margin: 8px 0; line-height: 1.5; } .ai-message strong { color: var(--primary); } .ai-message em { font-style: italic; } .ai-message pre { background: rgba(255, 45, 117, 0.1); padding: 10px; border-radius: 5px; overflow-x: auto; margin: 10px 0; } .ai-message code { background: rgba(255, 45, 117, 0.1); padding: 2px 4px; border-radius: 3px; font-family: monospace; } .ai-message ul, .ai-message ol { margin: 10px 0; padding-left: 20px; } .ai-message li { margin: 5px 0; } @keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } } @keyframes pulse { 0%, 100% { opacity: 0.4; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1); } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @keyframes float { 0% { transform: translate(0, 0) rotate(0deg); } 25% { transform: translate(50px, 50px) rotate(90deg); } 50% { transform: translate(100px, 0) rotate(180deg); } 75% { transform: translate(50px, -50px) rotate(270deg); } 100% { transform: translate(0, 0) rotate(360deg); } }