:root {
  --cyan: #35d7ff;
  --purple: #9a66ff;
  --white: #f8f7fb;
  --muted: #aaa5b3;
  --display: "Bebas Neue", sans-serif;
  --body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; }
body { min-width: 320px; min-height: 100vh; margin: 0; overflow-x: hidden; color: var(--white); background: #08060e; font-family: var(--body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.ambient-background {
  --pointer-x: 0px;
  --pointer-y: 0px;
  position: fixed;
  inset: -4%;
  z-index: 0;
  background-image:
    linear-gradient(180deg,rgba(7,5,13,.55),rgba(7,5,13,.93) 72%,#08060e),
    radial-gradient(circle at 50% 12%,rgba(53,215,255,.1),transparent 36%),
    url("/assets/fondo-pagina.jpg");
  background-size: cover;
  background-position: center top;
  transform: translate3d(var(--pointer-x),var(--pointer-y),0) scale(1.08);
  transform-origin: center;
  filter: saturate(.82);
  pointer-events: none;
  will-change: transform;
  animation: float-background 18s ease-in-out infinite alternate;
}
.ambient-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.65) .65px,transparent .65px);
  background-size: 7px 7px;
  opacity: .08;
  mask-image: linear-gradient(to bottom,#000,transparent 70%);
}
@keyframes float-background {
  from { transform: translate3d(calc(var(--pointer-x) - 6px),calc(var(--pointer-y) - 4px),0) scale(1.08); }
  to { transform: translate3d(calc(var(--pointer-x) + 6px),calc(var(--pointer-y) + 5px),0) scale(1.095); }
}

.link-hub { position: relative; z-index: 1; width: min(100% - 28px,680px); margin: 0 auto; padding: 22px 0 36px; }
.utility-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.utility-nav a,.utility-nav button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  color: #d1cbd8;
  background: rgba(8,6,14,.56);
  backdrop-filter: blur(14px);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
  cursor: pointer;
  transition: .2s ease;
}
.utility-nav a:hover,.utility-nav button:hover { color: #fff; border-color: rgba(53,215,255,.5); background: rgba(53,215,255,.08); }

.profile { padding: 44px 15px 32px; text-align: center; }
.profile-photo { position: relative; width: 118px; height: 118px; margin: 0 auto 21px; border-radius: 34px; padding: 3px; background: linear-gradient(135deg,var(--cyan),var(--purple),#ff4f9a); box-shadow: 0 18px 50px rgba(53,215,255,.13); transform: rotate(-2deg); }
.profile-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 18%; border-radius: 31px; border: 3px solid #0a0810; }
.profile-photo span { position: absolute; right: -3px; bottom: 6px; width: 18px; height: 18px; border: 4px solid #0a0810; border-radius: 50%; background: #4dff9b; box-shadow: 0 0 14px rgba(77,255,155,.65); }
.eyebrow { margin: 0 0 7px; color: #aaa4b2; font-size: 8px; font-weight: 900; letter-spacing: 2.2px; }
.profile h1 { margin: 0; font: 400 clamp(76px,18vw,108px)/.78 var(--display); letter-spacing: 2px; background: linear-gradient(105deg,#fff 12%,#8deaff 55%,#b68cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.handle { margin: 14px 0 0; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: 2px; }
.bio { max-width: 480px; margin: 13px auto 0; color: #b5afbd; font-size: 12px; line-height: 1.65; }

.links-list { display: grid; gap: 10px; }
.group-label { margin: 20px 4px 2px; color: #7f7887; font-size: 8px; font-weight: 900; letter-spacing: 2px; }
.link-card {
  --brand: var(--cyan);
  position: relative;
  min-height: 76px;
  display: grid;
  grid-template-columns: 50px minmax(0,1fr) 34px;
  align-items: center;
  gap: 13px;
  padding: 11px 14px 11px 11px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  background: linear-gradient(135deg,rgba(16,13,25,.88),rgba(8,7,14,.78));
  box-shadow: 0 14px 35px rgba(0,0,0,.18);
  backdrop-filter: blur(17px);
  transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.link-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--brand); box-shadow: 0 0 18px var(--brand); }
.link-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -65px; top: -76px; border-radius: 50%; background: var(--brand); opacity: .1; filter: blur(18px); }
.link-card:hover { transform: translateY(-3px) scale(1.008); border-color: color-mix(in srgb,var(--brand) 45%,transparent); box-shadow: 0 19px 42px rgba(0,0,0,.28); }
.link-card.featured { min-height: 86px; background: linear-gradient(135deg,rgba(74,35,137,.88),rgba(17,10,29,.82)); }
.link-icon { position: relative; z-index: 1; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: color-mix(in srgb,var(--brand) 13%,#090710); border: 1px solid color-mix(in srgb,var(--brand) 34%,transparent); }
.link-icon img { width: 25px; height: 25px; }
.text-icon { color: var(--brand); font: 400 20px/1 var(--display); letter-spacing: .5px; }
.link-copy { position: relative; z-index: 1; min-width: 0; }
.link-copy strong { display: block; font: 400 22px/1 var(--display); letter-spacing: .6px; }
.link-copy small { display: block; margin-top: 6px; overflow: hidden; color: #8f8998; font-size: 9px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.featured .link-copy small { color: #c5b4df; }
.link-arrow { position: relative; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; justify-self: end; border-radius: 50%; color: #aaa4b1; background: rgba(255,255,255,.055); transition: .2s ease; }
.link-card:hover .link-arrow { color: #090710; background: var(--brand); transform: rotate(45deg); }

.twitch { --brand: #a970ff; }
.youtube { --brand: #ff3040; }
.youtube-mobile { --brand: #ff6570; }
.instagram { --brand: #ff4f9a; }
.facebook { --brand: #4f8cff; }
.bonoxs { --brand: #f2c55c; }
.doomsday { --brand: #8f72ff; }

footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 34px 0 8px; color: #6f6976; font-size: 8px; font-weight: 900; letter-spacing: 1.4px; }
footer a { color: #9992a1; transition: color .2s ease; }
footer a:hover { color: var(--cyan); }
#share-status { min-height: 17px; margin: 4px 0 0; color: var(--cyan); font-size: 9px; font-weight: 800; text-align: center; }

@media (max-width: 520px) {
  .link-hub { width: min(100% - 18px,680px); padding-top: 10px; }
  .profile { padding: 38px 12px 27px; }
  .profile-photo { width: 104px; height: 104px; border-radius: 30px; }
  .profile-photo img { border-radius: 27px; }
  .profile h1 { font-size: 82px; }
  .bio { font-size: 11px; }
  .link-card { min-height: 72px; grid-template-columns: 46px minmax(0,1fr) 30px; gap: 10px; padding: 10px 11px 10px 9px; border-radius: 18px; }
  .link-icon { width: 46px; height: 46px; border-radius: 14px; }
  .link-icon img { width: 23px; height: 23px; }
  .link-copy strong { font-size: 19px; }
  .link-copy small { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .ambient-background { transform: none !important; }
}
