/* TikBlox — styles.css FIXED
   Key changes from broken version:
   1. Global SVG max-size rule FIRST LINE to prevent giant icon bug
   2. Single-hyphen class names (no __ which can break with minifiers)
   3. Explicit px fallbacks for all critical layout
   4. Every SVG also has width+height HTML attributes as double safety
*/

/* ═══ GLOBAL SVG SAFETY — prevents any SVG from exploding ═══ */
svg {
  max-width: 100%;
  height: auto;
}

/* ═══ TOKENS ═══ */
:root {
  --brand: #6d3cff;
  --brand-lt: #8b5cf6;
  --brand-dk: #4c1d95;
  --accent: #2dd4bf;
  --accent-lt: #5eead4;
  --gold: #fbbf24;
  --bg: #07091b;
  --bg-card: rgba(13,16,40,0.85);
  --border: rgba(109,60,255,0.13);
  --border-hi: rgba(109,60,255,0.3);
  --border-acc: rgba(45,212,191,0.2);
  --txt: #eee9ff;
  --txt2: rgba(238,233,255,0.62);
  --txt3: rgba(238,233,255,0.38);
  --fh: 'Sora', system-ui, sans-serif;
  --fb: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ═══ RESET ═══ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--txt);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}

/* ═══ LAYOUT ═══ */
.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.section {
  padding-top: 56px;
  padding-bottom: 56px;
  position: relative;
}

@media (min-width: 640px) {
  .wrap { padding-left: 28px; padding-right: 28px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
}
@media (min-width: 768px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .section { padding-top: 88px; padding-bottom: 88px; }
}
@media (min-width: 1024px) {
  .wrap { padding-left: 40px; padding-right: 40px; }
  .section { padding-top: 100px; padding-bottom: 100px; }
}

/* ═══ AMBIENT ═══ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 85% 40% at 50% 0%, rgba(109,60,255,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 45% 30% at 88% 55%, rgba(45,212,191,0.06) 0%, transparent 50%),
    linear-gradient(175deg, #07091b 0%, #0b0e26 55%, #0f0d30 100%);
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(7,9,27,0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
}
.nav-bar {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 18px;
  gap: 12px;
}
.nav-logo {
  flex-shrink: 0;
}
.nav-logo img {
  height: 26px;
  width: auto;
}

/* desktop links */
.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--fh);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--txt2);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--txt);
}

/* desktop CTA */
.nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  padding: 8px 18px;
  font-family: var(--fh);
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dk));
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(109,60,255,0.3);
  min-height: 36px;
  white-space: nowrap;
}

/* burger */
.burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* drawer */
.nav-drawer {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding-left: 18px;
  padding-right: 18px;
}
.nav-drawer.open {
  max-height: 350px;
  padding-bottom: 16px;
  border-top: 1px solid var(--border);
}
.nav-drawer a {
  font-family: var(--fh);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--txt2);
  min-height: 44px;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-bar { padding: 12px 32px; }
  .nav-logo img { height: 28px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .burger { display: none; }
  .nav-drawer { display: none !important; }
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--fh);
  font-weight: 700;
  font-size: 0.84rem;
  border-radius: 12px;
  padding: 12px 22px;
  min-height: 44px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.2s;
  white-space: nowrap;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dk));
  color: #fff;
  box-shadow: 0 3px 16px rgba(109,60,255,0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(109,60,255,0.4);
}
.btn-primary:active {
  transform: scale(0.97);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--txt);
  border: 1.5px solid rgba(255,255,255,0.12);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 0.9rem;
}
.btn-full {
  width: 100%;
}
.btn-pulse {
  animation: cta-ring 3s ease-in-out infinite;
}
@keyframes cta-ring {
  0%, 100% { box-shadow: 0 3px 16px rgba(109,60,255,0.28), 0 0 0 0 rgba(109,60,255,0.3); }
  50%      { box-shadow: 0 3px 16px rgba(109,60,255,0.28), 0 0 0 8px rgba(109,60,255,0); }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  padding: 36px 0 44px;
}
.hero-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 560px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(109,60,255,0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.hero-copy {
  text-align: center;
  order: 1;
  width: 100%;
}

/* pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(45,212,191,0.08);
  border: 1px solid var(--border-acc);
  border-radius: 999px;
  padding: 5px 14px;
  font-family: var(--fh);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--accent-lt);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: dot-p 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dot-p {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-h1 {
  font-family: var(--fh);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.accent-text {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--txt2);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 20px;
}
.hero-sub strong {
  color: var(--txt);
  font-weight: 700;
}
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.hero-note {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--txt3);
}

/* hero visual */
.hero-visual {
  order: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero-card {
  position: relative;
  padding-right: 20px;
  padding-bottom: 12px;
}
.hero-card-glow {
  position: absolute;
  top: 50%;
  left: calc(50% - 10px);
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(109,60,255,0.18) 0%, transparent 62%);
  pointer-events: none;
}
.hero-card-img {
  width: 170px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 28px rgba(80,0,200,0.25));
  animation: card-float 5s ease-in-out infinite;
}
@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* mystery badge — inside padded parent, no overflow */
.hero-mystery {
  position: absolute;
  bottom: 6px;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  background: linear-gradient(135deg, rgba(45,212,191,0.14), rgba(45,212,191,0.05));
  border: 1.5px solid var(--border-acc);
  border-radius: 12px;
  padding: 7px 12px;
  backdrop-filter: blur(10px);
}
.hero-mystery-q {
  font-family: var(--fh);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}
