:root { --bg: #0c1222; --bg-deep: #060910; --card: #111827; --line: #243041; --text: #f8fafc; --muted: #94a3b8; --primary: #2563eb; --danger: #dc2626; --success: #22c55e; } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; font-family: Inter, Arial, sans-serif; color: var(--text); background: radial-gradient(ellipse 110% 75% at 50% -12%, rgba(37, 99, 235, 0.2), transparent 52%), linear-gradient(168deg, var(--bg-deep) 0%, var(--bg) 44%, #0f172a 100%); } a { color: inherit; } .container { max-width: 1120px; margin: 0 auto; padding: 32px 16px; } .container.wide { max-width: 1680px; } .home-shell { min-height: 100vh; display: flex; align-items: center; } .home-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); gap: 48px; align-items: center; } .card { background: rgba(17, 24, 39, 0.96); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); } h1, h2 { margin-top: 0; } .muted { color: var(--muted); line-height: 1.55; } .home-hero-lead { max-width: 44ch; } .home-features { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); } .home-features li { position: relative; padding-left: 22px; } .home-features li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); } .home-card-header, .meeting-topbar, .row { display: flex; gap: 12px; align-items: center; } .home-card-header, .meeting-topbar { justify-content: space-between; } .centered { justify-content: center; } .stack { display: flex; flex-direction: column; gap: 18px; } .field { display: flex; flex-direction: column; gap: 8px; } input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #0b1220; color: white; font: inherit; } input[type='range'] { padding: 0; accent-color: var(--primary); } .btn, .icon-btn, .toggle-btn { border: 0; border-radius: 12px; padding: 12px 16px; cursor: pointer; font: inherit; } .btn.primary { background: var(--primary); color: white; } .btn.secondary, .toggle-btn { background: #f8fafc; color: #111827; } .btn.danger { background: var(--danger); color: white; } .btn:disabled { opacity: 0.6; cursor: not-allowed; } .link-btn { display: inline-flex; justify-content: center; text-decoration: none; } .icon-btn { min-width: 50px; min-height: 50px; background: #1f2937; color: white; display: inline-flex; align-items: center; justify-content: center; } .icon-btn.small { min-width: 44px; min-height: 44px; padding: 0; } .icon-btn.is-off { background: #3a1111; color: #fecaca; } .toggle-btn.active { background: #13274f; color: white; border: 1px solid #355cae; } .toggle-btn.inactive { background: #1f2937; color: #cbd5e1; border: 1px solid #4b5563; } .toggle-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; } .control-icon { width: 24px; height: 24px; object-fit: contain; display: block; } .icon-btn .control-icon { width: 26px; height: 26px; } .home-actions { display: grid; grid-template-columns: 1fr auto; gap: 12px; } .settings-wrap { position: relative; } .settings-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; width: 260px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(17, 24, 39, 0.98); } .checkbox-line { display: flex; gap: 10px; align-items: center; } .checkbox-line input { width: 18px; height: 18px; } .qr-box { display: inline-flex; padding: 12px; border-radius: 14px; background: white; } .toast-stack { position: fixed; top: 16px; right: 16px; z-index: 1000; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 32px)); } .toast { padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(17, 24, 39, 0.96); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); } .toast.success { border-color: rgba(34, 197, 94, 0.5); } .toast.error { border-color: rgba(239, 68, 68, 0.55); } .error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; } .error-card { max-width: 500px; text-align: center; } .error-code { margin: 0 0 12px; color: var(--muted); letter-spacing: 0.12em; } .join-card { margin-bottom: 20px; } .prejoin-layout { display: grid; grid-template-columns: minmax(320px, 1.2fr) minmax(300px, 0.9fr); gap: 20px; } .preview-stage { min-height: 420px; border-radius: 18px; overflow: hidden; background: #020617; border: 1px solid rgba(148, 163, 184, 0.16); display: flex; align-items: center; justify-content: center; } .prejoin-preview-video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); } .preview-placeholder { display: flex; flex-direction: column; align-items: center; gap: 10px; } .meeting-card { margin-bottom: 20px; } .meeting-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); } .meeting-room-name { margin-bottom: 0; } .meeting-controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: flex-end; } .meeting-timer { min-width: 74px; text-align: center; font-size: 18px; font-weight: 700; color: #93c5fd; } .videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; } .video-tile { background: #0b1220; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; min-height: 360px; } .video-tile.speaking { border-color: var(--success); box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35); } .video-label-row { padding: 10px 12px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; } .participant-volume { display: grid; gap: 8px; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); background: rgba(15, 23, 42, 0.72); color: var(--muted); font-size: 13px; } .screen-slot { height: 260px; background: #020617; } .media-slot { min-height: 320px; height: 100%; display: flex; align-items: center; justify-content: center; background: #020617; } .media-slot video, .screen-slot video { width: 100%; height: 100%; min-height: inherit; object-fit: cover; } .screen-share-video { object-fit: contain !important; } .local-video { transform: scaleX(-1); } .avatar-placeholder { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, #1d4ed8, #3b82f6); display: flex; align-items: center; justify-content: center; color: white; font-size: 44px; font-weight: 800; } .hidden-audio { width: 0; height: 0; opacity: 0; } .chat-card { margin-bottom: 96px; } .chat-messages { min-height: 260px; max-height: 420px; overflow-y: auto; border: 1px solid var(--line); border-radius: 16px; background: #0b1220; padding: 12px; display: flex; flex-direction: column; gap: 10px; } .chat-message { background: #111827; border: 1px solid #223046; border-radius: 12px; padding: 10px 12px; } .chat-message.own { background: #102143; border-color: #274b8f; } .chat-author { font-size: 12px; color: #93c5fd; margin-bottom: 6px; font-weight: 700; } .chat-text { word-break: break-word; } .chat-form { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; } .chat-form input[type='text'] { min-width: 220px; flex: 1 1 260px; } .hidden-file-input { display: none; } .attachment-btn { flex: 0 0 auto; } .file-link { color: #93c5fd; } .call-bottom-actions { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 50; display: flex; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(11, 18, 32, 0.96); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22); } @media (max-width: 900px) { .home-grid, .prejoin-layout { grid-template-columns: 1fr; } .meeting-topbar { align-items: flex-start; flex-direction: column; } } @media (max-width: 640px) { .container { padding: 20px 12px; } .home-actions, .row { grid-template-columns: 1fr; flex-direction: column; align-items: stretch; } .card { padding: 18px 14px; } .preview-stage { min-height: 280px; } .call-bottom-actions { width: calc(100% - 24px); flex-direction: column; } }