@import url('https://fonts.googleapis.com/css2?family=Wendy+One&family=Sour+Gummy:wght@700&family=Bitcount+Prop+Single&display=swap');

/* ── Reset & base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  overflow-x: hidden;
  background: #0c0c18;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Scene wrapper — fixed fullscreen ────────────────────────────────── */
.scene-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(180deg, #5ab0e0 0%, #8ecff5 40%, #c8e8fa 75%, #7db85a 100%);
  z-index: 0;
}

/* ── Scene inner — locked to 1719×915 artwork ratio ──────────────────── */
.scene {
  width: 100vw;
  height: max(280px, calc(100vw * 915 / 1719));
  flex-shrink: 0;
  position: relative;
}

/* ── Layers group ────────────────────────────────────────────────────── */
.layers-group {
  position: absolute;
  inset: 0;
  transition: filter 2.5s ease;
}

/* ── Parallax layers ─────────────────────────────────────────────────── */
.layer {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  will-change: transform;
  transition: filter 4s ease;
}

.layer img {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: bottom center;
  display: block;
}

/* ── Sky layer ───────────────────────────────────────────────────────── */
.layer.sky-layer img {
  object-position: center 40%;
  top: -100px; bottom: auto;
  height: calc(100% + 100px);
  opacity: 0;
  transition: opacity 2.5s ease;
  pointer-events: none;
}
.layer.sky-layer img.sky-active { opacity: 1; }

/* Sky-state transforms (copied verbatim from original app) */
#lSky img[data-sky="morning"]  { transform: scale(1.15) translateY(-20%); }
#lSky img[data-sky="midday"]   { transform: scale(1.15) translateY(-28%); }
#lSky img[data-sky="golden"]   { transform: scale(1.15) translateY(-40%); }
#lSky img[data-sky="sunset"]   { transform: scale(1.15) translateY(-30%); }
#lSky img[data-sky="twilight"] { transform: scale(1.15) translateY(-35%); }
#lSky img[data-sky="storm"]    { transform: scale(1.15) translateY(-30%); }
#lSky img[data-sky="rainbow"]  { transform: scale(1.15) translateY(5%); }

/* ── Atmospheric overlay (mask-based color tint) ─────────────────────── */
.atmo-overlay {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  transition: background-color 2.5s ease;
  background-color: transparent;
  mask-size: cover;
  mask-position: bottom center;
  -webkit-mask-size: cover;
  -webkit-mask-position: bottom center;
}
#lMtn .atmo-overlay {
  mask-image: url('../assets/layers/4 BAckground Mounatins Layer.png');
  -webkit-mask-image: url('../assets/layers/4 BAckground Mounatins Layer.png');
}
#lHills .atmo-overlay {
  mask-image: url('../assets/layers/3 Background Hill Layer.png');
  -webkit-mask-image: url('../assets/layers/3 Background Hill Layer.png');
}
#lMid .atmo-overlay {
  mask-image: url('../assets/layers/2 Midground Layer.png');
  -webkit-mask-image: url('../assets/layers/2 Midground Layer.png');
}
#lFore .atmo-overlay {
  top: 8.5vw; bottom: auto;
  mask-image: url('../assets/layers/1 Foreground Layer - long.png');
  mask-position: top center;
  -webkit-mask-image: url('../assets/layers/1 Foreground Layer - long.png');
  -webkit-mask-position: top center;
}

/* ── Foreground layer (copied verbatim from original) ────────────────── */
#lFore { height: 60%; top: auto; bottom: 0; overflow: visible; }
#lFore img { top: 8.5vw; bottom: auto; height: calc(100% + 8vw); object-position: top center; }

/* ── Sky headline — floats over the scene, changes with F&G state ────── */
#sky-headline {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

@keyframes logoShimmer {
  0%   { filter: drop-shadow(0 0 8px rgba(255,255,255,0.6)) drop-shadow(0 0 24px rgba(255,255,255,0.3)); opacity: 0.85; }
  50%  { filter: drop-shadow(0 0 22px rgba(255,255,255,1)) drop-shadow(0 0 60px rgba(255,255,255,0.6)) drop-shadow(0 0 90px rgba(200,220,255,0.4)); opacity: 1; }
  100% { filter: drop-shadow(0 0 8px rgba(255,255,255,0.6)) drop-shadow(0 0 24px rgba(255,255,255,0.3)); opacity: 0.85; }
}

#sky-logo {
  width: 13vw;
  min-width: 90px;
  max-width: 180px;
  display: block;
  margin-bottom: 10px;
  animation: logoShimmer 3s ease-in-out infinite;
}
#sky-logo-name {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(10px, 0.85vw, 15px);
  font-weight: 700;
  letter-spacing: 0.2vw;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
  margin-bottom: 0.9vw;
  margin-top: max(-2.5vw, -35px);
}

#sky-tagline {
  font-family: 'Bitcount Prop Single', sans-serif;
  font-size: clamp(16px, 1.65vw, 28px);
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
  margin-bottom: 4vw;
  text-align: center;
  animation: neonSign 6s infinite;
}

@keyframes neonSign {
  0%, 17%, 19%, 50%, 52%, 100% {
    text-shadow:
      0 0 4px rgba(255,255,255,0.95),
      0 0 12px rgba(255,255,255,0.55),
      0 0 28px rgba(180,220,255,0.35);
    opacity: 0.95;
  }
  18% {
    text-shadow: none;
    opacity: 0.55;
  }
  51% {
    text-shadow: none;
    opacity: 0.7;
  }
}

#sky-headline-text {
  font-family: 'Wendy One', sans-serif;
  text-align: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  width: calc(100% - 48px);
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
#sky-headline-text.visible { opacity: 1; }

.sky-hl-big {
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 600;
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 20px rgba(0,0,0,.5), 0 2px 4px rgba(0,0,0,.3);
  line-height: 1.2;
  white-space: nowrap;
}
.sky-hl-small {
  font-size: clamp(17px, 1.9vw, 26px);
  font-weight: 400;
  color: rgba(255,255,255,.75);
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
  line-height: 1.4;
}

/* ── Scroll hint ─────────────────────────────────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.9);
  font-size: 14px;
  letter-spacing: 2.5px;
  font-weight: 600;
  animation: bob 2.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 30;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
@keyframes bob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-7px); }
}

/* ── Lemming speech bubble ───────────────────────────────────────────── */
#lemming-bubble {
  position: fixed;
  right: 62%;
  left: auto;
  top: calc(max(280px, 100vw * 915 / 1719) * 0.50);
  z-index: 18;
  max-width: 260px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 11px 15px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.94) translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#lemming-bubble::before {
  content: '';
  position: absolute;
  right: 28px; bottom: -22px;
  left: auto; top: auto; transform: none;
  width: 0; height: 0; border: 0;
  border-left: 30px solid transparent;
  border-right: 3px solid transparent;
  border-top: 24px solid rgba(220,220,225,0.9);
}
#lemming-bubble::after {
  content: '';
  position: absolute;
  right: 29px; bottom: -20px;
  left: auto; top: auto; transform: none;
  width: 0; height: 0; border: 0;
  border-left: 29px solid transparent;
  border-right: 2px solid transparent;
  border-top: 22px solid rgba(255,255,255,0.92);
}
#lemming-bubble.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}
#lemming-bubble-close {
  position: absolute;
  top: 5px; right: 7px;
  width: 20px; height: 20px;
  border: none; background: none;
  color: rgba(0,0,0,0.6);
  font-size: 13px; line-height: 1;
  cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: auto;
  transition: color 0.15s;
}
#lemming-bubble-close:hover { color: rgba(0,0,0,0.9); }
#lemming-bubble-big,
#lemming-bubble-small {
  font-family: 'Sour Gummy', sans-serif;
  font-weight: 700;
  text-shadow: none;
  line-height: 1.4;
  margin: 0;
  transition: color 0.4s ease;
}
#lemming-bubble-big  { font-size: 20px; }
#lemming-bubble-small { font-size: 15px; }

