:root {
  color-scheme: dark;
  --accent: #ff8c00;
  --bg: #0e1116;
  --panel: #151a21;
  --text: #f4f3ef;
  --muted: #a3a8b1;
  font-family: "Montserrat", Arial, sans-serif;
  font-synthesis: none;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(ellipse at 9% 49%, #ff8c0008, transparent 52%), var(--bg); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 12px 18px; background: var(--accent); color: #121212; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.signup-header, .signup-footer { width: min(1240px, calc(100% - 96px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.signup-header { height: 103px; border-bottom: 1px solid #ffffff0c; gap: 24px; }
.signup-brand { display: flex; align-items: center; gap: 10px; }
.signup-brand img { width: 44px; height: 44px; border-radius: 11px; }
.brand-name { font-size: 23px; font-weight: 800; letter-spacing: -1px; }
.header-caption { color: #747b87; font: 10px/1.4 "Montserrat", sans-serif; font-weight: 600; letter-spacing: 2.3px; margin-left: auto; margin-right: auto; }
.header-login { display: flex; align-items: center; gap: 18px; font-size: 12px; font-weight: 600; padding: 11px 0 11px 18px; }
.header-login:hover { color: var(--accent); }
.header-login .icon { width: 17px; }
.signup-layout { width: min(1160px, calc(100% - 112px)); min-height: calc(100svh - 183px); margin: 0 auto; padding: 46px 0 38px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6.5vw, 106px); }
.signup-story { position: relative; padding: 8px 0; }
.eyebrow { margin: 0; display: flex; gap: 9px; align-items: center; font-size: 9px; line-height: 1.5; letter-spacing: 1.7px; font-weight: 700; }
.signup-story > .eyebrow { color: #d4b58e; margin-bottom: 24px; }
.eyebrow > span, .card-topline i, .stage-tag i { width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--accent); }
.signup-story h2 { position: relative; margin: 0; font-size: clamp(52px, 5.5vw, 78px); font-weight: 800; letter-spacing: -4.6px; line-height: 1.03; }
.signup-story h2 em { color: var(--accent); font-style: italic; }
.story-spark { color: var(--accent); width: 45px; height: 45px; margin-left: 20px; vertical-align: 5px; transform: rotate(12deg); }
.story-description { color: var(--muted); font-size: 13px; line-height: 1.85; margin: 22px 0 26px; }
.game-stage { display: block; position: relative; height: clamp(228px, 22.5vw, 302px); border: 1px solid #ffb15a45; border-radius: 19px; isolation: isolate; background: #15151c; box-shadow: 0 24px 55px -40px #ff8c0070; }
.game-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, #0d0e1752, transparent 38%, #080b11eb); }
.stage-art { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; border-radius: inherit; }
.stage-tag { position: absolute; top: 17px; left: 19px; display: flex; align-items: center; gap: 8px; border: 1px solid #ffffff25; border-radius: 5px; padding: 8px 10px; background: #0d1016c9; color: #ece7df; font-size: 8px; font-weight: 600; letter-spacing: 1px; }
.stage-tag i { width: 4px; height: 4px; }
.stage-caption { position: absolute; bottom: 21px; left: 24px; right: 23px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.stage-caption div { display: grid; gap: 7px; }
.stage-caption div > span { color: #c1b7af; font-size: 8px; font-weight: 600; letter-spacing: 1.6px; }
.stage-caption strong { font-size: 25px; font-weight: 700; letter-spacing: -.8px; }
.stage-play { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #ffffff60; background: #ffffff0e; }
.stage-play svg { width: 19px; height: 19px; fill: #fff; margin-left: -2px; }
.stage-index { position: absolute; left: -13px; top: 52%; padding: 7px 9px; font-size: 8px; font-weight: 700; letter-spacing: 1px; color: #17130b; background: var(--accent); transform: rotate(-90deg) translateX(-50%); transform-origin: left center; }
.game-lineup { display: flex; gap: 16px; align-items: center; margin: 25px 2px 0; }
.game-thumbnails { display: flex; padding-right: 6px; }
.game-thumbnails img { width: 40px; height: 40px; object-fit: cover; border: 3px solid var(--bg); border-radius: 50%; margin-right: -7px; }
.game-lineup p { margin: 0; color: #9da2ab; font-size: 10px; line-height: 1.7; }
.game-lineup strong { color: #d5d7dc; font-weight: 500; }
.lineup-arrow { margin-left: auto; color: #6f747e; font-size: 25px; }
.registration-card { position: relative; border: 1px solid #ffffff12; background: linear-gradient(135deg, #ffffff03, transparent 42%), var(--panel); border-radius: 24px; padding: 28px 34px 0; overflow: hidden; box-shadow: 0 28px 60px -30px #0008; }
.registration-card::before { content: ""; position: absolute; top: 0; left: 34px; width: 54px; height: 2px; background: var(--accent); box-shadow: 0 0 25px #ff8c0060; }
.card-topline { display: flex; align-items: center; justify-content: space-between; color: #9a9ea7; }
.card-topline > span { display: flex; align-items: center; gap: 8px; font-size: 8px; line-height: 1.5; font-weight: 600; letter-spacing: 1.5px; }
.card-topline > .icon { width: 17px; height: 17px; color: #a8a39a; }
.form-heading { margin-top: 29px; }
.form-heading .eyebrow { color: #91959f; font-size: 8px; letter-spacing: 1.3px; }
.form-heading h1 { margin: 10px 0 12px; font-size: clamp(28px, 2.7vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -1.6px; }
.form-heading h1 span { color: var(--accent); }
.form-heading > p:last-child { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 0; }
#form-register { margin-top: 25px; }
.field { margin-bottom: 17px; }
.field label { display: block; margin-bottom: 9px; font-size: 10px; font-weight: 600; color: #dfdfe3; }
.input-wrap { display: flex; align-items: center; border: 1px solid #ffffff16; border-radius: 9px; background: #0e1116a6; padding-left: 15px; transition: border-color .15s, box-shadow .15s; }
.input-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px #ff8c0014; }
.input-wrap > .icon { width: 17px; height: 17px; color: #767d89; }
.input-wrap:focus-within > .icon { color: var(--accent); }
.input-wrap input { width: 100%; min-width: 0; height: 49px; border: 0; padding: 0 13px; outline: none; background: transparent; color: var(--text); font-size: 12px; }
.input-wrap input::placeholder { color: #737a86; opacity: 1; }
.input-wrap:has(input[aria-invalid="true"]) { border-color: #ec9890; }
.input-wrap input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px #15191f inset; -webkit-text-fill-color: var(--text); caret-color: var(--text); border-radius: inherit; }
.password-toggle { color: #9298a3; display: grid; place-items: center; min-width: 44px; min-height: 45px; border: 0; background: transparent; margin-right: 2px; border-radius: 7px; }
.password-toggle:hover, .password-toggle[aria-pressed="true"] { color: var(--accent); }
.password-toggle .icon { width: 17px; height: 17px; }
.password-feedback { display: flex; align-items: center; gap: 9px; margin-top: 9px; min-height: 15px; }
.strength-bars { display: flex; gap: 3px; flex: none; }
.strength-bars i { width: 12px; height: 3px; background: #343942; border-radius: 3px; transition: background-color .2s; }
.password-feedback[data-password-strength="1"] i:nth-child(-n+1), .password-feedback[data-password-strength="2"] i:nth-child(-n+2), .password-feedback[data-password-strength="3"] i:nth-child(-n+3), .password-feedback[data-password-strength="4"] i { background: var(--accent); }
#password-help { font-size: 9px; color: #989eaa; line-height: 1.5; }
.register-button { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #ffb45380; border-radius: 9px; padding: 0 18px; margin-top: 22px; background: var(--accent); color: #17120a; font-size: 12px; font-weight: 800; box-shadow: 0 8px 25px -12px #ff8c0090; transition: transform .15s, filter .15s; }
.register-button:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.register-button:active:not(:disabled) { transform: translateY(0); }
.register-button > .icon { width: 20px; stroke-width: 2; }
.submit-spinner { display: none; width: 18px; height: 18px; border: 2px solid #17120a44; border-top-color: #17120a; border-radius: 50%; animation: spin .7s linear infinite; }
.register-button:disabled > .icon { display: none; }
.register-button:disabled .submit-spinner { display: inline-block; }
.terms-note { margin: 13px 0 0; font-size: 8px; line-height: 1.85; color: #9a9faa; }
.terms-note a { color: #c8cbd1; text-decoration: underline; text-underline-offset: 2px; }
.terms-note a:hover { color: var(--accent); }
.demo-note { display: flex; align-items: flex-start; gap: 11px; padding: 16px 0; border-top: 1px solid #ffffff0d; border-bottom: 1px solid #ffffff0d; margin-top: 22px; }
.demo-symbol { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border: 1px solid #d7b18438; border-radius: 7px; color: #dcb17a; font-size: 11px; font-weight: 700; background: #ffa63808; }
.demo-note p { display: grid; gap: 5px; margin: 0; }
.demo-note strong { color: #c6c9d0; font-size: 9px; line-height: 1.5; font-weight: 600; }
.demo-note p > span { color: #8e95a1; font-size: 8px; line-height: 1.8; }
.account-switch { text-align: center; color: #999faa; font-size: 10px; margin: 19px 0 21px; }
.account-switch a { color: #f0efed; font-weight: 600; padding: 10px 3px; }
.account-switch a:hover, .account-switch a span { color: var(--accent); }
.alert { border: 1px solid #e784794f; border-radius: 8px; background: #e7847910; color: #ffd0c8; padding: 12px 13px; font-size: 11px; line-height: 1.6; margin-top: 20px; outline: none; }
.alert.is-success { color: #f9d8a7; border-color: #ff8c0040; background: #ff8c0010; }
.signup-footer { min-height: 80px; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #ffffff0c; color: #777f8b; font-size: 9px; line-height: 1.7; gap: 18px; }
.footer-dot { padding: 0 10px; color: #454b55; }
.responsible-play { display: flex; align-items: center; gap: 9px; }
.responsible-play b { display: grid; place-items: center; border: 1px solid #ffffff20; border-radius: 50%; width: 26px; height: 26px; font-size: 8px; color: #a3a8b1; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1000px) and (min-height: 850px) {
  .signup-layout { padding-top: 58px; padding-bottom: 58px; }
}
@media (max-width: 1050px) {
  .signup-header, .signup-footer { width: calc(100% - 64px); }
  .signup-layout { width: calc(100% - 80px); gap: 38px; }
  .registration-card { padding-left: 26px; padding-right: 26px; }
  .signup-story h2 { font-size: 56px; letter-spacing: -3.5px; }
  .story-spark { width: 33px; height: 33px; margin-left: 13px; }
  .stage-tag { font-size: 7px; }
  .header-caption { display: none; }
}
@media (max-width: 800px) {
  .signup-header, .signup-footer { width: min(480px, calc(100% - 40px)); }
  .signup-header { height: 79px; }
  .signup-brand img { width: 35px; height: 35px; border-radius: 9px; }
  .brand-name { font-size: 20px; letter-spacing: -.9px; }
  .header-login { font-size: 10px; gap: 10px; padding-left: 0; }
  .header-login .icon { width: 16px; }
  .signup-layout { width: min(480px, calc(100% - 40px)); grid-template-columns: minmax(0, 1fr); min-height: auto; gap: 35px; padding: 26px 0 31px; }
  .registration-card { grid-row: 1; padding: 22px 25px 0; border-radius: 19px; }
  .form-heading { margin-top: 25px; }
  .form-heading h1 { font-size: 32px; }
  .form-heading > p:last-child { font-size: 11px; }
  #form-register { margin-top: 23px; }
  .input-wrap input { font-size: 16px; height: 51px; }
  .field label { font-size: 11px; }
  .register-button { font-size: 12px; min-height: 53px; }
  .terms-note { font-size: 9px; }
  .demo-note strong { font-size: 10px; }
  .demo-note p > span { font-size: 9px; }
  .account-switch { font-size: 11px; }
  .signup-story { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-items: center; padding: 0 2px; }
  .signup-story > .eyebrow, .story-description, .story-spark, .game-lineup, .stage-tag, .stage-caption, .stage-index { display: none; }
  .signup-story h2 { font-size: 27px; letter-spacing: -1.2px; line-height: 1.15; }
  .game-stage { height: 106px; border-radius: 11px; }
  .game-stage::after { background: linear-gradient(90deg, #0e111630, transparent); }
  .signup-footer { padding-top: 17px; padding-bottom: max(20px, env(safe-area-inset-bottom)); min-height: 88px; align-items: flex-start; font-size: 8px; }
  .signup-footer > span:first-child { max-width: 47%; }
  .footer-dot { padding: 0 3px; }
  .responsible-play { gap: 7px; max-width: 45%; }
}
@media (max-width: 370px) {
  .signup-header, .signup-footer, .signup-layout { width: calc(100% - 28px); }
  .registration-card { padding-left: 20px; padding-right: 20px; }
  .brand-name { font-size: 18px; }
  .header-login { font-size: 9px; gap: 7px; }
  .form-heading h1 { font-size: 29px; }
  .card-topline > span { letter-spacing: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
