:root { --primary: #6366f1; --primary-hover: #4f46e5; --bg-dark: #0f172a; --glass-bg: rgba(30, 41, 59, 0.7); --glass-border: rgba(255, 255, 255, 0.1); --text-main: #f8fafc; --text-muted: #94a3b8; --danger: #ef4444; --success: #10b981; } * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Be Vietnam Pro', sans-serif; } body { background-color: var(--bg-dark); color: var(--text-main); min-height: 100vh; display: flex; justify-content: center; align-items: center; position: relative; overflow-x: hidden; } /* Background Effects */ .background-effects { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; overflow: hidden; } .glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; } .glow-1 { top: -10%; right: -5%; width: 40vw; height: 40vw; background: radial-gradient(circle, rgba(99,102,241,0.6) 0%, rgba(99,102,241,0) 70%); animation: float 15s ease-in-out infinite alternate; } .glow-2 { bottom: -10%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(236,72,153,0.5) 0%, rgba(236,72,153,0) 70%); animation: float 20s ease-in-out infinite alternate-reverse; } .glow-3 { top: 40%; left: 30%; width: 30vw; height: 30vw; background: radial-gradient(circle, rgba(16,185,129,0.3) 0%, rgba(16,185,129,0) 70%); animation: pulse 10s ease-in-out infinite alternate; } @keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-50px, 50px) scale(1.1); } } @keyframes pulse { 0% { transform: scale(0.9); opacity: 0.3; } 100% { transform: scale(1.2); opacity: 0.6; } } /* Container */ .container { width: 100%; max-width: 600px; padding: 2rem; z-index: 1; } .header { text-align: center; margin-bottom: 2rem; } .header h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; background: linear-gradient(135deg, #f8fafc, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: flex; align-items: center; justify-content: center; gap: 0.75rem; } .header h1 i { font-size: 2rem; color: var(--primary); -webkit-text-fill-color: initial; } .header p { color: var(--text-muted); font-size: 1.1rem; } /* Glass Panel */ .glass-panel { background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: 24px; padding: 2.5rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); transition: transform 0.3s ease, box-shadow 0.3s ease; } .glass-panel:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6); } /* Input Groups */ .input-group { margin-bottom: 1.5rem; } .input-group label { display: block; font-weight: 500; margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--text-main); } /* Custom Select */ .custom-select-wrapper { position: relative; } .custom-select { appearance: none; -webkit-appearance: none; width: 100%; background: rgba(15, 23, 42, 0.6); border: 1px solid var(--glass-border); border-radius: 12px; padding: 1rem 1.25rem; color: white; font-size: 1rem; font-family: 'Be Vietnam Pro', sans-serif; cursor: pointer; transition: all 0.3s ease; } .custom-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); } .custom-select option { background-color: var(--bg-dark); color: white; padding: 10px; } .select-icon { position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; transition: transform 0.3s ease; } .custom-select:focus + .select-icon { transform: translateY(-50%) rotate(180deg); color: var(--primary); } /* Textarea */ textarea { width: 100%; background: rgba(15, 23, 42, 0.6); border: 1px solid var(--glass-border); border-radius: 12px; padding: 1rem 1.25rem; color: white; font-size: 1rem; font-family: inherit; resize: vertical; min-height: 120px; transition: all 0.3s ease; } textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); } textarea::placeholder { color: rgba(148, 163, 184, 0.5); } .char-count { text-align: right; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; } /* Buttons */ .primary-btn { width: 100%; background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: white; border: none; border-radius: 12px; padding: 1.25rem; font-size: 1.1rem; font-weight: 600; font-family: inherit; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 0.75rem; transition: all 0.3s ease; position: relative; overflow: hidden; } .primary-btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s ease; } .primary-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px var(--primary); } .primary-btn:hover::after { left: 100%; } .primary-btn:active { transform: translateY(0); } .primary-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; } .secondary-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255, 255, 255, 0.1); color: white; text-decoration: none; padding: 0.75rem 1.25rem; border-radius: 8px; font-size: 0.95rem; font-weight: 500; transition: all 0.3s ease; border: 1px solid var(--glass-border); } .secondary-btn:hover { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.3); } /* Audio Panel */ .audio-panel { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--glass-border); animation: slideUp 0.4s ease forwards; } .audio-panel h3 { font-size: 1.25rem; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; } .audio-panel h3 i { color: var(--success); } audio { width: 100%; height: 44px; border-radius: 8px; margin-bottom: 1.25rem; } audio::-webkit-media-controls-panel { background-color: var(--text-main); } /* Alerts */ .alert { margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: 12px; font-size: 0.95rem; display: flex; align-items: flex-start; gap: 0.75rem; animation: slideUp 0.3s ease forwards; } .alert.error { background-color: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #fca5a5; } .alert i { margin-top: 0.2rem; } /* Utility */ .hidden { display: none !important; } footer { text-align: center; margin-top: 2.5rem; color: var(--text-muted); font-size: 0.9rem; } footer i { color: var(--danger); margin: 0 0.25rem; } @keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 640px) { .container { padding: 1rem; } .glass-panel { padding: 1.5rem; } .header h1 { font-size: 2rem; } }