/* ============================================================
   GTA VI Key Giveaway — modern minimal
   ============================================================ */
:root {
  --bg: #07050d;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, .60);
  --faint: rgba(255, 255, 255, .38);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --card: rgba(255, 255, 255, .035);
  --pink: #ff2d9c;
  --pink-2: #ff5abf;
  --purple: #7b2bff;
  --blue: #3d7bff;
  --green: #3ce38b;
  --red: #ff4d6d;
  --radius: 24px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .5);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--font);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
h1, h2 { margin: 0; font-family: var(--display); line-height: 1.02; letter-spacing: -.03em; font-weight: 700; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--pink-2), var(--purple) 60%, var(--blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.shell { width: min(100% - 32px, 1060px); margin-inline: auto; }

/* ---------- ambient glow ---------- */
.glow { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow span { position: absolute; width: 46rem; height: 46rem; border-radius: 50%; filter: blur(120px); opacity: .16; }
.glow-a { top: -20rem; left: -14rem; background: var(--pink); }
.glow-b { bottom: -24rem; right: -16rem; background: var(--purple); }

/* ---------- shared bits ---------- */
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green);
  display: inline-block; flex: 0 0 auto;
  animation: pulse 1.6s ease-in-out infinite;
}
.eyebrow {
  margin: 0 0 10px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--faint);
}
.btn {
  position: relative;
  min-height: 54px; padding: 14px 22px;
  border: 0; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 800; font-size: 15px; letter-spacing: -.01em;
  cursor: pointer; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple) 65%, var(--blue));
  box-shadow: 0 14px 34px rgba(255, 45, 156, .25);
}
.btn-soft { background: rgba(255,255,255,.08); border: 1px solid var(--line-strong); color: #fff; }
.btn-wide { width: 100%; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.55); } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes shake { 0%,100% { transform: none; } 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes toastIn { 0%,100% { transform: translate(-50%, 14px); opacity: 0; } 12%,88% { transform: translate(-50%, 0); opacity: 1; } }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; z-index: 50;
  top: max(12px, env(safe-area-inset-top));
  left: 50%; transform: translateX(-50%);
  width: min(100% - 24px, 620px);
  height: 56px; padding: 0 10px 0 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(10, 7, 18, .6);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.brand img { width: 40px; filter: drop-shadow(0 6px 14px rgba(255,45,156,.4)); }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  font-size: 12.5px; color: var(--muted);
}
.live-pill strong { color: #fff; font-weight: 800; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-fade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(7,5,13,.35) 0%, rgba(7,5,13,.05) 30%, rgba(7,5,13,.72) 74%, var(--bg) 100%),
  radial-gradient(circle at 22% 88%, rgba(255,45,156,.22), transparent 42%);
}
.hero-inner { position: relative; z-index: 2; width: min(100% - 32px, 1060px); margin: 0 auto; padding: 110px 0 64px; }
.hero h1 { font-size: clamp(42px, 8.5vw, 88px); text-wrap: balance; }
.subline { max-width: 460px; margin: 16px 0 0; color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; }
.hero-actions .btn { min-width: 220px; }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats strong { font-family: var(--display); font-size: 26px; letter-spacing: -.02em; }
.hero-stats span { font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- step 1 · claim ---------- */
.claim {
  margin-top: 18px;
  display: grid; grid-template-columns: .85fr 1.15fr;
  border: 1px solid var(--line); border-radius: 32px;
  background: var(--card);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: 84px;
}
.claim-art { position: relative; min-height: 420px; }
.claim-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.claim-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,5,13,.85) 100%); }
.art-badge {
  position: absolute; z-index: 2; left: 16px; bottom: 16px;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(0,0,0,.4);
  backdrop-filter: blur(10px);
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.claim-body { padding: clamp(22px, 4vw, 44px); }
.claim-body h2 { font-size: clamp(28px, 4.5vw, 40px); }

.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.platform-option {
  position: relative;
  display: grid; align-content: start; justify-items: start; gap: 3px;
  min-height: 128px; padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  text-align: left; cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.platform-option:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.platform-option strong { font-family: var(--display); font-size: 18px; letter-spacing: -.01em; margin-top: 8px; }
.platform-sub { font-size: 12px; color: var(--muted); line-height: 1.4; }
.platform-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,45,156,.9), rgba(123,43,255,.9));
  box-shadow: 0 8px 20px rgba(255,45,156,.22);
}
.platform-icon svg { width: 21px; height: 21px; }
.platform-option .check {
  position: absolute; top: 14px; right: 14px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 900; color: #07050d;
  background: var(--green); opacity: 0; transform: scale(.6);
  transition: opacity .15s ease, transform .15s ease;
}
.platform-option.is-selected { border-color: rgba(255,90,191,.7); background: linear-gradient(150deg, rgba(255,45,156,.12), rgba(123,43,255,.07)); box-shadow: 0 12px 30px rgba(255,45,156,.14); }
.platform-option.is-selected .check { opacity: 1; transform: scale(1); }

