:root {
  --bg: #000;
  --brand-purple: #7a55e8;
  --brand-lime: #b7cb56;
  --brand-gold: #f5a623;
  --text-primary: #fff;
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-soft: rgba(255, 255, 255, 0.72);
  --border-thin: rgba(185, 140, 233, 0.12);
  --card-line: rgba(255, 255, 255, 0.08);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text-primary);
  font-family: Inter, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ——— Atmosphere ——— */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: glow-drift 14s var(--ease-out) infinite alternate;
}

.ambient__glow--purple {
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  top: -12%;
  left: 50%;
  translate: -50% 0;
  background: radial-gradient(circle, var(--brand-purple) 0%, transparent 70%);
}

.ambient__glow--lime {
  width: min(50vw, 420px);
  height: min(50vw, 420px);
  bottom: -8%;
  right: -5%;
  background: radial-gradient(circle, rgba(183, 203, 86, 0.45) 0%, transparent 70%);
  animation-delay: -4s;
  opacity: 0.18;
}

.ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, black 10%, transparent 75%);
  opacity: 0.5;
}

@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, 24px, 0) scale(1.06); }
}

/* ——— Header ——— */
.header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border-thin);
  animation: fade-down 0.7s var(--ease-out) both;
}

.logo {
  display: inline-flex;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.85;
}

.logo img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.header__tagline {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ——— Main ——— */
.main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
}

.confirm {
  width: min(100%, 720px);
  text-align: center;
}

.confirm__badge {
  display: inline-flex;
  margin-bottom: 1.75rem;
  animation: pop-in 0.7s var(--ease-out) 0.1s both;
}

.confirm__check {
  width: 64px;
  height: 64px;
}

.confirm__check-ring {
  stroke: var(--brand-lime);
  stroke-width: 2;
  fill: rgba(183, 203, 86, 0.08);
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: draw-ring 0.8s var(--ease-out) 0.25s forwards;
}

.confirm__check-mark {
  stroke: var(--brand-lime);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw-mark 0.45s var(--ease-out) 0.7s forwards;
}

.confirm__headline {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  animation: fade-up 0.8s var(--ease-out) 0.2s both;
}

.accent {
  color: var(--brand-purple);
}

.confirm__body {
  color: var(--text-soft);
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  animation: fade-up 0.8s var(--ease-out) 0.3s both;
}

/* ——— Topics (list, not cards) ——— */
.topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 26rem;
  margin: 0 auto 1.75rem;
  text-align: left;
}

.topics__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.15rem 0;
  animation: fade-up 0.7s var(--ease-out) calc(0.4s + var(--i) * 0.1s) both;
}

.topics__marker {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-lime);
  box-shadow: 0 0 0 4px rgba(183, 203, 86, 0.15);
}

.topics__label {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--card-line);
  padding-bottom: 0.85rem;
  width: 100%;
}

.topics__item:last-child .topics__label {
  border-bottom: none;
  padding-bottom: 0;
}

.confirm__note {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 32rem;
  margin: 0 auto 2.25rem;
  animation: fade-up 0.8s var(--ease-out) 0.7s both;
}

/* ——— Buttons ——— */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  animation: fade-up 0.8s var(--ease-out) 0.85s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  color: var(--brand-lime);
  border-color: var(--brand-lime);
  background: transparent;
}

.btn--primary:hover {
  background: var(--brand-lime);
  color: #000;
}

.btn--secondary {
  color: #fff;
  border-color: #fff;
  background: transparent;
}

.btn--secondary:hover {
  background: #fff;
  color: #000;
}

/* ——— Footer ——— */
.footer {
  position: relative;
  z-index: 2;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--border-thin);
  text-align: center;
  animation: fade-up 0.7s var(--ease-out) 1s both;
}

.footer__brand {
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.footer__legal {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.footer__legal a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--brand-lime);
}

/* ——— Motion ——— */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes draw-ring {
  to { stroke-dashoffset: 0; }
}

@keyframes draw-mark {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 560px) {
  .header__tagline {
    display: none;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .topics {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .confirm__check-ring,
  .confirm__check-mark {
    stroke-dashoffset: 0;
  }
}
