* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { min-height: 100vh; display: flex; justify-content: center; align-items: center; background-color: #f8fafc; color: #1e293b; position: relative; }
.card { background: white; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px; width: 100%; max-width: 420px; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05); text-align: center; }
.logo { font-size: 14px; text-transform: uppercase; letter-spacing: 4px; color: #3b82f6; font-weight: 800; margin-bottom: 12px; }
h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; color: #0f172a; }
.subtitle { color: #64748b; font-size: 14px; margin-bottom: 32px; line-height: 1.5; }
.input-group { position: relative; margin-bottom: 24px; text-align: left; }
input { width: 100%; background: #f1f5f9; border: 1px solid #cbd5e1; padding: 16px; border-radius: 12px; color: #0f172a; font-size: 16px; outline: none; transition: all 0.2s; }
input:focus { border-color: #3b82f6; background: white; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }
label { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #64748b; pointer-events: none; transition: all 0.2s; font-size: 16px; }
input:focus ~ label, input:not(:placeholder-shown) ~ label { top: -10px; left: 12px; font-size: 12px; background: white; padding: 0 4px; color: #3b82f6; border-radius: 4px; }
button { width: 100%; padding: 16px; border: none; border-radius: 12px; background: #3b82f6; color: white; font-size: 16px; font-weight: 600; cursor: pointer; transition: 0.2s; display: flex; justify-content: center; align-items: center; text-decoration: none; }
button:hover { background: #2563eb; transform: translateY(-1px); }
.btn-discord { background: #5865F2; margin-bottom: 20px; color: white; }
.btn-discord:hover { background: #4752C4; }
.spinner { width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 1s linear infinite; display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
button.loading span { display: none; }
button.loading .spinner { display: block; }
.message-box { margin-top: 24px; padding: 16px; border-radius: 12px; font-size: 14px; text-align: center; }
.message-box.hidden { display: none; }
.message-box.error { background: #fee2e2; color: #dc2626; border: 1px solid #fca5a5; }
.message-box.success { background: #dcfce3; color: #16a34a; border: 1px solid #86efac; }
.hidden { display: none !important; }
