@font-face {
  font-family: "Circular";
  src: url("./assets/fonts/circular-book.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Circular";
  src: url("./assets/fonts/circular-bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}

@font-face {
  font-family: "Marvin";
  src: url("./assets/fonts/Marvin.otf") format("opentype");
  font-display: swap;
}

:root {
  --bg-purple: #8e39d9;
  --bg-cyan: #00aff6;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.86);
  --glass: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.28);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Circular", sans-serif;
  color: var(--text);
  position: relative;
  overflow-x: hidden;
}

.home-page {
  min-height: 100vh;
}

.bg-scroll,
.bg-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg-scroll {
  z-index: -3;
  background-image: url("./assets/images/bg_full.webp");
  background-repeat: repeat-y;
  background-size: cover;
  animation: scroll-bg 18s linear infinite;
}

.bg-gradient {
  z-index: -2;
  background: linear-gradient(180deg, rgba(0, 175, 246, 0.66) 0%, rgba(142, 57, 217, 0.9) 100%);
}

.blob {
  position: fixed;
  width: min(38vw, 340px);
  opacity: 0.9;
  pointer-events: none;
  filter: blur(1px);
  z-index: -1;
}

.blob-1 {
  top: 7vh;
  left: -70px;
  animation: blob-float-1 9s ease-in-out infinite;
}

.blob-2 {
  right: -90px;
  top: 18vh;
  animation: blob-float-2 12s ease-in-out infinite;
}

.blob-3 {
  bottom: 5vh;
  left: 30%;
  animation: blob-float-3 10s ease-in-out infinite;
}

.site-header {
  width: min(1120px, 92vw);
  margin: 22px auto 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Marvin", "Circular", sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
  font-size: 1.15rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  opacity: 0.95;
}

.hero {
  width: min(1120px, 92vw);
  margin: 6vh auto 0;
  display: grid;
  gap: 34px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.82rem;
  opacity: 1;
  color: #3cb5d6;
}

h1 {
  font-family: "Marvin", "Circular", sans-serif;
  font-size: clamp(2rem, 5.4vw, 4.1rem);
  line-height: 1.03;
  margin: 10px 0 14px;
  text-wrap: balance;
}

.hero-copy h1 {
  color: #ffda4d;
}

.brand {
  color: #fff08a;
}

.subtitle {
  margin: 0;
  max-width: 54ch;
  color: var(--text-dim);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.5;
}

.cta {
  margin-top: 26px;
  display: inline-block;
  text-decoration: none;
  color: #08243e;
  font-weight: 700;
  background: #ffffff;
  padding: 13px 24px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.hero-art img {
  width: 100%;
  max-width: 380px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.3));
  animation: hero-bob 3.2s ease-in-out infinite;
}

.site-footer {
  width: min(1120px, 92vw);
  margin: 38px auto 24px;
  opacity: 0.86;
  font-size: 0.95rem;
}

.privacy-wrap {
  width: min(920px, 92vw);
  margin: 20px auto 30px;
}

.privacy-card {
  background: rgba(5, 13, 22, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 22px 22px 10px;
  line-height: 1.55;
}

.privacy-card h1,
.privacy-card h2 {
  font-family: "Circular", sans-serif;
  margin-top: 0;
}

.privacy-card h2 {
  margin-top: 22px;
}

.privacy-card ul {
  padding-left: 1.2rem;
}

.privacy-card a {
  color: #bde8ff;
}

.small-note {
  opacity: 0.78;
  font-size: 0.92rem;
}

@keyframes scroll-bg {
  from {
    background-position: center 0;
  }
  to {
    background-position: center 1024px;
  }
}

@keyframes hero-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes blob-float-1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(12px, -14px) rotate(10deg);
  }
}

@keyframes blob-float-2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-16px, 12px) rotate(-10deg);
  }
}

@keyframes blob-float-3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-8px, -18px) rotate(8deg);
  }
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    margin-top: 4vh;
    gap: 20px;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    max-width: 260px;
  }

  .site-header {
    margin-top: 14px;
  }
}

.remove-account-card ol {
  padding-left: 1.25rem;
}

.remove-account-form {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.remove-account-form label {
  font-weight: 700;
}

.remove-account-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 12px 14px;
  font: inherit;
  outline: none;
}

.remove-account-form input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.remove-account-form input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.remove-account-form button {
  width: fit-content;
  min-width: 180px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 700;
  color: #08243e;
  background: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.remove-account-form button:disabled {
  cursor: not-allowed;
  opacity: 1;
  background: #9fa8b3;
  color: #f3f6f9;
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(8, 36, 62, 0.24);
  border-top-color: #08243e;
  animation: spin 700ms linear infinite;
  display: none;
}

.remove-account-form button.is-loading .spinner {
  display: inline-block;
}

.remove-account-form button.is-loading .btn-text {
  opacity: 0.88;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