/* ── Soil section — fixed, rises via JS transform ────────────────────── */
.soil-section {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 6;
  line-height: 0;
  pointer-events: none;
  will-change: transform;
}
.soil-section img {
  width: 100%;
  display: block;
}
.soil-floor {
  width: 100%;
  height: 300vh;
  background: #000;
}

/* ── Page scroll container — starts below the scene ─────────────────── */
.page {
  position: relative;
  z-index: 10;
  margin-top: max(280px, calc(100vw * 915 / 1719));
}

/* ── Lemming canvas ──────────────────────────────────────────────────── */
/* Height matches scene height exactly (same as original app) */
#lemming-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: max(280px, calc(100vw * 915 / 1719));
  z-index: 8;
  pointer-events: auto;
  transition: opacity 0.15s ease;
  cursor: default;
}

/* ── Promo / marketing section ───────────────────────────────────────── */
.promo-wrap {
  position: relative;
  z-index: 20;
  background: rgba(10,10,18,.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 20px 20px 0 0;
  padding: 48px 24px 160px;
  margin-top: 40px;
  min-height: 100vh;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: auto;
  /* Centered card — lets soil show on both sides (mirrors original app) */
  width: calc(100% - 48px);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.promo-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(220,170,60,.3);
  background: rgba(220,170,60,.08);
  color: #d4a84b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.promo-heading {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  color: #e8c87a;
  letter-spacing: -0.8px;
  line-height: 1.12;
  margin-bottom: 10px;
  max-width: 520px;
}

.promo-subheading {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 500;
  color: rgba(232, 210, 160, 0.85);
  line-height: 1.4;
  margin-bottom: 22px;
  max-width: 520px;
}

.promo-sub {
  font-size: 16px;
  color: rgba(220,190,140,.90);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 460px;
}

.promo-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
  width: 100%;
  max-width: 480px;
}

.promo-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(220,170,60,.06);
  border: 1px solid rgba(220,170,60,.12);
  border-radius: 12px;
  text-align: left;
}

.promo-feature-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }

.promo-feature-text {
  font-size: 14px;
  color: rgba(220,190,140,.82);
  line-height: 1.4;
}
.promo-feature-text strong {
  display: block;
  font-weight: 600;
  color: rgba(232,200,122,.95);
  margin-bottom: 2px;
}

/* Email form */
#soil-form {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  width: 100%;
  max-width: 420px;
}

#soil-email {
  flex: 1;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(220,170,60,.22);
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
#soil-email::placeholder { color: rgba(255,255,255,.3); }
#soil-email:focus { border-color: rgba(220,170,60,.5); }

#soil-submit {
  padding: 13px 22px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #c4850a 0%, #e8a020 100%);
  color: #0a0603;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(200,140,20,.3);
  transition: opacity 0.2s, transform 0.15s;
}
#soil-submit:hover { opacity: .9; transform: translateY(-1px); }
#soil-submit:active { transform: translateY(0); }
#soil-submit:disabled { opacity: .55; cursor: default; }

.promo-spots-heading {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

@keyframes priorityPulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 8px rgba(232,200,122,.6); }
  50%       { opacity: .45; text-shadow: none; }
}

.priority-pulse {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  animation: priorityPulse 2.4s ease-in-out infinite;
}

.promo-spots {
  font-size: 15px;
  font-weight: 600;
  color: rgba(232,200,122,1);
  letter-spacing: 0.2px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.promo-fine {
  font-size: 11px;
  color: rgba(220,190,140,.35);
  letter-spacing: 0.2px;
}

#soil-success {
  display: none;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(100,200,80,.08);
  border: 1px solid rgba(100,200,80,.2);
  color: #7dcf6a;
  font-size: 14px;
  margin-bottom: 14px;
  max-width: 420px;
  width: 100%;
}
#soil-success.show { display: block; }

/* ── Newsletter mushroom decoration ─────────────────────────────────── */
#nl-sparkles {
  position: absolute;
  bottom: 0;
  left: 55%;
  transform: translateX(-50%);
  width: 150%;
  height: 320px;
  pointer-events: none;
  z-index: 26;
}

