/* ============================================================
   Landing — Lumé creator platform
   Borderless, glass, mint-accent architecture
   ============================================================ */

body.is-profile #appLanding { display: none; }

#appLanding .pfooter { margin-top: 0; }
#appLanding .pfooter__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

/* ---------- top bar (mirrors .pbar) ---------- */
.lbar {
  position: sticky; top: 0; z-index: 200;
  height: 60px;
  background: rgba(11, 12, 15, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s;
}
.lbar__in {
  position: relative;
  z-index: 2;
  display: flex; align-items: center; gap: 14px;
  height: 60px; padding: 0 var(--gutter);
  max-width: 100%;
  pointer-events: none;
}
.lbar__in .brand,
.lbar__in .lbar__burger {
  pointer-events: auto;
}
.lbar__spacer {
  pointer-events: none;
}
.lbar__sheet {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.lbar__sheet .lbar__legal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.lbar__sheet .lbar__cta {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}
.lbar.scrolled {
  background: rgba(11, 12, 15, 0.88);
  border-bottom-color: var(--line-strong);
}
.lbar .brand {
  gap: 11px;
  flex-shrink: 0;
}
.lbar .brand__mark {
  width: 40px;
  height: 40px;
}
.lbar .brand__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand__mark--xs {
  width: 22px; height: 22px;
}
.lbar__spacer { flex: 1; min-width: 8px; }
.lbar__legal {
  display: flex; align-items: center; gap: 24px;
}
.lbar__legal a {
  font-size: 14px; font-weight: 500; color: var(--text-3);
  transition: color 0.15s;
}
.lbar__legal a:hover { color: var(--text); }
.lbar__cta { display: flex; gap: 8px; flex-shrink: 0; }
.lbar__burger { display: none; }

.btn--lg { height: 52px; padding: 0 32px; font-size: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(calc(100svh - 60px), 860px);
  padding: clamp(28px, 5vw, 56px) 0 0;
  overflow: hidden;
}
.hero__mesh {
  position: absolute; inset: -20% -10% auto -10%; height: 85%;
  background:
    radial-gradient(50% 60% at 50% 38%, rgba(52, 227, 168, 0.14), transparent 62%),
    radial-gradient(45% 50% at 15% 55%, rgba(122, 77, 255, 0.08), transparent 58%),
    radial-gradient(40% 45% at 88% 48%, rgba(34, 211, 238, 0.07), transparent 55%);
  pointer-events: none;
}
.hero__in {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(48px, 9vw, 112px) var(--gutter) clamp(56px, 8vw, 96px);
}
.hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 780px;
}
.hero__copy::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, 92vw);
  height: min(560px, 92vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 227, 168, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero__orbit {
  position: absolute;
  inset: -72px -96px;
  pointer-events: none;
  z-index: -1;
}
.hero__orbit-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 130%;
  background: linear-gradient(to bottom, transparent, rgba(52, 227, 168, 0.16), transparent);
  transform-origin: center;
}
.hero__orbit-line--a { transform: translate(-50%, -50%) rotate(22deg); }
.hero__orbit-line--b { transform: translate(-50%, -50%) rotate(-22deg); }
.hero__title {
  margin-top: clamp(24px, 4vw, 36px);
  font-size: clamp(44px, 9.5vw, 96px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 10.5em;
}
.hero__title .grad {
  display: inline-block;
  margin-top: 0.06em;
}
.grad {
  background: linear-gradient(105deg, var(--mint), #8ef0cf 55%, #22d3ee);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  margin-top: clamp(22px, 3.5vw, 32px);
  max-width: 40ch;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-2);
  line-height: 1.65;
  text-wrap: balance;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 40px);
}
.hero__trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: clamp(36px, 5vw, 48px);
  color: var(--text-3);
  font-size: 13px;
}
.hero__trust b { color: var(--text); font-weight: 600; }
.avstack { display: flex; }
.avstack span {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -9px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-2, #1a1d24);
}
.avstack--hero span {
  width: 40px;
  height: 40px;
  margin-left: -11px;
  border-width: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.avstack span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.avstack span:first-child { margin-left: 0; }

/* ticker */
.ticker {
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.ticker__track {
  display: flex; align-items: center; gap: 28px;
  width: max-content; white-space: nowrap;
  animation: ticker 28s linear infinite;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-3);
}
.ticker__track i { color: var(--mint); font-style: normal; opacity: 0.6; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- stats (mirrors .pstats) ---------- */
.lstats {
  padding: clamp(40px, 5vw, 64px) var(--gutter);
}
.lstats__in {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 48px;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}
.lstat {
  min-width: 0;
}
.lstat b {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--text);
}
.lstat span {
  font-size: 12px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 4px; display: block;
}

/* ---------- section heads ---------- */
.sec-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 560px; }
.sec-head h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-top: 14px; line-height: 1.05;
}
.sec-head__sub {
  margin-top: 14px; font-size: 16px; color: var(--text-2);
  line-height: 1.6; max-width: 48ch;
}

