:root {
  --blue: #46a8ff;
  --blue-soft: #88caff;
  --glass: rgba(7, 18, 36, 0.58);
  --line: rgba(83, 174, 255, 0.36);
  --text: #f5f9ff;
  --muted: #c6d5e8;
}

* { box-sizing: border-box; }

html { min-height: 100%; overflow-x: hidden; overflow-y: auto; background: #020610; }

body {
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 24%, rgba(12, 72, 132, .25), transparent 32%),
    radial-gradient(circle at 82% 72%, rgba(0, 84, 162, .2), transparent 34%),
    #020610;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.background-video-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #020610;
  pointer-events: none;
}

.background-video {
  position: absolute;
  inset: -5%;
  z-index: 0;
  width: 110%;
  height: 110%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: blur(40px) brightness(.52) saturate(1.2);
  transform: scale(1.08);
  transition: none;
  background: #020610;
  pointer-events: none;
}

.background-video.is-active {
  z-index: 1;
  opacity: 1;
}

.background-video-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(1, 6, 16, .22);
  pointer-events: none;
}

.video-panel {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 1;
  width: min(100vw, 56.25vh);
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #071326, #020610);
  box-shadow: 0 0 70px rgba(13, 93, 172, .18), 0 0 0 1px rgba(83, 174, 255, .12);
  pointer-events: none;
  isolation: isolate;
}

.video-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: none;
  transform: none;
  transition: none;
  background: #020610;
  pointer-events: none;
}

.video-background.is-active {
  z-index: 1;
  opacity: 1;
}

.backdrop {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(2, 6, 16, .2), rgba(2, 8, 20, .28) 47%, rgba(1, 5, 14, .42));
  pointer-events: none;
}

.ambient {
  position: fixed;
  z-index: 2;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .12;
  pointer-events: none;
}

.ambient-one { top: -18vw; left: -10vw; background: #168cff; }
.ambient-two { right: -14vw; bottom: -20vw; background: #006aff; }

.profile {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 32px), 680px);
  width: min(calc(100% - 32px), calc(56.25svh - 32px), 680px);
  margin: 0 auto;
  padding: max(42px, env(safe-area-inset-top)) 0 max(42px, env(safe-area-inset-bottom));
}

.hero { text-align: center; }

