* {
  cursor: none !important;
  user-select: none; 
  -webkit-user-drag: none;
}

:root {
  --bg: #0b0b0c;
  --text: rgba(255, 255, 255, 0.95);
  --muted: rgba(255, 255, 255, 0.411);
  --card-bg: rgba(13, 13, 13, 0.75);
  --card-border: rgba(255, 255, 255, 0.06);
  --wing-scale: 1.8;
  --wave-duration: 6s;
  --intro-fade: 2s;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Comfortaa', sans-serif;
  font-weight: 800;
  overflow-x: hidden;
  overflow-y: auto;
}

.cursor {
  width: 20px;
  height: 20px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.3s;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  opacity: 0;
}

.cursor.active {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 1);
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
  pointer-events: none;
}

main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;    
  min-height: 100vh;
  width: 100%;
  padding: 2vh 20px;       
}

.intro {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.intro-done .intro {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--intro-fade) ease, visibility var(--intro-fade) ease;
}

.intro__meta {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%); 
  text-align: center;
  width: min(720px, 92vw);
  z-index: 5;
}

.intro__title { font-weight: 700; letter-spacing: .12em; font-size: 1.5rem; }
.intro__subtitle { margin-top: 9px; color: var(--muted); }

.wing {
  position: absolute;
  top: 45%;
  left: calc(50% - 20px);
  width: 40px;
  height: 100px;
  transform: translate(-50%, -50%) scale(var(--wing-scale));
}
.wing:nth-child(2) { transform: rotateY(180deg) translate(-50%, -50%) scale(var(--wing-scale)); }
.feather {
  height: 100px; width: 20px; position: absolute; left: 0; top: 0;
  border-bottom-right-radius: 100%; border-top-left-radius: 100%;
  transform-origin: top left; background: linear-gradient(to top, #ffffff, #9e9e9e);
  filter: drop-shadow(0 0 10px rgba(255,255,255,.08));
}

.feather:nth-of-type(1){ height:105px; animation: wave1 var(--wave-duration) infinite; }
@keyframes wave1{ 50%{ transform: rotate(0deg) translateY(2px); } }
.feather:nth-of-type(2){ height:110px; animation: wave2 var(--wave-duration) infinite; }
@keyframes wave2{ 50%{ transform: rotate(5deg) translateY(4px); } }
.feather:nth-of-type(3){ height:115px; animation: wave3 var(--wave-duration) infinite; }
@keyframes wave3{ 50%{ transform: rotate(10deg) translateY(6px); } }
.feather:nth-of-type(4){ height:120px; animation: wave4 var(--wave-duration) infinite; }
@keyframes wave4{ 50%{ transform: rotate(15deg) translateY(8px); } }
.feather:nth-of-type(5){ height:125px; animation: wave5 var(--wave-duration) infinite; }
@keyframes wave5{ 50%{ transform: rotate(20deg) translateY(10px); } }
.feather:nth-of-type(6){ height:130px; animation: wave6 var(--wave-duration) infinite; }
@keyframes wave6{ 50%{ transform: rotate(25deg) translateY(12px); } }
.feather:nth-of-type(7){ height:135px; animation: wave7 var(--wave-duration) infinite; }
@keyframes wave7{ 50%{ transform: rotate(30deg) translateY(14px); } }
.feather:nth-of-type(8){ height:140px; animation: wave8 var(--wave-duration) infinite; }
@keyframes wave8{ 50%{ transform: rotate(35deg) translateY(16px); } }
.feather:nth-of-type(9){ height:145px; animation: wave9 var(--wave-duration) infinite; }
@keyframes wave9{ 50%{ transform: rotate(40deg) translateY(18px); } }
.feather:nth-of-type(10){ height:150px; animation: wave10 var(--wave-duration) infinite; }
@keyframes wave10{ 50%{ transform: rotate(45deg) translateY(20px); } }
.feather:nth-of-type(11){ height:155px; animation: wave11 var(--wave-duration) infinite; }
@keyframes wave11{ 50%{ transform: rotate(50deg) translateY(22px); } }
.feather:nth-of-type(12){ height:160px; animation: wave12 var(--wave-duration) infinite; }
@keyframes wave12{ 50%{ transform: rotate(55deg) translateY(24px); } }
.feather:nth-of-type(13){ height:165px; animation: wave13 var(--wave-duration) infinite; }
@keyframes wave13{ 50%{ transform: rotate(60deg) translateY(26px); } }
.feather:nth-of-type(14){ height:170px; animation: wave14 var(--wave-duration) infinite; }
@keyframes wave14{ 50%{ transform: rotate(65deg) translateY(28px); } }
.feather:nth-of-type(15){ height:175px; animation: wave15 var(--wave-duration) infinite; }
@keyframes wave15{ 50%{ transform: rotate(70deg) translateY(30px); } }
.feather:nth-of-type(16){ height:180px; animation: wave16 var(--wave-duration) infinite; }
@keyframes wave16{ 50%{ transform: rotate(75deg) translateY(32px); } }
.feather:nth-of-type(17){ height:185px; animation: wave17 var(--wave-duration) infinite; }
@keyframes wave17{ 50%{ transform: rotate(80deg) translateY(34px); } }
.feather:nth-of-type(18){ height:190px; animation: wave18 var(--wave-duration) infinite; }
@keyframes wave18{ 50%{ transform: rotate(85deg) translateY(36px); } }
.feather:nth-of-type(19){ height:195px; animation: wave19 var(--wave-duration) infinite; }
@keyframes wave19{ 50%{ transform: rotate(90deg) translateY(38px); } }
.feather:nth-of-type(20){ height:200px; animation: wave20 var(--wave-duration) infinite; }
@keyframes wave20{ 50%{ transform: rotate(95deg) translateY(40px); } }

.container { max-width: 1050px; margin: 0 auto; width: 100%; }

.hero {
  padding: 4vh 0 2vh;
  text-align: center;
}

.avatar-wrapper {
  position: relative;
  width: 155px;
  height: 155px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: avatar-breath 6s ease-in-out infinite;
}

.avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.6),
    transparent
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotate-ring 8s linear infinite;
  filter: blur(0.5px);
}