.hero-mystery-lbl {
  font-family: var(--fh);
  font-size: 0.48rem;
  font-weight: 700;
  color: var(--accent-lt);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* hero responsive */
@media (min-width: 480px) {
  .hero-h1 { font-size: 1.7rem; }
  .hero-btns { flex-direction: row; justify-content: center; }
  .hero-card-img { width: 190px; }
}
@media (min-width: 640px) {
  .hero { padding: 44px 0 52px; }
  .hero-h1 { font-size: 1.95rem; }
  .hero-card-img { width: 210px; }
  .hero-card-glow { width: 260px; height: 260px; }
}
@media (min-width: 768px) {
  .hero { padding: 60px 0 68px; }
  .hero-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
  }
  .hero-copy {
    order: 0;
    text-align: left;
    flex: 1;
    max-width: 500px;
  }
  .hero-sub { margin: 0 0 20px 0; }
  .hero-btns { justify-content: flex-start; }
  .hero-visual { order: 1; flex: 0 0 auto; width: auto; }
  .hero-h1 { font-size: 2.1rem; }
  .hero-card-img { width: 230px; }
  .hero-card-glow { width: 290px; height: 290px; }
}
@media (min-width: 1024px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { gap: 48px; }
  .hero-h1 { font-size: 2.5rem; }
  .hero-sub { font-size: 0.92rem; }
  .hero-card-img { width: 270px; }
}
@media (min-width: 1280px) {
  .hero-h1 { font-size: 2.8rem; }
  .hero-card-img { width: 300px; }
}

/* ══════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════ */
.sec-head {
  text-align: center;
  margin-bottom: 28px;
}
.sec-tag {
  display: inline-block;
  font-family: var(--fh);
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.sec-title {
  font-family: var(--fh);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.sec-sub {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--txt2);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto;
}
.section-cta {
  text-align: center;
  margin-top: 28px;
}

@media (min-width: 480px) { .sec-title { font-size: 1.4rem; } }
@media (min-width: 640px) { .sec-head { margin-bottom: 36px; } .sec-title { font-size: 1.55rem; } }
@media (min-width: 768px) { .sec-head { margin-bottom: 44px; } .sec-title { font-size: 1.75rem; } }
@media (min-width: 1024px) { .sec-title { font-size: 1.95rem; } .sec-sub { font-size: 0.88rem; } }

/* ══════════════════════════════════════
   STEPS
══════════════════════════════════════ */
.how {
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(45,212,191,0.05) 0%, transparent 50%);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dk));
  color: #fff;
  font-family: var(--fh);
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(109,60,255,0.22);
}
.step-h {
  font-family: var(--fh);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 3px;
  padding-top: 2px;
}
.step-p {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--txt2);
  line-height: 1.65;
}
.step-line {
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, rgba(109,60,255,0.3), rgba(109,60,255,0.06));
  margin-left: 18px;
  border-radius: 2px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    align-items: flex-start;
    max-width: 100%;
  }
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 10px;
  }
  .step-h { padding-top: 0; font-size: 0.92rem; }
  .step-num { width: 44px; height: 44px; }
  .step-line {
    width: 100%;
    max-width: 52px;
    height: 2px;
    margin-left: 0;
    align-self: flex-start;
    margin-top: 21px;
    background: linear-gradient(90deg, rgba(109,60,255,0.3), rgba(109,60,255,0.06));
  }
}

