.qr-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.qr-login-modal {
  position: relative;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px 22px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 255, 0.35);
  background: #0b0d16;
  color: #f4f7fb;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.18);
}

.qr-login-modal h3 { margin: 0; font-size: 22px; }
.qr-login-modal p { margin: 0; color: #a5b4c7; font-size: 14px; line-height: 1.45; }

.qr-login-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #a5b4c7;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.qr-login-image {
  width: min(240px, 70vw);
  height: auto;
  border-radius: 12px;
  background: #fff;
}

.qr-login-open, .qr-login-status { color: #00f5ff; font-size: 14px; }
.qr-login-error { color: #ff4d8d; font-size: 14px; }

.qr-login-retry {
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  background: #00f5ff;
  color: #041018;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 720px) {
  .landing-header {
    height: calc(52px + env(safe-area-inset-top, 0px));
    min-height: calc(52px + env(safe-area-inset-top, 0px));
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 8px;
    row-gap: 0;
    padding: 0 12px;
    padding-top: env(safe-area-inset-top, 0px);
    box-sizing: border-box;
  }

  .landing-brand {
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
  }

  .landing-brand-sub {
    display: none;
  }

  .landing-brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
  }

  .landing-header-actions {
    flex: 0 0 auto;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
    margin: 0;
  }

  .landing-header {
    background: rgba(8, 9, 17, 0.82);
    border-bottom-color: rgba(0, 245, 255, 0.16);
  }

  .landing-logo {
    width: 32px;
    height: 32px;
    border-width: 1.5px;
  }

  .landing-header-actions .landing-header-btn,
  .landing-header-actions .landing-header-btn-primary {
    flex: 0 0 auto;
    width: auto;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    margin: 0;
    padding: 0 10px;
    font-size: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 999px;
    box-sizing: border-box;
    white-space: nowrap;
  }

  .landing-header-actions .landing-header-btn span,
  .landing-header-actions .landing-header-btn-primary span {
    display: inline;
    line-height: 1;
  }

  .landing-header-actions svg {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
  }

  .landing-header [data-neon-qr-login] {
    display: none !important;
  }

  .landing-main {
    position: relative;
    padding: 28px 18px 32px;
  }

  .landing-main::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 18px;
    width: 260px;
    height: 220px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0, 245, 255, 0.16), rgba(176, 38, 255, 0.1) 46%, transparent 72%);
    pointer-events: none;
    z-index: 0;
  }

  .landing-badge,
  .landing-community-pill,
  .landing-custom-hero-avatar,
  .landing-title,
  .landing-subtitle,
  .landing-lux-claim,
  .landing-actions-container,
  .landing-features-wrap {
    position: relative;
    z-index: 1;
  }

  .cyber-grid-overlay {
    opacity: 0.4;
  }

  .landing-badge {
    margin-bottom: 16px;
    padding: 6px 12px;
    font-size: 11px;
    letter-spacing: 0.04em;
    box-shadow: none;
  }

  .landing-title {
    max-width: 18ch;
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -0.6px;
  }

  .landing-subtitle {
    max-width: 34ch;
    margin-bottom: 22px;
    color: #b7c3d4;
    font-size: 14.5px;
    line-height: 1.55;
  }

  .landing-actions-container {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 420px;
    gap: 8px;
    margin-bottom: 28px;
  }

  .landing-actions-container > button {
    width: 100%;
    max-width: 100%;
    flex: none;
    min-height: 48px;
    margin: 0;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 15px;
    box-sizing: border-box;
  }

  .landing-actions-container > button.landing-cta-secondary:not(.neon-btn-pink) {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.14);
    color: #f4f7fb;
    box-shadow: none;
  }

  .landing-actions-container > button.neon-btn-cyan {
    box-shadow: 0 8px 22px rgba(0, 245, 255, 0.2);
  }

  .landing-actions-container > a {
    width: auto;
    min-height: 0;
    margin-top: 2px;
    padding: 6px 4px;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
  }

  .landing-features-title {
    font-size: 18px;
  }

  .landing-features-sub {
    max-width: 32ch;
    margin-right: auto;
    margin-left: auto;
    font-size: 13px;
    line-height: 1.45;
  }

  .landing-features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .landing-feature-card {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 12px;
    row-gap: 3px;
    align-items: center;
    padding: 14px;
    border-radius: 16px;
    box-shadow: none;
  }

  .landing-feature-icon-wrap {
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .landing-feature-heading {
    font-size: 14.5px;
  }

  .landing-feature-desc {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .landing-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
  }

  .landing-footer-links {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 300px;
    gap: 8px 14px;
  }
}