/* PC — blacked out / locked */
.platform-option.is-locked {
  cursor: not-allowed;
  background: rgba(255,255,255,.015);
  border-color: rgba(255,255,255,.06);
  filter: grayscale(.85);
  color: rgba(255,255,255,.45);
}
.platform-option.is-locked::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.028) 0 10px, transparent 10px 20px);
  pointer-events: none;
}
.platform-option.is-locked:hover { transform: none; border-color: rgba(255,255,255,.06); }
.platform-option.is-locked .platform-icon { background: rgba(255,255,255,.08); box-shadow: none; }
.lock-mark { position: absolute; top: 14px; right: 14px; color: rgba(255,255,255,.5); }
.lock-mark svg { width: 18px; height: 18px; }
.lock-ribbon {
  position: absolute; bottom: 12px; right: 12px;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(255,77,109,.16); border: 1px solid rgba(255,77,109,.4);
  color: #ff8fa3; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.platform-option.is-shaking { animation: shake .45s ease; }

/* console sub-choice */
.subchoice { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.sub-pill {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 46px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  font-weight: 700; font-size: 14px; cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.sub-pill svg { width: 18px; height: 18px; fill: currentColor; opacity: .9; }
.sub-pill:hover { border-color: var(--line-strong); }
.sub-pill.is-selected { border-color: rgba(255,90,191,.7); background: rgba(255,45,156,.1); }
.subchoice.is-hidden { display: none; }

.email-field { display: block; margin-top: 22px; }
.email-field span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.email-field input {
  width: 100%; min-height: 56px; padding: 0 18px;
  border-radius: 16px; border: 1px solid var(--line-strong);
  background: rgba(0,0,0,.3); color: #fff; outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.email-field input::placeholder { color: rgba(255,255,255,.3); }
.email-field input:focus { border-color: var(--pink-2); box-shadow: 0 0 0 4px rgba(255,45,156,.13); }
.email-field input.is-error { border-color: var(--red); animation: shake .4s ease; }
#claimForm .btn { margin-top: 14px; }
.note { margin: 14px 0 0; font-size: 12.5px; color: var(--faint); text-align: center; }

/* ---------- activity ---------- */
.activity {
  margin-top: 18px;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px;
}
.activity-left, .activity-right {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); backdrop-filter: blur(14px);
  padding: 20px;
}
.remaining { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.remaining strong { font-family: var(--display); font-size: 44px; letter-spacing: -.03em; line-height: 1; }
.remaining span { color: var(--faint); font-size: 13px; }
.meter { margin-top: 16px; height: 10px; border-radius: 999px; background: rgba(0,0,0,.4); border: 1px solid var(--line); overflow: hidden; }
.meter-bar {
  height: 100%; width: 42%; border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 0 14px rgba(255,45,156,.4);
  transition: width .5s ease;
}
.live-feed { display: grid; gap: 8px; margin-top: 6px; }
.live-row {
  display: grid; grid-template-columns: 36px minmax(0,1fr) auto;
  align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,.025);
  animation: rise .25s ease both;
}
.live-flag { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.live-main { min-width: 0; }
.live-email { display: block; font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-text { display: block; font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-tag {
  padding: 6px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800;
  background: linear-gradient(135deg, rgba(255,45,156,.3), rgba(123,43,255,.25));
  border: 1px solid rgba(255,255,255,.12);
}
.live-tag.xbox { background: linear-gradient(135deg, rgba(60,227,139,.3), rgba(61,123,255,.2)); }

/* ---------- generator modal ---------- */
.term-head { display: flex; align-items: center; gap: 7px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.term-head span { width: 10px; height: 10px; border-radius: 50%; background: var(--red); opacity: .85; }
.term-head span:nth-child(2) { background: #ffb347; }
.term-head span:nth-child(3) { background: var(--green); }
.term-head strong { margin-left: auto; font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--faint); }
.term-lines {
  padding: 12px 0;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.88);
}
.term-lines p { margin: 0 0 6px; animation: rise .2s ease both; }
.term-lines span { color: var(--pink-2); }
.term-progress { height: 8px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.term-bar { height: 100%; width: 0%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--purple)); box-shadow: 0 0 14px rgba(255,45,156,.4); transition: width .45s ease; }
.gen-card { width: min(100%, 520px); }
.gen-sub { margin: 6px 0 0; color: var(--faint); font-size: 13px; }
.gen-lines { min-height: 210px; max-height: 210px; overflow: hidden; padding: 14px 0 10px; }
.gen-card .term-progress { margin-top: 4px; }

/* ---------- activity ---------- */

/* ---------- disclaimer ---------- */
.disclaimer { padding: 26px 0 40px; }
.disclaimer strong { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.disclaimer p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.4); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 16px; }
.modal[aria-hidden="false"] { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,2,8,.78); backdrop-filter: blur(14px); }
.modal-card {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 15% 0%, rgba(255,45,156,.2), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(123,43,255,.18), transparent 40%),
    #0d0817;
  box-shadow: var(--shadow);
  animation: pop .25s ease both;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.06);
  color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.modal-logo { width: 96px; margin: 4px 0 14px; filter: drop-shadow(0 10px 22px rgba(0,0,0,.5)); }
.modal-card h2 { font-size: clamp(26px, 6vw, 34px); }
.modal-sub { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.modal-sub strong { color: #fff; }

.key-card {
  margin-top: 18px; padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(0,0,0,.42);
  transition: border-color .4s ease, box-shadow .4s ease;
}
.partial-key {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(22px, 7vw, 34px); letter-spacing: .03em;
  text-align: center; color: #9ff3ff;
  text-shadow: 0 0 22px rgba(120,240,255,.3);
  overflow-wrap: anywhere;
}
.key-blocks { display: grid; grid-template-columns: repeat(16, 1fr); gap: 4px; margin-top: 14px; }
.key-blocks i { height: 7px; border-radius: 999px; background: rgba(255,255,255,.12); }
.key-blocks i.on { background: linear-gradient(90deg, #ffb347, var(--pink)); box-shadow: 0 0 10px rgba(255,45,156,.5); }
.key-card.is-unlocked { border-color: rgba(60,227,139,.6); box-shadow: 0 0 0 4px rgba(60,227,139,.1), 0 0 34px rgba(60,227,139,.2); }
.key-card.is-unlocked .partial-key { color: #8dffbe; text-shadow: 0 0 22px rgba(60,227,139,.45); }
.key-card.is-unlocked .key-blocks i.on { background: var(--green); box-shadow: 0 0 10px rgba(60,227,139,.5); }

.countdown {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding: 12px 16px;
  border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.countdown span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.countdown strong { font-family: var(--mono); font-size: 22px; }

/* ---------- offers ---------- */
.offers-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 20px 0 10px; }
.offers-head .eyebrow { margin: 0; }
.offers-tag {
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
  font-size: 11px; font-weight: 800; color: var(--muted);
}
.offers-tag.ok { color: var(--green); border-color: rgba(60,227,139,.4); }
.offers-strip {
  display: flex; gap: 10px;
  overflow-x: auto; padding: 4px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}
.offer-card, .proceed-card, .offer-skeleton {
  flex: 0 0 auto;
  width: 172px; min-height: 168px;
  scroll-snap-align: start;
}
.offer-card {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  animation: rise .3s ease both;
}
.offer-card:hover { transform: translateY(-3px); border-color: rgba(255,90,191,.55); background: rgba(255,45,156,.07); }
.offer-num {
  position: absolute; top: 10px; right: 12px;
  font-family: var(--mono); font-size: 11px; color: var(--faint);
}
.offer-icon {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid var(--line);
  overflow: hidden; flex: 0 0 auto;
}
.offer-icon img { width: 26px; height: 26px; object-fit: contain; }
.offer-title {
  margin-top: 4px;
  font-size: 12.5px; font-weight: 800; line-height: 1.35; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.offer-meta { margin-top: auto; font-size: 11px; color: var(--faint); line-height: 1.35; }
.offer-cta { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; color: var(--pink-2); }
.offer-card.is-done { border-color: rgba(60,227,139,.5); }
.offer-card.is-done .offer-cta { color: var(--green); }

.proceed-card {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px;
  padding: 14px;
  border-radius: 18px; border: 0;
  color: #fff; text-align: left; cursor: pointer;
  background: linear-gradient(150deg, var(--pink), var(--purple) 75%);
  box-shadow: 0 14px 34px rgba(255,45,156,.3);
  transition: transform .18s ease, filter .18s ease;
}
.proceed-card:hover { transform: translateY(-3px); filter: brightness(1.07); }
.proceed-card strong { font-family: var(--display); font-size: 17px; letter-spacing: -.01em; }
.proceed-card span { font-size: 11px; color: rgba(255,255,255,.75); line-height: 1.35; }
.proceed-arrow {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.18);
  font-size: 14px;
}
.proceed-card { position: relative; }
.proceed-card[disabled] { opacity: .5; cursor: wait; filter: grayscale(.4); }

.offer-skeleton {
  position: relative; overflow: hidden;
  border-radius: 18px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.offer-skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.2s ease infinite;
}
.offers-error {
  width: 100%;
  display: grid; place-items: center; gap: 10px;
  padding: 26px; border-radius: 18px;
  border: 1px dashed var(--line-strong);
  color: var(--muted); font-size: 13.5px; text-align: center;
}
.offers-error .btn { min-height: 44px; padding: 10px 20px; }
.secure-line { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--faint); }

/* ---------- chat ---------- */
.chat { margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); backdrop-filter: blur(14px); scroll-margin-top: 84px; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chat-head .eyebrow { margin: 0; }
.chat-online { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-size: 12px; color: var(--muted); }
.chat-online strong { color: #fff; font-weight: 800; }
.chat-feed { display: flex; flex-direction: column; gap: 9px; height: 380px; overflow-y: auto; overflow-x: hidden; margin-top: 14px; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.chat-msg { padding: 11px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); animation: rise .22s ease both; max-width: 88%; }
.chat-msg strong { font-size: 13px; font-weight: 800; color: #fff; }
.chat-msg em { margin-left: 8px; font-style: normal; font-size: 11px; color: var(--faint); }
.chat-msg p { margin: 5px 0 0; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.85); overflow-wrap: anywhere; }
.chat-msg.is-user { align-self: flex-end; border-color: rgba(255,90,191,.35); background: linear-gradient(150deg, rgba(255,45,156,.12), rgba(123,43,255,.08)); }
.chat-msg.is-user strong { color: var(--pink-2); }
.v-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(60,227,139,.14); border: 1px solid rgba(60,227,139,.4); color: var(--green); font-size: 10px; font-weight: 800; vertical-align: 1px; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 14px; }
.chat-form input { width: 100%; min-height: 52px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.3); color: #fff; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.chat-form input::placeholder { color: rgba(255,255,255,.3); }
.chat-form input:focus { border-color: var(--pink-2); box-shadow: 0 0 0 4px rgba(255,45,156,.13); }
.profile-form { display: grid; gap: 4px; margin-top: 18px; }
.profile-form .email-field { margin-top: 12px; }
.profile-form .btn { margin-top: 16px; }

/* ---------- floating chat dock ---------- */
.chat-fab {
  position: fixed; z-index: 90;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple) 70%);
  box-shadow: 0 16px 38px rgba(255,45,156,.35);
  display: grid; place-items: center;
  transition: transform .18s ease, filter .18s ease;
}
.chat-fab:hover { transform: translateY(-2px) scale(1.04); filter: brightness(1.07); }
.chat-fab svg { width: 24px; height: 24px; }
.fab-dot {
  position: absolute; top: 5px; right: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
  transition: opacity .2s ease;
}
.chat-fab.is-open .fab-dot { opacity: 0; }

.chat-dock {
  position: fixed; z-index: 95;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 84px);
  width: min(100% - 24px, 360px);
  max-height: min(520px, calc(100svh - 120px));
  display: none; flex-direction: column;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: rgba(13, 8, 23, .94);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.chat-dock[aria-hidden="false"] { display: flex; animation: pop .22s ease both; }
.dock-head { display: flex; align-items: center; gap: 8px; }
.dock-head .eyebrow { margin: 0; }
.dock-online { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.dock-online strong { color: #fff; font-weight: 800; }
.dock-close {
  flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.06); color: #fff;
  font-size: 18px; line-height: 1; cursor: pointer;
}
.dock-feed { height: 280px; min-height: 0; margin-top: 10px; flex: 1; }
.dock-form { margin-top: 10px; }
.dock-form input { min-height: 46px; padding: 0 15px; }
.dock-form .btn { min-height: 46px; padding: 10px 16px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; z-index: 140;
  left: 50%; bottom: max(20px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: none;
  max-width: min(100% - 28px, 460px);
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(13,8,23,.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  font-size: 13.5px; font-weight: 700;
}
.toast.show { display: block; animation: toastIn 3s ease both; }
.toast.ok strong { color: var(--green); }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .claim { grid-template-columns: 1fr; }
  .claim-art { min-height: 260px; max-height: 300px; }
  .activity { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-inner { padding: 96px 0 48px; }
  .hero-stats { gap: 22px; }
  .hero-stats strong { font-size: 21px; }
  .hero-actions .btn { width: 100%; }
  .platform-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .platform-option { min-height: 116px; padding: 13px; }
  .platform-option strong { font-size: 15.5px; }
  .platform-sub { font-size: 10.5px; }
  .lock-ribbon { font-size: 8.5px; padding: 3px 7px; }
  .offer-card, .proceed-card, .offer-skeleton { width: 158px; min-height: 158px; }
  .modal-card { padding: 18px; border-radius: 24px; }
}
@media (max-width: 380px) {
  .platform-grid { grid-template-columns: 1fr; }
  .platform-option { min-height: 104px; }
  .chat-form { grid-template-columns: 1fr; }
  .chat-msg { max-width: 100%; }
  .chat-dock { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 80px); }
}
