.globe-login-shell {
  position: relative;
  display: block;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 50%, #fff3e8 0%, #fffaf6 28%, #f8fafc 62%, #f4f7fa 100%);
  isolation: isolate;
}

#login-globe {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

#login-globe:active { cursor: grabbing; }

.globe-noise {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(#26313d08 1px, transparent 1px),
    linear-gradient(90deg, #26313d08 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 64% 50%, #000 10%, #0009 58%, transparent 90%);
  animation: globe-grid-drift 22s linear infinite;
}

.globe-orbit {
  position: absolute;
  z-index: 1;
  left: 64%;
  top: 50%;
  border: 1px solid #f15a2420;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-14deg);
}

.globe-orbit::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f15a24;
  box-shadow: 0 0 0 8px #f15a2414, 0 0 28px #f15a2455;
  content: "";
}

.globe-orbit-one {
  width: min(63vw, 900px);
  height: min(36vw, 520px);
  animation: globe-orbit-float 9s ease-in-out infinite;
}

.globe-orbit-one::after { left: 11%; top: 22%; }

.globe-orbit-two {
  width: min(46vw, 680px);
  height: min(53vw, 760px);
  border-color: #34415013;
  transform: translate(-50%, -50%) rotate(24deg);
  animation: globe-orbit-float-alt 12s ease-in-out infinite;
}

.globe-orbit-two::after {
  right: 14%;
  bottom: 18%;
  width: 6px;
  height: 6px;
  background: #f4b740;
  box-shadow: 0 0 0 7px #f4b74018, 0 0 24px #f4b74055;
}

.globe-login-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(390px, .78fr) minmax(660px, 1.35fr);
  min-height: 100vh;
  pointer-events: none;
}

.globe-login-zone {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(28px, 4.5vw, 76px);
}

.globe-login-zone .login-card {
  width: min(430px, 100%);
  padding: clamp(30px, 3.8vw, 48px);
  border: 1px solid #ffffffd9;
  border-radius: 26px;
  pointer-events: auto;
  background: #ffffffdc;
  box-shadow: 0 30px 90px #2733421c, inset 0 0 0 1px #ffffffb3;
  backdrop-filter: blur(24px) saturate(1.2);
  animation: globe-login-card-in .8s .18s cubic-bezier(.16, 1, .3, 1) both;
}

.login-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.login-card-top .logo.small {
  color: #121923;
  font-size: 38px;
}

.login-card-top > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #dfe5ea;
  border-radius: 999px;
  color: #5f6974;
  background: #ffffffa6;
  font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 1.2px;
}

.login-card-top > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22a06b;
  box-shadow: 0 0 0 5px #22a06b14;
  animation: globe-status-pulse 2.4s ease-in-out infinite;
}

.globe-login-zone .eyebrow {
  margin: 0;
  color: #bd531f;
}

.globe-login-zone h2 {
  margin: 13px 0 9px;
  color: #121923;
  font-size: 36px;
  letter-spacing: -.045em;
}

.globe-login-zone .login-card > .muted { margin: 0; }

.globe-login-zone .login-card label:not(.check) {
  display: block;
  margin: 24px 0 0;
  color: #39424d;
  font-weight: 700;
}

.globe-login-zone .login-card input {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 15px;
  border: 1px solid #d9dfe5;
  border-radius: 9px;
  color: #1f2937;
  font-size: 15px;
  border-color: #d9dfe5;
  background: #ffffffcf;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.globe-login-zone .login-card .check {
  display: block;
  margin: 18px 0;
  color: #69727d;
}

.globe-login-zone .login-card .check input {
  display: inline;
  width: auto;
  margin: 0 8px 0 0;
  padding: 0;
}

.globe-login-zone .login-card input:focus {
  outline: 0;
  border-color: #f15a24;
  background: #fff;
  box-shadow: 0 0 0 4px #f15a2412;
}

.globe-login-zone .login-card > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 12px 28px #f15a242b;
  transition: transform .2s ease, box-shadow .2s ease;
}

.globe-login-zone .login-card > button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px #f15a2438;
}

