:root { --primary: #003E2A; --secondary: #003B74; --secondaryM: #2184C4; --background: #000000; --error: #ff6b6b; --text: #ffffff; --glass: rgba(255, 255, 255, 0.05); --glass-border: rgba(255, 255, 255, 0.15); --glow: 0 0 20px rgba(0, 255, 170, 0.3); --ease: cubic-bezier(0.68, -0.55, 0.265, 1.55); --text: #ffffff; } body { margin: 0; padding: 0; background: var(--background); overflow: hidden; height: 100vh; font-family: 'Segoe UI', sans-serif; margin: 0; padding: 0; display: flex; flex-direction: column; height: 100vh; } .bubble-matrix { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; } .bubble { position: absolute; border-radius: 50%; pointer-events: none; opacity: 0.7; mix-blend-mode: screen; filter: blur(1px); animation: floatAny linear forwards; } @keyframes floatAny { 0% { transform: translate(0, 0) scale(1); opacity: 0; } 10% { opacity: 0.6; } 50% { opacity: 0.9; } 100% { transform: translate(var(--dx), var(--dy)) scale(1.2); opacity: 0; } } .grid-line { position: absolute; background: rgba(0, 255, 170, 0.03); z-index: -1; } .horizontal { width: 100%; height: 1px; left: 0; } .vertical { width: 1px; height: 100%; top: 0; } .CommentBarg { display: flex; flex-direction: column; flex: 1; overflow: hidden; } .chat { flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 15px; scroll-behavior: smooth; } .message-wrapper { display: flex; align-items: flex-end; gap: 8px; } .right-wrapper { display: flex; justify-content: flex-end; align-items: flex-start; gap: 8px; } .message { display: flex; flex-direction: column; padding: 8px 14px; color:#fff; border-radius: 15px; width: 54%; word-wrap: break-word; box-shadow: 0 1px 3px rgba(0,0,0,0.1); position: relative; font-size: 15px; } .left { background:var(--glass-border); align-self: flex-start; } .right { background:var(--glass-border); align-self: flex-end; position: relative; } .username { font-weight: bold; color: #158CFF; margin-bottom: 5px; font-size: 14px; } .reaction { position: absolute; bottom: -10px; right: 10px; background:var(--glass-border); border-radius: 50%; padding: 9px; font-size: 18px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); line-height: 1; } .profile-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #34b7f1; } .quote { background: #000; border-left: 4px solid white; padding: 6px 10px; margin-bottom: 6px; font-size: 13px; color: #555; border-radius: 8px; line-height: 1.4; } .input-box { display: flex; align-items: center; margin-top:60px; padding: 18px 3px 13px 3px; border-top: 1px solid var(--glass-border); background:#191919; position: fixed; bottom: 0; width: 100%; z-index: 10; } .input-box input[type="text"] { flex: 1; padding: 10px; border: 1px solid var(--glass-border); border-radius: 20px; outline: none; color:#fff; max-width: 50%; background:#000; font-size: 16px; margin-right: 10px; } .input-box input[type="text"]#username { max-width: 22%; } .input-box button { background-color: #25D366; color: white; border: none; border-radius: 50%; margin-right:12px; width: 36px; height: 36px; font-size: 18px; cursor: pointer; } @media (max-width: 600px) { .message { max-width: 100%; } .right-wrapper, .message-wrapper { flex-direction: row-reverse; } }