:root {
  color-scheme: dark;
  --ink: #f3fffb;
  --muted: #a9c3bb;
  --teal: #32e0d3;
  --orange: #ff7043;
  --line: rgba(220, 255, 246, .17);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100svh;
  margin: 0;
  overflow-x: clip;
  background: #061411;
  color: var(--ink);
}
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #c4fff7; outline-offset: 4px; }

.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 20; transform: translateY(-180%); padding: .75rem 1rem; border-radius: .65rem; background: #fff; color: #061411; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .13; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.ambient { position: fixed; width: min(70vw, 52rem); aspect-ratio: 1; border-radius: 50%; pointer-events: none; }
.ambient-one { top: -32vw; right: -22vw; background: radial-gradient(circle, rgba(50,224,211,.28), rgba(50,224,211,0) 68%); }
.ambient-two { bottom: -40vw; left: -25vw; background: radial-gradient(circle, rgba(255,112,67,.22), rgba(255,112,67,0) 70%); }

.link-page {
  position: relative;
  z-index: 1;
  width: min(100% - 1.25rem, 64rem);
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(.7rem, 2vw, 1.5rem) 0 .7rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: center;
}
.profile { text-align: center; padding-bottom: clamp(.75rem, 2.5vw, 1.35rem); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: clamp(.65rem, 2vw, 1.2rem); }
.mini-brand { display: inline-flex; align-items: center; gap: .65rem; min-height: 2.75rem; text-decoration: none; font-size: .88rem; font-weight: 850; letter-spacing: -.02em; }
.brand-mark { width: 2.35rem; height: 2.35rem; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: .7rem; background: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); backdrop-filter: blur(12px); }
.brand-mark span { width: 0; height: 0; border-left: .7rem solid var(--orange); border-top: .43rem solid transparent; border-bottom: .43rem solid transparent; margin-left: .12rem; }
.share-button { min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-weight: 780; backdrop-filter: blur(12px); }
.share-button svg { width: 1rem; height: 1rem; fill: currentColor; }
.share-button:hover { background: rgba(50,224,211,.15); border-color: rgba(133,255,241,.55); }
.eyebrow { margin: 0 0 .4rem; color: #96f3e8; font-size: .68rem; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 0 auto .45rem; font-size: clamp(2.25rem, 7vw, 4.6rem); line-height: .92; letter-spacing: -.06em; text-wrap: balance; }
h1 span { color: transparent; background: linear-gradient(100deg, var(--teal), #b9fff6 48%, #ff946f); background-clip: text; -webkit-background-clip: text; }
.intro { margin: 0 auto; color: var(--muted); font-size: clamp(.92rem, 2vw, 1.08rem); line-height: 1.4; }

.link-stack { display: grid; grid-template-columns: 1fr; align-content: center; gap: .55rem; scroll-margin-top: 1rem; }
.social-card { position: relative; min-height: 4.55rem; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .8rem; padding: .65rem .75rem; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 1.05rem; background: rgba(11,29,26,.76); box-shadow: 0 10px 30px rgba(0,0,0,.2); text-decoration: none; backdrop-filter: blur(16px); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.social-card::before { content: ""; position: absolute; inset: 0; opacity: .14; }
.social-card::after { content: ""; position: absolute; width: 8rem; height: 8rem; right: -5rem; top: -5rem; border-radius: 50%; background: currentColor; opacity: .12; filter: blur(10px); }
.social-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.4); box-shadow: 0 18px 48px rgba(0,0,0,.3); }
.social-card:hover::before { opacity: .25; }
.instagram { color: #ff7ac8; }
.instagram::before { background: linear-gradient(110deg, #7038e8, #f02d86 53%, #ff9b36); }
.youtube { color: #ff342e; }
.youtube::before { background: linear-gradient(110deg, #8f0705, #ff1d16); }
.tiktok { color: #2ff4e5; }
.tiktok::before { background: linear-gradient(110deg, #00e2d5, #101516 48%, #ff416d); }
.website { color: #42dfff; }
.website::before { background: linear-gradient(110deg, #096ca7, #22c7d5); }
.icon-shell { position: relative; z-index: 1; width: 3.15rem; height: 3.15rem; display: grid; place-items: center; border-radius: .9rem; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.28); }
.instagram .icon-shell { background: linear-gradient(145deg, #7138dc, #f02c84 56%, #ff9c37); }
.youtube .icon-shell { background: #ff1f18; }
.tiktok .icon-shell { background: #0a0f10; box-shadow: -3px -3px 0 rgba(0,242,234,.75), 3px 3px 0 rgba(255,0,80,.72); }
.website .icon-shell { background: linear-gradient(145deg, #0c75c5, #21d2cd); }
.icon-shell svg { width: 1.8rem; height: 1.8rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.youtube .icon-shell svg, .tiktok .icon-shell svg { fill: #fff; stroke: none; }
.youtube .icon-shell .cutout { fill: #ff1f18; }
.instagram .icon-shell .fill { fill: #fff; stroke: none; }
.card-copy { position: relative; z-index: 1; min-width: 0; text-align: left; }
.card-copy strong { display: block; color: #fff; font-size: clamp(1.04rem, 2.7vw, 1.3rem); letter-spacing: -.025em; }
.card-copy small { display: block; margin-top: .08rem; overflow: hidden; color: #c1d2cd; font-size: .8rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.arrow { position: relative; z-index: 1; width: 2.45rem; height: 2.45rem; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; font-size: 1.05rem; transition: transform .18s ease, background .18s ease; }
.social-card:hover .arrow { transform: translate(2px,-2px); background: rgba(255,255,255,.13); }
.link-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem; padding: .55rem .25rem 0; color: #88a59d; font-size: .72rem; }
.link-footer a { min-height: 2rem; display: inline-flex; align-items: center; text-underline-offset: .22em; }

@media (min-width: 40rem) {
  .link-page { width: min(100% - 2rem, 64rem); padding-block: 1.2rem .8rem; grid-template-rows: auto auto 1fr; }
  .topbar { margin-bottom: .65rem; }
  .profile { padding-bottom: 1rem; }
  .link-stack { grid-template-columns: repeat(2, minmax(0,1fr)); align-content: start; gap: .75rem; margin-top: clamp(1rem, 3vh, 2.4rem); }
  .social-card { min-height: 6.3rem; padding: .85rem 1rem; gap: 1rem; border-radius: 1.2rem; }
  .icon-shell { width: 3.75rem; height: 3.75rem; }
  .link-footer { align-self: end; padding-top: .7rem; }
}

@media (max-height: 43rem) and (min-width: 40rem) {
  .link-page { padding-block: .55rem; }
  .profile { padding-bottom: .6rem; }
  .topbar { margin-bottom: .25rem; }
  h1 { font-size: clamp(2rem, 6vw, 3.35rem); }
  .social-card { min-height: 5.2rem; }
  .link-footer { padding-top: .25rem; }
}

@media (max-width: 23rem) {
  .link-page { width: min(100% - .8rem, 64rem); }
  .topbar { margin-bottom: .35rem; }
  .profile { padding-bottom: .5rem; }
  h1 { font-size: 2rem; }
  .intro { font-size: .82rem; }
  .social-card { min-height: 4.15rem; padding: .45rem .55rem; gap: .6rem; }
  .icon-shell { width: 2.8rem; height: 2.8rem; }
  .arrow { width: 2.1rem; height: 2.1rem; }
  .link-footer { padding-top: .25rem; }
}

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