.globe-login-zone .login-card > button i { transition: transform .2s ease; }
.globe-login-zone .login-card > button:hover i { transform: translateX(4px); }

.globe-feature-zone {
  position: relative;
  min-width: 0;
  overflow: hidden;
  pointer-events: none;
}

.globe-brand-copy {
  position: absolute;
  z-index: 5;
  top: clamp(40px, 7vh, 76px);
  right: clamp(34px, 5vw, 80px);
  max-width: 570px;
  text-align: right;
  animation: globe-brand-in .75s .28s cubic-bezier(.16, 1, .3, 1) both;
}

.tech-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9f4e26;
  font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 1.5px;
}

.tech-kicker i {
  width: 26px;
  height: 1px;
  background: #f15a24;
}

.globe-brand-copy h1 {
  margin: 12px 0 8px;
  color: #17202b;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.globe-brand-copy p {
  margin: 0;
  color: #6b7480;
  font-size: 14px;
}

.system-core {
  position: absolute;
  z-index: 4;
  left: 49%;
  top: 54%;
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  border: 1px solid #f15a2450;
  border-radius: 50%;
  color: #27313c;
  background: #ffffffcc;
  box-shadow: 0 0 0 10px #ffffff57, 0 0 0 11px #f15a241a, 0 18px 45px #8037121c;
  backdrop-filter: blur(16px);
  transform: translate(-50%, -50%);
  animation: globe-core-breathe 4.8s ease-in-out infinite;
}

.system-core span {
  margin-top: 19px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.08em;
}

.system-core span::first-letter { color: #f15a24; }

.system-core small {
  margin-top: -20px;
  color: #a15e39;
  font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 1.4px;
}

.system-core i {
  position: absolute;
  inset: -18px;
  border: 1px dashed #f15a2433;
  border-radius: 50%;
  animation: globe-core-spin 14s linear infinite;
}

.floating-feature {
  position: absolute;
  z-index: 6;
  display: grid;
  grid-template-columns: auto 38px 1fr;
  align-items: center;
  gap: 11px;
  width: clamp(220px, 19vw, 290px);
  padding: 13px 15px;
  border: 1px solid #ffffffdf;
  border-radius: 14px;
  background: #ffffffd9;
  box-shadow: 0 15px 44px #29394b14, inset 0 0 0 1px #dfe5ea80;
  backdrop-filter: blur(18px);
}

.floating-feature > i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #f15a24;
  background: #fff1e9;
  font-size: 19px;
}

