/* =========================================================
   Lucky Star — "High-Voltage Athletic Poster" design, blue theme (#096da3 accent, #1d4766 deep).
   Source of truth: New Design/ (code.html = login, code (2).html = lobby).
   Shared by Login.aspx and Index.aspx. Dark only — no night-mode toggle.
   ========================================================= */
@import url("assets/fonts/fonts.css");

:root {
  --bg: #0f151c;
  --bg-deep: #090d12;
  --lowest: #0b1118;
  --low: #141c25;
  --container: #18222c;
  --high: #1f2a36;
  --highest: #283542;
  --bright: #2f3d4b;
  --ink: #e3e9ee;
  --ink-soft: #b9cfdd;
  --outline: #7f98aa;
  --outline-soft: #34495a;
  --tertiary: #c3ccd4;
  --primary: #9fd3f0;
  --accent: #096da3;
  --accent-deep: #1d4766;
  --gold-soft: #ffdb9d;
  --gold: #feb700;
  --gold-dim: #ffba20;
  --on-gold: #412d00;
  --white: #ffffff;

  --font-display: "Bebas Neue", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-impact: "Barlow Condensed", "Bebas Neue", "Microsoft YaHei", sans-serif;
  --font-body: "Hanken Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/22px var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.icon {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 1.2em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

.icon.fill {
  font-variation-settings: "FILL" 1;
}

/* ---------- shared ambience ---------- */
.mouse-glow {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(650px circle at 50% 50%, rgba(9, 109, 163, 0.16), rgba(254, 183, 0, 0.05) 42%, transparent 72%);
}

.sparks {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.backdrop > * {
  position: absolute;
}

.fade-top,
.fade-bottom {
  inset-inline: 0;
}

/* Material-style pulsing dot */
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.live-dot.gold {
  width: 8px;
  height: 8px;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

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

@keyframes breathingPulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.995);
    filter: blur(18px);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.02);
    filter: blur(28px);
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-150%) skewX(-20deg);
  }
  40%,
  100% {
    transform: translateX(250%) skewX(-20deg);
  }
}

@keyframes shimmerPass {
  0% {
    transform: translateX(-150%) skewX(-20deg);
  }
  100% {
    transform: translateX(250%) skewX(-20deg);
  }
}

@keyframes marqueeRoll {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   LOGIN
   ========================================================= */
.login-stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow: hidden;
  user-select: none;
}

.login-stage .slash {
  top: -8rem;
  left: -5rem;
  width: 140%;
  height: 140%;
  transform: rotate(-6deg);
  opacity: 0.35;
  background: radial-gradient(ellipse at center, rgba(9, 109, 163, 0.4), rgba(11, 17, 24, 0.9), var(--bg));
}

.login-stage .flank {
  top: 50%;
  width: 480px;
  height: 85%;
  transform: translateY(-50%);
  opacity: 0.65;
  mix-blend-mode: screen;
}

.login-stage .flank img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.5) brightness(0.9);
}

.login-stage .flank::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(15, 21, 28, 0.4), var(--bg));
}

.login-stage .flank.left {
  left: 1rem;
}

.login-stage .flank.right {
  right: 1rem;
}

.login-stage .flank.right::after {
  background: linear-gradient(to left, transparent, rgba(15, 21, 28, 0.4), var(--bg));
}

.login-stage .giant-words {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  opacity: 0.1;
  font: 220px/1 var(--font-display);
  letter-spacing: -0.05em;
}

.login-stage .giant-words span:first-child {
  transform: rotate(-90deg);
}

.login-stage .giant-words span:last-child {
  color: var(--accent);
  transform: rotate(90deg);
}

.login-stage .spotlight {
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(9, 109, 163, 0.18) 0%, transparent 65%);
}

.login-stage .fade-bottom {
  bottom: 0;
  height: 10rem;
  background: linear-gradient(to top, var(--bg), transparent);
}

