:root {
  --bg-deep: #07060a;
  --bg-mid: #120c18;
  --text: #e8e4ef;
  --text-muted: #8a8299;
  --accent: #ff2d55;
  --accent-soft: rgba(255, 45, 85, 0.15);
  --violet: #7c3aed;
  --violet-glow: rgba(124, 58, 237, 0.45);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: radial-gradient(
      ellipse 120% 80% at 50% -20%,
      var(--violet-glow),
      transparent 55%
    ),
    linear-gradient(165deg, var(--bg-mid) 0%, var(--bg-deep) 45%, #0a0810 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: min(60vw, 420px);
  height: min(60vw, 420px);
  top: 10%;
  left: -10%;
  background: var(--violet);
  opacity: 0.2;
}

.glow-2 {
  width: min(50vw, 360px);
  height: min(50vw, 360px);
  bottom: -5%;
  right: -10%;
  background: var(--accent);
  opacity: 0.12;
}

.top-bar {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding-top: max(1rem, env(safe-area-inset-top, 0px));
  padding-bottom: 1rem;
  padding-inline: max(1.25rem, env(safe-area-inset-left, 0px))
    max(1.25rem, env(safe-area-inset-right, 0px));
  display: flex;
  justify-content: center;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 40rem;
  min-width: 0;
  padding-top: 0.5rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
  padding-inline: max(1.25rem, env(safe-area-inset-left, 0px))
    max(1.25rem, env(safe-area-inset-right, 0px));
}

.hero-visual {
  margin-bottom: 1.5rem;
}

.avatar-wrap {
  position: relative;
  width: clamp(140px, 36vw, 200px);
  height: clamp(140px, 36vw, 200px);
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--violet) 50%,
    var(--accent) 100%
  );
  box-shadow: 0 0 60px var(--accent-soft), 0 20px 50px rgba(0, 0, 0, 0.5);
}

.avatar-wrap::after {
  content: "";
  position: absolute;
  inset: max(-10px, -2.5vw);
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-deep);
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-size: clamp(0.75rem, 2.8vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  max-width: 100%;
  padding-inline: 0.25rem;
}

.title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 11vw + 0.5rem, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 100%;
  overflow-wrap: break-word;
  padding-inline: 0.125rem;
}

.title-line {
  display: block;
}

.title-accent {
  background: linear-gradient(105deg, #fff 0%, #f0e8ff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 80px var(--violet-glow);
}

@media (prefers-reduced-motion: no-preference) {
  .title-accent {
    animation: pulse-soft 4s ease-in-out infinite;
  }
}

@keyframes pulse-soft {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

.tagline {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 3.5vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 28em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  max-width: 22rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 45, 85, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff2d55 0%, #c9184a 100%);
  box-shadow: 0 8px 32px rgba(255, 45, 85, 0.35);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 45, 85, 0.45);
  }
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 4px 20px rgba(255, 45, 85, 0.3);
}

.icon-tiktok {
  width: 1.25rem;
  height: 1.25rem;
}

.footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 40rem;
  padding-top: 1rem;
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  padding-inline: max(1.25rem, env(safe-area-inset-left, 0px))
    max(1.25rem, env(safe-area-inset-right, 0px));
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: clamp(0.6875rem, 2.5vw, 0.75rem);
  line-height: 1.45;
  color: var(--text-muted);
  overflow-wrap: break-word;
}

/* Short viewports (landscape phones, small windows): keep content usable */
@media (max-height: 520px) {
  .hero-visual {
    margin-bottom: 0.75rem;
  }

  .avatar-wrap {
    width: clamp(100px, 28vw, 160px);
    height: clamp(100px, 28vw, 160px);
  }

  .title {
    margin-bottom: 0.5rem;
    font-size: clamp(2.25rem, 9vw, 3.25rem);
  }

  .tagline {
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
  }
}

/* Wider screens: button no longer needs full row width */
@media (min-width: 480px) {
  .cta-row {
    align-items: center;
  }

  .btn {
    width: auto;
    min-width: 12.5rem;
    padding-inline: 2rem;
  }
}
