body.guest {
  overflow: hidden;
}

.login-viewport {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2vw, 2rem);
  box-sizing: border-box;
}

.login-split {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  padding: 0 clamp(1rem, 2vw, 2.2rem);
  box-sizing: border-box;
}

.banner-col {
  flex: 1.35 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-col {
  flex: 0.65 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.banner-stack.side {
  align-items: flex-start;
  margin-top: -28px;
  margin-left: 28px;
}

.banner-hero {
  position: relative;
  display: block;
  width: 100%;
}

.banner-col .banner-hero {
  max-width: none;
}

.banner-hero img {
  width: clamp(1100px, 70vw, 2000px);
  height: auto;
  aspect-ratio: 16/9;
  filter: drop-shadow(0 18px 46px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 30px rgba(228, 87, 46, 0.35));
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: 800ms cubic-bezier(0.19, 1, 0.22, 1);
}

.banner-hero img.loaded {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.login-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}

.login-simple {
  padding: 1.65rem 1.85rem 2rem;
  background: linear-gradient(
    160deg,
    rgba(32, 37, 45, 0.72) 0%,
    rgba(20, 23, 28, 0.72) 70%
  );
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  align-items: stretch;
  min-width: 260px;
  box-shadow: 0 18px 46px -12px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  isolation: isolate;
}

.login-simple.elegant {
  background: linear-gradient(
    155deg,
    rgba(32, 37, 45, 0.82) 0%,
    rgba(19, 22, 27, 0.82) 60%,
    rgba(15, 18, 22, 0.9) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 26px 70px -18px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.login-simple::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    140deg,
    rgba(228, 87, 46, 0.55),
    rgba(255, 157, 66, 0.35),
    rgba(228, 87, 46, 0.55)
  );
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
}

.login-simple::after {
  content: "";
  position: absolute;
  top: 12%;
  left: 8%;
  width: 50%;
  height: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(228, 87, 46, 0.28),
    transparent 70%
  );
  filter: blur(22px);
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.login-simple.elegant::after {
  top: 14%;
  left: 10%;
  width: 46%;
  height: 46%;
  opacity: 0.38;
  filter: blur(26px);
}

.login-title {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.6px;
  color: #fff;
  background: none;
  text-shadow: 0 2px 34px rgba(228, 87, 46, 0.4);
}

.login-title .t-main {
  font-weight: 600;
}

.login-title .t-accent {
  background: linear-gradient(
    100deg,
    #e4572e 0%,
    #ff9d42 55%,
    #e4572e 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px -4px rgba(228, 87, 46, 0.5);
}

.login-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.title-accent {
  flex: 1;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(228, 87, 46, 0.8),
    rgba(255, 157, 66, 0.4),
    rgba(228, 87, 46, 0)
  );
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.title-accent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent);
  mix-blend-mode: overlay;
  opacity: 0.4;
}

.login-tag {
  margin: -0.25rem 0 0.4rem;
  font-size: 0.9rem;
  line-height: 1.4;
  letter-spacing: 0.35px;
  color: #b9c0ca;
  text-align: left;
  background: linear-gradient(90deg, #e6e6e6, #b7bcc3);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  opacity: 0.9;
  font-weight: 500;
}

.trust-note {
  margin: 0.75rem 0 0;
  font-size: 0.63rem;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #7e8892;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.25;
  opacity: 0.88;
  font-weight: 600;
}

.trust-note .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e4572e, #ff9d42);
  box-shadow: 0 0 8px -1px rgba(228, 87, 46, 0.8);
}

.login-simple.elegant:hover {
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(255, 255, 255, 0.07);
}

.login-simple.elegant:focus-within {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14),
    0 0 0 6px rgba(228, 87, 46, 0.45),
    0 26px 70px -18px rgba(0, 0, 0, 0.75);
}

.login-simple:hover {
  box-shadow: 0 22px 60px -14px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.login-simple:focus-within {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12),
    0 0 0 5px rgba(228, 87, 46, 0.4),
    0 18px 46px -12px rgba(0, 0, 0, 0.65);
}

.login-simple .discord-btn.large {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 0.9rem 1.2rem;
}

@media (max-width: 520px) {
  .login-simple {
    padding: 1.5rem 1.55rem 1.85rem;
    border-radius: 20px;
  }

  .login-title {
    font-size: 1.75rem;
  }

  .login-tag {
    font-size: 0.92rem;
  }
}

@media (max-height: 700px) {
  .banner-hero img {
    max-height: 240px;
  }

  .login-center {
    gap: 1.6rem;
  }

  .banner-stack {
    margin-top: -20px;
  }
}

@media (max-width: 1400px) {
  .banner-hero img {
    width: clamp(980px, 74vw, 1720px);
  }
}

@media (max-width: 1100px) {
  .login-split {
    gap: 3.2rem;
  }

  .banner-hero img {
    width: clamp(860px, 76vw, 1500px);
  }
}

@media (max-width: 900px) {
  .login-split {
    gap: 2.4rem;
  }

  .banner-hero img {
    width: clamp(700px, 82vw, 1220px);
  }
}

@media (max-width: 760px) {
  .login-split {
    flex-direction: column;
    gap: 2.2rem;
    padding-top: 1.2rem;
  }

  .banner-col,
  .panel-col {
    flex: initial;
    width: 100%;
  }

  .banner-hero img {
    width: 100%;
    aspect-ratio: auto;
  }

  .banner-stack.side {
    align-items: center;
    margin-top: 0;
    margin-left: 0;
  }

  .login-simple {
    width: 100%;
    max-width: 440px;
  }
}

@media (max-width: 560px) {
  .banner-hero img {
    width: 100%;
  }
}

@media (min-width: 1900px) {
  .banner-hero img {
    width: clamp(1400px, 58vw, 2400px);
  }
}