.login-stage .fade-top {
  top: 0;
  height: 7rem;
  background: linear-gradient(to bottom, var(--bg), transparent);
}

.login-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 460px;
}

.login-wrap .glow {
  position: absolute;
  inset: -6px;
  border-radius: 1rem;
  background: linear-gradient(to bottom, rgba(9, 109, 163, 0.6), rgba(9, 109, 163, 0.2), rgba(254, 183, 0, 0.15));
  filter: blur(24px);
  pointer-events: none;
  animation: breathingPulse 4.5s ease-in-out infinite;
}

.login-wrap .edge {
  position: absolute;
  inset: -1px;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom, rgba(9, 109, 163, 0.5), rgba(52, 73, 90, 0.3), rgba(40, 53, 66, 0.4));
  pointer-events: none;
}

.login-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(11, 17, 24, 0.9);
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--high);
  color: var(--gold-soft);
  font: 800 10px/12px var(--font-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: transform 0.2s;
}

.ribbon:hover {
  transform: scale(1.05);
}

.ribbon .icon {
  color: var(--gold);
  font-size: 15px;
}

.brand-lockup h1 {
  margin: 8px 0 0;
  font: 400 60px/64px var(--font-display);
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-shadow: 0 4px 3px rgba(0, 0, 0, 0.3);
}

.brand-lockup h1 .dot {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(9, 109, 163, 0.7);
}

.brand-lockup .tagline {
  margin: -4px 0 0;
  color: var(--ink-soft);
  opacity: 0.9;
  font: 700 12px/16px var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(24, 34, 44, 0.9);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  font: 700 12px/16px var(--font-body);
  letter-spacing: 0.06em;
}

.login-tabs button {
  padding: 8px 0;
  border-radius: 0.25rem;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}

.login-tabs button:hover {
  color: var(--ink);
  background: rgba(47, 61, 75, 0.5);
}

.login-tabs button.is-active {
  background: var(--bright);
  color: var(--ink);
  font-size: 14px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font: 700 12px/16px var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field-label .hint {
  color: var(--gold-dim);
  letter-spacing: 0.04em;
}

.field-label a,
.field-label button {
  color: var(--primary);
  text-underline-offset: 2px;
}

.field-label a:hover,
.field-label button:hover {
  text-decoration: underline;
}

.input-box {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  background: var(--low);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.input-box:focus-within {
  border-color: rgba(9, 109, 163, 0.7);
  background: var(--container);
  box-shadow: 0 0 15px rgba(9, 109, 163, 0.25);
}

.input-box > .icon {
  position: absolute;
  left: 12px;
  font-size: 18px;
  color: var(--ink-soft);
  pointer-events: none;
}

.input-box input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  user-select: text;
}

.input-box input::placeholder {
  color: rgba(127, 152, 170, 0.7);
}

.input-box .reveal {
  position: absolute;
  right: 12px;
  padding: 4px;
  color: var(--ink-soft);
  transition: color 0.2s, transform 0.15s;
}

.input-box .reveal:hover {
  color: var(--white);
}

.input-box .reveal:active {
  transform: scale(0.9);
}

.input-box .reveal .icon {
  font-size: 18px;
}

.input-box:has(.reveal) input {
  padding-right: 44px;
}

.form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 18px;
}

.remember:hover {
  color: var(--ink);
}

.remember input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.ssl {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--tertiary);
  font: 800 11px/12px var(--font-body);
  letter-spacing: 0.04em;
}

.ssl .icon {
  font-size: 13px;
}

.form-error {
  margin: 0;
  min-height: 0;
  color: var(--primary);
  font-size: 13px;
  text-align: center;
}

.form-error:empty {
  display: none;
}

