:root {
  --paper: #020b10;
  --ink: #f4fbfc;
  --muted: #9eb4bc;
  --line: rgba(0, 210, 255, 0.22);
  --card: #07161d;
  --cyan: #00d4ff;
  --green: #22c55e;
  --shadow: 0 0 28px rgba(0, 212, 255, 0.28);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #01080c;
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
}

.phone {
  width: min(430px, 100%);
  min-height: 100dvh;
  min-height: 100svh;
  margin: 0 auto;
  padding:
    max(20px, env(safe-area-inset-top))
    22px
    max(18px, env(safe-area-inset-bottom));
  background:
    radial-gradient(280px 180px at 50% 90px, rgba(0, 212, 255, 0.2), transparent 70%),
    var(--paper);
  display: flex;
  flex-direction: column;
}

.top { text-align: center; }

.logo {
  display: block;
  width: min(168px, 46vw);
  height: auto;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(0, 212, 255, 0.35),
    0 0 36px rgba(0, 212, 255, 0.45);
}

.eyebrow {
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
}

h1 {
  margin: 8px 0 0;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.deck {
  margin: 12px auto 0;
  max-width: 32ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.points li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.mark {
  width: 8px;
  height: 22px;
  border-radius: 99px;
  background: var(--cyan);
  flex: 0 0 auto;
  align-self: flex-end;
  margin-bottom: 2px;
}

.points li:nth-child(1) .mark { height: 10px; background: #ef4444; }
.points li:nth-child(2) .mark { height: 16px; background: var(--cyan); }
.points li:nth-child(3) .mark { height: 22px; background: var(--green); }

.points strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.points p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.cta {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #2ae4ff 0%, #00b7e0 100%);
  color: #031016;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  animation: ctaGlow 2.2s ease-in-out infinite;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: ctaShine 2.8s ease-in-out infinite;
}

.cta svg {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  fill: currentColor;
  animation: ctaNudge 1.5s ease-in-out infinite;
}

.cta:active { transform: translateY(1px); }

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 10px 24px rgba(0, 212, 255, 0.28); }
  50% {
    box-shadow:
      0 0 0 6px rgba(0, 212, 255, 0.16),
      0 16px 34px rgba(0, 212, 255, 0.45);
  }
}

@keyframes ctaShine {
  0%, 42% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes ctaNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .cta,
  .cta::before,
  .cta svg { animation: none; }
}

.foot {
  width: 100%;
  margin-top: auto;
  padding-top: 22px;
  text-align: center;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}

.links button {
  border: 0;
  padding: 0;
  background: none;
  color: #b7c9cf;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.copy {
  margin: 12px 0 0;
  color: #7f969e;
  font-size: 12px;
}

.ads {
  margin: 14px 0 0;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ads a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.popup-layer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(1, 8, 12, 0.72);
}

.popup-layer[hidden] { display: none; }

.popup {
  width: min(360px, 100%);
  margin: 0;
  padding: 22px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #07161d;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.popup-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: var(--cyan);
  color: #031016;
  display: grid;
  place-items: center;
}

.popup-mark svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.popup h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.popup p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.popup-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn {
  min-height: 48px;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn-cancel {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(0, 212, 255, 0.35);
}

.btn-join {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #03140a;
  border: 0;
  text-decoration: none;
}

.btn:active { transform: translateY(1px); }

.sheet {
  width: min(360px, calc(100% - 32px));
  margin: auto;
  padding: 22px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #07161d;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: left;
}

.sheet::backdrop { background: rgba(1, 8, 12, 0.72); }

.sheet h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.sheet p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.sheet-close {
  width: 100%;
  margin-top: 18px;
}
