:root {
  --bg: #08050d;
  --purple-main: #4e1d82;
  --purple-secondary: #6d32b3;
  --purple-light: #8b5cf6;
  --gold: #d8b35a;
  --white: #ffffff;
  --gray: #bdbdc7;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 50% 18%, rgba(207, 178, 255, 0.34), transparent 28%),
    radial-gradient(circle at 22% 18%, rgba(139, 92, 246, 0.36), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(216, 179, 90, 0.11), transparent 24%),
    radial-gradient(circle at 72% 78%, rgba(180, 128, 255, 0.3), transparent 36%),
    linear-gradient(155deg, rgba(210, 185, 255, 0.24), rgba(109, 50, 179, 0.26) 36%, rgba(8, 5, 13, 0.78) 70%),
    linear-gradient(180deg, rgba(8, 5, 13, 0.3), rgba(8, 5, 13, 0.98)),
    url("assets/background.jpg") center / cover no-repeat;
  filter: saturate(1.1) contrast(1.04);
}

body::after {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 5, 13, 0.92), rgba(145, 96, 220, 0.2) 50%, rgba(8, 5, 13, 0.92)),
    radial-gradient(ellipse at center, rgba(210, 185, 255, 0.2) 0%, rgba(78, 29, 130, 0.16) 28%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(180deg, rgba(8, 5, 13, 0.26), rgba(8, 5, 13, 0.86) 58%, rgba(8, 5, 13, 0.96));
  backdrop-filter: blur(1.8px);
}

.bio-shell {
  width: calc(100% - 32px);
  max-width: 520px;
  min-height: 100vh;
  margin: 0 auto;
  padding: calc(34px + env(safe-area-inset-top)) 0 calc(28px + env(safe-area-inset-bottom));
}

.profile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile::before {
  position: absolute;
  top: 18px;
  width: 220px;
  height: 120px;
  border-radius: 999px;
  background: rgba(109, 50, 179, 0.38);
  filter: blur(42px);
  content: "";
  pointer-events: none;
}

.brand-mark {
  position: relative;
  width: min(318px, 82vw);
  margin-bottom: 14px;
}

.brand-mark img,
.footer img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 34px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 22px rgba(210, 185, 255, 0.2));
}

.brand-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  max-width: 390px;
  margin: 0;
  font-size: clamp(1.45rem, 6.8vw, 2.28rem);
  line-height: 0.98;
  font-weight: 800;
}

.intro {
  max-width: 310px;
  margin: 16px 0 0;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.55;
}

.access {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.section-label {
  margin: 0 0 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.link-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  touch-action: manipulation;
}

.link-button::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.18), transparent 32%),
    radial-gradient(circle at 14% 18%, rgba(216, 179, 90, 0.09), transparent 31%);
  content: "";
  opacity: 0.8;
  pointer-events: none;
}

.link-button:hover,
.link-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: var(--glass-strong);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.link-button:active {
  transform: scale(0.98);
}

.link-button:focus-visible,
.social-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.link-button--featured {
  min-height: 80px;
  background:
    linear-gradient(135deg, rgba(109, 50, 179, 0.96), rgba(78, 29, 130, 0.94)),
    rgba(255, 255, 255, 0.1);
  border-color: rgba(216, 179, 90, 0.48);
  box-shadow:
    0 0 0 1px rgba(216, 179, 90, 0.1) inset,
    0 26px 80px rgba(78, 29, 130, 0.45),
    var(--shadow);
}

.icon-wrap,
.arrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.icon-wrap {
  width: 44px;
  height: 44px;
  margin-right: 14px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.link-button--featured .icon-wrap {
  color: var(--white);
  background: rgba(216, 179, 90, 0.18);
  border-color: rgba(216, 179, 90, 0.28);
}

.icon-wrap--instagram {
  position: relative;
  background:
    radial-gradient(circle at 30% 105%, rgba(216, 179, 90, 0.34), transparent 34%),
    linear-gradient(145deg, rgba(139, 92, 246, 0.3), rgba(255, 255, 255, 0.1));
}

.instagram-glyph {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 7px;
}

.instagram-glyph::before {
  position: absolute;
  inset: 4px;
  border: 2px solid currentColor;
  border-radius: 999px;
  content: "";
}

.instagram-glyph::after {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.link-copy {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1 1 auto;
  gap: 3px;
  min-width: 0;
}

.link-copy strong {
  overflow-wrap: anywhere;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.15;
}

.link-copy small {
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.arrow {
  width: 34px;
  height: 34px;
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.footer-line {
  width: 100%;
  height: 1px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.footer img {
  width: 118px;
  opacity: 0.9;
}

.footer p {
  margin: 10px 0 0;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}


.social-links a:hover {
  border-color: rgba(216, 179, 90, 0.45);
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 720px) {
  .bio-shell {
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .brand-mark {
    width: 340px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