#nl-mushrooms {
  position: absolute;
  bottom: 0;
  left: 55%;
  width: 150%;
  display: block;
  pointer-events: none;
  transform: translateX(-50%) translateY(70%);
  will-change: transform;
  z-index: 25;
}

/* ── Responsive (match original app breakpoints exactly) ─────────────── */
@media (min-width: 1025px) {
  #lFore { height: 52%; }
  #lFore img { top: 4.3vw; height: calc(100% + 8vw); }
  #lFore .atmo-overlay { top: 4.3vw; }
  .promo-wrap { padding: 56px 40px 180px; max-width: 600px; }
}

@media (max-width: 1024px) and (min-width: 641px) {
  #lFore { height: 56%; }
  #lFore img { top: 6.4vw; height: calc(100% + 8vw); }
  #lFore .atmo-overlay { top: 6.4vw; }
}

@media (max-width: 640px) {
  #lFore { height: 60%; }
  #lFore img { top: 8.5vw; }
  #lFore .atmo-overlay { top: 8.5vw; }
  .scroll-hint { font-size: 11px; bottom: 14px; }
  #soil-form { flex-direction: column; }
  /* Full-width card on narrow screens — no room to show soil on sides */
  .promo-wrap { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; border-radius: 16px 16px 0 0; }
  /* Reset headline position on mobile */
  #sky-headline { top: 40px; }
  #sky-logo { width: 60px; margin-bottom: 6px; }
}

/* ── Fear & Greed widget ─────────────────────────────────────────────── */
#fng-widget {
  position: fixed;
  top: 16px; right: 16px;
  z-index: 50;
  pointer-events: auto;
  transform: scale(0.78);
  transform-origin: top right;
}
#fng-card {
  background: rgba(8,12,24,.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 10px 14px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  position: relative;
  min-width: 120px;
}
#fng-canvas { display: block; }
#fng-value {
  font-size: 42px; font-weight: 700; line-height: 1.1; letter-spacing: -0.5px;
  color: #fff; margin-top: 2px;
}
#fng-label {
  font-size: 19px; font-weight: 600; letter-spacing: .6px;
  text-transform: uppercase; color: rgba(255,255,255,.55);
}
#fng-help-btn {
  position: absolute; top: 7px; right: 8px;
  width: 17px; height: 17px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: none;
  color: rgba(255,255,255,.6); font-size: 10px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  line-height: 1; transition: background .2s;
}
#fng-help-btn:hover { background: rgba(255,255,255,.22); }
#fng-rainbow-btn {
  display: block; margin: 5px auto 0;
  background: none; border: none; cursor: pointer;
  font-size: 14px; opacity: 0.55; transition: opacity .2s; line-height: 1;
}
#fng-rainbow-btn:hover { opacity: 1; }

#fng-tooltip {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 230px;
  background: rgba(8,12,24,.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  padding: 13px 15px;
  flex-direction: column; gap: 5px;
  display: none;
}
#fng-tooltip.open { display: flex; }
.fng-tip-title {
  font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,.9);
  letter-spacing: .3px; margin-bottom: 3px;
}
.fng-tip-row {
  display: flex; align-items: center; gap: 7px;
  font-size: 10.5px; color: rgba(255,255,255,.72);
}
.fng-tip-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.fng-tip-range { min-width: 42px; color: rgba(255,255,255,.38); font-size: 9.5px; }
.fng-tip-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 3px 0; }

/* ── Mobile static bg — hidden on desktop ────────────────────────────── */
#mobile-bg {
  display: none;
}