.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 117.5px;
  height: 117.5px;
  margin: 0 auto 19px;
  overflow: hidden;
  border: 1px solid rgba(126, 200, 255, .65);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(14, 41, 72, .86), rgba(3, 12, 27, .82));
  box-shadow: 0 0 0 5px rgba(43, 148, 255, .08), 0 18px 50px rgba(0, 40, 100, .45), inset 0 1px rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.avatar span {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.08em;
  background: linear-gradient(135deg, #fff 20%, #62baff 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.avatar i {
  position: absolute;
  right: 13.75px;
  bottom: 13.75px;
  z-index: 1;
  width: 15px;
  height: 15px;
  border: 3px solid #07101e;
  border-radius: 50%;
  background: #35a7ff;
  box-shadow: 0 0 14px #35a7ff;
}

h1 { margin: 0; font-size: clamp(1.75rem, 5vw, 2.35rem); line-height: 1.1; letter-spacing: -.045em; text-shadow: 0 3px 24px #000; }
h1 span { color: var(--blue); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.title-image {
  display: block;
  width: min(84%, 400px);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.bio { margin: 16px auto 0; color: var(--muted); font-size: clamp(.84rem, 2.53vw, 1.02rem); line-height: 1.7; text-align: center; text-shadow: 0 2px 14px #000; }
.bio-line { display: block; width: fit-content; max-width: 100%; margin-inline: auto; text-align: center; }

.socials { display: flex; justify-content: center; gap: 12px; margin-top: 22px; perspective: 500px; }
.socials a {
  --social-hover-border: rgba(141, 204, 255, .95);
  --social-hover-background: rgba(18, 60, 99, .78);
  --social-icon-glow: rgba(117, 189, 255, .7);
  --social-hover-shadow: inset 0 1px rgba(255,255,255,.18), 0 18px 38px rgba(0,0,0,.5), 0 0 28px rgba(70,168,255,.4);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #eff8ff;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 20, 40, .55);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 8px 28px rgba(0,0,0,.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: perspective(500px) translateZ(0) scale(1);
  transform-origin: center;
  transform-style: preserve-3d;
  transition: transform 250ms cubic-bezier(.22, 1, .36, 1), border-color 250ms ease, background 250ms ease, box-shadow 250ms ease;
  will-change: transform;
}
.socials a:nth-child(1) {
  --social-hover-border: rgba(255, 118, 220, .98);
  --social-hover-background: linear-gradient(145deg, rgba(81, 25, 95, .82), rgba(35, 10, 48, .78));
  --social-icon-glow: rgba(255, 104, 211, .88);
  --social-hover-shadow: inset 0 1px rgba(255,255,255,.2), 0 18px 40px rgba(0,0,0,.52), 0 0 24px rgba(225,64,190,.62), 0 0 42px rgba(137,60,255,.36);
  color: #ffe9fb;
  border-color: rgba(231, 92, 205, .68);
  background: linear-gradient(145deg, rgba(48, 18, 61, .72), rgba(14, 12, 30, .72));
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 9px 26px rgba(0,0,0,.28), 0 0 15px rgba(225,64,190,.3), 0 0 26px rgba(137,60,255,.16);
}
.socials a:nth-child(2) {
  --social-hover-border: rgba(235, 255, 255, .96);
  --social-hover-background: linear-gradient(145deg, rgba(10, 22, 27, .94), rgba(13, 7, 17, .94));
  --social-icon-glow: rgba(255,255,255,.78);
  --social-hover-shadow: inset 0 1px rgba(255,255,255,.2), 0 18px 40px rgba(0,0,0,.58), -12px 0 28px rgba(37,244,238,.58), 12px 0 28px rgba(254,44,85,.54);
  color: #f4ffff;
  border-color: rgba(210, 255, 255, .58);
  background: linear-gradient(145deg, rgba(7, 17, 22, .86), rgba(9, 6, 14, .88));
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 9px 26px rgba(0,0,0,.34), -8px 0 18px rgba(37,244,238,.3), 8px 0 18px rgba(254,44,85,.28);
}
.socials a:nth-child(3) {
  --social-hover-border: rgba(255, 85, 85, .98);
  --social-hover-background: linear-gradient(145deg, rgba(92, 12, 20, .86), rgba(31, 5, 11, .88));
  --social-icon-glow: rgba(255, 72, 72, .88);
  --social-hover-shadow: inset 0 1px rgba(255,255,255,.2), 0 18px 40px rgba(0,0,0,.55), 0 0 26px rgba(255,35,45,.62), 0 0 44px rgba(190,0,18,.34);
  color: #fff0f0;
  border-color: rgba(255, 58, 67, .72);
  background: linear-gradient(145deg, rgba(70, 10, 18, .76), rgba(20, 6, 12, .82));
  box-shadow: inset 0 1px rgba(255,255,255,.11), 0 9px 26px rgba(0,0,0,.3), 0 0 16px rgba(255,35,45,.32), 0 0 28px rgba(170,0,20,.17);
}
.socials svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 250ms cubic-bezier(.22, 1, .36, 1), filter 250ms ease; }
.socials svg .fill { fill: currentColor; stroke: none; }
.socials svg path:first-child { fill: currentColor; stroke: none; }
.socials svg .cutout { fill: #071326; stroke: none; }

.links { display: grid; gap: 13px; margin-top: 32px; overflow: visible; perspective: 1000px; }

.link-card {
  --accent-primary: #53aeff;
  --accent-border: rgba(83, 174, 255, .36);
  --accent-border-hover: rgba(83, 174, 255, .82);
  --accent-glow: rgba(45, 145, 255, .6);
  --card-background: linear-gradient(110deg, rgba(10, 26, 49, .72), rgba(5, 15, 31, .58));
  --card-background-hover: linear-gradient(110deg, rgba(14, 39, 72, .82), rgba(5, 15, 31, .7));
  --icon-background: rgba(63, 158, 255, .1);
  --icon-background-hover: rgba(63, 158, 255, .17);
  --icon-color: #dceeff;
  --icon-shadow-hover: 0 0 20px rgba(45, 145, 255, .34);
  --platform-glow: 0 0 42px var(--accent-glow);
  --shine-color: rgba(155, 216, 255, .26);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) 28px;
  align-items: center;
  min-height: 72px;
  padding: 13px 16px;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  background: var(--card-background);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 14px 40px rgba(0, 5, 16, .3);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  transform: scale(1);
  transform-origin: center center;
  transform-style: preserve-3d;
  transition: transform 300ms cubic-bezier(.22, 1, .36, 1), box-shadow 300ms ease, border-color 300ms ease, background 300ms ease, filter 300ms ease;
  will-change: transform;
}

.link-card::before {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -42%;
  z-index: 0;
  width: 28%;
  background: linear-gradient(90deg, transparent, var(--shine-color), rgba(255, 255, 255, .22), transparent);
  opacity: .78;
  transform: skewX(-18deg) translateX(-180%);
  pointer-events: none;
  transition: transform 650ms cubic-bezier(.4, 0, .2, 1);
}

.link-card > * { position: relative; z-index: 1; }
.link-card strong { position: relative; overflow: hidden; font-size: .98rem; font-weight: 650; letter-spacing: -.012em; text-overflow: ellipsis; white-space: nowrap; }
.brand-icon { position: relative; display: block; width: 42px; height: 42px; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--icon-background); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-primary) 18%, transparent); transition: transform 300ms cubic-bezier(.22, 1, .36, 1), background 300ms ease, box-shadow 300ms ease, filter 300ms ease; }
.brand-icon img { display: block; width: 42px; height: 42px; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.brand-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--icon-color); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: filter 300ms ease; }
.brand-icon svg path:first-child { fill: var(--icon-color); stroke: none; }
.brand-icon svg .fill { fill: var(--icon-color); stroke: none; }
.brand-icon svg .cutout { fill: #10213a; stroke: none; }
.arrow { position: relative; justify-self: end; color: #75bdff; font-size: 1.15rem; transition: transform 300ms cubic-bezier(.22, 1, .36, 1), color 300ms ease, text-shadow 300ms ease; }

.spotify-card {
  --accent-primary: #1ed760;
  --accent-border: rgba(30, 215, 96, .85);
  --accent-border-hover: rgba(75, 239, 125, .98);
  --accent-glow: rgba(30, 215, 96, .55);
  --card-background: linear-gradient(110deg, rgba(20, 105, 62, .34), rgba(8, 18, 30, .88));
  --card-background-hover: linear-gradient(110deg, rgba(24, 130, 72, .44), rgba(7, 19, 30, .9));
  --icon-background: transparent;
  --icon-background-hover: transparent;
  --icon-color: #1ed760;
  --icon-shadow-hover: 0 0 24px rgba(30, 215, 96, .35);
  --platform-glow: 0 0 24px rgba(30, 215, 96, .68), 0 0 55px rgba(30, 215, 96, .36);
  --shine-color: rgba(125, 255, 174, .28);
  min-height: 104px;
  padding: 18px;
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 18px 48px rgba(0, 19, 30, .4), 0 0 18px rgba(30, 215, 96, .48), 0 0 38px rgba(30, 215, 96, .24);
}
.spotify-card .brand-icon { background: transparent; }
.spotify-card .brand-icon svg { width: 55px; height: 55px; fill: #1ed760; stroke: none; filter: drop-shadow(0 8px 16px rgba(30,215,96,.2)); }
.spotify-card .brand-icon .dark { fill: none; stroke: #062214; stroke-width: 1.7; }
.spotify-card { grid-template-columns: 63px minmax(0, 1fr) 28px; }
.link-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.link-copy small { color: #79eaa1; font-size: .7rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.spotify-card strong { font-size: 1.08rem; }

.tiktok-card {
  --accent-primary: #eafcff;
  --accent-glow: rgba(255, 255, 255, .42);
  --accent-border: rgba(245, 250, 255, .92);
  --accent-border-hover: rgba(255, 255, 255, .99);
  --card-background: linear-gradient(110deg, rgba(2, 5, 9, .96), rgba(10, 12, 18, .94), rgba(3, 5, 9, .97));
  --card-background-hover: linear-gradient(110deg, rgba(1, 4, 8, .98), rgba(12, 14, 20, .96), rgba(2, 4, 8, .98));
  --icon-background: rgba(5, 7, 11, .92);
  --icon-background-hover: rgba(7, 9, 14, .96);
  --icon-color: #ffffff;
  --icon-shadow-hover: -5px 0 18px rgba(37, 244, 238, .62), 5px 0 18px rgba(254, 44, 85, .58), 0 0 12px rgba(255, 255, 255, .24);
  --platform-glow: -20px 0 42px rgba(37, 244, 238, .68), 20px 0 42px rgba(254, 44, 85, .62), 0 0 28px rgba(255, 255, 255, .42);
  --shine-color: rgba(255, 255, 255, .36);
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 14px 40px rgba(0, 0, 0, .42), -12px 0 24px rgba(37, 244, 238, .48), 12px 0 24px rgba(254, 44, 85, .44), 0 0 18px rgba(255, 255, 255, .24);
}
.tiktok-card .brand-icon { box-shadow: inset 0 0 0 1px rgba(245, 250, 255, .46), -3px 0 10px rgba(37, 244, 238, .42), 3px 0 10px rgba(254, 44, 85, .4); }
.tiktok-card .brand-icon svg { filter: drop-shadow(-1px 0 0 rgba(37, 244, 238, .9)) drop-shadow(1px 0 0 rgba(254, 44, 85, .75)); }
.tiktok-card .arrow { color: #eafcff; }

.youtube-card {
  --accent-primary: #ff3030;
  --accent-glow: rgba(255, 0, 0, .45);
  --accent-border: rgba(255, 40, 55, .78);
  --accent-border-hover: rgba(255, 79, 87, .97);
  --card-background: linear-gradient(110deg, rgba(115, 22, 35, .31), rgba(8, 18, 30, .9));
  --card-background-hover: linear-gradient(110deg, rgba(150, 25, 40, .4), rgba(8, 18, 30, .92));
  --icon-background: rgba(255, 0, 0, .12);
  --icon-background-hover: rgba(255, 0, 0, .2);
  --icon-color: #ff4a4a;
  --icon-shadow-hover: 0 0 22px rgba(255, 0, 0, .38);
  --platform-glow: 0 0 24px rgba(255, 35, 50, .64), 0 0 55px rgba(255, 0, 20, .34);
  --shine-color: rgba(255, 132, 132, .27);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 14px 40px rgba(0, 5, 16, .34), 0 0 18px rgba(255, 35, 50, .46), 0 0 38px rgba(255, 0, 20, .22);
}

.instagram-dj-card {
  --accent-primary: #d94da7;
  --accent-glow: rgba(225, 48, 108, .42);
  --accent-border: rgba(210, 65, 170, .74);
  --accent-border-hover: rgba(236, 91, 190, .96);
  --card-background: linear-gradient(110deg, rgba(92, 35, 105, .29), rgba(105, 24, 65, .23), rgba(8, 18, 30, .9));
  --card-background-hover: linear-gradient(110deg, rgba(118, 42, 132, .38), rgba(132, 29, 80, .32), rgba(8, 18, 30, .92));
  --icon-background: linear-gradient(135deg, rgba(131, 58, 180, .2), rgba(225, 48, 108, .15), rgba(253, 141, 50, .14));
  --icon-background-hover: linear-gradient(135deg, rgba(131, 58, 180, .3), rgba(225, 48, 108, .24), rgba(253, 141, 50, .22));
  --icon-color: #f39acb;
  --icon-shadow-hover: -5px -2px 18px rgba(131, 58, 180, .32), 5px 2px 18px rgba(253, 141, 50, .26);
  --platform-glow: -8px 0 30px rgba(131, 58, 180, .5), 8px 0 32px rgba(225, 48, 108, .52), 0 0 55px rgba(193, 53, 132, .3);
  --shine-color: rgba(255, 185, 224, .28);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 14px 40px rgba(0, 5, 16, .34), -6px 0 20px rgba(131, 58, 180, .36), 7px 0 22px rgba(225, 48, 108, .38), 0 0 38px rgba(193, 53, 132, .2);
}

.biecool-tech-card {
  --accent-primary: #00eaff;
  --accent-glow: rgba(0, 234, 255, .48);
  --accent-border: rgba(0, 234, 255, .85);
  --accent-border-hover: rgba(75, 247, 255, .98);
  --card-background: linear-gradient(110deg, rgba(0, 105, 125, .28), rgba(4, 20, 30, .82) 60%, rgba(0, 188, 212, .13));
  --card-background-hover: linear-gradient(110deg, rgba(0, 130, 150, .38), rgba(3, 22, 32, .86) 60%, rgba(0, 234, 255, .18));
  --icon-background: linear-gradient(135deg, rgba(0, 234, 255, .3), rgba(0, 188, 212, .22));
  --icon-background-hover: linear-gradient(135deg, rgba(58, 247, 255, .42), rgba(0, 188, 212, .3));
  --icon-color: #5ff7ff;
  --icon-shadow-hover: 0 0 18px rgba(0, 234, 255, .7), 0 0 30px rgba(0, 188, 212, .42);
  --platform-glow: 0 0 24px rgba(0, 234, 255, .7), 0 0 55px rgba(0, 188, 212, .48);
  --shine-color: rgba(148, 255, 255, .38);
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 14px 40px rgba(0, 5, 16, .36), 0 0 22px rgba(0, 234, 255, .32);
}
.biecool-tech-card .brand-icon { box-shadow: inset 0 0 0 1px rgba(95, 247, 255, .72), 0 0 15px rgba(0, 234, 255, .3); }
.biecool-tech-card .arrow { color: #8defff; }

.biecool-official-card {
  --accent-primary: #f4c95d;
  --accent-glow: rgba(244, 201, 93, .48);
  --accent-border: rgba(244, 201, 93, .88);
  --accent-border-hover: rgba(255, 226, 154, .98);
  --card-background: linear-gradient(110deg, rgba(130, 88, 15, .28), rgba(24, 19, 10, .8) 60%, rgba(255, 226, 154, .09));
  --card-background-hover: linear-gradient(110deg, rgba(159, 105, 13, .38), rgba(28, 21, 9, .86) 60%, rgba(255, 226, 154, .16));
  --icon-background: linear-gradient(135deg, rgba(244, 201, 93, .32), rgba(217, 155, 43, .22));
  --icon-background-hover: linear-gradient(135deg, rgba(255, 226, 154, .44), rgba(217, 155, 43, .32));
  --icon-color: #ffe29a;
  --icon-shadow-hover: 0 0 18px rgba(244, 201, 93, .72), 0 0 30px rgba(217, 155, 43, .4);
  --platform-glow: 0 0 24px rgba(244, 201, 93, .72), 0 0 55px rgba(217, 155, 43, .46);
  --shine-color: rgba(255, 239, 191, .42);
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 14px 40px rgba(14, 8, 0, .38), 0 0 22px rgba(244, 201, 93, .32);
}
.biecool-official-card .brand-icon { box-shadow: inset 0 0 0 1px rgba(255, 226, 154, .76), 0 0 15px rgba(244, 201, 93, .3); }
.biecool-official-card .arrow { color: #ffe29a; }

.reveal { opacity: 0; transform: translateY(14px); animation: enter .65s cubic-bezier(.2,.75,.25,1) forwards; }
.links .reveal:nth-child(1) { animation-delay: .12s; }
.links .reveal:nth-child(2) { animation-delay: .18s; }
.links .reveal:nth-child(3) { animation-delay: .24s; }
.links .reveal:nth-child(4) { animation-delay: .30s; }
.links .reveal:nth-child(5) { animation-delay: .36s; }
.links .reveal:nth-child(6) { animation-delay: .42s; }
.links .reveal { opacity: 1; transform: translateZ(0) scale(1); animation-name: link-enter; animation-fill-mode: backwards; }

@keyframes enter { to { opacity: 1; transform: translateY(0); } }
@keyframes link-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateZ(0) scale(1); } }

@media (hover: hover) and (pointer: fine) {
  .socials a:hover { z-index: 10; transform: perspective(500px) translateY(-4px) translateZ(35px) scale(1.18); border-color: var(--social-hover-border); background: var(--social-hover-background); box-shadow: var(--social-hover-shadow); }
  .socials a:hover svg { transform: scale(1.08); filter: drop-shadow(0 0 7px var(--social-icon-glow)); }
  .links > a.link-card:hover { transform: scale(1.2) !important; z-index: 9999; filter: brightness(1.12); border-color: var(--accent-border-hover); background: var(--card-background-hover); box-shadow: 0 35px 80px rgba(0, 0, 0, .75), var(--platform-glow); }
  .links > a.link-card:hover::before { transform: skewX(-18deg) translateX(650%); }
  .links > a.link-card:hover .brand-icon { transform: scale(1.08); background: var(--icon-background-hover); box-shadow: var(--icon-shadow-hover); filter: brightness(1.1); }
  .links > a.link-card:hover .arrow { color: var(--accent-primary); text-shadow: 0 0 11px var(--accent-glow); transform: translateX(6px); }
}

a:focus-visible { outline: 3px solid #8dccff; outline-offset: 3px; }
.socials a:focus-visible { z-index: 10; transform: perspective(500px) translateY(-4px) translateZ(35px) scale(1.18); border-color: var(--social-hover-border); background: var(--social-hover-background); box-shadow: var(--social-hover-shadow); }
.socials a:focus-visible svg { transform: scale(1.08); filter: drop-shadow(0 0 7px var(--social-icon-glow)); }

@media (hover: hover) and (pointer: fine) {
  .link-card:focus-visible { transform: translateZ(50px) scale(1.2) rotateX(1deg) rotateY(-2deg); z-index: 100; filter: brightness(1.12); border-color: rgba(141, 204, 255, .98); background: linear-gradient(110deg, rgba(15, 42, 76, .9), rgba(7, 21, 41, .82)); box-shadow: inset 0 1px rgba(255,255,255,.15), 0 25px 55px rgba(0, 0, 0, .55), 0 0 34px rgba(50, 150, 255, .45); }
  .spotify-card:focus-visible { outline-color: #76eda1; border-color: rgba(55, 234, 124, .95); background: linear-gradient(110deg, rgba(13, 68, 51, .92), rgba(5, 29, 38, .82)); box-shadow: inset 0 1px rgba(255,255,255,.15), 0 25px 55px rgba(0, 0, 0, .55), 0 0 38px rgba(30, 215, 96, .5); }
  .link-card:focus-visible::before { transform: translateX(110%); }
  .link-card:focus-visible .brand-icon { transform: scale(1.08); background: rgba(63, 158, 255, .16); box-shadow: 0 0 18px rgba(70, 168, 255, .2); filter: brightness(1.12); }
  .spotify-card:focus-visible .brand-icon { background: transparent; box-shadow: 0 0 20px rgba(30, 215, 96, .16); filter: brightness(1.08); }
  .link-card:focus-visible .arrow { transform: translate(5px, -2px); }
}

.link-card:active { transform: scale(.97); transition-duration: 80ms; }
.socials a:active { transform: scale(.94); transition-duration: 80ms; }

@media (min-width: 768px) and (max-height: 1100px) {
  .profile { zoom: .78; }
}

@media (min-width: 768px) and (min-height: 1101px) {
  .profile { zoom: 1; }
}

@media (max-width: 560px) {
  .profile { width: min(calc(100% - 24px), 680px); padding-top: max(28px, env(safe-area-inset-top)); }
  .avatar { width: 102.5px; height: 102.5px; border-radius: 50%; margin-bottom: 16px; }
  .bio { font-size: clamp(.66rem, 3vw, .78rem); line-height: 1.75; }
  .socials a { width: 50px; height: 50px; }
  .links { margin-top: 27px; gap: 11px; }
  .link-card { min-height: 67px; padding: 11px 13px; border-radius: 18px; grid-template-columns: 42px minmax(0, 1fr) 22px; }
  .link-card strong { font-size: .89rem; }
  .spotify-card { min-height: 94px; grid-template-columns: 57px minmax(0, 1fr) 22px; }
  .spotify-card .brand-icon svg { width: 49px; height: 49px; }
  .spotify-card strong { font-size: 1rem; }
}

@media (max-width: 767px) {
  .profile { zoom: 1; }

  .background-video-layer { display: none; }

  .video-panel {
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    transform: none;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .link-card:hover, .link-card:focus-visible, .link-card:active { transform: translateZ(0) scale(1) !important; }
  .socials a:hover, .socials a:focus-visible, .socials a:active { transform: none !important; }
  .link-card:hover::before, .link-card:focus-visible::before { transform: translateX(-110%) !important; }
  .link-card:hover .brand-icon, .link-card:focus-visible .brand-icon, .link-card:hover .arrow, .link-card:focus-visible .arrow, .socials a:hover svg, .socials a:focus-visible svg { transform: none !important; filter: none !important; }
}
