body { background: url('/images/starry-bg.jpg') no-repeat center center fixed; background-size: cover; font-family: 'Arial', sans-serif; overflow-x: hidden; } .stars { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: transparent; z-index: -1; animation: twinkle 10s infinite; } @keyframes twinkle { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } } .cosmic-gradient { background: linear-gradient(45deg, #ff6ec4, #7873f5); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .function-box { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 25% 10% 40% 10% / 20% 40% 20% 40%; padding: 30px; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s, filter 0.3s; min-height: 280px; } .function-box:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); } .function-box.shadowed { opacity: 0.3; filter: blur(2px); transition: opacity 0.3s, filter 0.3s; } .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; z-index: 1000; } .modal-content { background: url('/images/starry-bg.jpg') no-repeat center center fixed; background-size: cover; border-radius: 0; padding: 30px; width: 90%; max-width: 700px; position: relative; animation: fadeIn 0.3s ease-in; box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); } .chatbot-modal { max-width: 400px; max-height: 500px; display: flex; flex-direction: column; } .chatbot-conversation { max-height: 350px; overflow-y: auto; margin-bottom: 10px; padding: 10px; background: rgba(0, 0, 0, 0.2); border-radius: 25% 10% 40% 10% / 20% 40% 20% 40%; } .chatbot-conversation p { margin: 5px 0; } .chatbot-conversation .user-message { text-align: right; color: #ff6ec4; } .chatbot-conversation .bot-message { text-align: left; color: #7873f5; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } .close-modal { position: absolute; top: 10px; right: 15px; font-size: 24px; cursor: pointer; color: #fff; } .tab-btn { flex: 1; padding: 10px; background: rgba(255, 255, 255, 0.1); border: none; color: #fff; cursor: pointer; transition: background 0.3s; } .tab-btn.active { background: rgba(255, 255, 255, 0.3); } .tab-btn:hover { background: rgba(255, 255, 255, 0.2); } .cosmic-btn { background: linear-gradient(45deg, #ff6ec4, #7873f5); color: #fff; padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer; transition: transform 0.2s; } .cosmic-btn:hover { transform: scale(1.05); } .response-card { margin-top: 20px; padding: 15px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 25% 10% 40% 10% / 20% 40% 20% 40%; color: #fff; } .chatbot-icon { position: fixed; bottom: 20px; right: 20px; z-index: 1100; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; } .chatbot-icon:hover { transform: scale(1.1); box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); } .hidden { display: none; } .drop-area { border: 2px dashed #fff; border-radius: 8px; padding: 30px; text-align: center; background: rgba(255, 255, 255, 0.1); margin-bottom: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; min-height: 100px; } .drop-area p { color: #fff; font-size: 1.2rem; margin: 0; } .drop-area:hover { background: rgba(255, 255, 255, 0.2); } .input-bar { display: flex; align-items: center; background: rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 5px; } .input-bar input { flex: 1; background: transparent; border: none; color: #fff; outline: none; padding: 8px; } .input-bar .cosmic-btn { padding: 8px 16px; } .loading-spinner { margin-top: 10px; color: #fff; font-size: 1rem; text-align: center; display: none; } .loading-spinner::before { content: ''; display: inline-block; width: 20px; height: 20px; border: 3px solid #fff; border-top-color: transparent; border-radius: 50%; animation: spin 1s linear infinite; margin-right: 10px; vertical-align: middle; } @keyframes spin { to { transform: rotate(360deg); } } @media (max-width: 768px) { .modal-content { width: 95%; } .chatbot-modal { max-width: 90%; max-height: 80vh; } .input-bar { flex-direction: column; align-items: stretch; } .input-bar .cosmic-btn { margin-top: 10px; margin-left: 0; } }