:root {
  --bg: #070d18;
  --bg-elevated: rgba(14, 24, 42, 0.72);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.11);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f7fb;
  --text-muted: #9aadc4;
  --gold: #f5c451;
  --gold-soft: #ffe29a;
  --orange: #ff8a3d;
  --green: #2dd4a8;
  --blue: #4da3ff;
  --wa: #25d366;
  --fb: #1877f2;
  --in: #0a66c2;
  --tt: #ff2d55;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "Outfit", system-ui, -apple-system, sans-serif;
  --max: 440px;
}

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

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

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

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

/* —— Background —— */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}

.bg__orb--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, #1a4d8c 0%, transparent 70%);
}

.bg__orb--2 {
  width: 360px;
  height: 360px;
  top: 30%;
  right: -100px;
  background: radial-gradient(circle, #8b5a12 0%, transparent 70%);
  animation-delay: -4s;
}

.bg__orb--3 {
  width: 300px;
  height: 300px;
  bottom: -60px;
  left: 20%;
  background: radial-gradient(circle, #0f6b4f 0%, transparent 70%);
  animation-delay: -8s;
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 20%, transparent 75%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -24px) scale(1.06); }
}

/* —— Layout —— */
.page {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
}

/* —— Hero —— */
.hero {
  text-align: center;
  margin-bottom: 1.5rem;
}

.hero__banner-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px var(--border);
  margin-bottom: 1.35rem;
  isolation: isolate;
}

.hero__banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1944 / 809;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.6s ease;
}

.hero__banner-wrap:hover .hero__banner {
  transform: scale(1.04);
}

.hero__banner-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.12) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: shine 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0%, 70%, 100% { transform: translateX(-120%); }
  85% { transform: translateX(120%); }
}

.hero__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.hero__avatar {
  width: 72px;
  height: 72px;
  margin-top: -2.4rem;
  margin-bottom: 0.35rem;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1e3a5f 0%, #0d2137 50%, #14283f 100%);
  border: 3px solid rgba(245, 196, 81, 0.55);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.4),
    0 0 0 6px rgba(7, 13, 24, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
}

.hero__avatar-mark {
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title {
  font-size: clamp(1.85rem, 6vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero__plus {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-soft);
  background: linear-gradient(90deg, rgba(245, 196, 81, 0.12), rgba(255, 138, 61, 0.1));
  border: 1px solid rgba(245, 196, 81, 0.28);
}

.hero__badge {
  font-size: 1rem;
  line-height: 1;
}

.hero__sub {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* —— Links —— */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.link {
  --accent: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
  opacity: 0;
  animation: rise 0.55s ease forwards;
}

.link:nth-child(1) { animation-delay: 0.05s; }
.link:nth-child(2) { animation-delay: 0.12s; }
.link:nth-child(3) { animation-delay: 0.19s; }
.link:nth-child(4) { animation-delay: 0.26s; }
.link:nth-child(5) { animation-delay: 0.33s; }
.link:nth-child(6) { animation-delay: 0.4s; }

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

.link:hover,
.link:focus-visible {
  transform: translateY(-3px) scale(1.012);
  background: var(--surface-hover);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.35),
    0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);
  outline: none;
}

.link:active {
  transform: translateY(-1px) scale(0.995);
}

.link--primary {
  --accent: var(--gold);
  background: linear-gradient(
    135deg,
    rgba(245, 196, 81, 0.18) 0%,
    rgba(255, 138, 61, 0.12) 50%,
    rgba(14, 24, 42, 0.85) 100%
  );
  border-color: rgba(245, 196, 81, 0.35);
}

.link--primary .link__icon {
  background: linear-gradient(145deg, var(--gold), var(--orange));
  color: #1a1205;
  box-shadow: 0 6px 16px rgba(245, 196, 81, 0.35);
}

.link--call {
  --accent: var(--green);
}

.link__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform 0.25s ease;
}

.link:hover .link__icon {
  transform: scale(1.08) rotate(-3deg);
}

.link__icon svg {
  width: 22px;
  height: 22px;
}

.link__icon--wa { color: var(--wa); background: rgba(37, 211, 102, 0.12); border-color: rgba(37, 211, 102, 0.25); }
.link__icon--tt { color: #fff; background: linear-gradient(135deg, #25f4ee33, #fe2c5533); border-color: rgba(254, 44, 85, 0.3); }
.link__icon--fb { color: var(--fb); background: rgba(24, 119, 242, 0.12); border-color: rgba(24, 119, 242, 0.25); }
.link__icon--in { color: #5eb0f7; background: rgba(10, 102, 194, 0.15); border-color: rgba(10, 102, 194, 0.3); }
.link__icon--call { color: var(--green); background: rgba(45, 212, 168, 0.12); border-color: rgba(45, 212, 168, 0.25); }

.link__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
}

.link__label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.link__hint {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
}

.link__arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.link:hover .link__arrow {
  transform: translateX(3px);
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

/* —— Share —— */
.share-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

.share-btn:hover,
.share-btn:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  outline: none;
}

.share-btn:active {
  transform: scale(0.97);
}

/* —— Footer —— */
.footer {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.85;
}

/* —— Toast —— */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 50;
  transform: translateX(-50%) translateY(120%);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0d1a0f;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

/* —— Reduced motion —— */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .link {
    opacity: 1;
  }
}

/* —— Wide phones / tablets —— */
@media (min-width: 480px) {
  .page {
    padding-top: 2rem;
  }

  .link {
    padding: 1.05rem 1.15rem;
  }
}