/* ══════════════════════════════════════
   SPECTRUM
══════════════════════════════════════ */
.rewards {
  background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(109,60,255,0.06) 0%, transparent 50%);
}
.spectrum {
  max-width: 540px;
  margin: 0 auto 32px;
}
.spectrum-track {
  position: relative;
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  margin-bottom: 10px;
}
.spectrum-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--gold));
  opacity: 0.4;
}
.spectrum-vals {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.spectrum-val {
  font-family: var(--fh);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--txt3);
  text-align: center;
}
.spectrum-val strong {
  font-weight: 800;
  color: var(--txt);
  font-size: 0.72rem;
  display: block;
}
.spectrum-max strong {
  color: var(--gold);
}
.spectrum-mid {
  display: none;
}
@media (min-width: 640px) {
  .spectrum-mid { display: block; }
  .spectrum { max-width: 580px; margin-bottom: 40px; }
}

/* ══════════════════════════════════════
   TRIO CARDS
══════════════════════════════════════ */
.trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.trio-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 22px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.trio-card:hover {
  border-color: var(--border-hi);
  box-shadow: 0 3px 18px rgba(109,60,255,0.07);
}
.trio-ico {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(45,212,191,0.07);
  border: 1px solid var(--border-acc);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--accent);
}
/* explicit SVG sizing inside trio icon */
.trio-ico svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.trio-card h3 {
  font-family: var(--fh);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.trio-card p {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--txt2);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .trio { grid-template-columns: repeat(3, 1fr); }
  .trio-card { padding: 24px 20px; }
}

/* ══════════════════════════════════════
   TRUST STRIP
══════════════════════════════════════ */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  background: rgba(13,16,40,0.35);
}
.trust-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* CRITICAL: explicit SVG sizing in trust items */
.trust-item svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.75;
}
.trust-item strong {
  font-family: var(--fh);
  font-size: 0.76rem;
  font-weight: 700;
  display: block;
}
.trust-item span {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--txt2);
}

@media (min-width: 400px) {
  .trust-row { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
}
@media (min-width: 640px) {
  .trust-row { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .trust-item svg { width: 28px; height: 28px; min-width: 28px; }
}

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-list {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.faq-item:hover,
.faq-item[open] {
  border-color: var(--border-hi);
  box-shadow: 0 0 14px rgba(109,60,255,0.06);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  font-family: var(--fh);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  color: var(--txt);
  min-height: 48px;
}
.faq-q::-webkit-details-marker {
  display: none;
}
.faq-q span {
  flex: 1;
}
.faq-chev {
  flex-shrink: 0;
  color: var(--brand-lt);
  transition: transform 0.3s ease;
  width: 18px;
  height: 18px;
}
.faq-item[open] .faq-chev {
  transform: rotate(180deg);
}
.faq-a {
  padding: 0 16px 14px;
}
.faq-a p {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--txt2);
  line-height: 1.75;
}

@media (min-width: 640px) {
  .faq-q { padding: 16px 20px; font-size: 0.86rem; }
  .faq-a { padding: 0 20px 16px; }
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 26px 20px;
  backdrop-filter: blur(12px);
}
.about-logo {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}
.about-h {
  font-family: var(--fh);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.about-card p {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--txt2);
  line-height: 1.75;
  margin-bottom: 8px;
}
.about-card p:last-child {
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .about-card { padding: 34px 30px; }
}

/* ══════════════════════════════════════
   END CTA
══════════════════════════════════════ */
.endcta {
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}
.endcta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.endcta-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 220px;
  background: radial-gradient(ellipse, rgba(109,60,255,0.11), transparent 60%);
  pointer-events: none;
}
.endcta-ico {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  filter: drop-shadow(0 0 10px rgba(109,60,255,0.25));
  animation: card-float 4s ease-in-out infinite;
}
.endcta h2 {
  font-family: var(--fh);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.endcta p {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--txt2);
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .endcta { padding: 64px 0; }
  .endcta h2 { font-size: 1.45rem; }
}
@media (min-width: 768px) {
  .endcta h2 { font-size: 1.65rem; }
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: rgba(4,5,14,0.98);
  border-top: 1px solid var(--border);
  padding: 26px 0;
  position: relative;
  z-index: 1;
}
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-brand img {
  height: 18px;
  width: auto;
}
.footer-brand span {
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--txt3);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links a {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--txt2);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--txt);
}
.footer-disc {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--txt3);
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 10px;
}

