* {
  box-sizing: border-box;
}

.auth-body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: rgb(var(--foreground));
  background-color: #0a0a0c;
  font-family: "Geist", sans-serif;
}

.auth-body::before {
  content: "";
  position: fixed;
  pointer-events: none;
}

.auth-body::before {
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 16% 12%, rgb(36 119 215 / 0.08), transparent 31rem),
    radial-gradient(circle at 84% 86%, rgb(215 117 38 / 0.072), transparent 28rem),
    radial-gradient(circle at 52% 48%, rgb(35 68 82 / 0.25), transparent 34rem),
    #0a0a0c;
}

.auth-body::after {
  content: "";
  display: none;
  position: fixed;
  z-index: -1;
  inset: -8%;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23b9d2dc' stroke-linecap='round'%3E%3Cpath opacity='.14' d='M-44 119C35 70 98 87 145 133c50 49 102 67 164 31 72-42 144-38 226 27'/%3E%3Cpath opacity='.18' d='M-50 143c75-42 135-28 176 12 57 55 115 83 197 35 65-38 134-27 216 29'/%3E%3Cpath opacity='.24' d='M-56 170c69-35 126-17 166 21 62 59 129 85 224 31 58-33 124-15 210 33'/%3E%3Cpath opacity='.3' d='M-66 201c72-34 126-13 165 25 64 62 138 85 244 28 56-30 120-7 207 35'/%3E%3Cpath opacity='.36' d='M-73 235c75-31 128-9 169 32 67 67 148 83 256 27 57-29 119 0 205 38'/%3E%3Cpath opacity='.3' d='M-78 273c80-28 132-3 174 39 70 70 155 78 266 24 62-30 122 7 202 42'/%3E%3Cpath opacity='.24' d='M-80 315c85-23 139 5 181 48 72 73 160 71 272 21 67-30 126 12 198 45'/%3E%3Cpath opacity='.18' d='M-74 360c88-16 145 14 187 57 72 74 160 62 271 17 72-29 130 17 194 48'/%3E%3Cpath opacity='.14' d='M-60 407c89-8 146 22 189 63 70 67 154 52 260 14 76-28 131 18 188 50'/%3E%3Cpath opacity='.3' d='M112-28c-20 53-9 93 29 119 54 37 69 82 35 135-36 57-21 110 45 159 52 39 66 83 36 139'/%3E%3Cpath opacity='.2' d='M146-38c-16 51-2 85 35 109 60 39 75 88 39 145-34 54-15 101 49 148 60 44 72 92 39 151'/%3E%3C/g%3E%3C/svg%3E");
  background:
    radial-gradient(circle at 50% 48%, rgb(85 200 255 / 0.13) 0 2px, transparent 3px) 0 0 / 80px 80px,
    radial-gradient(circle at 50% 48%, rgb(215 117 38 / 0.18), transparent 24rem),
    linear-gradient(rgb(104 181 211 / 0.1) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgb(104 181 211 / 0.1) 1px, transparent 1px) 0 0 / 80px 80px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 72%, transparent 100%);
  filter: drop-shadow(0 0 7px rgb(68 174 216 / 0.2));
  transform-origin: center 72%;
  transform: perspective(760px) rotateX(56deg) scale(1.35);
  animation: gaming-grid-run 9s linear infinite, gaming-grid-pulse 3.6s ease-in-out infinite alternate;
}

.auth-main {
  min-height: 100vh;
}

.login-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 1.25rem 1.25rem 4.25rem;
}

.login-frame {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 74rem);
  min-height: min(43rem, calc(100vh - 5.5rem));
  grid-template-columns: minmax(24rem, 0.92fr) minmax(30rem, 1.08fr);
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.login-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 1.75rem 0 0 1.75rem;
  background:
    radial-gradient(circle at 18% 16%, rgb(22 211 238 / 0.16), transparent 40%),
    radial-gradient(circle at 86% 38%, rgb(99 102 241 / 0.18), transparent 44%),
    radial-gradient(circle at 35% 92%, rgb(168 85 247 / 0.15), transparent 42%),
    linear-gradient(145deg, rgb(5 20 31 / 0.62), rgb(14 9 31 / 0.58));
  backdrop-filter: blur(18px) saturate(1.15);
  isolation: isolate;
}

