
:root {
  --cyan: #26e8ff;
  --cyan-soft: rgba(38, 232, 255, .45);
  --cyan-faint: rgba(38, 232, 255, .18);
  --green: #2bff5a;
  --navy-0: #020a12;
  --navy-1: #04131e;
  --navy-2: #06202f;
  --text: #e8fcff;
  --placeholder: rgba(140, 190, 208, .55);
  --err: #ff6b81;
  --chamfer: 34px;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { min-height: 100%; }

body {
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  color: var(--text);
  background: var(--navy-0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font-family: inherit; }

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 32%, rgba(16, 70, 110, .55), transparent 70%),
    radial-gradient(ellipse 40% 30% at 12% 20%, rgba(14, 60, 120, .35), transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 55%, rgba(20, 70, 190, .30), transparent 70%),
    linear-gradient(180deg, #02070f 0%, #051627 38%, #06213a 62%, #041220 74%, #02080f 100%);
}

.stars {
  position: absolute;
  inset: 0 0 45% 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 28% 8%,  rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 44% 22%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 63% 10%, rgba(255,255,255,.5),  transparent),
    radial-gradient(1px 1px at 78% 26%, rgba(255,255,255,.4),  transparent),
    radial-gradient(1px 1px at 90% 12%, rgba(255,255,255,.5),  transparent),
    radial-gradient(1.5px 1.5px at 55% 5%, rgba(180,230,255,.6), transparent);
}

.city {
  position: absolute;
  top: 0;
  bottom: 26%;
  width: 32%;
  background:
    repeating-linear-gradient(90deg, rgba(2, 8, 16, .55) 0 5px, transparent 5px 13px),
    repeating-linear-gradient(0deg, rgba(70, 175, 255, .32) 0 2px, transparent 2px 15px),
    linear-gradient(180deg, #0b2a4b 0%, #061a31 60%, #04101f 100%);
}
.city::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(38,232,255,.0), rgba(38,232,255,.10));
}

.city--left {
  left: 0;
  clip-path: polygon(
    0 8%, 9% 8%, 9% 16%, 15% 16%, 15% 34%, 24% 34%, 24% 46%, 30% 46%,
    30% 24%, 36% 24%, 36% 40%, 46% 40%, 46% 58%, 60% 58%, 60% 66%,
    78% 66%, 78% 48%, 88% 48%, 88% 62%, 100% 62%, 100% 100%, 0 100%);
  opacity: .95;
}

.city--right {
  right: 0;
  width: 34%;
  clip-path: polygon(
    0 70%, 8% 70%, 8% 52%, 16% 52%, 16% 60%, 26% 60%, 26% 36%, 34% 36%,
    34% 48%, 44% 48%, 44% 62%, 58% 62%, 58% 44%, 66% 44%, 66% 56%,
    100% 56%, 100% 100%, 0 100%);
  opacity: .9;
}

.city--left::before,
.city--right::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 20%;
  height: 65%;
  background: linear-gradient(180deg, #0d3159, #061b33);
  box-shadow: 0 0 30px rgba(30, 120, 255, .35);
}
.city--left::before  { left: 22%;  clip-path: polygon(50% 0, 62% 22%, 70% 100%, 30% 100%, 38% 22%); }
.city--right::before { right: 10%; width: 14%; height: 100%; opacity: .0; }

.tower {
  position: absolute;
  right: 6.5%;
  top: 0;
  bottom: 28%;
  width: 6.4%;
  min-width: 60px;
  background:
    repeating-linear-gradient(0deg, rgba(120, 220, 255, .55) 0 2px, transparent 2px 18px),
    linear-gradient(90deg, #0a2f6b, #1a63d8 45%, #0a2f6b);
  clip-path: polygon(50% 0, 56% 10%, 66% 22%, 72% 40%, 76% 100%, 24% 100%, 28% 40%, 34% 22%, 44% 10%);
  filter: drop-shadow(0 0 14px rgba(40, 140, 255, .8));
  opacity: .9;
}

.ring {
  position: absolute;
  right: 4.5%;
  top: 20%;
  width: 12.5%;
  min-width: 120px;
  aspect-ratio: 4 / 1;
  border-radius: 50%;
  border: 3px solid rgba(60, 200, 255, .85);
  box-shadow: 0 0 18px rgba(38, 200, 255, .8), inset 0 0 18px rgba(38, 200, 255, .5);
  transform: rotate(-3deg);
}
.ring::after {
  content: "";
  position: absolute;
  inset: 22% 8%;
  border-radius: 50%;
  border: 2px solid rgba(60, 200, 255, .5);
}

.drone {
  position: absolute;
  width: 64px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, #0f2a45, #050d18);
  box-shadow: 0 6px 12px rgba(38, 232, 255, .25);
}
.drone::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -3px;
  width: 22px; height: 3px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: rgba(38, 232, 255, .8);
  box-shadow: 0 0 8px var(--cyan);
}
.drone--1 { left: 19%; top: 4.5%; }
.drone--2 { right: 12%; top: 32%; width: 40px; height: 9px; opacity: .8; }

