@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./assets/inter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --primary-50: #f0f4ff;
  --primary-100: #e0e9ff;
  --primary-500: #6366f1;
  --primary-600: #4f46e5;
  --primary-700: #4338ca;
  --primary-800: #3730a3;
  --text: #1e293b;
  --secondary: #64748b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  min-height: 100svh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-font-smoothing: antialiased;
}
.page { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.background { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.background::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 60px 60px; opacity: .3; }
.orb { position: absolute; border-radius: 50%; filter: blur(64px); background: rgba(255,255,255,.1); }
.orb.top { width: 320px; height: 320px; top: -160px; right: -160px; }
.orb.bottom { width: 384px; height: 384px; bottom: -192px; left: -192px; background: rgba(255,255,255,.05); }
.orb.center { width: 256px; height: 256px; top: 50%; left: 50%; transform: translate(-50%,-50%); filter: blur(40px); background: rgba(255,255,255,.05); }
main { flex: 1; display: grid; place-items: center; padding: 48px 20px 24px; }
.welcome { width: min(100%,448px); padding: 40px; border-radius: 24px; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); text-align: center; }
h1 { margin-bottom: 8px; font-size: 30px; font-weight: 700; line-height: 1.2; background: linear-gradient(to right,var(--primary-600),var(--primary-800)); background-clip: text; -webkit-background-clip: text; color: var(--primary-700); -webkit-text-fill-color: transparent; }
.subtitle { font-size: 14px; line-height: 1.75; color: #6b7280; }
.actions { display: grid; gap: 16px; margin-top: 32px; }
.button { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border: 2px solid transparent; border-radius: 12px; font-size: 16px; font-weight: 600; line-height: 1.5; text-decoration: none; transition: transform .3s ease,box-shadow .3s ease,background .3s ease,border-color .3s ease; }
.button svg { width: 19px; height: 19px; flex-shrink: 0; }
.register { color: #fff; background: linear-gradient(to right,var(--primary-500),var(--primary-600)); box-shadow: 0 10px 15px -3px rgba(99,102,241,.2),0 4px 6px -4px rgba(99,102,241,.2); }
.register:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(99,102,241,.4); }
.login { color: var(--primary-600); border-color: var(--primary-100); background: #fff; }
.login:hover { transform: translateY(-2px); background: var(--primary-50); border-color: #c7d7fe; box-shadow: 0 8px 20px rgba(99,102,241,.12); }
.button:active { transform: translateY(0); }
.button:focus-visible, .fallback:focus-visible { outline: 3px solid var(--primary-500); outline-offset: 5px; }
.hint { margin-top: 28px; padding-top: 22px; border-top: 1px solid #e5e7eb; font-size: 12px; line-height: 1.8; color: #6b7280; }
.redirect-card h1 { margin-bottom: 16px; font-size: 24px; }
.redirect-card .hint { margin-top: 24px; }
.fallback { color: var(--primary-600); text-underline-offset: 3px; }
@media (max-width: 640px) {
  main { padding: 28px 20px 24px; }
  .welcome { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