.btn-login {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 14px 0;
  overflow: hidden;
  border-radius: 0.25rem;
  background: linear-gradient(to right, var(--accent), #0b5a87, #1d4766);
  color: #f0f8ff;
  font: 400 28px/30px var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 6px 22px rgba(9, 109, 163, 0.5);
  transition: box-shadow 0.2s, transform 0.2s;
}

.btn-login:hover {
  box-shadow: 0 10px 35px rgba(9, 109, 163, 0.8);
  transform: translateY(-2px);
}

.btn-login:active {
  transform: scale(0.99);
}

.btn-login:disabled {
  cursor: wait;
}

.btn-login::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-login:hover::before {
  opacity: 1;
}

.btn-login .shimmer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -50%;
  width: 66%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
  filter: blur(1px);
  pointer-events: none;
  animation: shimmerSweep 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.btn-login .label,
.btn-login .busy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-login .label .icon {
  font-size: 22px;
  font-weight: 700;
  transition: transform 0.2s;
}

.btn-login:hover .label .icon {
  transform: translateX(6px);
}

.btn-login .busy {
  display: none;
}

.btn-login.is-busy .label {
  display: none;
}

.btn-login.is-busy .busy {
  display: flex;
}

.spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--white);
  animation: spin 1s linear infinite;
}

.register-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 4px;
  font-size: 13px;
  line-height: 18px;
}

.register-callout > span {
  color: var(--ink-soft);
}

.register-callout button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold-dim);
  font: 700 12px/16px var(--font-body);
  letter-spacing: 0.06em;
}

.register-callout button:hover {
  color: var(--gold-soft);
  text-decoration: underline;
}

.register-callout .chip {
  padding: 2px 6px;
  border-radius: 0.25rem;
  border: 1px solid rgba(254, 183, 0, 0.4);
  background: rgba(254, 183, 0, 0.2);
  color: var(--gold-soft);
  font: 800 10px/12px var(--font-body);
  letter-spacing: 0;
}

.register-callout .icon {
  font-size: 15px;
  transition: transform 0.2s;
}

.register-callout button:hover .icon {
  transform: translateX(4px);
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 8px;
  color: rgba(185, 207, 221, 0.8);
  font: 800 11px/12px var(--font-body);
  letter-spacing: 0.04em;
}

.trust-row > span {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: default;
  transition: color 0.2s;
}

.trust-row > span:hover {
  color: var(--white);
}

.trust-row .icon {
  font-size: 14px;
}

.trust-row i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--outline-soft);
}

.login-ticker {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  color: rgba(127, 152, 170, 0.6);
  font: 800 10px/12px var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================================
   LOBBY (PC / mobile launcher)
   ========================================================= */
.page-lobby {
  background: var(--bg-deep);
}

.lobby {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  overflow: hidden;
  user-select: none;
}

.page-lobby .sparks {
  z-index: 10;
}

.page-lobby .mouse-glow {
  z-index: 10;
  opacity: 0.7;
}

.lobby .stripes {
  inset: 0;
  opacity: 0.4;
  mix-blend-mode: screen;
  transform: scale(1.1);
  background: repeating-linear-gradient(-28deg, rgba(9, 109, 163, 0.18) 0, rgba(9, 109, 163, 0.18) 40px, transparent 40px, transparent 90px);
}

.lobby .collage {
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.collage .panel {
  position: relative;
  overflow: hidden;
}

.collage .panel img {
  position: absolute;
  max-width: none;
  width: auto;
  object-fit: cover;
}

.collage .panel.left img {
  left: -3rem;
  top: -10%;
  height: 125%;
  filter: contrast(1.25) brightness(0.72) grayscale(1);
  mix-blend-mode: luminosity;
  transform: rotate(-2deg);
}

.collage .panel.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.collage .panel.center img {
  position: static;
  height: 135%;
  opacity: 0.8;
  filter: hue-rotate(200deg) contrast(1.3) brightness(0.75); /* red jersey -> blue */
  mix-blend-mode: screen;
  transform: scale(1.05);
}

.collage .panel.center::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 109, 163, 0.25);
  mix-blend-mode: color-burn;
}