.login-visual-image {
  position: absolute;
  z-index: -4;
  inset: -7%;
  background:
    radial-gradient(circle at 66% 28%, rgb(126 240 255 / 0.78) 0 8%, transparent 27%),
    radial-gradient(ellipse at 25% 68%, rgb(0 79 166 / 0.96) 0 11%, transparent 42%),
    radial-gradient(ellipse at 75% 76%, rgb(99 41 175 / 0.88) 0 7%, transparent 34%),
    linear-gradient(145deg, #031b32 3%, #075b83 34%, #12b9cd 56%, #30205e 80%, #080b17);
  filter: saturate(1.12) blur(10px);
  transform: scale(1.08);
  animation: login-visual-drift 14s ease-in-out infinite alternate;
}

.login-visual::before,
.login-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.login-visual::before {
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(to bottom, rgb(3 8 15 / 0.25), transparent 16%, transparent 58%, rgb(5 7 15 / 0.86) 94%),
    linear-gradient(135deg, rgb(34 211 238 / 0.08), transparent 38%, rgb(139 92 246 / 0.09));
}

.login-visual::after {
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 16% 12%, rgb(103 232 249 / 0.13), transparent 28%),
    radial-gradient(circle at 84% 58%, rgb(129 140 248 / 0.12), transparent 34%),
    radial-gradient(circle at 45% 90%, rgb(192 132 252 / 0.1), transparent 30%);
  mix-blend-mode: screen;
}

.login-game-wall {
  position: absolute;
  z-index: 1;
  inset: -3rem -12rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  transform: rotate(-3.5deg) scale(1.12);
}

.login-game-row {
  width: 100%;
  flex: 0 0 auto;
  overflow: visible;
}

.login-game-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: login-games-left 260s linear infinite;
}

.login-game-row--two .login-game-track {
  animation-name: login-games-right;
  animation-duration: 340s;
}

.login-game-row--three .login-game-track {
  animation-duration: 300s;
}

.login-game-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.8rem;
  padding-right: 0.8rem;
}

.login-game-card {
  position: relative;
  width: 16.5rem;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0.85rem;
  background: #0b1119;
  box-shadow:
    0 1.1rem 2.8rem rgb(0 0 0 / 0.5),
    0 0 1.5rem rgb(56 189 248 / 0.08);
  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 300ms ease,
    box-shadow 300ms ease,
    filter 300ms ease;
}

.login-game-card--sm {
  width: 14.25rem;
}

.login-game-card--lg {
  width: 18.5rem;
}

.login-game-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transform: scale(1.015);
  transition:
    opacity 300ms ease,
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.login-game-card:hover {
  z-index: 2;
  box-shadow:
    0 1.5rem 3.4rem rgb(0 0 0 / 0.6),
    0 0 2.2rem rgb(56 189 248 / 0.22);
  filter: brightness(1.08);
  transform: translateY(-0.25rem) scale(1.045);
}

.login-game-card:hover img {
  opacity: 0.72;
  transform: scale(1.055);
}

.login-platforms {
  position: absolute;
  z-index: 4;
  top: 2rem;
  left: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgb(255 255 255 / 0.86);
  filter: drop-shadow(0 0.25rem 0.65rem rgb(0 0 0 / 0.45));
}

.login-platform-icon {
  display: block;
  width: 1.85rem;
  height: 1.85rem;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.login-platform-icon--steam {
  background: none;
  mask-image: none;
  -webkit-mask-image: none;
  border-radius: 50%;
  object-fit: cover;
}

.login-platform-icon--playstation {
  mask-image: url("https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/playstation.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/playstation.svg");
}

.login-platform-separator {
  width: 1px;
  height: 1.35rem;
  background: rgb(255 255 255 / 0.35);
}

.login-visual-noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.login-visual-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgb(210 248 255 / 0.22);
  border-radius: 50%;
  filter: drop-shadow(0 0 0.75rem rgb(117 231 255 / 0.16));
}

.login-visual-orbit--one {
  width: 24rem;
  height: 9rem;
  top: 22%;
  left: -17%;
  transform: rotate(-25deg);
}

.login-visual-orbit--two {
  width: 34rem;
  height: 13rem;
  top: 45%;
  left: -26%;
  opacity: 0.55;
  transform: rotate(31deg);
}

.login-visual-copy {
  position: absolute;
  z-index: 4;
  right: 3rem;
  bottom: 3rem;
  left: 3rem;
  color: #fff;
  text-shadow: 0 2px 1.5rem rgb(0 0 0 / 0.48);
}

