:root {
  --bg: #050505;
  --yellow: #f5c518;
  --yellow-soft: #ffe566;
  --gold: #d4a017;
  --text: #f7f7f8;
  --muted: #9a9aa3;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-hover: rgba(245, 197, 24, 0.1);
  --border: rgba(255, 255, 255, 0.55);
  --border-hover: rgba(245, 197, 24, 0.95);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Playfair Display", Georgia, serif;
  --max: 380px;
}

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

body {
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* —— Fundo moderno —— */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at top, #544e14, #0d0d12 55%);
  animation: bg-breathe 14s ease-in-out infinite;
}

@keyframes bg-breathe {

  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.04);
  }
}

.mesh {
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(ellipse 40% 30% at 30% 40%, rgba(245, 197, 24, 0.05), transparent 70%),
    radial-gradient(ellipse 35% 28% at 75% 65%, rgba(255, 214, 80, 0.04), transparent 70%),
    linear-gradient(125deg,
      transparent 38%,
      rgba(245, 197, 24, 0.03) 50%,
      transparent 62%),
    linear-gradient(55deg,
      transparent 35%,
      rgba(212, 160, 23, 0.025) 50%,
      transparent 65%);
  background-size: 140% 140%, 160% 160%, 220% 220%, 200% 200%;
  animation: mesh-shift 12s ease-in-out infinite;
  will-change: background-position, transform, opacity;
}

@keyframes mesh-shift {
  0% {
    background-position:
      10% 20%,
      90% 80%,
      0% 40%,
      100% 60%;
    transform: rotate(0deg) scale(1);
    opacity: 0.45;
  }

  33% {
    background-position:
      55% 45%,
      40% 30%,
      60% 20%,
      30% 80%;
    transform: rotate(1.5deg) scale(1.03);
    opacity: 0.7;
  }

  66% {
    background-position:
      80% 70%,
      20% 55%,
      100% 70%,
      0% 30%;
    transform: rotate(-1deg) scale(1.05);
    opacity: 0.55;
  }

  100% {
    background-position:
      10% 20%,
      90% 80%,
      0% 40%,
      100% 60%;
    transform: rotate(0deg) scale(1);
    opacity: 0.45;
  }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.orb-1 {
  width: min(70vw, 340px);
  height: min(70vw, 340px);
  top: -8%;
  left: 50%;
  background: radial-gradient(circle, #7a620f 0%, #3a2e08 50%, transparent 70%);
  opacity: 0.18;
  animation: orb-pulse 8s ease-in-out infinite;
}

.orb-2 {
  width: 260px;
  height: 260px;
  bottom: 5%;
  left: -80px;
  background: radial-gradient(circle, #5c4a0c 0%, transparent 70%);
  opacity: 0.12;
  animation: orb-drift 16s ease-in-out infinite;
}

.orb-3 {
  width: 220px;
  height: 220px;
  top: 38%;
  right: -70px;
  background: radial-gradient(circle, #4a3c0a 0%, transparent 70%);
  opacity: 0.12;
  animation: orb-drift 12s ease-in-out infinite reverse;
}

@keyframes orb-pulse {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.14;
  }

  50% {
    transform: translateX(-50%) scale(1.08);
    opacity: 0.22;
  }
}

@keyframes orb-drift {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(18px, -22px);
  }
}

/* Órbitas pontilhadas */
.orbit {
  position: absolute;
  top: 42%;
  left: 50%;
  border-radius: 50%;
  border: 1.5px dotted rgba(245, 197, 24, 0.22);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.55);
}

.orbit::before {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit::after {
  bottom: 12%;
  right: 8%;
  width: 3.5px;
  height: 3.5px;
  opacity: 0.7;
}

.orbit-a {
  width: min(92vw, 420px);
  height: min(92vw, 420px);
  opacity: 0.55;
  animation: orbit-spin 28s linear infinite;
}

.orbit-b {
  width: min(72vw, 320px);
  height: min(72vw, 320px);
  border-color: rgba(245, 197, 24, 0.16);
  opacity: 0.45;
  animation: orbit-spin 40s linear infinite reverse;
}

.orbit-b::before {
  width: 4px;
  height: 4px;
  background: var(--yellow-soft);
}

.orbit-c {
  width: min(110vw, 520px);
  height: min(110vw, 520px);
  border-style: dashed;
  border-width: 1px;
  border-color: rgba(245, 197, 24, 0.1);
  opacity: 0.35;
  animation: orbit-spin 55s linear infinite;
}

.orbit-c::before {
  width: 3px;
  height: 3px;
  opacity: 0.6;
}

.orbit-c::after {
  display: none;
}

@keyframes orbit-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.sparkles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 230, 140, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 82% 14%, rgba(255, 230, 140, 0.35), transparent),
    radial-gradient(1px 1px at 90% 48%, rgba(255, 230, 140, 0.28), transparent),
    radial-gradient(1.5px 1.5px at 18% 72%, rgba(255, 230, 140, 0.32), transparent),
    radial-gradient(1px 1px at 58% 88%, rgba(255, 230, 140, 0.25), transparent),
    radial-gradient(1.5px 1.5px at 44% 30%, rgba(255, 230, 140, 0.22), transparent),
    radial-gradient(1px 1px at 70% 62%, rgba(255, 230, 140, 0.2), transparent);
  animation: twinkle 4.5s ease-in-out infinite;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.25;
  }

  50% {
    opacity: 0.65;
  }
}

.scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(245, 197, 24, 0.015) 48%,
      transparent 52%,
      transparent 100%);
  background-size: 100% 220%;
  animation: scan-move 9s linear infinite;
}

@keyframes scan-move {
  0% {
    background-position: 0 -40%;
  }

  100% {
    background-position: 0 140%;
  }
}

/* —— Conteúdo —— */
.page {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 3rem 0 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.85rem;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.avatar-wrap {
  position: relative;
  width: 128px;
  height: 128px;
  margin-bottom: 0.7rem;
}

.avatar-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.45) 0%, transparent 70%);
  filter: blur(12px);
  animation: glow-breathe 3.5s ease-in-out infinite;
  z-index: 0;
}

@keyframes glow-breathe {

  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.95);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.avatar-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 160, 23, 0.85);
  background: conic-gradient(from 0deg,
      var(--gold),
      var(--yellow) 25%,
      transparent 40%,
      var(--gold) 55%,
      var(--yellow-soft) 75%,
      transparent 88%,
      var(--gold));
  animation: spin-ring 28s linear infinite;
  z-index: 1;
}

.avatar-ring::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg);
}

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

.avatar {
  position: relative;
  z-index: 2;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border: 3px solid #0a0a0a;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}



.brand {
  font-family: var(--display);
  font-size: clamp(1.55rem, 6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  background: linear-gradient(120deg, #fff 30%, var(--yellow-soft) 55%, #fff 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer-text 5s ease-in-out infinite;
}

@keyframes shimmer-text {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

.handle {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.03em;
}

/* —— Botões —— */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.btn {
  --i: 1;
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr 22px;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--glass);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    color 0.28s ease;
  animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.08s * var(--i));
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      transparent 30%,
      rgba(255, 255, 255, 0.12) 48%,
      transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  z-index: -1;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: -1;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px) scale(1.015);
  background: var(--glass-hover);
  border-color: var(--border-hover);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(245, 197, 24, 0.15),
    0 0 28px rgba(245, 197, 24, 0.12);
  color: #fff;
  outline: none;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(120%);
}

.btn:hover::after,
.btn:focus-visible::after {
  opacity: 1;
}

.btn:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--yellow);
  transition: transform 0.28s ease, color 0.28s ease;
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

.btn:hover .btn-icon {
  transform: scale(1.12);
  color: var(--yellow-soft);
}

.btn-label {
  text-align: center;
}

.btn-arrow {
  justify-self: end;
  opacity: 0;
  transform: translateX(-6px);
  color: var(--yellow);
  font-size: 1.05rem;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* —— Sociais —— */
.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  margin-top: 0.15rem;
  animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

.social {
  color: var(--text);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  transition:
    color 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.social svg {
  width: 20px;
  height: 20px;
}

.social:hover,
.social:focus-visible {
  color: #111;
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 20px rgba(245, 197, 24, 0.3);
  outline: none;
}

.footer {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.05em;
  animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

@keyframes rise {
  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;
  }

  .brand {
    color: var(--text);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
  }
}