.collage .panel.right img {
  right: -4rem;
  top: -5%;
  height: 120%;
  filter: contrast(1.3) brightness(0.7) grayscale(1);
  mix-blend-mode: luminosity;
  transform: rotate(2deg);
}

.collage .panel.left::after,
.collage .panel.right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent, rgba(0, 0, 0, 0.9));
}

.collage .panel.right::after {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.8), transparent, rgba(0, 0, 0, 0.9));
}

.collage .spec {
  position: absolute;
  z-index: 1;
  left: 24px;
  top: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
}

.collage .spec span {
  color: var(--white);
  font: 9px var(--font-mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: left;
}

.collage .barcode {
  display: flex;
  gap: 2px;
  width: 64px;
  height: 14px;
  margin-top: 48px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.collage .barcode b {
  background: var(--white);
}

.collage .slogan {
  position: absolute;
  z-index: 1;
  right: 32px;
  bottom: 7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0.4;
}

.collage .slogan strong {
  color: var(--white);
  font: italic 900 36px/40px var(--font-impact);
  letter-spacing: -0.05em;
}

.collage .slogan span {
  color: var(--primary);
  font: 10px var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lobby .halftone {
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 8px 8px;
}

.lobby .watermark {
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-display);
  line-height: 1;
  text-transform: uppercase;
}

.lobby .watermark.top {
  top: -3rem;
  opacity: 0.06;
  color: var(--white);
  font-size: 340px;
  letter-spacing: -0.05em;
}

.lobby .watermark.bottom {
  bottom: 24px;
  opacity: 0.05;
  color: var(--primary);
  font-size: 220px;
  letter-spacing: 0.1em;
}

.lobby .ribbon-band {
  z-index: 10;
  top: 7rem;
  left: -5rem;
  width: 140vw;
  height: 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
  opacity: 0.45;
  transform: rotate(-3deg);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(to right, rgba(9, 109, 163, 0.8), rgba(29, 71, 102, 0.9), rgba(9, 109, 163, 0.7));
}

.ribbon-band .track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  color: var(--white);
  font: italic 900 14px var(--font-impact);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: marqueeRoll 22s linear infinite;
}

.lobby .flare {
  top: 50%;
  left: 50%;
  width: 1100px;
  height: 600px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(rgba(9, 109, 163, 0.3), transparent 70%);
  filter: blur(140px);
}

.lobby .vignette {
  inset: 0;
  background: radial-gradient(rgba(11, 17, 24, 0.55), rgba(11, 17, 24, 0.75) 60%, rgba(9, 13, 18, 0.9));
}

.lobby .vignette-v {
  inset: 0;
  background: linear-gradient(to top, var(--lowest), transparent 40%, transparent 70%, rgba(11, 17, 24, 0.8));
}

/* header */
.lobby-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 32px 8px;
}

