* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', Arial, sans-serif; display: flex; flex-direction: column; height: 100vh; background: linear-gradient(135deg, #f0f4fc, #e6eaf3); overflow: hidden; box-shadow: inset 10px 10px 20px rgba(174, 174, 192, 0.3), inset -10px -10px 20px rgba(255, 255, 255, 0.8); } .chat-container { flex: 1; width: 100%; overflow-y: auto; padding: 20px; background: linear-gradient(145deg, #f0f5fc, #e6eaf3); border-radius: 20px; box-shadow: inset 6px 6px 12px rgba(0, 0, 0, 0.15), inset -6px -6px 12px rgba(255, 255, 255, 0.8); scrollbar-width: thin; scrollbar-color: #000000 #e6eaf3; transition: all 0.3s ease; } .chat-container:hover { box-shadow: inset 8px 8px 16px rgba(0, 0, 0, 0.2), inset -8px -8px 16px rgba(255, 255, 255, 0.9); } .chat-container::-webkit-scrollbar { width: 8px; } .chat-container::-webkit-scrollbar-track { background: #e6eaf3; border-radius: 10px; } .chat-container::-webkit-scrollbar-thumb { background: #000000; border-radius: 10px; } .message { display: flex; flex-direction: column; padding: 15px; margin-bottom: 1px; border-radius: 15px; background: linear-gradient(145deg, #f0f5fc, #e6eaf3); border-left: 0px solid #000; box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.15), -6px -6px 12px rgba(255, 255, 255, 0.8); position: relative; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .message:after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px; background: rgba(0, 0, 0, 0.1); } .message:hover { transform: translateY(-2px); border-left: 4px solid #000; box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2), -8px -8px 16px rgba(255, 255, 255, 0.9); } /* Rest of your original CSS remains exactly the same, just replacing the purple colors (#7b4dca, #9b4dff) with black (#000000) */ /* Continuing with all your original CSS properties, just replacing those specific color values... */ .message-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .profile-section { display: flex; align-items: center; } .profile { width: 60px; height: 60px; border-radius: 15px; background: linear-gradient(145deg, #f0f5fc, #e6eaf3); display: flex; align-items: center; justify-content: center; font-weight: bold; margin-right: 15px; font-size: 18px; box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2), -3px -3px 6px rgba(255, 255, 255, 0.7); background-size: cover; background-position: center; transition: all 0.3s ease; } .profile:hover { transform: scale(1.05) rotate(5deg); box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25), -4px -4px 8px rgba(255, 255, 255, 0.8); } .message-content { flex: 1; } .message-content h4 { display: flex; align-items: center; color: #000000; font-size: 18px; transition: all 0.3s ease; } .message-content h4:hover { color: #333333; } .creator-tag { margin-left: 10px; padding: 3px 8px; background: linear-gradient(90deg, #000000, #333333); color: white; border-radius: 10px; font-size: 12px; box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), -2px -2px 4px rgba(255, 255, 255, 0.7); animation: pulse 1.5s infinite alternate; } @keyframes pulse { from { transform: scale(0.95); box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), -2px -2px 4px rgba(255, 255, 255, 0.7); } to { transform: scale(1.05); box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.25), -3px -3px 6px rgba(255, 255, 255, 0.8); } } .message-flag { width: 30px; height: 20px; margin-left: 10px; object-fit: cover; border-radius: 3px; box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), -2px -2px 4px rgba(255, 255, 255, 0.7); transition: all 0.3s ease; } .message-flag:hover { transform: scale(1.2); box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.25), -3px -3px 6px rgba(255, 255, 255, 0.8); } .message-content p { margin-bottom: 10px; font-size: 16px; color: #555; line-height: 1.5; } .message-time { font-size: 14px; color: #8b8b8b; text-align: right; opacity: 0.7; transition: opacity 0.3s ease; } .message-time:hover { opacity: 1; color: #000000; } .reply-section { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; } .reply-count { display: flex; align-items: center; color: #000000; cursor: pointer; font-size: 14px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); padding: 5px 10px; border-radius: 10px; } .reply-count:hover { background: linear-gradient(145deg, #f0f5fc, #e6eaf3); box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.15), -3px -3px 6px rgba(255, 255, 255, 0.7); transform: translateY(-2px); } .reply-count img { width: 20px; height: 20px; margin-right: 5px; transition: transform 0.3s ease; } .reply-count:hover img { transform: rotate(15deg); } .reply-input { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1); } @keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } .reply-input textarea { width: 100%; min-height: 80px; padding: 10px; border: none; border-radius: 10px; background: linear-gradient(145deg, #f0f5fc, #e6eaf3); box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.15), inset -3px -3px 6px rgba(255, 255, 255, 0.7); resize: vertical; transition: all 0.3s ease; } .reply-input textarea:focus { outline: none; box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.2), inset -4px -4px 8px rgba(255, 255, 255, 0.8); } .reply-input button { align-self: flex-end; padding: 8px 15px; background: linear-gradient(90deg, #000000, #333333); color: white; border: none; border-radius: 10px; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2), -3px -3px 6px rgba(255, 255, 255, 0.7); } .reply-input button:hover { transform: translateY(-2px); box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25), -4px -4px 8px rgba(255, 255, 255, 0.8); } .input-container { display: flex; align-items: center; padding: 15px; background: linear-gradient(145deg, #f0f5fc, #e6eaf3); border-top: 1px solid rgba(0, 0, 0, 0.1); box-shadow: inset 6px 6px 12px rgba(0, 0, 0, 0.15), inset -6px -6px 12px rgba(255, 255, 255, 0.8); } .input-container textarea { flex: 1; min-height: 50px; max-height: 150px; padding: 10px; font-size: 16px; border: none; border-radius: 20px; resize: none; background: linear-gradient(145deg, #f0f5fc, #e6eaf3); box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.15), inset -4px -4px 8px rgba(255, 255, 255, 0.7); transition: all 0.3s ease; overflow-y: auto; } .input-container textarea:focus { outline: none; box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2), inset -5px -5px 10px rgba(255, 255, 255, 0.8); } .input-container button { margin-left: 10px; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; } .input-container button img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2), -3px -3px 6px rgba(255, 255, 255, 0.7); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .input-container button:hover img { transform: scale(1.1); box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25), -4px -4px 8px rgba(255, 255, 255, 0.8); } .loading-dots { display: flex; justify-content: center; align-items: center; position: absolute; width: 100%; top: 50%; left: 50%; transform: translate(-50%, -50%); } .loading-dot { width: 12px; height: 12px; margin: 0 5px; border-radius: 50%; background: linear-gradient(90deg, #000000, #333333); animation: bounce 0.5s infinite alternate; box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), -2px -2px 4px rgba(255, 255, 255, 0.7); } .loading-dot:nth-child(2) { animation-delay: 0.1s; } .loading-dot:nth-child(3) { animation-delay: 0.2s; } @keyframes bounce { from { transform: translateY(0); box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), -2px -2px 4px rgba(255, 255, 255, 0.7); } to { transform: translateY(-10px); box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.25), -3px -3px 6px rgba(255, 255, 255, 0.8); } } @media (max-width: 768px) { .chat-container, .input-container { padding: 10px; } .message { padding: 10px; margin-bottom: 1px; } .profile { width: 50px; height: 50px; } .message-content h4 { font-size: 16px; } .message-flag { width: 25px; height: 15px; } .input-container { padding: 10px; } .input-container textarea { font-size: 14px; min-height: 40px; } .input-container button img { width: 35px; height: 35px; } .reply-input textarea { min-height: 60px; } .loading-dot { width: 10px; height: 10px; margin: 0 3px; } }