.login-visual-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.42rem 0.65rem;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 99rem;
  background: rgb(255 255 255 / 0.09);
  backdrop-filter: blur(10px);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.login-visual-title {
  display: flex;
  max-width: 26rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  margin: 0;
  font-family: "Jersey 10", monospace;
  font-size: clamp(2.7rem, 4.8vw, 4.35rem);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.76;
  text-transform: uppercase;
}

.login-visual-title-row {
  display: flex;
  align-items: center;
  gap: 0.22em;
  white-space: nowrap;
}

.login-visual-title-chip {
  display: inline-block;
  padding: 0.07em 0.13em 0.1em;
  color: #080b10;
  box-shadow:
    inset 0 0 0 1px rgb(0 0 0 / 0.15),
    0 0.08em 0 rgb(0 0 0 / 0.2);
  text-shadow: none;
}

.login-visual-title-chip--play {
  background: #f4b900;
}

.login-visual-title-chip--together {
  background: #ff3b12;
}

.login-visual-copy p {
  max-width: 20rem;
  margin: 1.2rem 0 0;
  color: rgb(231 247 255 / 0.7);
  font-size: 0.84rem;
  line-height: 1.55;
}

.login-panel {
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 2rem;
  background: transparent;
}

.game-marquee {
  position: fixed;
  z-index: 0;
  top: -12vh;
  bottom: -12vh;
  width: 9.5rem;
  overflow: hidden;
  opacity: 0.56;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  pointer-events: none;
}

.game-marquee--left {
  left: calc(50% - 34rem);
  transform: rotate(-4deg);
}

.game-marquee--right {
  right: calc(50% - 34rem);
  transform: rotate(4deg);
}

.game-marquee-track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: game-covers-up 34s linear infinite;
  will-change: transform;
}

.game-marquee--right .game-marquee-track {
  animation-name: game-covers-down;
  animation-duration: 38s;
}

.game-cover {
  position: relative;
  display: flex;
  width: 9.5rem;
  height: 12rem;
  flex: 0 0 auto;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 1.05rem;
  box-shadow: 0 1.25rem 2.8rem rgb(0 0 0 / 0.32);
  color: white;
  isolation: isolate;
}

.game-cover::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 0.2), transparent 32%),
    linear-gradient(to top, rgb(2 8 13 / 0.9), transparent 68%);
}

.game-cover::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -80%;
  width: 55%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.13), transparent);
  transform: rotate(18deg);
  animation: game-cover-shine 7s ease-in-out infinite;
}

.game-cover svg {
  position: absolute;
  z-index: -2;
  top: 2.2rem;
  left: 50%;
  width: 4.6rem;
  height: 4.6rem;
  opacity: 0.72;
  filter: drop-shadow(0 0 1.2rem currentColor);
  transform: translateX(-50%);
}

.game-cover span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgb(0 0 0 / 0.8);
  text-transform: uppercase;
}

