:root { --bg-color: #0f0f13; --card-bg: rgba(255, 255, 255, 0.05); --primary: #00ff88; --secondary: #bd00ff; --text: #ffffff; --text-muted: #8b8b9e; --danger: #ff4757; --font-main: 'Inter', sans-serif; --radius: 16px; } * { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; } body { background-color: var(--bg-color); color: var(--text); font-family: var(--font-main); display: flex; justify-content: center; align-items: center; height: 100vh; overflow: hidden; background-image: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #000 100%); } .app-container { width: 100%; max-width: 480px; height: 100vh; background: var(--bg-color); display: flex; flex-direction: column; position: relative; box-shadow: 0 0 50px rgba(0, 0, 0, 0.5); } @media (min-width: 480px) { .app-container { height: 90vh; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.1); } } /* ================= SCREEN MANAGEMENT ================= */ .screen { flex: 1; display: none; /* Hidden by default */ flex-direction: column; height: 100%; animation: fadeIn 0.3s ease; } .screen.active { display: flex; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* ================= HOME SCREEN ================= */ .home-content { padding: 40px; display: flex; flex-direction: column; justify-content: center; height: 100%; text-align: center; } .brand-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; background: linear-gradient(45deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .brand-subtitle { color: var(--text-muted); margin-bottom: 40px; } .form-group { margin-bottom: 20px; text-align: left; } .form-group label { display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 0.9rem; } .input-field { width: 100%; padding: 14px; background: var(--card-bg); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; color: white; font-size: 1rem; transition: 0.3s; } .input-field:focus { border-color: var(--primary); outline: none; background: rgba(255, 255, 255, 0.08); } .btn-primary { width: 100%; padding: 16px; background: linear-gradient(90deg, var(--primary), #00cc6a); color: #000; font-weight: 700; font-size: 1.1rem; border: none; border-radius: 12px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; margin-top: 10px; } .btn-primary:active { transform: scale(0.98); } .btn-primary:hover { box-shadow: 0 0 20px rgba(0, 255, 136, 0.4); } /* ================= CHAT SCREEN ================= */ .chat-header { padding: 16px 20px; background: rgba(20, 20, 25, 0.95); border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; backdrop-filter: blur(10px); z-index: 10; } .partner-info { display: flex; flex-direction: column; } .partner-name { font-weight: 600; font-size: 1.1rem; } .partner-status { font-size: 0.8rem; color: var(--primary); display: flex; align-items: center; gap: 5px; } .typing-dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; animation: pulse 1s infinite; } @keyframes pulse { 0% { opacity: 0.4; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.2); } 100% { opacity: 0.4; transform: scale(0.8); } } .skip-btn { background: transparent; border: 1px solid var(--danger); color: var(--danger); padding: 8px 16px; border-radius: 20px; font-size: 0.9rem; cursor: pointer; transition: 0.2s; } .skip-btn:hover { background: var(--danger); color: white; } .chat-area { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; } /* Custom Scrollbar */ .chat-area::-webkit-scrollbar { width: 6px; } .chat-area::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 3px; } .message { max-width: 80%; padding: 12px 16px; border-radius: 18px; line-height: 1.4; position: relative; word-wrap: break-word; font-size: 0.95rem; } .message.stranger { background: var(--card-bg); align-self: flex-start; border-bottom-left-radius: 4px; } .message.user { background: var(--primary); color: #000; align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; } .system-message { align-self: center; background: rgba(255, 255, 255, 0.1); color: var(--text-muted); font-size: 0.8rem; padding: 4px 12px; border-radius: 12px; margin: 10px 0; } .chat-input-area { padding: 16px; background: rgba(20, 20, 25, 0.95); border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; gap: 10px; } .chat-input { flex: 1; background: var(--card-bg); border: none; padding: 12px 16px; border-radius: 24px; color: white; resize: none; max-height: 100px; font-family: inherit; } .chat-input:focus { outline: none; background: rgba(255, 255, 255, 0.1); } .send-btn { width: 44px; height: 44px; background: var(--primary); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #000; transition: 0.2s; } .send-btn:hover { transform: scale(1.1); } .hidden { display: none !important; }