.lobby-brand {
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(to bottom right, #2a8fc7, var(--accent));
  box-shadow: 0 0 24px rgba(9, 109, 163, 0.7);
  color: var(--white);
}

.brand-mark .icon {
  font-size: 24px;
}

.lobby-brand .words {
  display: flex;
  flex-direction: column;
  margin-left: 4px;
  line-height: 1;
}

.lobby-brand .words > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lobby-brand strong {
  color: var(--white);
  font: 700 24px/1 var(--font-display);
  letter-spacing: 0.05em;
}

.lobby-brand .tag {
  padding: 1px 6px;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
  font: 800 10px var(--font-impact);
  letter-spacing: 0.1em;
}

.lobby-brand .sub {
  margin-top: 4px;
  color: var(--gold-soft);
  font: 800 10px var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.wl-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 219, 157, 0.4);
  background: linear-gradient(to right, rgba(31, 42, 54, 0.9), rgba(40, 53, 66, 0.9), rgba(31, 42, 54, 0.9));
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(254, 183, 0, 0.15);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.wl-pill:hover {
  border-color: var(--gold-soft);
  box-shadow: 0 0 25px rgba(254, 183, 0, 0.35);
}

.wl-pill .badge {
  padding: 2px 8px;
  border-radius: 0.25rem;
  background: var(--gold-soft);
  color: var(--on-gold);
  font: 700 10px var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wl-pill .text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.wl-pill:hover .text {
  color: var(--gold-soft);
}

.wl-pill > .icon {
  color: var(--gold-soft);
  font-size: 15px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.glass-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 28, 37, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
  color: var(--gold-soft);
  font-size: 12px;
  white-space: nowrap;
}

.glass-chip .icon {
  font-size: 15px;
}

.user-chip b {
  color: var(--white);
  font-weight: 600;
}

button.glass-chip {
  color: var(--ink-soft);
  transition: color 0.2s, border-color 0.2s;
}

button.glass-chip:hover {
  color: var(--white);
  border-color: rgba(9, 109, 163, 0.6);
}

/* hero */
.lobby-hero {
  position: relative;
  z-index: 20;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 64rem;
  margin: auto;
  padding: 0 16px;
  text-align: center;
}

.wl-mini {
  display: none;
}

.gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 4px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 219, 157, 0.4);
  background: rgba(254, 183, 0, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 16px rgba(254, 183, 0, 0.15);
  color: var(--gold-soft);
  font: 600 12px var(--font-body);
  letter-spacing: 0.1em;
}

.gate-badge .icon {
  font-size: 15px;
}

.hero-title {
  position: relative;
  margin-bottom: 8px;
}

.hero-title h1 {
  margin: 0;
  color: var(--white);
  font: 700 72px/1 var(--font-display);
  letter-spacing: 0.05em;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.9);
}

.hero-title .pro {
  position: absolute;
  right: -28px;
  top: -8px;
  padding: 2px 6px;
  border-radius: 0.25rem;
  background: var(--accent);
  color: var(--white);
  font: 900 9px var(--font-impact);
  letter-spacing: 0.05em;
  transform: rotate(6deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-sub {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font: 500 16px/22px var(--font-display);
  letter-spacing: 0.3em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 42rem;
  margin-bottom: 24px;
  padding: 0 8px;
}

.spec-chips > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  line-height: 16px;
  transition: border-color 0.2s;
}

.spec-chips > span:hover {
  border-color: rgba(255, 219, 157, 0.4);
}

.spec-chips .icon {
  font-size: 13px;
  color: var(--gold-soft);
}

.spec-chips .icon.pink {
  color: var(--primary);
}

.launch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 42rem;
  padding: 0 8px;
}

.launch-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  border-radius: 0.75rem;
  text-align: left;
  transition: box-shadow 0.3s, background 0.3s, border-color 0.3s, transform 0.15s ease-out;
  will-change: transform;
}

.launch-btn .shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-150%) skewX(-20deg);
  pointer-events: none;
}

.launch-btn:hover .shimmer {
  animation: shimmerPass 1.4s ease-in-out infinite;
}

.launch-btn .sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.launch-btn .corner {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 0.25rem;
  font: 700 10px/14px var(--font-body);
}

.launch-btn .corner i {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.launch-btn .body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.launch-btn .tile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 0.5rem;
  transition: background 0.3s, color 0.3s;
}

.launch-btn .tile .icon {
  font-size: 30px;
}