.game-cover--rpg {
  color: #ffb268;
  background: linear-gradient(150deg, #7c2d12, #27140f 62%, #0b141b);
}

.game-cover--racing {
  color: #74d7ff;
  background: linear-gradient(150deg, #075985, #102b3a 58%, #0b141b);
}

.game-cover--fps {
  color: #ff6868;
  background: linear-gradient(150deg, #7f1d1d, #301417 58%, #0b141b);
}

.game-cover--adventure {
  color: #63e6a5;
  background: linear-gradient(150deg, #166534, #123024 58%, #0b141b);
}

.game-cover--sports {
  color: #f9df68;
  background: linear-gradient(150deg, #854d0e, #39270f 58%, #0b141b);
}

.game-cover--strategy {
  color: #c9a7ff;
  background: linear-gradient(150deg, #5b21b6, #271844 58%, #0b141b);
}

.login-island {
  position: relative;
  z-index: 2;
  width: min(100%, 29rem);
  padding: 1rem 2rem;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  animation: auth-island-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.login-island::before {
  content: none;
}

.login-header {
  position: relative;
  margin-bottom: 1.65rem;
  text-align: center;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  margin-bottom: 1.45rem;
  color: white;
  text-decoration: none;
}

.login-brand img {
  width: auto;
  max-width: 14rem;
  height: 3.25rem;
  object-fit: contain;
}

.login-brand-name {
  display: flex;
  align-items: center;
  max-width: 0;
  margin-left: 0;
  overflow: hidden;
  opacity: 0;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-0.8rem);
  animation: login-brand-reveal 1.65s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.login-brand-name strong {
  font-weight: 800;
  letter-spacing: -0.045em;
}

.login-brand-name > span {
  margin-left: 0.08em;
  font-weight: 400;
  letter-spacing: 0.015em;
}

.login-brand-fallback {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.login-brand-mark {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid hsl(var(--primary) / 0.45);
  border-radius: 0.7rem;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.12);
  box-shadow: 0 0 1.5rem hsl(var(--primary) / 0.16);
}

.login-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.login-header p {
  max-width: 22rem;
  margin: 0.65rem auto 0;
  color: rgb(186 203 214 / 0.7);
  font-size: 0.84rem;
  line-height: 1.55;
}

.social-login-list {
  position: relative;
  display: grid;
  gap: 0.7rem;
}

.social-login-button {
  display: flex;
  width: 100%;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 0.8rem;
  color: rgb(241 245 249);
  background: rgb(255 255 255 / 0.045);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.social-login-button:hover {
  border-color: rgb(255 255 255 / 0.17);
  background: rgb(255 255 255 / 0.075);
  box-shadow: 0 0.7rem 2rem rgb(0 0 0 / 0.18);
  transform: translateY(-1px);
}

.social-login-button:active {
  transform: translateY(0) scale(0.99);
}

.social-login-button svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.35rem 0;
  color: rgb(148 163 184 / 0.62);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.1));
}

.login-divider::after {
  background: linear-gradient(90deg, rgb(255 255 255 / 0.1), transparent);
}

.auth-field-label {
  display: block;
  margin-bottom: 0.5rem;
  color: rgb(226 232 240 / 0.84);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.auth-email-input {
  width: 100%;
  height: 3rem;
  padding: 0 0.95rem;
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 0.8rem;
  outline: none;
  color: #fff;
  background: rgb(4 12 18 / 0.58);
  font: inherit;
  font-size: 0.9rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.auth-email-input::placeholder {
  color: rgb(148 163 184 / 0.45);
}

.auth-email-input:focus {
  border-color: hsl(var(--primary) / 0.72);
  background: rgb(4 12 18 / 0.78);
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.12);
}

.otp-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
}

.otp-grid .otp-input {
  width: 100%;
  min-width: 0;
  height: 3.15rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 0.7rem;
  outline: none;
  color: #fff;
  background: rgb(4 12 18 / 0.58);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.otp-grid .otp-input:focus {
  border-color: hsl(var(--primary) / 0.72);
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.12);
}

.otp-help {
  margin: 0.75rem 0 0;
  color: rgb(148 163 184 / 0.68);
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}

.otp-help span {
  color: rgb(226 232 240 / 0.92);
}

.auth-submit {
  display: flex;
  width: 100%;
  min-height: 3.05rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  border: 1px solid hsl(var(--primary) / 0.5);
  border-radius: 0.8rem;
  color: lch(from hsl(var(--primary)) calc((49.44 - l) * infinity) 0 0);
  background: hsl(var(--primary));
  box-shadow: 0 0.85rem 2.2rem hsl(var(--primary) / 0.16);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    filter 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.auth-submit:hover {
  filter: brightness(1.08);
  box-shadow: 0 1rem 2.6rem hsl(var(--primary) / 0.24);
  transform: translateY(-1px);
}

.auth-submit:disabled {
  cursor: wait;
  filter: saturate(0.6);
  opacity: 0.7;
}

.back-to-email-wrap {
  display: flex;
  justify-content: center;
}

.back-to-email {
  margin-top: 0.9rem;
  border: 0;
  color: rgb(186 203 214 / 0.7);
  background: transparent;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

.back-to-email:hover {
  color: #fff;
  text-decoration: underline;
}

.login-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.07);
}

.login-social {
  --social-color: 255 255 255;
  position: relative;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.8rem;
  color: #fff;
  background: rgb(255 255 255 / 0.045);
  text-decoration: none;
  isolation: isolate;
  transition:
    color 220ms ease,
    background 220ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease;
}

.login-social--discord {
  --social-color: 88 101 242;
}

.login-social--whatsapp {
  --social-color: 37 211 102;
}

.login-social--instagram {
  --social-color: 225 48 108;
}

.login-social svg {
  z-index: 1;
  width: 1.15rem;
  height: 1.15rem;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.login-social-glow {
  position: absolute;
  z-index: -1;
  inset: 0.3rem;
  border-radius: inherit;
  background: rgb(var(--social-color) / 0.5);
  opacity: 0;
  filter: blur(0.8rem);
  transform: scale(0.5);
  transition:
    opacity 250ms ease,
    transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.login-social:hover {
  color: rgb(var(--social-color));
  background: rgb(var(--social-color) / 0.1);
  box-shadow: 0 0.75rem 1.8rem rgb(var(--social-color) / 0.12);
  transform: translateY(-4px) rotate(-3deg) scale(1.06);
}

.login-social:hover svg {
  transform: rotate(3deg) scale(1.12);
}

.login-social:hover .login-social-glow {
  opacity: 0.65;
  transform: scale(1.25);
}

.login-social:active {
  transform: translateY(-1px) scale(0.96);
}

.login-home-link {
  position: absolute;
  z-index: 4;
  bottom: 3.9rem;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgb(186 203 214 / 0.62);
  font-size: 0.76rem;
  font-weight: 500;
  text-decoration: none;
  transform: translateX(-50%);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.login-home-link svg {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 180ms ease;
}

.login-home-link:hover {
  color: rgb(240 249 255 / 0.92);
  transform: translateX(-50%) translateY(-1px);
}

.login-home-link:hover svg {
  transform: translateX(-0.18rem);
}

.login-legal {
  position: absolute;
  right: 1rem;
  bottom: 1.25rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 1rem;
  color: rgb(148 163 184 / 0.46);
  font-size: 0.66rem;
}

.login-legal a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}

.login-legal a:hover {
  color: rgb(226 232 240 / 0.86);
}

@keyframes auth-island-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes login-visual-drift {
  from {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
  to {
    transform: scale(1.14) translate3d(1.5%, 1%, 0);
  }
}

@keyframes login-games-left {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes login-games-right {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes login-brand-reveal {
  from {
    max-width: 0;
    margin-left: 0;
    opacity: 0;
    transform: translateX(-0.8rem);
  }
  to {
    max-width: 8.5rem;
    margin-left: -0.2rem;
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes gaming-grid-run {
  from {
    background-position: 0 0, center, 0 0, 0 0;
  }
  to {
    background-position: 0 80px, center, 0 80px, 0 80px;
  }
}

@keyframes gaming-grid-pulse {
  from {
    opacity: 0.12;
    filter: drop-shadow(0 0 4px rgb(68 174 216 / 0.12));
  }
  to {
    opacity: 0.25;
    filter: drop-shadow(0 0 12px rgb(68 174 216 / 0.28));
  }
}

@keyframes game-covers-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-78rem);
  }
}

@keyframes game-covers-down {
  from {
    transform: translateY(-78rem);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes game-cover-shine {
  0%,
  68% {
    left: -80%;
  }
  88%,
  100% {
    left: 140%;
  }
}

@media (max-width: 1050px) {
  .game-marquee {
    display: none;
  }

  .login-frame {
    grid-template-columns: minmax(20rem, 0.82fr) minmax(27rem, 1.18fr);
  }

  .login-visual-copy {
    right: 2rem;
    bottom: 2.5rem;
    left: 2rem;
  }
}

@media (max-width: 900px) {
  .login-shell {
    display: block;
    padding: 1rem 0 4.5rem;
  }

  .login-frame {
    display: block;
    width: 100%;
    min-height: calc(100vh - 5.5rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .login-visual {
    display: none;
  }

  .login-panel {
    min-height: calc(100vh - 5.5rem);
    padding: 0;
    background: transparent;
  }

  .login-island {
    min-height: calc(100vh - 5.5rem);
    padding: 1.65rem 1.15rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
  }

  .login-header {
    margin-bottom: 1.35rem;
  }

  .login-brand {
    margin-bottom: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-island,
  .auth-body::after,
  .login-visual-image {
    animation: none;
  }

  .social-login-button,
  .auth-submit,
  .login-social,
  .login-social svg,
  .login-social-glow {
    transition: none;
  }

  .login-brand-name {
    max-width: 8.5rem;
    margin-left: -0.2rem;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .game-marquee-track,
  .game-cover::after,
  .login-game-track {
    animation-play-state: paused;
  }
}