@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/poppins-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('assets/fonts/poppins-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('assets/fonts/poppins-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/poppins-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 600;
  src: url('assets/fonts/baloo2-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/baloo2-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  src: url('assets/fonts/baloo2-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 600;
  src: url('assets/fonts/orbitron-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/orbitron-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 800;
  src: url('assets/fonts/orbitron-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Cookie';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/cookie-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/pacifico-400.woff2') format('woff2');
}

:root {
  --u: calc(100vw / 1920);
  --pink: #ff2fa3;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background-color: #08070d;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-area {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: url('assets/hero-bg.png') center / cover no-repeat;
}

.hero-area::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: max(calc(240 * var(--u)), 180px);
  background: linear-gradient(180deg, rgba(7, 6, 11, 0) 0%, rgba(7, 6, 11, 0.55) 55%, #07060b 100%);
  pointer-events: none;
}

/* ---------- Navbar ---------- */

.nav-wrap {
  display: flex;
  justify-content: center;
  padding-top: calc(16 * var(--u));
}

.navbar {
  /* hug the contents instead of spanning 75% with dead space in the middle */
  width: fit-content;
  max-width: min(94%, 1520px);
  height: calc(62 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(22 * var(--u));
  padding: 0 calc(20 * var(--u));
  background: rgba(0, 0, 0, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
}

.brand {
  display: flex;
  align-items: center;
  gap: calc(13 * var(--u));
  text-decoration: none;
  color: #fff;
  margin-left: calc(6 * var(--u));
  white-space: nowrap;
}

.brand img {
  width: max(calc(48 * var(--u)), 32px);
  height: max(calc(48 * var(--u)), 32px);
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  font-family: 'Baloo 2', sans-serif;
  font-size: max(calc(23 * var(--u)), 15px);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: calc(42 * var(--u));
  list-style: none;
  margin-left: calc(16 * var(--u));
}

.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(9 * var(--u));
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: max(calc(16.5 * var(--u)), 12px);
  font-weight: 500;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--pink);
}

.nav-links a svg {
  width: max(calc(21 * var(--u)), 15px);
  height: max(calc(21 * var(--u)), 15px);
}

.nav-links a.active {
  color: var(--pink);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: -4px;
  height: calc(4 * var(--u));
  border-radius: 4px;
  background: var(--pink);
}

/* Invite sits in the button cluster, immediately left of Login.
   Selectors are doubled up because .login-btn is declared later. */
.login-btn.nav-invite {
  margin-left: 0;
  border-color: rgba(255, 47, 163, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
              0 0 26px -8px rgba(255, 47, 163, 0.6);
}

.login-btn.nav-invite:hover {
  border-color: rgba(255, 47, 163, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
              0 0 30px -6px rgba(255, 47, 163, 0.75);
}

.login-btn.nav-invite + .login-btn {
  margin-left: max(calc(12 * var(--u)), 10px);
}

/* Keeps Invite + Login together as one right-hand group */
.nav-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  margin-left: 0;
  padding: calc(10 * var(--u)) calc(24 * var(--u));
  background: rgba(0, 0, 0, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: max(calc(16.5 * var(--u)), 12px);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  transition: background 0.2s;
}

.login-btn:hover {
  background: rgba(0, 0, 0, 0.64);
}

.login-btn svg {
  width: max(calc(20 * var(--u)), 15px);
  height: max(calc(20 * var(--u)), 15px);
}

/* ---------- Hero title (logo image) ---------- */

.hero {
  /* 0 shrink: the longer About copy must never be pushed under the stats band */
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-title {
  margin: 0;
  width: fit-content;
}

.hero-title img {
  display: block;
  width: calc(724 * var(--u));
  height: auto;
  margin-left: calc(50.6 * var(--u));
  /* page y 71.3 minus the 100u nav band above .hero */
  margin-top: calc(-27 * var(--u));
  user-select: none;
  -webkit-user-drag: none;
}

/* ---------- Hero content ---------- */

.hero-content {
  /* img bottom ends at 320.7u; keep About-block ink at its verified page position */
  margin: calc(-5.7 * var(--u)) auto 0 max(5.2vw, 40px);
  max-width: 700px;
  position: relative;
  z-index: 0;
}

/* soft dark shadow behind the whole About block, like the reference */
.hero-content::before {
  content: '';
  position: absolute;
  inset: calc(-70 * var(--u)) calc(-140 * var(--u)) calc(-110 * var(--u)) calc(-140 * var(--u));
  background: radial-gradient(ellipse farthest-side at 44% 46%,
    rgba(3, 12, 5, 0.92) 0%,
    rgba(3, 12, 5, 0.7) 42%,
    rgba(3, 12, 5, 0.28) 66%,
    rgba(3, 12, 5, 0) 90%);
  z-index: -1;
  pointer-events: none;
}

.about-title {
  position: relative;
  font-size: max(calc(26 * var(--u)), 18px);
  font-weight: 700;
  letter-spacing: 0.2px;
  padding-left: calc(23 * var(--u));
}

.about-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: calc(6 * var(--u));
  border-radius: 4px;
  background: var(--pink);
}

.about-text {
  margin-top: calc(9 * var(--u));
  padding-left: calc(23 * var(--u));
  font-size: max(calc(18 * var(--u)), 12px);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.96);
  /* Shadow lives on the letters themselves: a tight dark offset plus two
     short halos that hug each glyph, so there is no plate or rectangle. */
  text-shadow:
    0 0.04em 0.07em rgba(0, 0, 0, 0.9),
    0 0.09em 0.24em rgba(0, 0, 0, 0.72),
    0 0.16em 0.5em rgba(0, 0, 0, 0.42);
}

.about-text .heart {
  width: max(calc(22 * var(--u)), 15px);
  height: max(calc(22 * var(--u)), 15px);
  color: var(--pink);
  vertical-align: -4px;
  transform: rotate(8deg);
}

.about-text + .about-text {
  margin-top: max(calc(7 * var(--u)), 5px);
}

.about-kicker {
  color: #f868b4;
  font-weight: 600;
}

.about-sign {
  color: rgba(255, 255, 255, 0.85);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: calc(20 * var(--u));
  margin-top: calc(16 * var(--u));
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: calc(14 * var(--u));
  padding: calc(14 * var(--u)) calc(32 * var(--u));
  min-height: 46px;
  border-radius: 999px;
  font-size: max(calc(18 * var(--u)), 14px);
  font-weight: 700;
  letter-spacing: 0.1px;
  text-decoration: none;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

.btn .chev {
  width: max(calc(19 * var(--u)), 13px);
  height: max(calc(19 * var(--u)), 13px);
  margin-left: -2px;
}

.btn-pink {
  background: linear-gradient(150deg, rgba(52, 20, 42, 0.99), rgba(6, 4, 9, 1));
  border: 2px solid rgba(255, 96, 194, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
              inset 0 0 20px rgba(255, 47, 163, 0.22),
              0 20px 44px -16px rgba(0, 0, 0, 0.95),
              0 8px 20px -8px rgba(0, 0, 0, 0.7),
              0 0 38px -8px rgba(255, 47, 163, 0.8);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.btn-pink .bot {
  width: max(calc(26 * var(--u)), 18px);
  height: max(calc(26 * var(--u)), 18px);
  color: #ff8ac8;
}

.btn-dark {
  background: linear-gradient(150deg, rgba(40, 36, 48, 0.99), rgba(7, 6, 11, 1));
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32),
              inset 0 0 18px rgba(255, 255, 255, 0.09),
              0 20px 44px -16px rgba(0, 0, 0, 0.95),
              0 8px 20px -8px rgba(0, 0, 0, 0.7),
              0 0 28px -12px rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.btn-dark .book {
  width: max(calc(24 * var(--u)), 16px);
  height: max(calc(24 * var(--u)), 16px);
}

/* ---------- Stats band ---------- */

.stats-band {
  position: relative;
  z-index: 2;
  /* ride up over the hero's darkened bottom edge so the stats are visible on entry */
  margin-top: max(calc(-95 * var(--u)), -95px);
  padding: max(calc(8 * var(--u)), 6px) 24px max(calc(34 * var(--u)), 26px);
  background: transparent;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: -90px 0 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(7, 6, 11, 0) 0%, rgba(7, 6, 11, 0.55) 45%, rgba(7, 6, 11, 0.92) 80%, #07060b 100%);
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: max(calc(34 * var(--u)), 26px);
  width: min(88%, 1400px);
  margin: 0 auto;
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: max(calc(7 * var(--u)), 5px);
  padding: max(calc(12 * var(--u)), 9px) max(calc(10 * var(--u)), 8px);
  background: linear-gradient(180deg, rgba(22, 18, 30, 0.72), rgba(10, 9, 15, 0.84));
  border: 1px solid rgba(255, 95, 173, 0.16);
  border-radius: max(calc(18 * var(--u)), 14px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.3s cubic-bezier(0.3, 1.2, 0.4, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  animation: statIn 0.5s ease both;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 47, 163, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.09) 46%, rgba(255, 143, 207, 0.14) 52%, transparent 68%);
  background-size: 260% 260%;
  background-position: 130% 0;
  opacity: 0;
  transition: background-position 0.9s ease, opacity 0.3s ease;
  pointer-events: none;
}

.stat-card:nth-child(1) { animation-delay: 0.5s; }
.stat-card:nth-child(2) { animation-delay: 0.58s; }
.stat-card:nth-child(3) { animation-delay: 0.66s; }
.stat-card:nth-child(4) { animation-delay: 0.74s; }
.stat-card:nth-child(5) { animation-delay: 0.82s; }

.stat-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(255, 95, 173, 0.55);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 47, 163, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover::after {
  opacity: 1;
  background-position: -60% 0;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff5fad;
  filter: drop-shadow(0 3px 10px rgba(255, 47, 163, 0.35));
  transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.4, 1), filter 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.22) rotate(-8deg);
  filter: drop-shadow(0 0 12px rgba(255, 47, 163, 0.75));
}

.stat-icon svg {
  width: max(calc(22 * var(--u)), 18px);
  height: max(calc(22 * var(--u)), 18px);
}

.stat-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: max(calc(5 * var(--u)), 4px);
}

.stat-value {
  position: relative;
  font-family: 'Baloo 2', sans-serif;
  font-size: max(calc(36 * var(--u)), 27px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.stat-card:hover .stat-value {
  background: linear-gradient(105deg, #ffffff 20%, #ffb7dc 55%, #ff5fad 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-spark {
  position: absolute;
  top: calc(-7 * var(--u));
  right: calc(-15 * var(--u));
  width: max(calc(15 * var(--u)), 12px);
  height: max(calc(15 * var(--u)), 12px);
  fill: #ffd7ea;
  filter: drop-shadow(0 0 6px rgba(255, 150, 200, 0.8));
}

.stat-label {
  font-family: 'Poppins', sans-serif;
  font-size: max(calc(11.5 * var(--u)), 10px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.stat-card:hover .stat-label {
  color: rgba(255, 143, 207, 0.95);
  letter-spacing: 0.2em;
  text-shadow: 0 0 10px rgba(255, 47, 163, 0.45);
}

.stat-card:hover .stat-spark {
  transform: scale(1.5) rotate(90deg);
  transform-origin: center;
}

.stat-spark {
  transition: transform 0.4s cubic-bezier(0.3, 1.4, 0.4, 1);
}

@keyframes statIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Footer ---------- */

.footer {
  background: #050408;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: max(calc(70 * var(--u)), 48px) 24px max(calc(32 * var(--u)), 24px);
}

.footer-inner {
  width: min(62%, 1220px);
  margin: 0 auto;
}

.footer-cols {
  display: flex;
  justify-content: space-between;
  gap: max(calc(60 * var(--u)), 40px);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: max(calc(16 * var(--u)), 12px);
  text-decoration: none;
}

.footer-brand img {
  width: max(calc(56 * var(--u)), 44px);
  height: max(calc(56 * var(--u)), 44px);
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(255, 47, 163, 0.35);
}

.footer-brand .name {
  font-family: 'Baloo 2', sans-serif;
  font-size: max(calc(26 * var(--u)), 20px);
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  white-space: nowrap;
}

.footer-brand .name b {
  color: var(--pink);
  font-weight: 800;
}

.footer-desc {
  margin-top: max(calc(24 * var(--u)), 16px);
  font-size: max(calc(15.5 * var(--u)), 12px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

.footer-socials {
  display: flex;
  gap: max(calc(14 * var(--u)), 10px);
  margin-top: max(calc(28 * var(--u)), 18px);
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max(calc(50 * var(--u)), 40px);
  height: max(calc(50 * var(--u)), 40px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: background 0.2s;
}

.social:hover {
  background: rgba(255, 255, 255, 0.12);
}

.social svg {
  width: max(calc(21 * var(--u)), 17px);
  height: max(calc(21 * var(--u)), 17px);
}

.social.glow {
  background: rgba(255, 47, 163, 0.12);
  border-color: rgba(255, 47, 163, 0.35);
  box-shadow: 0 0 22px rgba(255, 47, 163, 0.4);
}

.footer-heading {
  font-size: max(calc(15 * var(--u)), 12px);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: max(calc(26 * var(--u)), 18px);
  list-style: none;
  margin-top: max(calc(20 * var(--u)), 14px);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
  font-size: max(calc(15.5 * var(--u)), 12px);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #f868b4;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: max(calc(30 * var(--u)), 20px);
  padding: max(calc(13 * var(--u)), 10px) max(calc(26 * var(--u)), 20px);
  border-radius: 999px;
  background: linear-gradient(90deg, #ff2fa3, #e9408f);
  box-shadow: 0 8px 26px rgba(255, 47, 163, 0.4);
  color: #fff;
  font-size: max(calc(15 * var(--u)), 12px);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.2s, transform 0.2s;
}

.footer-cta:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.footer-cta svg {
  width: max(calc(19 * var(--u)), 15px);
  height: max(calc(19 * var(--u)), 15px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: max(calc(56 * var(--u)), 36px);
  padding-top: max(calc(26 * var(--u)), 18px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  font-size: max(calc(14.5 * var(--u)), 11px);
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom .heart {
  width: max(calc(16 * var(--u)), 13px);
  height: max(calc(16 * var(--u)), 13px);
  color: var(--pink);
  vertical-align: -3px;
  transform: rotate(8deg);
}

.footer-legal {
  display: flex;
  gap: max(calc(30 * var(--u)), 20px);
  list-style: none;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: max(calc(14.5 * var(--u)), 11px);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #fff;
}

/* ---------- Sub page (Terms) ---------- */

.hero-area.sub {
  min-height: 0;
  height: max(calc(430 * var(--u)), 340px);
  background-position: center 15%;
}

.sub-title {
  margin: auto;
  padding-bottom: max(calc(30 * var(--u)), 20px);
  font-family: 'Pacifico', 'Segoe Script', cursive;
  font-weight: 400;
  font-size: max(calc(64 * var(--u)), 42px);
  line-height: 1;
  color: #fff;
  text-align: center;
  -webkit-text-stroke: 0.05em currentColor;
  text-shadow: 0.045em 0.06em 0.015em rgba(5, 15, 8, 0.55), 0 14px 30px rgba(0, 0, 0, 0.5);
}

.sub-title::after {
  content: '';
  display: block;
  width: max(calc(110 * var(--u)), 70px);
  height: max(calc(8 * var(--u)), 5px);
  margin: max(calc(18 * var(--u)), 12px) auto 0;
  border-radius: 6px;
  background: var(--pink);
}

.terms-section {
  position: relative;
  background: #08070d;
  padding: max(calc(56 * var(--u)), 42px) 24px max(calc(88 * var(--u)), 62px);
  overflow: hidden;
}

.terms-section::before,
.terms-section::after {
  content: '♪';
  position: absolute;
  font-family: 'Baloo 2', sans-serif;
  color: rgba(255, 47, 163, 0.05);
  pointer-events: none;
}

.terms-section::before {
  top: 8%;
  left: 4%;
  font-size: clamp(90px, 12vw, 190px);
  transform: rotate(-14deg);
}

.terms-section::after {
  bottom: 6%;
  right: 5%;
  font-size: clamp(70px, 9vw, 150px);
  transform: rotate(12deg);
}

.legal-inner {
  position: relative;
  z-index: 1;
  width: min(76%, 1120px);
  margin: 0 auto;
}

.legal-topline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: max(calc(24 * var(--u)), 18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.legal-crumb {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: max(calc(13.5 * var(--u)), 11px);
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--pink);
}

.legal-crumb span {
  color: rgba(255, 255, 255, 0.28);
  font-weight: 400;
  margin: 0 4px;
}

.legal-updated {
  font-size: max(calc(14 * var(--u)), 11px);
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.legal-block {
  display: grid;
  grid-template-columns: max(calc(96 * var(--u)), 76px) 1fr;
  gap: max(calc(34 * var(--u)), 26px);
  padding: max(calc(40 * var(--u)), 30px) 0 max(calc(46 * var(--u)), 34px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: max(calc(14 * var(--u)), 10px);
  padding-top: max(calc(4 * var(--u)), 3px);
}

.legal-rail::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: calc(-1 * max(calc(46 * var(--u)), 34px));
  width: 1px;
  background: rgba(255, 255, 255, 0.09);
}

.legal-icon {
  position: relative;
  z-index: 1;
  width: max(calc(56 * var(--u)), 46px);
  height: max(calc(56 * var(--u)), 46px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--pink);
  background: #0d0b14;
  border: 1px solid rgba(255, 95, 173, 0.42);
  box-shadow: 0 0 20px rgba(255, 47, 163, 0.14), inset 0 0 14px rgba(255, 47, 163, 0.07);
}

.legal-icon svg {
  width: 46%;
  height: 46%;
}

.legal-num {
  position: relative;
  z-index: 1;
  background: #08070d;
  padding: 2px 4px;
  font-size: max(calc(12.5 * var(--u)), 10px);
  font-weight: 600;
  letter-spacing: 1.6px;
  color: rgba(255, 255, 255, 0.35);
}

.legal-body h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: max(calc(34 * var(--u)), 25px);
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--pink);
  text-shadow: 0 0 26px rgba(255, 47, 163, 0.22);
}

.legal-list {
  margin-top: max(calc(18 * var(--u)), 14px);
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: max(calc(12 * var(--u)), 9px) max(calc(44 * var(--u)), 34px);
}

.legal-list li {
  position: relative;
  padding-left: max(calc(26 * var(--u)), 21px);
  font-size: max(calc(15.5 * var(--u)), 12.5px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
}

.legal-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--pink);
}

.legal-note {
  margin-top: max(calc(18 * var(--u)), 14px);
  font-size: max(calc(15 * var(--u)), 12px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  padding-left: max(calc(16 * var(--u)), 13px);
  border-left: 3px solid rgba(255, 95, 173, 0.5);
}

/* ---------- Rail scroll ball ---------- */

.rail-fill {
  position: absolute;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(255, 47, 163, 0.95), rgba(255, 95, 173, 0.55));
  box-shadow: 0 0 9px rgba(255, 47, 163, 0.55);
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
}

.rail-arrow {
  position: absolute;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  color: #ff5fad;
  filter: drop-shadow(0 0 6px rgba(255, 47, 163, 0.9)) drop-shadow(0 0 18px rgba(255, 47, 163, 0.45));
  pointer-events: none;
  z-index: 2;
}

.rail-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.legal-icon {
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.legal-rail.is-passed .legal-icon {
  background: linear-gradient(180deg, #ff5fad, #ff2fa3);
  border-color: rgba(255, 95, 173, 0.9);
  color: #22030f;
  box-shadow: 0 0 20px rgba(255, 47, 163, 0.55), inset 0 0 8px rgba(255, 255, 255, 0.25);
}

.legal-num {
  transition: color 0.4s ease;
}

.legal-icon.is-passed + .legal-num,
.legal-rail.is-passed .legal-num {
  color: rgba(255, 143, 207, 0.9);
}

/* ---------- Scroll progress paw ---------- */

.scroll-progress {
  position: fixed;
  right: max(calc(26 * var(--u)), 20px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: max(calc(12 * var(--u)), 9px);
  height: min(62vh, 600px);
  pointer-events: none;
}

.sp-label {
  writing-mode: vertical-rl;
  font-family: 'Baloo 2', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255, 143, 207, 0.5);
}

.sp-diamond {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 95, 173, 0.4);
  border-radius: 1.5px;
  background: #0d0b14;
  transform: rotate(45deg);
}

.sp-track {
  position: relative;
  flex: 1;
  width: 22px;
}

.sp-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    rgba(255, 95, 173, 0.04),
    rgba(255, 95, 173, 0.2) 10%,
    rgba(255, 95, 173, 0.2) 90%,
    rgba(255, 95, 173, 0.04));
}

.sp-track::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 9%;
  bottom: 9%;
  width: 9px;
  transform: translateX(-50%);
  background-image: repeating-linear-gradient(to bottom,
    rgba(255, 143, 207, 0.22) 0,
    rgba(255, 143, 207, 0.22) 1px,
    transparent 1px,
    transparent 54px);
}

.sp-thumb {
  position: absolute;
  left: 50%;
  top: 0;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 4px rgba(255, 47, 163, 0.25));
  transition: filter 350ms ease;
}

.scroll-progress.is-scrolling .sp-thumb {
  filter: drop-shadow(0 0 8px rgba(255, 47, 163, 0.45));
}

.sp-paw {
  display: block;
  width: 100%;
  height: 100%;
}

.sp-pct {
  font-family: 'Baloo 2', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  text-shadow: 0 0 6px rgba(255, 47, 163, 0.2);
}

@media (max-width: 920px) {
  .scroll-progress {
    display: none;
  }
}

/* ---------- Craft: eyebrow, grain, selection, motion ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: calc(12 * var(--u));
  font-family: 'Baloo 2', sans-serif;
  font-size: max(calc(14.5 * var(--u)), 11px);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #f868b4;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: calc(12 * var(--u));
}

.eyebrow::before {
  content: '';
  width: calc(30 * var(--u));
  height: calc(3 * var(--u));
  border-radius: 3px;
  background: #f868b4;
  box-shadow: 0 0 8px rgba(248, 104, 180, 0.6);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: #ff2fa3;
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0910;
}

::-webkit-scrollbar-thumb {
  background: #2a2133;
  border-radius: 6px;
  border: 2px solid #0a0910;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a2b45;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #2a2133 #0a0910;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.nav-wrap {
  animation: navDrop 0.55s cubic-bezier(0.3, 1.2, 0.4, 1) both;
}

.hero-title img {
  animation: fadeUp 0.65s cubic-bezier(0.3, 1.1, 0.4, 1) 0.15s both;
}

.hero-content {
  animation: fadeUp 0.6s cubic-bezier(0.3, 1.1, 0.4, 1) 0.5s both;
}

.nav-links a:not(.active)::after {
  content: '';
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: -4px;
  height: calc(4 * var(--u));
  border-radius: 4px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease-out;
}

.nav-links a:not(.active):hover::after {
  transform: scaleX(1);
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .navbar {
    width: min(94%, 620px);
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
    padding: 12px 18px;
    border-radius: 28px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .login-btn,
  .nav-invite,
  .nav-actions {
    margin-left: 0;
  }

  .hero-content {
    margin-right: 40px;
  }

  .about-text br {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(88%, 640px);
  }

  .footer-inner {
    width: 88%;
  }

  .legal-inner {
    width: 88%;
  }

  .legal-block {
    grid-template-columns: 1fr;
    gap: max(calc(18 * var(--u)), 14px);
  }

  .legal-rail {
    flex-direction: row;
    justify-content: flex-start;
    gap: max(calc(12 * var(--u)), 9px);
    padding-top: 0;
  }

  .legal-rail::before {
    display: none;
  }

  .legal-icon {
    width: max(calc(44 * var(--u)), 38px);
    height: max(calc(44 * var(--u)), 38px);
  }

  .legal-list {
    grid-template-columns: 1fr;
  }

  .legal-topline {
    flex-direction: column;
    gap: 6px;
  }

  .footer-cols {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .about-text {
    line-height: 1.62;
  }

  .about-text + .about-text {
    margin-top: 7px;
  }

  .stats-band {
    padding: 6px 24px 22px;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 14px 10px;
    width: 88%;
  }

  .stat-card {
    gap: 8px;
    padding: 8px 10px;
  }

  .stat-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .stat-icon svg {
    width: 18px;
    height: 18px;
  }

  .stat-value {
    font-size: 22px;
  }

  .stat-label {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .stat-spark {
    width: 11px;
    height: 11px;
    right: -7px;
  }
}

/* ---------- MEOW glass-edge button system (CSS-only beam, per spec PDF) ---------- */

@property --meow-beam-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.meow-button {
  --meow-beam-angle: 0deg;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.meow-button.social {
  border-radius: 14px;
}

/* static glass track, clipped to the button's own radius */
.meow-button::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 4px;
  border-radius: inherit;
  background: linear-gradient(180deg,
    rgba(255, 205, 239, 0.28) 0%,
    rgba(255, 140, 205, 0.10) 45%,
    rgba(255, 47, 163, 0.30) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* the only animated edge light: one soft beam lapping the perimeter */
.meow-button::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 4px;
  border-radius: inherit;
  background: conic-gradient(from var(--meow-beam-angle),
    transparent 0deg 185deg,
    rgba(255, 143, 207, 0) 198deg,
    rgba(255, 143, 207, 0.55) 230deg,
    rgba(255, 226, 243, 0.95) 252deg,
    rgba(255, 47, 163, 0.75) 274deg,
    rgba(255, 47, 163, 0) 302deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  filter: blur(2.8px);
  opacity: 0.92;
  pointer-events: none;
  will-change: --meow-beam-angle;
  animation: meowGlassEdgeTravel 3.2s linear infinite;
}

.meow-button > * {
  position: relative;
  z-index: 2;
}

.meow-button:hover {
  color: rgba(248, 242, 250, 0.92);
  transform: translateY(-1px);
}

.meow-button:hover::after {
  opacity: 0.96;
  filter: blur(3px);
}

.meow-button:active {
  transform: translateY(0);
}

.meow-button:focus-visible {
  outline: 2px solid rgba(255, 193, 234, 0.7);
  outline-offset: 3px;
}

@keyframes meowGlassEdgeTravel {
  to { --meow-beam-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .meow-button::after {
    animation: none;
  }
}

.btn:focus-visible,
.login-btn:focus-visible,
.social:focus-visible {
  outline: 2px solid rgba(255, 193, 234, 0.7);
  outline-offset: 3px;
}

