:root {
  --ink: #111a35;
  --muted: #69728b;
  --red: #ff2038;
  --red-dark: #e30b25;
  --line: #e5e8f1;
  --surface: #ffffff;
  --page: #f6f7fb;
  font-family: Inter, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: var(--page); }
button, input { font: inherit; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); }
.brand-panel {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  padding: clamp(42px, 7vw, 96px); color: white;
  background: radial-gradient(circle at 18% 18%, rgba(255,255,255,.22), transparent 28%),
              linear-gradient(145deg, #ff3349 0%, #f10e2a 52%, #c80821 100%);
}
.brand-panel::before, .brand-panel::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.22);
}
.brand-panel::before { width: 460px; height: 460px; right: -150px; top: -100px; }
.brand-panel::after { width: 280px; height: 280px; left: -100px; bottom: -90px; }
.brand-copy { position: relative; z-index: 2; max-width: 560px; }
.eyebrow { margin: 0 0 12px; font-size: .76rem; font-weight: 850; letter-spacing: .14em; }
.brand-copy h1 { margin: 0; font-size: clamp(3.4rem, 7vw, 7.5rem); line-height: .96; letter-spacing: -.06em; }
.brand-copy p:last-child { margin: 24px 0 0; max-width: 430px; font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.55; color: rgba(255,255,255,.88); }
.sport-art { position: absolute; inset: 0; pointer-events: none; }
.paddle { position: absolute; right: 16%; top: 18%; font-size: clamp(8rem, 17vw, 15rem); filter: drop-shadow(0 28px 32px rgba(100,0,16,.25)); transform: rotate(-12deg); }
.ball { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: white; box-shadow: 0 12px 28px rgba(72,0,10,.22); }
.ball-one { right: 14%; top: 15%; }
.ball-two { right: 42%; top: 43%; width: 18px; height: 18px; opacity: .72; }
.login-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 7vw, 96px); background: var(--surface); }
.mobile-logo { display: none; }
.login-card header { max-width: 480px; }
.login-card header .eyebrow { color: var(--red); }
.login-card h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.045em; }
.login-card header > p:last-child { color: var(--muted); line-height: 1.55; }
.login-form { width: 100%; max-width: 480px; margin-top: 28px; }
.login-form label { display: block; margin: 18px 0 8px; font-size: .92rem; font-weight: 800; }
.input-wrap { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 16px; padding: 0 15px; background: #fbfcff; transition: border-color .2s, box-shadow .2s; }
.input-wrap:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,32,56,.1); background: white; }
.input-wrap input { width: 100%; min-height: 56px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 1rem; }
.input-wrap input::placeholder { color: #a8afbf; }
.login-form button { width: 100%; min-height: 58px; margin-top: 24px; border: 0; border-radius: 16px; color: white; background: linear-gradient(135deg, var(--red), var(--red-dark)); font-weight: 850; font-size: 1.05rem; box-shadow: 0 14px 30px rgba(255,32,56,.24); cursor: pointer; }
.login-form button:hover { transform: translateY(-1px); }
.message { max-width: 480px; margin-top: 20px; padding: 13px 15px; border-radius: 13px; font-size: .92rem; }
.message.error { background: #fff0f2; color: #bf1028; border: 1px solid #ffc9d0; }
.message.success { background: #effcf4; color: #13743d; border: 1px solid #bfead0; }
.privacy-note { max-width: 480px; margin-top: 24px; color: var(--muted); font-size: .83rem; line-height: 1.55; }
@media (max-width: 780px) {
  .login-shell { display: block; min-height: 100dvh; background: linear-gradient(180deg, #fff4f6 0, #f7f8fc 38%); padding: max(26px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom)); }
  .brand-panel { display: none; }
  .login-card { min-height: calc(100dvh - 54px); justify-content: center; padding: 26px 20px; border-radius: 28px; box-shadow: 0 20px 55px rgba(34,48,89,.11); }
  .mobile-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 42px; font-size: 1.2rem; }
  .mobile-logo span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: #fff0f2; font-size: 1.65rem; }
  .login-card h2 { font-size: 2rem; }
  .login-form, .login-card header, .message, .privacy-note { max-width: none; }
}