.billboard {
  position: absolute;
  left: 3.4%;
  top: 17%;
  font-family: "Russo One", "Vazirmatn", sans-serif;
  font-size: clamp(26px, 3.4vw, 50px);
  line-height: .95;
  font-style: italic;
  color: #34ffa8;
  text-shadow: 0 0 10px rgba(43, 255, 150, .9), 0 0 28px rgba(43, 255, 150, .5);
  transform: perspective(600px) rotateY(-28deg) rotateZ(14deg);
  transform-origin: left center;
  letter-spacing: .5px;
  opacity: .92;
}

.holo {
  position: absolute;
  border: 1.5px solid rgba(60, 220, 255, .55);
  background: linear-gradient(135deg, rgba(40, 200, 255, .20), rgba(20, 90, 140, .10));
  box-shadow: 0 0 22px rgba(38, 232, 255, .35), inset 0 0 22px rgba(38, 232, 255, .12);
  border-radius: 6px;
}

.holo--cap {
  left: 5.7%;
  top: 40%;
  width: 7.2%;
  min-width: 90px;
  aspect-ratio: 110 / 190;
  padding: 12% 12%;
  transform: perspective(500px) rotateY(24deg);
}
.holo__cap { display: block; width: 62%; margin: 0 auto 12%; color: #7defff; filter: drop-shadow(0 0 8px rgba(38,232,255,.9)); }
.holo__cap { fill: none; aspect-ratio: 1; height: auto; }
.holo__line { display: block; height: 3px; margin: 6% 0; background: rgba(126, 240, 255, .7); border-radius: 2px; }
.holo__line--short { width: 60%; opacity: .6; }
.holo__bars { display: flex; align-items: flex-end; gap: 6%; height: 26%; margin-top: 12%; }
.holo__bars i { flex: 1; background: linear-gradient(180deg, #7defff, rgba(38,232,255,.25)); border-radius: 1px; }
.holo__bars i:nth-child(1) { height: 35%; } .holo__bars i:nth-child(2) { height: 55%; }
.holo__bars i:nth-child(3) { height: 40%; } .holo__bars i:nth-child(4) { height: 70%; }
.holo__bars i:nth-child(5) { height: 50%; } .holo__bars i:nth-child(6) { height: 85%; }
.holo__bars i:nth-child(7) { height: 60%; } .holo__bars i:nth-child(8) { height: 100%; }

.holo--text {
  right: 2.4%;
  top: 35%;
  padding: 18px 20px;
  font-size: clamp(14px, 1.7vw, 25px);
  line-height: 1.12;
  font-weight: 500;
  font-style: italic;
  color: #55f0d2;
  text-shadow: 0 0 10px rgba(60, 255, 200, .8);
  direction: ltr;
  text-align: left;
  transform: perspective(600px) rotateY(-24deg) rotateZ(-8deg);
}

.silhouette {
  position: absolute;
  right: 3.3%;
  bottom: 37%;
  width: 30px;
  height: 66px;
  background: linear-gradient(180deg, #0a1730, #050a14);
  clip-path: polygon(38% 0, 62% 0, 70% 14%, 64% 28%, 88% 40%, 80% 100%, 20% 100%, 12% 40%, 36% 28%, 30% 14%);
  box-shadow: 0 0 10px rgba(80, 140, 255, .5);
}

.floor {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 27%;
  background:
    radial-gradient(ellipse 45% 55% at 50% 0, rgba(38, 232, 255, .16), transparent 70%),
    linear-gradient(180deg, #03111b 0%, #020a11 50%, #01050a 100%);
  border-top: 1px solid rgba(38, 232, 255, .12);
}
.floor::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 90px, rgba(38, 232, 255, .06) 90px 91px),
    repeating-linear-gradient(0deg, transparent 0 40px, rgba(38, 232, 255, .05) 40px 41px);
}
.floor__line {
  position: absolute;
  height: 5px;
  border-radius: 3px;
  filter: blur(.4px);
}
.floor__line--l1 { left: 0;  top: 16%; width: 16%; background: linear-gradient(90deg, transparent, #26c8ff); box-shadow: 0 0 14px #26c8ff; transform: skewX(-40deg); }
.floor__line--l2 { left: 6%; top: 34%; width: 14%; background: linear-gradient(90deg, transparent, #26ffa0); box-shadow: 0 0 14px #26ffa0; transform: skewX(-40deg); }
.floor__line--r1 { right: 0; top: 24%; width: 16%; background: linear-gradient(270deg, transparent, #26ff6a); box-shadow: 0 0 14px #26ff6a; transform: skewX(-30deg); }
.floor__line--r2 { right: 4%; top: 48%; width: 14%; background: linear-gradient(270deg, transparent, #2a6bff); box-shadow: 0 0 14px #2a6bff; transform: skewX(-30deg); }

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 110px 20px 40px;
}

.card-glow {
  width: min(1030px, 100%);
  filter:
    drop-shadow(0 0 6px rgba(38, 232, 255, .85))
    drop-shadow(0 0 26px rgba(38, 232, 255, .40));
}

.card {
  position: relative;
  background: linear-gradient(135deg, #59f3ff 0%, #17c3e6 45%, #43eeff 100%);
  padding: 132px 96px 46px;
  clip-path: polygon(
    var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer),
    100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%,
    var(--chamfer) 100%, 0 calc(100% - var(--chamfer)), 0 var(--chamfer));
}
.card::before {
  content: "";
  position: absolute;
  inset: 4px;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0, rgba(38, 232, 255, .10), transparent 70%),
    linear-gradient(180deg, #051622 0%, #041019 100%);
  clip-path: polygon(
    calc(var(--chamfer) - 3px) 0, calc(100% - var(--chamfer) + 3px) 0, 100% calc(var(--chamfer) - 3px),
    100% calc(100% - var(--chamfer) + 3px), calc(100% - var(--chamfer) + 3px) 100%,
    calc(var(--chamfer) - 3px) 100%, 0 calc(100% - var(--chamfer) + 3px), 0 calc(var(--chamfer) - 3px));
}

.card__frame {
  position: absolute;
  inset: 16px;
  background: rgba(38, 232, 255, .38);
  clip-path: polygon(
    22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px),
    calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
}
.card__frame::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(180deg, #051622 0%, #041019 100%);
  clip-path: polygon(
    21px 0, calc(100% - 21px) 0, 100% 21px, 100% calc(100% - 21px),
    calc(100% - 21px) 100%, 21px 100%, 0 calc(100% - 21px), 0 21px);
}
.card__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--cyan), var(--cyan)) 22px 0 / 70px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) calc(100% - 22px) 0 / 70px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 22px 100% / 70px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) calc(100% - 22px) 100% / 70px 2px no-repeat;
  transform: none;
  opacity: .0;
}

.card__divider {
  position: absolute;
  left: 50%;
  top: 122px;
  bottom: 150px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(38, 232, 255, .28) 15%, rgba(38, 232, 255, .28) 85%, transparent);
}

.logo {
  position: absolute;
  top: -74px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 200px;
  z-index: 3;
  filter: drop-shadow(0 0 8px rgba(38, 232, 255, .65));
}

.logo__cap {
  position: absolute;
  top: 0;
  left: 50%;
  width: 112px;
  transform: translateX(-50%);
  z-index: 3;
  filter: drop-shadow(0 0 10px rgba(120, 250, 255, .8));
}

.logo__badge {
  position: absolute;
  top: 32px;
  left: 50%;
  width: 366px;
  height: 152px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 26px;
  direction: ltr;
  background: linear-gradient(135deg, #67f5ff, #1ec7ea 50%, #55efff);
  clip-path: polygon(0 32%, 6% 9%, 16% 0, 84% 0, 94% 9%, 100% 32%, 90% 62%, 63% 83%, 50% 100%, 37% 83%, 10% 62%);
}
.logo__badge::before {
  content: "";
  position: absolute;
  inset: 3px;
  background: linear-gradient(180deg, #06202f, #03101a);
  clip-path: polygon(0 32%, 6% 9%, 16% 0, 84% 0, 94% 9%, 100% 32%, 90% 62%, 63% 83%, 50% 100%, 37% 83%, 10% 62%);
}

.logo__study,
.logo__battle {
  position: relative;
  font-family: "Russo One", "Impact", sans-serif;
  font-size: 40px;
  line-height: .92;
  letter-spacing: 1px;
  transform: skewX(-9deg);
  text-transform: uppercase;
}
.logo__study {
  color: #ffffff;
  text-shadow: 0 2px 0 rgba(120, 200, 255, .5), 0 0 14px rgba(180, 240, 255, .55);
}
.logo__battle {
  background: linear-gradient(180deg, #7dff9b 0%, #22e04f 60%, #12b93b 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(43, 255, 90, .65));
}

.logo__wing {
  position: absolute;
  top: 146px;
  width: 78px;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  clip-path: polygon(0 50%, 12% 0, 100% 0, 100% 100%, 12% 100%);
}
.logo__wing::after {
  content: "";
  position: absolute;
  left: 30%; top: -9px;
  width: 42%; height: 3px;
  background: var(--cyan);
  opacity: .8;
}
.logo__wing--l { left: 0; transform: scaleX(1); }
.logo__wing--r { right: 0; transform: scaleX(-1); }

.form {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 58px;
  row-gap: 36px;
}

.field { position: relative; min-width: 0; }

.field label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-shadow: 0 0 10px rgba(38, 232, 255, .25);
  cursor: pointer;
}
.ico { width: 24px; height: 24px; flex: none; color: var(--cyan); filter: drop-shadow(0 0 4px rgba(38, 232, 255, .55)); }

.control {
  position: relative;
  height: 58px;
  display: flex;
  align-items: center;
  border: 1px solid var(--cyan-soft);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(12, 66, 88, .55), rgba(6, 40, 58, .55));
  box-shadow: inset 0 0 16px rgba(38, 232, 255, .10), 0 0 10px rgba(38, 232, 255, .16);
  transition: border-color .2s, box-shadow .2s;
}
.control:focus-within {
  border-color: var(--cyan);
  box-shadow: inset 0 0 18px rgba(38, 232, 255, .18), 0 0 16px rgba(38, 232, 255, .45);
}

.control input,
.control select {
  width: 100%;
  height: 100%;
  padding: 0 20px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 14.5px;
  font-weight: 400;
}
.control input::placeholder { color: var(--placeholder); opacity: 1; }

.control--select select {
  appearance: none;
  -webkit-appearance: none;
  padding-left: 50px;
  cursor: pointer;
}
.control--select select:required:invalid { color: var(--placeholder); }
.control--select option { background: #06202f; color: #fff; }
.chev {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 20px; height: 20px;
  transform: translateY(-50%);
  color: var(--cyan);
  pointer-events: none;
}

.control--split {
  gap: 6px;
  border: 0;
  background: none;
  box-shadow: none;
  flex-direction: row-reverse; 
}
.control--split:focus-within { box-shadow: none; }
.control--split input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--cyan-soft);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(12, 66, 88, .55), rgba(6, 40, 58, .55));
  box-shadow: inset 0 0 16px rgba(38, 232, 255, .10), 0 0 10px rgba(38, 232, 255, .16);
  transition: border-color .2s, box-shadow .2s;
}
.control--split input:focus {
  border-color: var(--cyan);
  box-shadow: inset 0 0 18px rgba(38, 232, 255, .18), 0 0 16px rgba(38, 232, 255, .45);
}

.btn-code {
  flex: none;
  width: 130px;
  height: 100%;
  display: flex;
  flex-direction: row-reverse; 
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(180deg, #45f0ff 0%, #17c9ea 100%);
  color: #04283a;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(38, 232, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: filter .2s, transform .1s;
}
.btn-code .ico { color: #04283a; filter: none; }
.btn-code:hover:not(:disabled) { filter: brightness(1.1); }
.btn-code:active:not(:disabled) { transform: translateY(1px); }
.btn-code:disabled { cursor: not-allowed; filter: saturate(.5) brightness(.75); }

.control input[type="password"],
.control input.pw-visible { padding-left: 54px; }
.eye {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 0;
  background: none;
  color: var(--cyan);
  cursor: pointer;
}
.eye .ico { width: 22px; height: 22px; }

.err {
  position: absolute;
  top: 100%;
  right: 2px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--err);
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .2s, transform .2s;
}
.field.invalid .control,
.field.invalid .control--split input {
  border-color: var(--err);
  box-shadow: 0 0 12px rgba(255, 107, 129, .35);
}
.field.invalid .err { opacity: 1; transform: none; }

.submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.btn-submit {
  position: relative;
  width: 515px;
  max-width: 100%;
  height: 100px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #2bff5a;
  clip-path: polygon(30px 0, calc(100% - 30px) 0, 100% 30px, 100% calc(100% - 30px), calc(100% - 30px) 100%, 30px 100%, 0 calc(100% - 30px), 0 30px);
  filter: drop-shadow(0 0 10px rgba(43, 255, 90, .8));
  transition: filter .2s, transform .1s;
}
.btn-submit::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #041a10;
  clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% calc(100% - 28px), calc(100% - 28px) 100%, 28px 100%, 0 calc(100% - 28px), 0 28px);
}
.btn-submit__inner {
  position: absolute;
  inset: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #34f05e;
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
}
.btn-submit__inner::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: linear-gradient(180deg, #0a3a1c 0%, #062a14 100%);
  clip-path: polygon(19px 0, calc(100% - 19px) 0, 100% 19px, 100% calc(100% - 19px), calc(100% - 19px) 100%, 19px 100%, 0 calc(100% - 19px), 0 19px);
}
.btn-submit__text,
.btn-submit__ico { position: relative; }
.btn-submit__text {
  font-size: 27px;
  font-weight: 700;
  color: #3dff6a;
  text-shadow: 0 0 12px rgba(43, 255, 90, .85);
}
.btn-submit__ico {
  width: 28px; height: 28px;
  color: #3dff6a;
  filter: drop-shadow(0 0 6px rgba(43, 255, 90, .9));
}
.btn-submit:hover { filter: drop-shadow(0 0 16px rgba(43, 255, 90, 1)) brightness(1.08); }
.btn-submit:active { transform: translateY(1px); }
.btn-submit:disabled { filter: saturate(.4) brightness(.7); cursor: progress; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.control input:focus-visible,
.control select:focus-visible { outline: 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 20;
  transform: translate(-50%, 20px);
  padding: 12px 22px;
  border: 1px solid var(--cyan-soft);
  border-radius: 6px;
  background: rgba(4, 19, 30, .95);
  color: var(--text);
  font-size: 14px;
  box-shadow: 0 0 20px rgba(38, 232, 255, .35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-color: var(--err); box-shadow: 0 0 20px rgba(255, 107, 129, .35); }

@media (max-width: 1100px) {
  .card { padding-inline: 56px; }
  .form { column-gap: 40px; }
}

@media (max-width: 820px) {
  .holo, .billboard, .ring, .tower, .drone, .silhouette { display: none; }
  .city { width: 45%; opacity: .55; }

  .stage { padding-top: 100px; }
  .card { padding: 128px 26px 36px; --chamfer: 24px; }
  .card__frame { inset: 10px; }
  .card__divider { display: none; }
  .form { grid-template-columns: 1fr; row-gap: 32px; }

  .logo { transform: translateX(-50%) scale(.78); transform-origin: top center; }
  .btn-submit { height: 84px; }
  .btn-submit__text { font-size: 21px; }
}

@media (max-width: 420px) {
  .card { padding-inline: 18px; }
  .btn-code { width: 108px; font-size: 15px; }
  .logo { transform: translateX(-50%) scale(.62); }
  .card { padding-top: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
body {
  min-height: 100vh;
  background: #0d111a url('/icon/study-background.png') no-repeat center center fixed;
  background-size: cover;
}
body {
  background-position: center 35% !important;
}
    body {
      margin: 0;
      min-height: 100vh;
      overflow-y: auto; 
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #060913 !important;
      background-image: url('/icon/study-background.png') !important;
      background-repeat: no-repeat !important;
      background-position: center 35% !important;
      background-size: cover !important;
      background-attachment: fixed !important;
    }

    body::before,
    body::after,
    .stage::before,
    .stage::after,
    .card-glow::before,
    .card-glow::after {
      content: none !important;
      display: none !important;
      background: none !important;
    }

    .stage {
      transform: scale(0.80); 
      transform-origin: center top;
      margin: 20px auto;
      zoom: 0.86 !important; 
    }
    .login-hint {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  margin-top: 8px;        
  font-size: 1.25rem;     
  font-weight: 600;
  color: #94a3b8;
}

.login-hint a {
  color: #00ffcc;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-weight: 800;
  margin-right: 6px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.login-hint a:hover {
  color: #55ffdd;
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.8);
}


  html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;   
  }

  body {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;

    background: #060913 url('/icon/study-background.png') no-repeat center 35% fixed !important;
    background-size: cover !important;
  }

  .scene { background: transparent !important; }
  body::before, body::after,
  .stage::before, .stage::after {
    content: none !important;
    display: none !important;
  }

  .stage {
    margin: auto !important;
    padding: 10px 0 !important;   
    transform: scale(0.92) !important;
    transform-origin: center center !important;
  }

  .submit-row { margin-bottom: 4px !important; }

  .login-hint {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 6px !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
  }
  .login-hint a {
    color: #00ffcc !important;
    text-decoration: underline !important;
    text-underline-offset: 5px !important;
    font-weight: 800 !important;
    margin-right: 6px !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
  }
  .login-hint a:hover {
    color: #55ffdd !important;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.8) !important;
  }

.hidden {
    display: none !important;
}
.field-disabled {
    opacity: 0.35 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    filter: grayscale(80%);
    transition: all 0.3s ease;
}
@media (max-width: 560px) {
  .stage {
    padding-top: 76px;
  }
  .card {
    --chamfer: 22px;
    padding: 118px 20px 34px;
  }
  .card__frame {
    inset: 8px;
  }
  .badge {
    transform: translateX(-50%) scale(.6);
    top: -40px;
  }
  .badge__ornament {
    display: none;
  }
  .title {
    top: 36px;
    width: 250px;
  }
  .title h1 {
    font-size: 23px;
  }
  .title p {
    font-size: 15px;
  }
  .field label {
    font-size: 14px;
  }
  .control {
    height: 48px;
  }
  .control input {
    font-size: 16px;
  }
  .submit-row {
    margin-inline: 0;
  }
  .submit-row::before,
  .submit-row::after {
    display: none;
  }
  .btn-submit {
    width: 100%;
    height: 76px;
  }
  .btn-submit__text {
    font-size: 18px;
  }
  .links {
    gap: 16px;
    font-size: 14px;
  }
  .btn-code {
    width: 116px;
    font-size: 14.5px;
  }
  .timer b {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.rules-ok{display:flex;align-items:center;gap:10px;margin:14px 2px 4px;font-size:13.5px;line-height:1.8;cursor:pointer;user-select:none}
.rules-ok input{position:absolute;opacity:0;width:1px;height:1px}
.rules-box{flex:none;width:24px;height:24px;border-radius:8px;border:2px solid rgba(148,163,184,.5);display:grid;place-items:center;transition:all .2s}
.rules-ok input:checked+.rules-box{background:linear-gradient(135deg,#22d3ee,#8b5cf6);border-color:transparent}
.rules-ok input:checked+.rules-box::after{content:"";width:10px;height:6px;border:2.5px solid #fff;border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px)}
.rules-ok input:focus-visible+.rules-box{box-shadow:0 0 0 3px rgba(34,211,238,.35)}
.rules-ok a{color:#67e8f9;font-weight:800;text-decoration:none;border-bottom:1px dashed currentColor}
.rules-ok.shake{animation:rulesShake .45s}
@keyframes rulesShake{0%,100%{transform:none}20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