.launch-btn .name {
  display: flex;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font: 700 26px/30px var(--font-display);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.launch-btn .name .icon {
  color: var(--gold-soft);
  font-size: 18px;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.launch-btn .lead {
  display: block;
  margin-top: 2px;
  font: 700 12px/16px var(--font-body);
  letter-spacing: 0.06em;
}

.launch-btn .note {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 11px;
  line-height: 16px;
}

.launch-btn .note .icon {
  font-size: 13px;
}

.launch-btn .go {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.launch-btn .go .icon {
  font-size: 20px;
  transition: transform 0.2s;
}

/* PC: dark glass */
.launch-btn.pc {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(31, 42, 54, 0.9);
  backdrop-filter: blur(40px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.launch-btn.pc:hover {
  border-color: rgba(255, 219, 157, 0.8);
  background: rgba(40, 53, 66, 0.95);
  box-shadow: 0 16px 40px rgba(254, 183, 0, 0.2);
}

.launch-btn.pc .sheen {
  background: linear-gradient(to top right, rgba(255, 255, 255, 0.03), transparent);
}

.launch-btn.pc .corner {
  border: 1px solid rgba(255, 219, 157, 0.4);
  background: rgba(255, 219, 157, 0.15);
  color: var(--gold-soft);
}

.launch-btn.pc .corner i {
  background: var(--gold-soft);
}

.launch-btn.pc .corner i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.launch-btn.pc .tile {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--low);
  color: var(--gold-soft);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.launch-btn.pc:hover .tile,
.launch-btn.pc:hover .go {
  background: var(--gold-soft);
  color: var(--on-gold);
}

.launch-btn.pc:hover .name {
  color: var(--gold-soft);
}

.launch-btn.pc .lead {
  color: rgba(185, 207, 221, 0.9);
}

.launch-btn.pc .note {
  color: rgba(255, 219, 157, 0.8);
}

.launch-btn.pc .go {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--container);
  color: var(--white);
}

.launch-btn.pc:hover .go .icon {
  transform: translateX(2px);
}

/* Mobile: blue flare */
.launch-btn.mobile {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(to right, var(--accent), #0b5a87, var(--accent-deep));
  box-shadow: 0 10px 35px rgba(9, 109, 163, 0.55);
}

.launch-btn.mobile:hover {
  box-shadow: 0 16px 48px rgba(9, 109, 163, 0.85);
}

.launch-btn.mobile .sheen {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
}

.launch-btn.mobile .corner {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  color: var(--white);
}

.launch-btn.mobile .corner i {
  background: var(--white);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.launch-btn.mobile .tile {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.launch-btn.mobile .lead,
.launch-btn.mobile .note {
  color: rgba(255, 255, 255, 0.9);
}

.launch-btn.mobile .go {
  background: var(--white);
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.launch-btn.mobile .go .icon {
  font-size: 24px;
}

.launch-btn.mobile:hover .go {
  transform: scale(1.05);
}

.launch-btn.mobile:hover .go .icon {
  transform: scale(1.1);
}

/* footer */
.lobby-footer {
  position: relative;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  color: var(--ink-soft);
  font-size: 12px;
}

.lobby-footer .certs {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lobby-footer .certs span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.8);
}

.lobby-footer .certs .icon {
  font-size: 15px;
  color: var(--gold-soft);
}

.lobby-footer .certs .icon.pink {
  color: var(--primary);
}

.lobby-footer .copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.05em;
}

/* floating business button */
.float-biz {
  position: fixed;
  z-index: 40;
  right: 32px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(to right, var(--accent), var(--accent-deep));
  color: var(--white);
  font: 700 14px/18px var(--font-body);
  letter-spacing: 0.03em;
  box-shadow: 0 8px 25px rgba(9, 109, 163, 0.65);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.float-biz:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #1a85c0, var(--accent));
  box-shadow: 0 12px 32px rgba(9, 109, 163, 0.85);
}

.float-biz .agent {
  position: relative;
  display: flex;
}

.float-biz .agent .icon {
  font-size: 18px;
}

.float-biz .agent i {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-soft);
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.float-biz > .icon {
  font-size: 15px;
}

/* =========================================================
   MODALS (register on login, business contact on lobby)
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0s linear 0.3s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 32rem;
  padding: 24px;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--high);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  transform: scale(0.95);
  transition: transform 0.3s;
  user-select: text;
}

.modal.is-open .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.modal-close .icon {
  font-size: 16px;
}

.modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-right: 40px;
}

.modal-head .brand-mark {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

.modal-head h3 {
  margin: 0;
  color: var(--white);
  font: 700 26px/30px var(--font-display);
  letter-spacing: 0.05em;
}

.modal-head p {
  margin: 0;
  color: var(--gold-soft);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.perks span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.perks .icon {
  color: var(--gold);
  font-size: 15px;
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(40, 53, 66, 0.8);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}

a.contact:hover {
  background: var(--highest);
  border-color: rgba(255, 219, 157, 0.6);
}

.contact .who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
}

.contact .logo .icon {
  font-size: 18px;
}

.contact .logo.tg {
  background: rgba(34, 158, 217, 0.2);
  color: #229ed9;
}

.contact .logo.wa {
  background: rgba(37, 211, 102, 0.2);
  color: #25d366;
}

.contact .logo.mail {
  background: rgba(9, 109, 163, 0.2);
  color: var(--primary);
}

.contact .title {
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s;
}

a.contact:hover .title {
  color: var(--gold-soft);
}

.contact .value {
  color: rgba(255, 255, 255, 0.5);
  font: 11px var(--font-mono);
}

.contact .action {
  padding: 3px 8px;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  transition: background 0.2s, color 0.2s;
}

.contact .action:hover {
  background: rgba(255, 255, 255, 0.2);
}

.contact .action.gold,
.contact .action.is-done {
  background: rgba(255, 219, 157, 0.15);
  color: var(--gold-soft);
  font-weight: 600;
}

a.contact:hover .action.gold,
.contact .action.is-done {
  background: var(--gold-soft);
  color: var(--on-gold);
}

.modal-foot {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  text-align: center;
}

.modal .login-form {
  gap: 12px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1023px) {
  .login-stage .flank {
    width: 384px;
    opacity: 0.4;
  }

  .login-stage .giant-words {
    font-size: 140px;
  }

  .login-card {
    padding: 1.5rem;
  }

  .lobby .watermark.top {
    font-size: 280px;
  }
}

@media (max-width: 767px) {
  .lobby .collage {
    grid-template-columns: 1fr;
  }

  .collage .panel.left,
  .collage .panel.right {
    display: none;
  }

  .lobby .watermark.top {
    font-size: 160px;
  }

  .lobby .watermark.bottom {
    font-size: 140px;
  }

  .lobby .flare {
    width: 700px;
  }

  .lobby-header {
    padding: 16px 16px 8px;
  }

  .wl-pill {
    display: none;
  }

  .wl-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 219, 157, 0.4);
    background: rgba(255, 219, 157, 0.15);
    backdrop-filter: blur(12px);
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 600;
  }

  .wl-mini .icon {
    font-size: 13px;
  }

  .hero-title h1 {
    font-size: 60px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .launch-grid {
    grid-template-columns: 1fr;
  }

  .launch-btn {
    padding: 20px;
  }

  .lobby-footer {
    justify-content: center;
    padding: 8px 16px 76px;
  }

  .float-biz {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 639px) {
  .login-stage .flank {
    width: 256px;
    opacity: 0.2;
  }

  .login-stage .flank.left {
    left: -4rem;
  }

  .login-stage .flank.right {
    right: -4rem;
  }

  .login-card {
    padding: 1rem;
  }

  .login-wrap {
    max-width: 448px;
  }

  .brand-lockup h1 {
    font-size: 40px;
    line-height: 44px;
  }

  .login-form {
    gap: 12px;
  }

  .remember {
    font-size: 12px;
  }

  .trust-row {
    gap: 16px;
  }

  .login-ticker {
    margin-top: 24px;
  }

  .hero-title h1 {
    font-size: 48px;
  }

  .hero-title .pro,
  .lobby-footer .certs .wide {
    display: none;
  }

  .glass-chip .hide-sm {
    display: none;
  }

  .perks {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
  }

  .sparks {
    display: none;
  }
}