/* ---------- creator cards (profile miniatures) ---------- */
.explore {
  padding: clamp(48px, 7vw, 88px) 0;
}
.explore__in {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 var(--gutter);
}
.explore__in .sec-head {
  margin-inline: auto;
  text-align: center;
}
.explore__in .sec-head__sub { margin-inline: auto; }
.explore__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 40px);
}
.explore__more-btn {
  min-width: 168px;
  cursor: pointer;
}
.pcards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.pcard {
  display: block;
  cursor: pointer;
  border-radius: var(--r-lg);
  background: rgba(14, 16, 22, 0.5);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(52, 227, 168, 0.15);
}
.pcard:hover .pcard__sub.mint-pill--cta {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: var(--mint-pill-glow-hover), 0 0 0 1px rgba(255, 255, 255, 0.28) inset;
}
.pcard__cover {
  position: relative;
  height: 100px;
  background: var(--g);
}
.pcard__cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 8, 11, 0.55));
}
.pcard__cover .pcard__sub {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  pointer-events: none;
}
.pcard__tag {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px); color: #fff;
}
.pcard__tag--live { background: var(--danger); }
.pcard__tag--mint { background: var(--mint); color: var(--mint-ink); }
.pcard__body {
  position: relative;
  padding: 0 16px 16px;
  margin-top: -24px;
}
.pcard__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid rgba(11, 12, 15, 0.95);
  background: var(--g);
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700; color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}
.pcard__avatar.has-photo { background: var(--bg); }
.pcard__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pcard__meta { margin-top: 10px; }
.pcard__name {
  display: flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 700;
}
.pcard__handle {
  font-size: 12px; color: var(--text-3); margin-top: 2px;
}
.pcard__preview {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 5px; margin-top: 12px;
}
.pcard__thumb {
  aspect-ratio: 1; border-radius: 6px;
  background: var(--g);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.pcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.pcard__thumb.is-locked {
  position: relative;
}

/* ---------- how / flow ---------- */
.how {
  padding: clamp(48px, 7vw, 88px) 0;
  background: linear-gradient(180deg, transparent, rgba(52, 227, 168, 0.03), transparent);
}
.how__in {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 var(--gutter);
}
.how__in .sec-head {
  margin-inline: auto;
  text-align: center;
}
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 28px);
}
.flow__step {
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  transition: border-color 0.3s;
}
.flow__step:hover { border-top-color: rgba(52, 227, 168, 0.4); }
.flow__n {
  font-size: 12px; font-weight: 700; color: var(--mint);
  letter-spacing: 0.12em;
}
.flow__step h3 {
  font-size: 18px; margin: 12px 0 8px; font-weight: 600;
}
.flow__step p {
  font-size: 14px; color: var(--text-3); line-height: 1.6;
}

/* ---------- pillars ---------- */
.lpillars {
  padding: clamp(48px, 7vw, 96px) 0;
}
.lpillars__in {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 var(--gutter);
}
.lpillars__lead h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  margin: 14px 0 16px; line-height: 1.08;
}
.lpillars__lead p {
  color: var(--text-2); line-height: 1.65;
  margin-bottom: 28px; max-width: 38ch;
}
.lpillars__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.lpillars__list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.25s, transform 0.25s var(--ease-out);
}
.lpillars__list li:hover {
  background: rgba(52, 227, 168, 0.04);
  transform: translateX(4px);
}
.lpillars__ic {
  flex-shrink: 0; width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px; font-size: 16px;
  background: rgba(52, 227, 168, 0.1);
  color: var(--mint);
}
.lpillars__list b { display: block; font-size: 15px; margin-bottom: 3px; }
.lpillars__list p { color: var(--text-3); font-size: 13px; line-height: 1.55; }