/* ── Mobile — 768px and below ────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Static background image — replaces parallax */
  #mobile-bg {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    z-index: 1;
  }

  /* Hide parallax layers and soil — keep lemming canvas */
  .layers-group { display: none; }
  .soil-section { display: none; }

  /* Lemming canvas — moved lower so it sits in the valley */
  #lemming-canvas {
    display: block;
    top: 38svh;
  }

  /* Scene fills full screen height on mobile */
  .scene-wrapper { height: 100svh; }
  .scene         { height: 100svh; }

  /* Page starts after full viewport */
  .page { margin-top: 100svh; }

  /* Sky headline — tighter positioning */
  #sky-headline { top: 22px; }

  #sky-logo {
    width: 54px;
    min-width: 54px;
    margin-bottom: 4px;
  }

  #sky-logo-name {
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: -8px;
    margin-bottom: 5px;
  }

  #sky-tagline {
    font-size: 14px;
    margin-bottom: 0;
    padding: 0 20px;
  }

  /* Speech bubble — hidden on mobile, not enough space */
  #lemming-bubble { display: none !important; }

  /* F&G widget — centered below headline */
  #fng-widget {
    top: 130px;
    right: auto;
    left: 50%;
    transform: translateX(-50%) scale(0.72);
    transform-origin: top center;
  }

  /* Scroll hint — smaller */
  .scroll-hint {
    font-size: 10px;
    letter-spacing: 2px;
    bottom: 10px;
  }

  /* Promo section — full width, less padding */
  .promo-wrap {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 16px 16px 0 0;
    padding: 36px 20px 140px;
    margin-top: 16px;
  }

  .promo-heading { font-size: clamp(28px, 7vw, 42px); }
  .promo-subheading { font-size: 15px; }
  .promo-sub { font-size: 14px; }

  /* Form — stack vertically, large touch targets */
  #soil-form { flex-direction: column; gap: 10px; }
  #soil-email  { font-size: 16px; padding: 15px 16px; } /* 16px prevents iOS zoom */
  #soil-submit { font-size: 16px; padding: 15px 22px; width: 100%; }

  /* Mushrooms — narrower so they don't stretch too wide */
  #nl-mushrooms {
    width: 120%;
    left: 52%;
  }
  #nl-sparkles {
    width: 120%;
    left: 52%;
    height: 220px;
  }
}

/* ── Small phones — 480px and below ─────────────────────────────────── */
@media (max-width: 480px) {

  #sky-headline { top: 16px; }

  #sky-logo {
    width: 44px;
    min-width: 44px;
  }

  #sky-tagline { font-size: 12px; }

  /* F&G — slightly smaller on tiny phones, still centered */
  #fng-widget {
    top: 120px;
    transform: translateX(-50%) scale(0.64);
  }

  .promo-heading { font-size: clamp(24px, 7.5vw, 36px); }

  .promo-features { gap: 8px; }
  .promo-feature  { padding: 12px 14px; gap: 10px; }
  .promo-feature-text { font-size: 13px; }

  /* CTA card — full width on tiny screens */
  #cta-card { padding: 36px 24px 28px; }
}

/* ── CTA Overlay ─────────────────────────────────────────────────────── */
#cta-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#cta-overlay.show { opacity: 1; pointer-events: auto; }

#cta-card {
  position: relative;
  background: rgba(8,12,28,.92);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 44px 40px 36px;
  text-align: center;
  max-width: 380px;
  width: calc(100vw - 48px);
  box-shadow: 0 24px 64px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateY(12px);
  transition: transform 0.3s ease;
}
#cta-overlay.show #cta-card { transform: translateY(0); }

#cta-close {
  position: absolute; top: 14px; right: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5); font-size: 13px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
#cta-close:hover { background: rgba(255,255,255,.14); color: #fff; }

#cta-logo { font-size: 48px; line-height: 1; margin-bottom: 14px; }
#cta-title { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: -0.5px; margin-bottom: 12px; }
#cta-tagline { font-size: 14px; color: rgba(255,255,255,.62); line-height: 1.6; margin-bottom: 24px; }
#cta-btn {
  display: inline-block;
  padding: 13px 28px;
  background: linear-gradient(135deg, #5b8fff 0%, #7c5fff 100%);
  color: #fff; font-size: 15px; font-weight: 600;
  text-decoration: none; border-radius: 10px;
  letter-spacing: 0.2px;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(91,143,255,.38);
}
#cta-btn:hover { opacity: .92; transform: translateY(-1px); }
#cta-btn:active { transform: translateY(0); }
#cta-sub { font-size: 11px; color: rgba(255,255,255,.32); margin-top: 14px; letter-spacing: 0.2px; }
