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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050505;
  color: #f7f5f4;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  animation: fadeInWhole 1.2s ease-in-out forwards;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease;
  will-change: transform;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.profile-pic:hover {
  transform: scale(1.05);
}
.profile-pic::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: rotate(25deg);
  animation: shine 4s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

.typing {
  font-size: 2.5rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  min-height: 3rem;
  line-height: 1.2;
}

.typing.active {
  border-right: 0.12em solid #f7f5f4;
  animation: caretFade 1.2s ease-in-out infinite;
}

.subtitle {
  font-size: clamp(0.9rem, 3vw, 1rem);
  font-weight: 600;
  opacity: 0;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  animation: fadeInWhole 1s ease-in-out forwards;
  animation-delay: 1.5s;
  color: #f7f5f4;
}

.links a {
  margin: 0 0.8rem;
  font-size: clamp(1.2rem, 6vw, 1.8rem);
  color: #f7f5f4;
  opacity: 0;
  display: inline-block;
  transform: translateY(8px) scale(1);
  animation: linkIn 0.6s ease-out forwards;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1.2);
  position: relative;
}

.links a:nth-child(1) { animation-delay: 1.8s; }
.links a:nth-child(2) { animation-delay: 2s; }
.links a:nth-child(3) { animation-delay: 2.2s; }
.links a:nth-child(4) { animation-delay: 2.4s; }

.links a:hover {
  transform: translateY(-4px) scale(1.15);
  color: #cccaca;
  opacity: 1;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.links a .label {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f7f5f4;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.links a .label::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.08) transparent transparent transparent;
}

.links a:hover .label {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  animation: bounceIn 0.35s cubic-bezier(.25,.8,.25,1);
}

@keyframes bounceIn {
  0% { transform: translateX(-50%) scale(0.6); opacity: 0; }
  60% { transform: translateX(-50%) scale(1.1); opacity: 1; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

@keyframes linkIn {
  from { opacity: 0; transform: translateY(8px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.label .badge {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.cursor-effect {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  pointer-events: none;
  mix-blend-mode: difference;
  transform: scale(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cursor-effect.active {
  transform: scale(4);
  opacity: 0;
}

@keyframes fadeInWhole {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes picZoom {
  to { opacity: 1; transform: scale(1); }
}

@keyframes caretFade {
  0%, 100% { border-color: transparent; }
  50% { border-color: rgba(245,245,245,1); }
}

@keyframes popIn {
  0% { opacity: 0; transform: translateY(6px) scale(0.9); }
  60% { opacity: 1; transform: translateY(-2px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.fade {
  display: inline-block;
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  animation: popIn .35s cubic-bezier(.25,.8,.25,1) forwards;
}

.typing,
.subtitle,
.links a,
.links a i,
.links a .label {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
