* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); min-height: 100vh; color: #fff; } .container { max-width: 1400px; margin: 0 auto; padding: 20px; } /* Header */ .header { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border-radius: 16px; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 16px; } .header-left { display: flex; align-items: center; gap: 12px; } .header-icon { font-size: 32px; background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .header-title { font-size: 24px; font-weight: 700; background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .badge { background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%); color: white; padding: 6px 12px; border-radius: 20px; font-size: 12px; display: flex; align-items: center; gap: 6px; font-weight: 500; } /* Status Indicator */ .status-indicator { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(255, 255, 255, 0.05); border-radius: 20px; font-size: 14px; } .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #ffc107; animation: pulse 2s infinite; } .status-dot.connected { background: #4caf50; } .status-dot.error { background: #f44336; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } /* Browser Toolbar */ .browser-toolbar { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 16px; } .nav-buttons { display: flex; gap: 8px; } .nav-btn { width: 36px; height: 36px; border: none; border-radius: 8px; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; } .nav-btn:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.05); } .nav-btn:active { transform: scale(0.95); } /* URL Bar */ .url-bar { flex: 1; display: flex; align-items: center; background: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 4px 4px 4px 12px; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; } .url-bar:focus-within { border-color: rgba(0, 212, 255, 0.5); box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1); } .url-icon { color: #4caf50; margin-right: 10px; font-size: 14px; } .url-bar input { flex: 1; background: transparent; border: none; color: #fff; font-size: 14px; outline: none; padding: 8px 0; } .url-bar input::placeholder { color: rgba(255, 255, 255, 0.4); } .go-btn { width: 36px; height: 36px; border: none; border-radius: 8px; background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%); color: white; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; } .go-btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3); } /* Browser Viewport */ .browser-viewport { position: relative; background: #000; border-radius: 12px; overflow: hidden; border: 2px solid rgba(255, 255, 255, 0.1); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); aspect-ratio: 1280 / 800; max-height: 70vh; cursor: crosshair; } .screenshot-container { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; } .screenshot-img { width: 100%; height: 100%; object-fit: contain; display: block; } /* Loading Overlay */ .loading-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: flex; align-items: center; justify-content: center; z-index: 10; transition: opacity 0.3s ease; } .loading-overlay.hidden { opacity: 0; pointer-events: none; } .loading-content { text-align: center; } .loading-icon { font-size: 48px; color: #00d4ff; margin-bottom: 16px; } .loading-text { font-size: 16px; color: rgba(255, 255, 255, 0.8); } /* Keyboard Capture (hidden) */ .keyboard-capture { position: absolute; opacity: 0; pointer-events: none; } /* Info Bar */ .info-bar { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border-radius: 12px; padding: 12px 20px; display: flex; gap: 24px; border: 1px solid rgba(255, 255, 255, 0.1); margin-top: 16px; flex-wrap: wrap; } .info-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.7); } .info-item i { color: #00d4ff; } .info-item span { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* Tips Section */ .tips-section { margin-top: 24px; } .tips-section h3 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.9); } .tips-section h3 i { color: #ffc107; } .tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; } .tip-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border-radius: 12px; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; } .tip-card:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); border-color: rgba(0, 212, 255, 0.3); } .tip-icon { font-size: 28px; margin-bottom: 12px; background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .tip-card h4 { font-size: 16px; margin-bottom: 8px; color: #fff; } .tip-card p { font-size: 13px; color: rgba(255, 255, 255, 0.6); line-height: 1.5; } /* Toast */ .toast { position: fixed; top: 20px; right: 20px; z-index: 2000; transform: translateX(120%); transition: transform 0.3s ease; } .toast.show { transform: translateX(0); } .toast-content { background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(10px); padding: 14px 20px; border-radius: 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; border: 1px solid rgba(255, 255, 255, 0.1); } .toast-icon.success { color: #4caf50; } .toast-icon.error { color: #f44336; } .toast-icon.info { color: #00d4ff; } /* Responsive */ @media (max-width: 768px) { .container { padding: 10px; } .header { flex-direction: column; gap: 12px; padding: 16px; } .browser-toolbar { flex-wrap: wrap; } .info-bar { flex-direction: column; gap: 8px; } .info-item span { max-width: 100%; } .tips-grid { grid-template-columns: 1fr; } }