/* Landing + auth pages */

.page-landing,
.page-auth {
  overflow-x: hidden;
}

.page-auth {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top, rgba(88, 101, 242, 0.18), transparent 26%),
    linear-gradient(180deg, #0b1020 0%, #131a29 44%, #181f31 100%);
}

.page-landing {
  position: relative;
  background:
    radial-gradient(circle at top, rgba(88, 101, 242, 0.18), transparent 30%),
    linear-gradient(180deg, #0b1020 0%, #111827 36%, #171d2c 100%);
}

body.page-landing::before {
  opacity: 0.24;
}

body.page-auth::before {
  opacity: 0.18;
}

.landing-bg,
.landing-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.auth-bg,
.auth-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.landing-bg {
  z-index: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(88, 101, 242, 0.2), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(0, 168, 252, 0.16), transparent 24%),
    radial-gradient(circle at 54% 76%, rgba(87, 242, 135, 0.1), transparent 30%);
  filter: blur(6px);
}

.landing-grid {
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 88%);
}

.auth-bg {
  z-index: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(88, 101, 242, 0.24), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(0, 168, 252, 0.14), transparent 22%),
    radial-gradient(circle at 70% 80%, rgba(35, 165, 89, 0.08), transparent 22%);
  filter: blur(8px);
}

.auth-grid {
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 90%);
}

.page-landing > .site-header,
.page-landing > main,
.page-landing > footer {
  position: relative;
  z-index: 1;
}

.page-auth > main {
  position: relative;
  z-index: 1;
}

.auth-save-open {
  overflow: hidden;
}

.auth-save-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 9, 18, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.auth-save-card {
  width: min(460px, 100%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(27, 35, 54, 0.96), rgba(18, 24, 39, 0.98)),
    #131a29;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.auth-save-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: #a9bbff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-save-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 1.05;
}

.auth-save-copy,
.auth-save-foot {
  margin: 12px 0 0;
  color: #cad4e6;
  line-height: 1.65;
}

.auth-save-foot {
  color: #a6b5cc;
  font-size: 0.92rem;
}

.auth-save-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(135deg, #5865f2, #00a8fc);
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.42);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #c7d1df;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.site-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.site-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #5865f2 0%, #7280ff 55%, #8aa2ff 100%);
  box-shadow: 0 16px 34px rgba(88, 101, 242, 0.34);
}

.site-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(88, 101, 242, 0.42);
}

.site-btn--ghost {
  color: #f3f7ff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.site-btn--ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.site-btn--lg {
  min-height: 54px;
  padding: 0 24px;
}

.hero,
.landing-stats,
.landing-band,
.control-section,
.quote-panel,
.cta-panel,
.site-footer-inner {
  width: min(1240px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.hero--discord {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 600px);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  padding: 54px 0 72px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 18px;
  color: #a9bbff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 10.5ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.4rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.hero-lead,
.section-lead {
  max-width: 46ch;
  margin: 24px 0 0;
  color: #cad4e6;
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #edf3ff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(88, 101, 242, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-social-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.hero-proof-card {
  padding: 18px 18px 20px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(88, 101, 242, 0.16), transparent 42%),
    rgba(11, 16, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(3, 7, 18, 0.36);
}

.hero-proof-card span {
  display: block;
  color: #9eacc2;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-proof-card strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.45;
}

.hero-stage {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.hero-orb--violet {
  top: 40px;
  right: 36px;
  width: 290px;
  height: 290px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.42), transparent 68%);
}

.hero-orb--blue {
  bottom: 34px;
  left: 16px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 168, 252, 0.28), transparent 70%);
}

.hero-window {
  position: relative;
  z-index: 2;
  width: min(100%, 590px);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    #202531;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 80px rgba(4, 8, 20, 0.54);
}

.hero-window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-window-pill,
.hero-window-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-window-pill {
  color: #f3f7ff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-window-status {
  color: #b7f7cf;
  background: rgba(35, 165, 89, 0.18);
}

.hero-window-body {
  display: grid;
  grid-template-columns: 70px 164px minmax(0, 1fr);
  min-height: 520px;
}

.hero-servers {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 0;
  align-items: center;
  background: rgba(13, 17, 27, 0.62);
}

.hero-server {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
}

