:root {
  color-scheme: dark;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: #121212;
  color: #f5f5f5;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #121212; }
button, input { font: inherit; }

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.15fr) minmax(440px, .85fr); }
.visual { position: relative; overflow: hidden; padding: 38px 46px; background: radial-gradient(circle at 74% 28%, #5b2518 0, transparent 34%), linear-gradient(145deg, #1b1b1b, #0d0d0d 72%); border-right: 1px solid #303030; }
.visual::after { content: ""; position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 75%, transparent); }
.brand { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; color: #fff; text-decoration: none; position: relative; z-index: 2; transition: background .15s ease, transform .15s ease; }
.brand:hover { background: rgba(255,255,255,.07); }
.brand:active { transform: scale(.96); }
.brand svg { width: 22px; height: 22px; }
.visual-copy { position: absolute; z-index: 2; left: clamp(46px, 7vw, 110px); bottom: 13%; max-width: 620px; }
.eyebrow { color: #f2532d !important; font-size: 12px !important; font-weight: 800; letter-spacing: .18em; }
.visual-copy h1 { margin: 12px 0 24px; font-size: clamp(54px, 7vw, 96px); line-height: .98; letter-spacing: -.075em; }
.visual-copy p { color: #aaa; font-size: 17px; }
.orb { position: absolute; border-radius: 999px; filter: blur(4px); opacity: .8; }
.orb-one { width: 330px; height: 330px; right: -80px; top: 9%; background: radial-gradient(circle at 30% 30%, #f2532d, #41170d 60%, transparent 72%); }
.orb-two { width: 220px; height: 220px; left: 8%; top: 18%; border: 1px solid rgba(242,83,45,.26); box-shadow: inset 0 0 70px rgba(242,83,45,.08); }

.auth-panel { display: flex; align-items: center; justify-content: center; padding: 40px; background: #171717; }
.card { width: min(430px, 100%); }
.notice { display: flex; gap: 12px; padding: 15px 16px; border-radius: 14px; background: #20201e; border: 1px solid #393630; margin-bottom: 28px; }
.notice-dot { width: 9px; height: 9px; flex: 0 0 auto; margin-top: 6px; border-radius: 50%; background: #f2532d; box-shadow: 0 0 0 5px rgba(242,83,45,.12); }
.notice strong { font-size: 14px; }
.notice p { color: #989898; font-size: 12px; margin: 4px 0 0; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: #202020; border-radius: 14px; margin-bottom: 30px; }
.tab { height: 42px; border: 0; border-radius: 10px; color: #8f8f8f; background: transparent; cursor: pointer; }
.tab.active { color: #fff; background: #343434; font-weight: 700; }
.heading h2 { margin: 0 0 8px; font-size: 31px; letter-spacing: -.035em; }
.heading p { margin: 0 0 27px; color: #8f8f8f; font-size: 14px; }
form { display: grid; gap: 17px; }
label { display: grid; gap: 8px; }
label span { color: #d5d5d5; font-size: 13px; }
label small { color: #747474; font-size: 11px; }
input { width: 100%; height: 49px; border-radius: 12px; border: 1px solid #414141; background: #101010; color: #fff; padding: 0 14px; outline: none; }
input:focus { border-color: #f2532d; box-shadow: 0 0 0 3px rgba(242,83,45,.12); }
.primary { height: 50px; margin-top: 5px; border: 0; border-radius: 999px; color: #fff; background: #f2532d; font-weight: 750; cursor: pointer; }
.primary:hover { filter: brightness(1.08); }
.primary:disabled { opacity: .55; cursor: wait; }
.message { min-height: 22px; margin: 17px 0 0; color: #8bd8a9; text-align: center; font-size: 13px; }
.message.error { color: #ff866d; }
.policy { color: #686868; font-size: 11px; text-align: center; margin-top: 14px; }

@media (max-width: 900px) {
  .auth-shell { display: block; }
  .visual { min-height: 230px; padding: 27px 24px; border-right: 0; border-bottom: 1px solid #303030; }
  .visual-copy { position: relative; left: auto; bottom: auto; margin-top: 72px; }
  .visual-copy h1 { font-size: 42px; margin-bottom: 12px; }
  .visual-copy p { font-size: 14px; }
  .auth-panel { padding: 34px 20px 48px; }
}
