:root { --primary: #00aaff; --secondary: #66ccff; --bg-dark: #0a1c2b; --text-light: #e6f3ff; --local-video-bg: #1e3a5f; --remote-video-bg: #0a1c2b; --screen-share-bg: #3a2a4e; --ice-blue: #b3e5fc; --ice-glow: #4fc3f7; } .connectsphere-container { display: flex; flex-direction: row; gap: 20px; padding: 20px; background: var(--bg-dark); border-radius: 10px; max-width: 1200px; margin: 0 auto; } .connectsphere-main { display: flex; flex-direction: column; gap: 20px; flex: 1; } .connectsphere-video-grid { position: relative; width: 100%; height: 600px; overflow: hidden; background: var(--bg-dark); } .connectsphere-video-wrapper { position: absolute; width: 200px; height: 200px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 15px var(--ice-glow); cursor: move; animation: float 6s ease-in-out infinite; transition: transform 0.3s ease; } .connectsphere-video-wrapper:hover { box-shadow: 0 0 25px var(--ice-blue); } .connectsphere-video { width: 100%; height: 100%; object-fit: cover; } .connectsphere-video-wrapper.local-video { border: 2px solid var(--primary); background: var(--local-video-bg); } .connectsphere-video-wrapper.remote-video { border: 2px solid var(--secondary); background: var(--remote-video-bg); } .connectsphere-video-wrapper.screen-share { border: 2px dashed var(--secondary); background: var(--screen-share-bg); } .connectsphere-video-wrapper::after { content: attr(data-label); position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.7); color: var(--text-light); padding: 5px 10px; border-radius: 5px; font-size: 12px; z-index: 10; } .connectsphere-chat { height: 300px; overflow-y: auto; background: rgba(10, 28, 43, 0.9); border: 1px solid var(--primary); border-radius: 8px; padding: 10px; position: relative; display: none; color: var(--text-light); } .connectsphere-chat.active { display: block; } .connectsphere-chat-messages { margin-bottom: 10px; } .connectsphere-message { margin: 5px 0; padding: 5px 10px; background: rgba(255, 255, 255, 0.1); border-radius: 5px; color: var(--text-light); font-size: 14px; } .connectsphere-message.public .username { color: var(--primary); font-weight: bold; } .connectsphere-message.private .username { color: var(--secondary); font-weight: bold; } .connectsphere-message .timestamp { color: var(--ice-blue); font-size: 12px; margin-left: 5px; } .connectsphere-chat #chat-input { width: 100%; padding: 10px; border: 1px solid var(--primary); border-radius: 5px; background: rgba(255, 255, 255, 0.1); color: var(--text-light); font-size: 14px; } .connectsphere-chat-defaut { width: 100%; padding: 10px; border: 1px solid var(--primary); border-radius: 5px; background: rgba(255, 255, 255, 0.1); color: var(--text-light); font-size: 14px; } .connectsphere-chat #chat-input::placeholder { color: var(--ice-blue); opacity: 0.7; } .connectsphere-chat #chat-input:focus { outline: none; box-shadow: 0 0 8px var(--ice-glow); } .connectsphere-participants { width: 250px; background: var(--bg-dark); border-radius: 8px; padding: 10px; color: var(--text-light); display: none; } .connectsphere-participants.active { display: block; } .connectsphere-participants h3 { margin-top: 0; } .connectsphere-participants ul { list-style: none; padding: 0; } .connectsphere-participants li { padding: 5px 0; cursor: pointer; } .connectsphere-participants li:hover { color: var(--primary); } .connectsphere-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; } .connectsphere-controls button { background: var(--primary); color: var(--text-light); border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; } .connectsphere-controls button:hover { transform: scale(1.05); box-shadow: 0 0 10px var(--ice-glow); } .connectsphere-controls input { padding: 10px; border-radius: 5px; border: 1px solid var(--primary); background: var(--text-light); } .connectsphere-controls p#user-display { color: var(--text-light); font-weight: bold; margin: 10px 0; } .connectsphere-popup { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 20px; border-radius: 10px; color: var(--text-light); box-shadow: 0 8px 16px rgba(0,0,0,0.5); z-index: 1000; animation: fadeIn 0.5s ease; } .connectsphere-popup button { background: #fff; color: var(--primary); border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; margin: 5px; } .connectsphere-banner { position: fixed; bottom: 20px; right: 20px; background: var(--primary); color: var(--text-light); padding: 10px 20px; border-radius: 5px; animation: pulse 2s infinite; } .connectsphere-toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--text-light); padding: 15px 25px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.3); z-index: 1000; animation: slideIn 0.5s ease, slideOut 0.5s ease 2.5s; font-size: 16px; font-weight: 500; text-align: center; max-width: 80%; } .connectsphere-private-chat { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--bg-dark); border: 1px solid var(--primary); border-radius: 8px; padding: 15px; width: 400px; max-height: 500px; overflow: hidden; color: var(--text-light); z-index: 1001; box-shadow: 0 0 15px var(--ice-glow); animation: fadeIn 0.5s ease; } .connectsphere-private-chat h3 { margin: 0 0 10px; color: var(--ice-blue); text-align: center; } .connectsphere-private-chat-messages { max-height: 350px; overflow-y: auto; margin-bottom: 10px; padding: 10px; background: rgba(255, 255, 255, 0.1); border-radius: 5px; } .connectsphere-private-chat-messages .connectsphere-message { margin: 5px 0; } .connectsphere-private-chat input { width: 100%; padding: 10px; border: 1px solid var(--primary); border-radius: 5px; background: rgba(255, 255, 255, 0.1); color: var(--text-light); font-size: 14px; } .connectsphere-private-chat input:focus { outline: none; box-shadow: 0 0 8px var(--ice-glow); } .connectsphere-private-chat button { background: var(--primary); color: var(--text-light); border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; margin-top: 10px; transition: transform 0.3s ease, box-shadow 0.3s ease; } .connectsphere-private-chat button:hover { transform: scale(1.05); box-shadow: 0 0 10px var(--ice-glow); } /* Animations */ @keyframes slideIn { from { transform: translateX(-50%) translateY(100px); opacity: 0; } to { transform: translateX(-50%) translateY(0); opacity: 1; } } @keyframes slideOut { from { transform: translateX(-50%) translateY(0); opacity: 1; } to { transform: translateX(-50%) translateY(100px); opacity: 0; } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } @keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0); } }