.hero-server--active {
  background: linear-gradient(135deg, #5865f2, #7d8bff);
  box-shadow: 0 10px 24px rgba(88, 101, 242, 0.35);
}

.hero-sidebar {
  padding: 20px 14px;
  background: rgba(22, 27, 39, 0.74);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-sidebar p {
  margin: 0 0 10px;
  color: #7f8ca5;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-channel {
  display: block;
  padding: 8px 10px;
  margin-bottom: 4px;
  border-radius: 10px;
  color: #c6d0df;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-channel--active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-channel--voice::before {
  content: "🔊 ";
}

.hero-feed {
  padding: 20px;
}

.hero-feed-banner {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(0, 168, 252, 0.09));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-feed-banner strong,
.hero-feed-banner span {
  display: block;
}

.hero-feed-banner strong {
  color: #fff;
  font-size: 1rem;
}

.hero-feed-banner span {
  margin-top: 8px;
  color: #ced7e6;
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-message-card {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  flex-shrink: 0;
}

.hero-avatar--violet {
  background: linear-gradient(135deg, #5865f2, #7784ff);
}

.hero-avatar--green {
  background: linear-gradient(135deg, #23a559, #48c778);
}

.hero-message-card strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
}

.hero-message-card p {
  margin: 6px 0 0;
  color: #c4d0df;
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-invite-preview {
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-invite-preview__banner {
  height: 82px;
  background: linear-gradient(180deg, rgba(132, 144, 180, 0.86), rgba(86, 95, 121, 0.72));
}

.hero-invite-preview__body {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 0 16px 18px;
  margin-top: -30px;
}

.hero-invite-preview__icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #111827, #2f3648);
  border: 4px solid #202531;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-invite-preview__copy {
  flex: 1;
  min-width: 0;
}

.hero-invite-preview__copy strong,
.hero-invite-preview__copy span {
  display: block;
}

.hero-invite-preview__copy strong {
  color: #fff;
  font-size: 1.1rem;
}

.hero-invite-preview__copy span {
  margin-top: 6px;
  color: #cad4e6;
  font-size: 0.88rem;
}

.hero-invite-preview__body button {
  min-width: 88px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: #23a559;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-float-card {
  position: absolute;
  z-index: 3;
  width: 210px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(12, 18, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 44px rgba(4, 8, 20, 0.4);
}

.hero-float-card span,
.hero-float-card strong {
  display: block;
}

.hero-float-card span {
  color: #8fa0bc;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-float-card strong {
  margin-top: 8px;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-float-card--left {
  left: -10px;
  bottom: 76px;
}

.hero-float-card--right {
  right: -12px;
  top: 80px;
}

.landing-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.landing-stats article,
.landing-panel,
.control-card,
.quote-panel,
.cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 18, 30, 0.74);
  box-shadow: 0 24px 60px rgba(4, 8, 20, 0.3);
}

.landing-stats article {
  padding: 22px;
  border-radius: 22px;
}

.landing-stats strong,
.landing-stats span {
  display: block;
}

.landing-stats strong {
  color: #fff;
  font-size: 1rem;
}

.landing-stats span {
  margin-top: 10px;
  color: #c4cfdf;
  line-height: 1.58;
}

.landing-band,
.control-section {
  padding: 92px 0 0;
}

.section-copy h2,
.control-copy h2,
.cta-panel h2 {
  max-width: 14ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.landing-band-grid,
.control-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.landing-panel,
.control-card {
  padding: 22px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.landing-panel::before,
.control-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.landing-panel-kicker,
.control-card span {
  display: inline-block;
  color: #9eb0ca;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-panel strong,
.control-card strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.3;
}

.landing-panel p,
.control-card p {
  margin: 12px 0 0;
  color: #cad4e4;
  line-height: 1.6;
}

.control-showcase {
  align-items: stretch;
}

.control-card--voice {
  background:
    radial-gradient(circle at top right, rgba(0, 168, 252, 0.18), transparent 34%),
    rgba(12, 18, 30, 0.76);
}

.control-card--settings {
  background:
    radial-gradient(circle at top left, rgba(88, 101, 242, 0.22), transparent 36%),
    rgba(12, 18, 30, 0.76);
}

.control-card--invite {
  background:
    radial-gradient(circle at bottom right, rgba(35, 165, 89, 0.16), transparent 34%),
    rgba(12, 18, 30, 0.76);
}

.quote-panel {
  margin-top: 92px;
  padding: 38px;
  border-radius: 30px;
  text-align: center;
}

.quote-panel blockquote {
  max-width: 20ch;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  margin-bottom: 84px;
  padding: 32px;
  border-radius: 30px;
}

.cta-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding-bottom: 28px;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-brand,
.site-footer-links a {
  color: #b7c1d3;
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 480px);
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  margin: 32px auto;
}

.auth-panel {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 18, 30, 0.76);
  box-shadow: 0 28px 70px rgba(4, 8, 20, 0.34);
}

.auth-panel--art {
  min-height: 720px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(88, 101, 242, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(12, 18, 30, 0.88);
}

.auth-panel--form {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(18, 24, 37, 0.92);
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bfd0eb;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.auth-back:hover {
  color: #fff;
}

.auth-form-head {
  margin-top: 20px;
}

.auth-badge,
.auth-art-kicker,
.auth-mini-window__chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-badge,
.auth-art-kicker {
  color: #d7e4ff;
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-panel--form h1,
.auth-art-head strong {
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.auth-sub,
.auth-quote,
.auth-mini-window__body p {
  margin: 14px 0 0;
  color: #c8d4e6;
  font-size: 1rem;
  line-height: 1.65;
}

.auth-error {
  margin: 22px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(237, 66, 69, 0.15);
  border: 1px solid rgba(237, 66, 69, 0.24);
  color: #ffd8d8;
  font-size: 0.9rem;
  font-weight: 700;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.auth-label {
  display: grid;
  gap: 8px;
}

.auth-label span {
  color: #d7deeb;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-label input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 20, 0.56);
  color: #fff;
  font: inherit;
  font-size: 0.98rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.auth-label input::placeholder {
  color: #8794aa;
}

.auth-label input:focus {
  outline: none;
  border-color: rgba(138, 162, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(88, 101, 242, 0.16);
  background: rgba(10, 15, 24, 0.76);
}

.auth-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-switch {
  margin: 0;
  color: #b8c5d8;
  font-size: 0.94rem;
}

.auth-switch a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-art-head {
  position: relative;
  z-index: 2;
  max-width: 26rem;
}

.auth-stage {
  position: relative;
  min-height: 420px;
  margin-top: 34px;
}

.auth-blob {
  position: absolute;
  inset: 30px auto auto 20px;
  width: 340px;
  height: 340px;
  border-radius: 34% 66% 58% 42% / 42% 38% 62% 58%;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(88, 101, 242, 0.88), rgba(0, 168, 252, 0.62));
  filter: blur(2px);
  opacity: 0.94;
  box-shadow: 0 30px 90px rgba(88, 101, 242, 0.35);
}

.auth-blob--alt {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(88, 101, 242, 0.9), rgba(35, 165, 89, 0.48));
}

.auth-mini-window {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: min(100%, 360px);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(18, 24, 37, 0.95);
  box-shadow: 0 24px 60px rgba(4, 8, 20, 0.36);
}

.auth-mini-window__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: #dce7f7;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.auth-mini-window__body {
  padding: 18px 16px 20px;
}

.auth-mini-window__chip {
  color: #f3f8ff;
  background: rgba(35, 165, 89, 0.16);
  border: 1px solid rgba(35, 165, 89, 0.18);
}

.auth-mini-window--signup .auth-mini-window__chip {
  background: rgba(88, 101, 242, 0.18);
  border-color: rgba(88, 101, 242, 0.2);
}

.auth-quote {
  position: relative;
  z-index: 2;
  max-width: 24rem;
  margin-top: 10px;
}

@media (max-width: 1080px) {
  .hero--discord {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .hero-copy h1,
  .section-copy h2,
  .control-copy h2,
  .cta-panel h2,
  .quote-panel blockquote {
    max-width: none;
  }

  .hero-stage {
    min-height: auto;
    padding: 26px 0 34px;
  }

  .hero-float-card {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .landing-stats,
  .landing-band-grid,
  .control-showcase,
  .hero-social-proof {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .landing-stats,
  .landing-band,
  .control-section,
  .quote-panel,
  .cta-panel,
  .site-footer-inner {
    width: min(100%, calc(100% - 24px));
  }

  .site-header {
    padding: 14px 0;
  }

  .site-nav {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-link {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .hero-window {
    border-radius: 26px;
  }

  .hero-window-body {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .hero-feed {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero-sidebar {
    border-right: 0;
  }

  .hero-servers {
    gap: 10px;
  }

  .hero-server {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .landing-stats article,
  .landing-panel,
  .control-card,
  .quote-panel,
  .cta-panel {
    border-radius: 22px;
  }

  .quote-panel {
    padding: 28px 22px;
  }

  .cta-panel {
    padding: 26px 22px;
    margin-bottom: 56px;
  }
}

@media (max-width: 980px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-panel--art {
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .page-auth {
    display: block;
    padding: 16px 0;
  }

  .auth-layout {
    width: min(100%, calc(100% - 20px));
    margin: 0 auto;
  }

  .auth-panel {
    border-radius: 24px;
  }

  .auth-panel--art,
  .auth-panel--form {
    padding: 22px 18px;
  }

  .auth-panel--art {
    min-height: 440px;
  }

  .auth-stage {
    min-height: 280px;
  }

  .auth-blob {
    left: -8px;
    width: 220px;
    height: 220px;
  }

  .auth-mini-window {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 160px;
  }

  .auth-panel--form h1,
  .auth-art-head strong {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }
}