/* ---------- faq ---------- */
.faq {
  padding: clamp(48px, 7vw, 88px) 0;
}
.faq__in {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding: 0 var(--gutter);
}
.faq__in .sec-head {
  margin-inline: auto;
  text-align: center;
}
.acc { display: grid; gap: 0; }
.acc__item {
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.acc__item:first-child { border-top: 1px solid var(--line); }
.acc__item summary {
  list-style: none; cursor: pointer;
  padding: 20px 0; font-size: 16px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--text);
  transition: color 0.2s;
}
.acc__item summary:hover { color: var(--mint); }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--mint);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.acc__item[open] summary::after { transform: rotate(45deg); }
.acc__body {
  padding: 0 0 20px; color: var(--text-2);
  line-height: 1.65; font-size: 15px;
}

/* ---------- cta ---------- */
.lcta {
  padding: clamp(56px, 8vw, 100px) var(--gutter);
}
.lcta__in {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.lcta__in h2 {
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.05;
}
.lcta__in p {
  color: var(--text-2); margin: 16px auto 28px;
  font-size: 17px; line-height: 1.6; max-width: 46ch;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__in { padding-top: clamp(32px, 8vw, 64px); }
  .hero__orbit { inset: -48px -32px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .lpillars__in { grid-template-columns: 1fr; }
  .lstats__in { gap: 24px 36px; }
}

@media (max-width: 760px) {
  body.nav-open { overflow: hidden; }

  .lbar {
    height: 60px;
  }
  .lbar__in {
    height: 60px;
  }
  .lbar .brand__mark {
    width: 36px;
    height: 36px;
  }
  .lbar .brand__name {
    font-size: 19px;
  }
  .lbar__sheet {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 199;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px var(--gutter) max(22px, env(safe-area-inset-bottom));
    pointer-events: auto;
    min-height: calc(100dvh - 60px);
    min-height: calc(100svh - 60px);
    background: var(--bg);
    border: 0;
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .lbar__sheet::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(90% 35% at 50% 0%, rgba(52, 227, 168, 0.09), transparent 58%),
      linear-gradient(180deg, rgba(14, 16, 22, 0.5) 0%, transparent 22%);
    opacity: 1;
  }
  .lbar__sheet > * {
    position: relative;
    z-index: 1;
  }
  .lbar__sheet.open {
    display: flex;
    animation: lbarSheetIn 0.28s var(--ease-out);
  }
  @keyframes lbarSheetIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .lbar__sheet .lbar__legal,
  .lbar__sheet .lbar__cta {
    position: static;
    transform: none;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
  }
  .lbar__sheet .lbar__legal {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .lbar__sheet .lbar__legal a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: var(--r-sm);
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .lbar__sheet .lbar__legal a:active {
    background: rgba(52, 227, 168, 0.08);
    border-color: rgba(52, 227, 168, 0.18);
  }
  .lbar__sheet .lbar__cta {
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .lbar__sheet .lbar__cta .btn {
    width: 100%;
    height: 44px;
    justify-content: center;
    font-size: 14px;
  }
  .lbar.menu-open {
    z-index: 201;
    background: var(--bg);
    border-bottom-color: var(--line);
  }
  .lbar__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-sm);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
  }
  .lbar__burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.2s;
  }
  .lbar__burger.x {
    background: rgba(52, 227, 168, 0.1);
    border-color: rgba(52, 227, 168, 0.22);
  }
  .lbar__burger.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .lbar__burger.x span:nth-child(2) { opacity: 0; }
  .lbar__burger.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .pcards { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .lstats {
    padding: 36px var(--gutter) 40px;
  }
  .lstats__in {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    justify-items: center;
    text-align: center;
  }
  .lstat {
    width: 100%;
    max-width: 168px;
  }
  .lstat b {
    font-size: clamp(26px, 8vw, 34px);
  }
  .lstat span {
    font-size: 10px;
    letter-spacing: 0.07em;
    line-height: 1.4;
    max-width: 14ch;
    margin-inline: auto;
  }
}

/* ---------- creator invite modal ---------- */
body.invite-open,
body.login-open { overflow: hidden; }

.invite-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 28px);
}
.invite-modal:not(.hidden) {
  animation: inviteFadeIn 0.28s var(--ease-out);
}
@keyframes inviteFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.invite-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 8, 0.78);
  backdrop-filter: blur(14px) saturate(120%);
}
.invite-modal__card {
  position: relative;
  width: min(480px, 100%);
  max-width: 100%;
  min-width: 0;
  max-height: min(92vh, 760px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(28px, 5vw, 38px);
  padding-top: clamp(32px, 5vw, 42px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(52, 227, 168, 0.12), transparent 55%),
    rgba(14, 16, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(52, 227, 168, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(22px) saturate(150%);
  animation: inviteSlideUp 0.38s var(--ease-out);
}
@keyframes inviteSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.invite-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-3);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.25s;
}
.invite-modal__close:hover {
  color: var(--text);
  border-color: rgba(52, 227, 168, 0.35);
  transform: rotate(90deg);
}
.invite-modal__eyebrow { margin-bottom: 10px; }
.invite-modal__panel {
  min-width: 0;
  width: 100%;
}
.invite-modal__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 4.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 0;
  padding-right: 36px;
  overflow-wrap: anywhere;
}
.invite-modal__sub {
  margin: 10px 0 22px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-3);
  overflow-wrap: anywhere;
}
.invite-modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  width: 100%;
}
.invite-modal__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  width: 100%;
}
.invite-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.invite-modal__field input {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 9, 12, 0.6);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.invite-modal__field input::placeholder { color: var(--text-dim); }
.invite-modal__field input:hover {
  border-color: rgba(255, 255, 255, 0.16);
}
.invite-modal__field input:focus {
  outline: none;
  border-color: rgba(52, 227, 168, 0.5);
  box-shadow: 0 0 0 3px rgba(52, 227, 168, 0.12);
  background: rgba(8, 9, 12, 0.82);
}
.invite-modal__field input.is-error {
  border-color: rgba(255, 95, 109, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 95, 109, 0.12);
}
.invite-modal__error {
  margin: -2px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--danger);
  text-align: center;
}
.invite-modal__field input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.invite-modal__field input[type="number"]::-webkit-outer-spin-button,
.invite-modal__field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.invite-modal__submit {
  margin-top: 4px;
  height: 48px;
  font-size: 15px;
}
.invite-modal__note {
  position: relative;
  margin: 10px 0 0;
  padding: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.7;
  text-align: center;
  color: var(--text-3);
  letter-spacing: 0.015em;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.invite-modal__note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.06) 20%,
    rgba(52, 227, 168, 0.22) 50%,
    rgba(255, 255, 255, 0.06) 80%,
    transparent
  );
  pointer-events: none;
}
.invite-modal__note-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  opacity: 0.92;
}
.invite-modal__note-sep {
  margin: 0 0.55em;
  color: rgba(52, 227, 168, 0.32);
  font-weight: 300;
  user-select: none;
}
.invite-modal__note a {
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(52, 227, 168, 0.22);
  transition: color 0.2s, border-color 0.2s;
}
.invite-modal__note a:hover {
  color: var(--mint);
  border-bottom-color: rgba(52, 227, 168, 0.55);
}
.invite-modal__success {
  text-align: center;
  padding: 8px 0 4px;
}
.invite-modal__success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--mint);
  background: var(--mint-soft);
  border: 1px solid rgba(52, 227, 168, 0.28);
  box-shadow: 0 14px 36px rgba(52, 227, 168, 0.18);
}
.invite-modal__success .invite-modal__title { margin-bottom: 8px; }
.invite-modal__success .invite-modal__sub { margin-bottom: 24px; }

@media (max-width: 520px) {
  .invite-modal__row { grid-template-columns: minmax(0, 1fr); }
  .invite-modal__card { padding: 24px 18px 28px; }
}