.avatar-wrapper::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: glow-pulse 4s ease-in-out infinite;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  z-index: 5;
  border: 3px solid var(--bg);
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes rotate-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.nick { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; margin-bottom: 5px; }

.tagline {
  color: var(--muted);
  font-weight: 800;
  font-size: 1rem;
}

.link-group { margin-top: 2vh; }
.link-group h2 { 
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 4px; 
  color: var(--muted); margin-bottom: 20px; text-align: center; 
}

.link-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.link-card {
  flex: 0 1 calc(33.333% - 10px);
  min-width: 270px;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  text-decoration: none; color: #fff;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-card:hover {
  background: rgba(25, 25, 25, 0.85);
  transform: translateY(-3px);
  border-color: transparent;
}

.card-icon, .link-card img {
  width: 35px; height: 35px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  flex-shrink: 0;
}

.link-card img { filter: brightness(0) invert(1); object-fit: contain; }

.link-card span { font-weight: 800; font-size: 1rem; letter-spacing: 0.2px; }

.footer {
  text-align: center;
  padding: 4vh 0 2vh;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 960px) {
  .link-card { flex: 0 1 calc(50% - 6px); }
  :root { --wing-scale: 1.2; }
}

@media (max-width: 640px) {
  .link-card { flex: 1 1 100%; }
  :root { --wing-scale: 0.7; }
  .nick { font-size: 2.2rem; }
}

@media (max-height: 700px) {
  .hero { padding-top: 20px; }
  .avatar { width: 80px; height: 80px; }
  .link-group { margin-top: 10px; }
}

