/* SexyChat Phase 2 Style – Midnight Purple & Neon Magenta Deep dark backgrounds, vibrant accents, glassmorphism. */ :root { --bg-deep: #0a0015; --bg-card: rgba(26, 0, 48, 0.7); --accent-magenta: #ff00ff; --accent-purple: #8a2be2; --text-main: #f0f0f0; --text-dim: #b0b0b0; --glass-border: rgba(255, 255, 255, 0.1); --error-red: #ff3366; --success-green: #00ffaa; --ai-teal: #00f2ff; } * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; } body { font-family: 'Inter', sans-serif; background-color: var(--bg-deep); background-image: radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.1) 0%, transparent 40%); color: var(--text-main); height: 100vh; overflow: hidden; line-height: 1.5; } h1, h2, h3, .logo-text, .paywall-header h2 { font-family: 'Outfit', sans-serif; } .hidden { display: none !important; } /* ── Glassmorphism ───────────────────────────────────────────────────────── */ .glass { background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8); } /* ── Join Screen ─────────────────────────────────────────────────────────── */ .join-screen { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 1rem; } .join-card { width: 100%; max-width: 420px; padding: 2.5rem; border-radius: 24px; text-align: center; } .join-logo .logo-icon { font-size: 3rem; display: block; margin-bottom: 0.5rem; } .logo-text { font-size: 2.5rem; font-weight: 700; letter-spacing: -1px; } .logo-accent { color: var(--accent-magenta); text-shadow: 0 0 10px rgba(255, 0, 255, 0.5); } .logo-sub { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 2rem; } /* Auth Tabs */ .auth-tabs { display: flex; background: rgba(0, 0, 0, 0.3); padding: 4px; border-radius: 12px; margin-bottom: 1.5rem; } .auth-tab { flex: 1; padding: 8px; border: none; background: transparent; color: var(--text-dim); font-weight: 600; font-size: 0.85rem; cursor: pointer; border-radius: 8px; transition: all 0.2s; } .auth-tab.active { background: var(--accent-purple); color: white; box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3); } /* Form */ .field-group { margin-bottom: 1rem; } input { width: 100%; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--glass-border); padding: 12px 16px; border-radius: 12px; color: white; font-size: 1rem; outline: none; transition: border-color 0.2s; } input:focus { border-color: var(--accent-magenta); } .crypto-note { font-size: 0.75rem; color: var(--accent-magenta); background: rgba(255, 0, 255, 0.05); padding: 10px; border-radius: 8px; margin: 1rem 0; line-height: 1.3; } .btn-primary { width: 100%; background: linear-gradient(135deg, var(--accent-purple), var(--accent-magenta)); color: white; border: none; padding: 14px; border-radius: 12px; font-size: 1rem; font-weight: 700; cursor: pointer; box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3); transition: transform 0.2s, box-shadow 0.2s; margin-top: 1rem; } .btn-primary:active { transform: scale(0.98); } .btn-primary:hover { box-shadow: 0 6px 20px rgba(255, 0, 255, 0.4); } .mod-login { text-align: left; margin: 1rem 0; font-size: 0.85rem; color: var(--text-dim); } .mod-login summary { cursor: pointer; outline: none; } .error-msg { color: var(--error-red); font-size: 0.85rem; margin-top: 1rem; min-height: 1.2em; } /* ── Chat Screen ─────────────────────────────────────────────────────────── */ .chat-screen { display: flex; flex-direction: column; height: 100vh; } .glass-header { height: 64px; background: rgba(10, 0, 20, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; z-index: 100; } .header-title { display: flex; align-items: center; gap: 10px; } #room-name-header { font-weight: 700; font-family: 'Outfit'; } .pulse-dot { width: 8px; height: 8px; background: var(--success-green); border-radius: 50%; box-shadow: 0 0 10px var(--success-green); animation: pulse 2s infinite; } @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } } .user-badge { background: rgba(255, 255, 255, 0.1); padding: 2px 8px; border-radius: 20px; font-size: 0.75rem; color: var(--text-dim); } .header-right { display: flex; align-items: center; gap: 12px; } .my-badge { font-weight: 600; color: var(--accent-magenta); font-size: 0.9rem; } .btn-logout { background: transparent; color: var(--text-dim); border: 1px solid var(--glass-border); padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; cursor: pointer; } /* ── Layout ──────────────────────────────────────────────────────────────── */ .chat-layout { display: flex; flex: 1; overflow: hidden; position: relative; } /* Nicklist */ .nicklist-sidebar { width: 260px; border-right: 1px solid var(--glass-border); display: flex; flex-direction: column; transition: transform 0.3s ease; } .nicklist-header { padding: 1.2rem; font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; color: var(--text-dim); border-bottom: 1px solid var(--glass-border); } .nicklist { list-style: none; overflow-y: auto; flex: 1; } .nicklist li { padding: 12px 20px; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: background 0.2s; font-size: 0.95rem; } .nicklist li:hover { background: rgba(255, 255, 255, 0.05); } .mod-star { color: #ffcc00; } .reg-mark { color: var(--accent-teal); font-size: 0.7rem; margin-left: 2px; } .unverified { color: var(--text-dim); opacity: 0.5; font-style: italic; } .mod-star { color: var(--accent-magenta); margin-right: 4px; } /* ── Main Chat Container ─────────────────────────────────────────────────── */ .chat-main { flex: 1; display: flex; flex-direction: column; background: rgba(0,0,0,0.2); } /* Tabs */ .tab-bar { display: flex; gap: 4px; padding: 8px 12px 0; background: rgba(0,0,0,0.3); border-bottom: 1px solid var(--glass-border); overflow-x: auto; } .tab-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); border-bottom: none; padding: 8px 16px; border-radius: 8px 8px 0 0; color: var(--text-dim); cursor: pointer; font-size: 0.85rem; white-space: nowrap; display: flex; align-items: center; gap: 8px; } .tab-btn.active { background: var(--bg-card); color: white; border-top: 2px solid var(--accent-magenta); } .ai-tab { color: var(--ai-teal) !important; } .tab-btn .badge { background: var(--accent-magenta); font-size: 0.65rem; padding: 1px 5px; border-radius: 10px; color: white; } /* Panels */ .panels { flex: 1; position: relative; overflow: hidden; } .panel { position: absolute; inset: 0; display: none; flex-direction: column; } .panel.active { display: flex; } .messages { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 12px; } /* Chat Bubbles */ .msg { max-width: 80%; animation: fadeIn 0.3s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .msg-bubble { padding: 10px 14px; border-radius: 18px; font-size: 0.95rem; position: relative; word-wrap: break-word; } .msg-meta { font-size: 0.7rem; color: var(--text-dim); margin-bottom: 4px; padding: 0 4px; } .msg-received { align-self: flex-start; } .msg-received .msg-bubble { background: rgba(255, 255, 255, 0.08); border-bottom-left-radius: 4px; border: 1px solid rgba(255,255,255,0.05); } .msg-sent { align-self: flex-end; } .msg-sent .msg-bubble { background: linear-gradient(135deg, var(--accent-purple), var(--accent-magenta)); border-bottom-right-radius: 4px; box-shadow: 0 4px 12px rgba(255, 0, 255, 0.2); } .msg-system { align-self: center; background: rgba(0,0,0,0.3); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; color: var(--text-dim); border: 1px solid var(--glass-border); } .msg-system strong { color: var(--accent-magenta); } /* ── AI Area ─────────────────────────────────────────────────────────────── */ .chat-ai { background: radial-gradient(circle at top, rgba(0, 242, 255, 0.05), transparent 70%); } .ai-header { padding: 1rem; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--glass-border); background: rgba(0,0,0,0.2); } .ai-avatar { width: 40px; height: 40px; background: var(--ai-teal); color: black; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; box-shadow: 0 0 15px var(--ai-teal); } .ai-meta { line-height: 1.2; } .status-indicator { display: block; font-size: 0.7rem; color: var(--success-green); } .typing-indicator { padding: 8px 1.5rem; font-size: 0.8rem; color: var(--ai-teal); font-style: italic; } /* ── Input Area ──────────────────────────────────────────────────────────── */ .message-form { padding: 1rem; display: flex; align-items: flex-end; gap: 10px; background: rgba(10, 0, 20, 0.8); border-top: 1px solid var(--glass-border); } textarea { flex: 1; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); padding: 12px; border-radius: 12px; color: white; font-family: inherit; font-size: 0.95rem; outline: none; resize: none; max-height: 120px; } .btn-send { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-magenta); border: none; color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 0 15px rgba(255, 0, 255, 0.4); } /* ── Modals ──────────────────────────────────────────────────────────────── */ .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem; } .modal-card { padding: 2.5rem; border-radius: 24px; max-width: 400px; text-align: center; } .paywall-card { border: 2px solid var(--ai-teal); box-shadow: 0 0 40px rgba(0, 242, 255, 0.2); } .ai-avatar.large { width: 80px; height: 80px; font-size: 2.5rem; margin: 0 auto 1.5rem; } .paywall-price { font-size: 3rem; font-weight: 700; color: var(--ai-teal); margin: 1.5rem 0; font-family: 'Outfit'; } .benefits { text-align: left; margin-bottom: 2rem; color: var(--text-dim); font-size: 0.9rem; } .benefits p { margin-bottom: 8px; } .btn-text { background: transparent; border: none; color: var(--text-dim); cursor: pointer; margin-top: 1rem; } /* ── Context Menu ────────────────────────────────────────────────────────── */ .context-menu { position: fixed; z-index: 3000; min-width: 160px; padding: 6px 0; border-radius: 12px; background: rgba(15, 0, 30, 0.95); border: 1px solid var(--glass-border); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 10px rgba(138, 43, 226, 0.2); display: flex; flex-direction: column; } .menu-item { padding: 10px 16px; font-size: 0.85rem; font-weight: 500; color: var(--text-dim); cursor: pointer; transition: all 0.2s; } .menu-item:hover { background: var(--accent-purple); color: white; } .menu-item.red { color: var(--error-red); } .menu-item.red:hover { background: var(--error-red); } .menu-item.bold { font-weight: 800; } .menu-divider { height: 1px; background: var(--glass-border); margin: 4px 0; } /* ── Mobile Overrides ─────────────────────────────────────────────────────── */ @media (max-width: 768px) { .nicklist-sidebar { position: absolute; top: 0; bottom: 0; left: 0; z-index: 50; transform: translateX(-100%); background: var(--bg-deep); } .nicklist-sidebar.open { transform: translateX(0); } .join-card { padding: 1.5rem; } .msg-bubble { font-size: 0.9rem; } }