* { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary-cyan: #ff00f7; --secondary-blue: #00f7ff; --accent-purple: #6600ff; --danger-red: #ff0000; --success-green: #00f7ff; --warning-orange: #00f7ff; --dark-bg: #0a0a0a; --card-bg: rgba(10, 20, 40, 0.9); --glass-bg: rgba(0, 255, 255, 0.05); } :root { --primary: #00f7ff; --secondary: #ff00f7; --accent: #7700ff; --dark: #0a0a12; --darker: #05050a; --light: rgba(255, 255, 255, 0.9); --glass-light: rgba(255, 255, 255, 0.15); --glass-dark: rgba(0, 0, 0, 0.15); --neon-glow: 0 0 10px currentColor, 0 0 20px currentColor; --glass-blur: blur(12px); --glass-border: 1px solid rgba(255, 255, 255, 0.2); --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); } body { font-family: 'Rajdhani', sans-serif; background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a2e 50%, #16213e 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; color: var(--primary-cyan); overflow-x: hidden; position: relative; } /* Animated Grid Background */ .grid-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(247, 0, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px); background-size: 50px 50px; animation: gridMove 20s linear infinite; z-index: 1; } @keyframes gridMove { 0% { transform: translate(0, 0); } 100% { transform: translate(50px, 50px); } } /* Floating Particles */ .particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; } .particle { position: absolute; width: 4px; height: 4px; background: var(--primary-cyan); border-radius: 50%; animation: float 15s infinite linear; box-shadow: 0 0 10px var(--primary-cyan); } @keyframes float { 0% { transform: translateY(100vh) translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100px) translateX(100px); opacity: 0; } } /* Scan Lines */ .scan-lines { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; } .scan-line { position: absolute; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); animation: scan 4s linear infinite; } @keyframes scan { 0% { top: -2px; opacity: 0; } 50% { opacity: 1; } 100% { top: 100%; opacity: 0; } } .container { position: relative; z-index: 10; width: 100%; max-width: 480px; padding: 20px; } .auth-card { background: transparent; border: 2px solid var(--primary-cyan); border-radius: 20px; padding: 40px; box-shadow: 0 0 50px rgba(0, 255, 255, 0.3), inset 0 0 50px rgba(0, 255, 255, 0.05); backdrop-filter: blur(20px); position: relative; overflow: hidden; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px)); } .auth-card::before { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; border-radius: 20px; z-index: -1; } .logo { text-align: center; margin-bottom: 40px; position: relative; } .logo h1 { font-family: 'Orbitron', monospace; font-size: 2.8rem; font-weight: 900; background: linear-gradient(45deg, var(--primary-cyan), var(--secondary-blue), var(--accent-purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 0 30px var(--primary-cyan); margin-bottom: 15px; animation: textGlow 2s ease-in-out infinite alternate; position: relative; } @keyframes textGlow { 0% { filter: brightness(1) drop-shadow(0 0 20px var(--primary-cyan)); } 100% { filter: brightness(1.2) drop-shadow(0 0 40px var(--primary-cyan)); } } .logo .subtitle { color: var(--primary-cyan); font-size: 1.1rem; font-weight: 600; opacity: 0.9; letter-spacing: 2px; text-transform: uppercase; } .logo .version { position: absolute; top: -10px; right: -20px; background: var(--danger-red); color: white; padding: 4px 8px; border-radius: 12px; font-size: 0.7rem; font-weight: 700; animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } .form-group { margin-bottom: 25px; position: relative; } .form-group label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--primary-cyan); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; } .form-group input { width: 100%; padding: 18px 20px; background: rgba(0, 0, 0, 0.8); border: 2px solid rgba(0, 255, 255, 0.3); border-radius: 12px; color: var(--primary); font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 600; transition: all 0.3s ease; position: relative; } .form-group input:focus { outline: none; border-color: var(--primary-cyan); box-shadow: 0 0 20px rgba(0, 255, 255, 0.4), inset 0 0 20px rgba(0, 255, 255, 0.1); background: rgba(0, 20, 40, 0.9); transform: translateY(-2px); } .form-group input::placeholder { color: rgba(0, 255, 255, 0.5); font-style: italic; } .otp-section { display: flex; gap: 12px; align-items: flex-end; } .otp-input { flex: 1; } .verify-btn { padding: 18px 24px; background: linear-gradient(45deg, var(--primary-cyan), var(--secondary-blue)); border: none; border-radius: 12px; color: var(--dark-bg); font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; position: relative; overflow: hidden; } .verify-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); transition: left 0.5s; } .verify-btn:hover::before { left: 100%; } .verify-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 255, 102, 0.4); } .btn { width: 100%; padding: 20px; background: linear-gradient(45deg, var(--primary-cyan), var(--secondary-blue)); border: none; border-radius: 15px; color: var(--dark-bg); font-family: 'Orbitron', monospace; font-weight: 700; font-size: 1.2rem; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 2px; margin-top: 15px; position: relative; overflow: hidden; } .btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); transition: left 0.5s; } .btn:hover::before { left: 100%; } .btn:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 15px 35px rgba(0, 255, 255, 0.4); } .btn:active { transform: translateY(-2px) scale(1.01); } .switch-link { text-align: center; margin-top: 30px; } .switch-link a { color: var(--primary-cyan); text-decoration: none; font-size: 1rem; font-weight: 600; transition: all 0.3s ease; border-bottom: 2px solid transparent; padding: 5px 0; position: relative; } .switch-link a::before { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--primary-cyan); transition: all 0.3s ease; transform: translateX(-50%); } .switch-link a:hover::before { width: 100%; } .switch-link a:hover { color: white; text-shadow: 0 0 15px var(--primary-cyan); } .hidden { display: none; } .status-message { padding: 18px 20px; border-radius: 12px; margin-bottom: 25px; font-weight: 700; text-align: center; animation: slideIn 0.5s ease; position: relative; overflow: hidden; } @keyframes slideIn { from { opacity: 0; transform: translateY(-20px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } } .success { background: rgba(0, 255, 102, 0.1); border: 2px solid var(--success-green); color: var(--success-green); } .error { background: rgba(255, 0, 102, 0.1); border: 2px solid var(--danger-red); color: var(--danger-red); } .loading { display: inline-block; width: 24px; height: 24px; border: 3px solid rgba(0, 255, 255, 0.3); border-radius: 50%; border-top-color: var(--primary-cyan); animation: spin 1s ease-in-out infinite; margin-left: 12px; } @keyframes spin { to { transform: rotate(360deg); } } /* Responsive Design */ @media (max-width: 768px) { .container { padding: 15px; max-width: 95%; } .auth-card { padding: 30px 25px; } .logo h1 { font-size: 2.2rem; } .otp-section { flex-direction: column; gap: 15px; } .verify-btn { width: 100%; padding: 18px; } } @media (max-width: 480px) { .auth-card { padding: 25px 20px; } .logo h1 { font-size: 1.8rem; } .form-group input { padding: 16px 18px; font-size: 1rem; } .btn { padding: 18px; font-size: 1.1rem; } } /* Advanced Hover Effects */ .form-group { position: relative; } .form-group::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.05), transparent); border-radius: 12px; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; } .form-group:hover::before { opacity: 1; } /* 3D Transform Effects */ .auth-card:hover { transform: perspective(1000px) rotateX(2deg) rotateY(-2deg); } /* Notification Styles */ .notification { position: fixed; top: 20px; right: 20px; background: var(--card-bg); border: 2px solid var(--primary-cyan); border-radius: 12px; padding: 15px 20px; color: var(--primary-cyan); font-weight: 600; z-index: 1000; animation: notificationSlide 0.5s ease; backdrop-filter: blur(10px); } @keyframes notificationSlide { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }