:root {
  --purple: #8b4dff;
  --purple-deep: #5b21d6;
  --orange: #ff8a3d;
  --amber: #ffb347;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --ink: #050505;
  --card: rgba(10, 10, 12, 0.78);
  --line: rgba(255, 255, 255, 0.1);
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

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

html,
body {
  min-height: 100%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("hjota-fundo.jpg") 50% -52vw / 175% auto no-repeat;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::before {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.08) 0%, rgba(5, 5, 5, 0.02) 38%, rgba(5, 5, 5, 0.28) 68%, #050505 94%);
}

.hero-bg::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: 0.09;
  mix-blend-mode: overlay;
}

.glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.glow-left {
  left: -80px;
  bottom: 12%;
  background: rgba(139, 77, 255, 0.28);
}

.glow-right {
  right: -70px;
  bottom: 22%;
  background: rgba(255, 138, 61, 0.22);
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  min-height: 100dvh;
  padding: clamp(280px, 72vw, 520px) 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 16px;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  animation: fade-up 0.9s both;
}

.name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 18px rgba(255, 138, 61, 0.35);
}

.verified {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 8px rgba(139, 77, 255, 0.7));
}

.handle {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 500;
  animation: fade-up 1s both;
}

.handle svg {
  width: 16px;
  height: 16px;
}

.cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--purple), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.title {
  font-family: var(--font-display);
  font-size: clamp(18px, 4.7vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  max-width: 18ch;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}

.sub {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(12px, 3.2vw, 14px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.86);
}

.accent {
  background: linear-gradient(90deg, #c084fc, #ff8a3d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.arrow {
  width: 22px;
  height: 38px;
  margin: 8px 0 12px;
  color: var(--orange);
  filter: drop-shadow(0 0 8px rgba(255, 138, 61, 0.7));
  animation: bob 1.35s ease-in-out infinite;
}

.banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% + 32px);
  margin: 8px -16px 0;
  padding: 28px 16px 22px;
  background: #fff;
  box-shadow: none;
  animation: fade-up 0.95s both;
}

.banner-ring {
  position: relative;
  isolation: isolate;
  display: block;
  width: min(58vw, 220px);
  height: min(58vw, 220px);
  padding: 4px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 28px rgba(139, 77, 255, 0.35), 0 0 18px rgba(255, 138, 61, 0.22);
}

.banner-ring::before {
  content: "";
  position: absolute;
  inset: -42%;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    rgba(139, 77, 255, 0.2) 0 55%,
    #8b4dff 70%,
    #fff 82%,
    #ff8a3d 90%,
    rgba(255, 138, 61, 0.2) 100%
  );
  animation: spin 2.8s linear infinite;
}

.banner-ring img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: #000;
}

.banner-label {
  margin-top: 14px;
  width: min(92%, 420px);
  height: auto;
  display: block;
}

.bottom-actions {
  width: min(92%, 560px);
  margin-top: auto;
  padding: 28px 16px 0;
}

.wa-btn {
  margin-top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2ee472 0%, #1ebe5d 100%);
  color: #06210f;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow:
    0 10px 28px rgba(37, 211, 102, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-btn svg {
  width: 22px;
  height: 22px;
}

.wa-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 32px rgba(37, 211, 102, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.footer {
  margin-top: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.inapp {
  display: none;
  font-family: var(--font-body);
}

html.is-inapp,
html.is-inapp body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

html.is-inapp .page {
  pointer-events: none;
  user-select: none;
}

html.is-inapp .inapp {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 20px 24px;
  background: rgba(0, 0, 0, 0.78);
  pointer-events: auto;
  touch-action: none;
  overflow: visible;
}

.inapp-pointer {
  position: absolute;
  top: 4px;
  right: 6px;
  z-index: 3;
  width: 58px;
  height: 78px;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.7));
  animation: point 1.25s ease-in-out infinite;
}

.inapp-pointer svg {
  width: 100%;
  height: 100%;
  display: block;
}

html.is-inapp-bottom .inapp {
  align-items: center;
  padding-top: 24px;
  padding-bottom: 88px;
}

html.is-inapp-bottom .inapp-pointer {
  top: auto;
  bottom: 8px;
  transform: rotate(180deg) scaleX(-1);
}

.inapp-card {
  width: min(100%, 360px);
  margin-top: 36px;
  padding: 28px 22px 26px;
  text-align: center;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 12, 20, 0.96), rgba(8, 6, 10, 0.96));
  border: 1px solid rgba(255, 138, 61, 0.38);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(139, 77, 255, 0.18);
}

.inapp-kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.inapp-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.inapp-desc {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.inapp-accent {
  color: #ffb066;
  text-shadow: 0 0 12px rgba(255, 138, 61, 0.45);
}

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

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

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

@keyframes point {
  0%,
  100% {
    transform: translate(0);
  }
  50% {
    transform: translate(4px, -8px);
  }
}

@media (max-width: 420px) {
  .name {
    font-size: 24px;
  }

  .header {
    margin-bottom: 12px;
  }

  .kicker {
    letter-spacing: 0.2em;
    font-size: 11px;
  }

  .title {
    font-size: 17px;
  }

  .banner img {
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .arrow,
  .banner::before,
  .inapp-pointer {
    animation: none;
  }
}