.feature-index {
  align-self: start;
  color: #b96b43;
  font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.floating-feature b,
.floating-feature p { display: block; }

.floating-feature b {
  color: #252e38;
  font-size: 13px;
}

.floating-feature p {
  margin: 4px 0 0;
  color: #737d88;
  font-size: 10px;
  line-height: 1.45;
}

.feature-creative {
  left: 8%;
  top: 29%;
  animation: globe-feature-in-left .58s .48s cubic-bezier(.16, 1, .3, 1) both, globe-feature-float 6.8s 1.3s ease-in-out infinite;
}

.feature-analysis {
  right: 5%;
  top: 34%;
  animation: globe-feature-in-right .65s .58s cubic-bezier(.16, 1, .3, 1) both, globe-feature-float-alt 7.5s 1.4s ease-in-out infinite;
}

.feature-skill {
  left: 7%;
  bottom: 20%;
  animation: globe-feature-in-left .65s .68s cubic-bezier(.16, 1, .3, 1) both, globe-feature-float-alt 8.2s 1.6s ease-in-out infinite;
}

.feature-credit {
  right: 7%;
  bottom: 15%;
  animation: globe-feature-in-right .7s .76s cubic-bezier(.16, 1, .3, 1) both, globe-feature-float 7.8s 1.8s ease-in-out infinite;
}

.feature-link {
  position: absolute;
  z-index: 3;
  left: 49%;
  top: 54%;
  height: 1px;
  background: linear-gradient(90deg, #f15a2466, #f15a2408);
  transform-origin: left center;
  animation: globe-link-in .7s .85s ease-out both;
}

.feature-link::after {
  position: absolute;
  right: 16%;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f15a24;
  box-shadow: 0 0 10px #f15a24;
  content: "";
  animation: globe-packet 3.2s ease-in-out infinite;
}

.link-one { width: 29%; transform: rotate(-150deg); }
.link-two { width: 31%; transform: rotate(-29deg); }
.link-three { width: 28%; transform: rotate(151deg); }
.link-four { width: 31%; transform: rotate(31deg); }
.link-two::after { animation-delay: .5s; }
.link-three::after { animation-delay: 1s; }
.link-four::after { animation-delay: 1.5s; }

.globe-drag-hint {
  position: absolute;
  z-index: 7;
  right: 28px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #dce3e9;
  border-radius: 999px;
  pointer-events: none;
  color: #606b77;
  background: #ffffffb8;
  font-size: 11px;
  backdrop-filter: blur(12px);
  animation: globe-hint-in .45s 1s ease-out both;
}

.globe-drag-hint i {
  color: #f15a24;
  font-size: 16px;
}

@keyframes globe-login-card-in {
  from { opacity: 0; transform: translateX(-36px) scale(.98); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes globe-brand-in {
  from { opacity: 0; transform: translateY(-24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes globe-feature-in-left {
  from { opacity: 0; transform: translateX(-34px) scale(.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes globe-feature-in-right {
  from { opacity: 0; transform: translateX(34px) scale(.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes globe-feature-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes globe-feature-float-alt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

@keyframes globe-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 48px; }
}

@keyframes globe-orbit-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(-14deg) scale(.98); opacity: .62; }
  50% { transform: translate(-50%, -50%) rotate(-11deg) scale(1.02); opacity: 1; }
}

@keyframes globe-orbit-float-alt {
  0%, 100% { transform: translate(-50%, -50%) rotate(24deg) scale(1.02); opacity: .48; }
  50% { transform: translate(-50%, -50%) rotate(20deg) scale(.98); opacity: .8; }
}

@keyframes globe-core-spin {
  to { transform: rotate(360deg); }
}

@keyframes globe-core-breathe {
  0%, 100% { box-shadow: 0 0 0 10px #ffffff57, 0 0 0 11px #f15a241a, 0 18px 45px #8037121c; }
  50% { box-shadow: 0 0 0 15px #ffffff40, 0 0 0 16px #f15a242b, 0 24px 58px #80371226; }
}

@keyframes globe-link-in {
  from { opacity: 0; scale: 0 1; }
  to { opacity: 1; scale: 1 1; }
}

@keyframes globe-packet {
  0%, 100% { right: 88%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { right: 8%; opacity: 0; }
}

@keyframes globe-status-pulse {
  0%, 100% { transform: scale(.92); box-shadow: 0 0 0 4px #22a06b11; }
  50% { transform: scale(1.13); box-shadow: 0 0 0 8px #22a06b0a; }
}

@keyframes globe-hint-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .globe-login-layout { grid-template-columns: minmax(360px, .85fr) minmax(560px, 1.25fr); }
  .globe-login-zone { padding: 34px; }
  .floating-feature { width: 220px; }
  .globe-brand-copy { right: 32px; }
}

@media (max-width: 900px) {
  .globe-login-shell { overflow: auto; }
  .globe-login-layout { grid-template-columns: 1fr; }
  .globe-login-zone { min-height: 100vh; padding: 22px; }
  .globe-feature-zone, .globe-drag-hint, .globe-orbit { display: none; }
  #login-globe { opacity: .32; }
  .globe-login-zone .login-card { width: min(430px, 94vw); }
}

@media (prefers-reduced-motion: reduce) {
  .globe-noise,
  .globe-orbit,
  .globe-login-zone .login-card,
  .globe-brand-copy,
  .system-core,
  .system-core i,
  .floating-feature,
  .feature-link,
  .feature-link::after,
  .globe-drag-hint,
  .login-card-top > span i {
    animation: none !important;
  }
}