@media (min-width: 480px) {
  .footer-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}


/* ══════════════════════════════════════
   SOCIAL PROOF CARD
   Glass card with avatar rows + trust footer
══════════════════════════════════════ */
.sp-card {
  margin-top: 24px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(13,16,40,0.7);
  border: 1px solid rgba(109,60,255,0.16);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 0 0 1px rgba(109,60,255,0.06);
}

/* header row */
.sp-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sp-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 6px #2dd4bf;
  animation: dot-p 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
.sp-head-txt {
  font-family: var(--fh);
  font-size: 0.66rem;
  font-weight: 700;
  color: rgba(238,233,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* item list */
.sp-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* each user item */
.sp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  transition: background 0.2s;
  animation: sp-fade-in 0.45s ease both;
}
.sp-item:nth-child(1) { animation-delay: 0.05s; }
.sp-item:nth-child(2) { animation-delay: 0.15s; }
.sp-item:nth-child(3) { animation-delay: 0.25s; }

@keyframes sp-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.sp-item:hover {
  background: rgba(255,255,255,0.04);
}

/* avatar circle */
.sp-ava {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--h),45%,18%), hsl(var(--h),55%,30%));
  color: hsl(var(--h),70%,72%);
  font-family: var(--fh);
  font-size: 0.62rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 8px hsl(var(--h),60%,25%,0.35);
}

/* name + action */
.sp-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.sp-name {
  font-family: var(--fh);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--txt);
}
.sp-act {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--txt2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* time */
.sp-time {
  font-family: var(--fh);
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--txt3);
  white-space: nowrap;
  flex-shrink: 0;
}

/* check badge */
.sp-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(45,212,191,0.12);
  border: 1px solid rgba(45,212,191,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2dd4bf;
}
.sp-badge svg {
  width: 10px;
  height: 10px;
}

/* footer trust row */
.sp-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sp-stack {
  display: flex;
  flex-shrink: 0;
}
.sp-stack-ava {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--h),40%,20%), hsl(var(--h),50%,32%));
  color: hsl(var(--h),65%,70%);
  font-family: var(--fh);
  font-size: 0.46rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(7,9,27,0.9);
  margin-left: -6px;
}
.sp-stack-ava:first-child {
  margin-left: 0;
}
.sp-footer-txt {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--txt3);
  line-height: 1.3;
}

/* Desktop alignment */
@media (min-width: 768px) {
  .sp-card {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ══════════════════════════════════════
   LIVE NOTIFICATION (floating)
   Glass card, bottom-left, slide up
══════════════════════════════════════ */
.ntf {
  position: fixed;
  bottom: 20px;
  left: 18px;
  z-index: 900;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.ntf.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ntf-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(13,16,40,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(109,60,255,0.22);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow:
    0 12px 40px rgba(0,0,0,0.45),
    0 0 0 1px rgba(109,60,255,0.06),
    0 0 20px rgba(109,60,255,0.06);
  max-width: 340px;
  position: relative;
}

/* avatar */
.ntf-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-dk), var(--brand));
  color: #fff;
  font-family: var(--fh);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(109,60,255,0.25);
}

/* content */
.ntf-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.ntf-user {
  font-family: var(--fh);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--txt);
}
.ntf-action {
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--txt2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* meta: time + check */
.ntf-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.ntf-time {
  font-family: var(--fh);
  font-size: 0.54rem;
  font-weight: 600;
  color: var(--txt3);
  white-space: nowrap;
}
.ntf-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(45,212,191,0.12);
  border: 1px solid rgba(45,212,191,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2dd4bf;
}
.ntf-check svg {
  width: 10px;
  height: 10px;
}

/* close button */
.ntf-close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(13,16,40,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--txt3);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.ntf-close:hover {
  background: rgba(30,20,60,0.95);
  color: var(--txt);
  border-color: rgba(255,255,255,0.2);
}
.ntf-close svg {
  width: 12px;
  height: 12px;
}

/* Mobile: stretch wider */
@media (max-width: 479px) {
  .ntf {
    left: 12px;
    right: 12px;
    bottom: 14px;
  }
  .ntf-card {
    max-width: none;
    width: 100%;
  }
}

/* Desktop: more space */
@media (min-width: 768px) {
  .ntf {
    bottom: 28px;
    left: 28px;
  }
}