* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #d6dee4;
  --text-main: #1f2937;
  --text-sub: #1a2d52;
  
  --wa-color: #25d366;
  --ig-grad: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  --tt-color: #000000;
  --tg-color: #229ed9;
  --fb-color: #1877f2;
}

html, body {
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
  touch-action: none;
  background-color: var(--bg-color);
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 380px;
  text-align: center;
  margin: 0 auto;
}

.profile {
  margin-bottom: 20px;
}

.profile-avatar-wrapper {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 12px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 3px;
  background: var(--ig-grad);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  animation: spinRing 4s linear infinite;
  z-index: 0;
}

.profile-img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  position: relative;
  z-index: 1;
}

.profile-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.profile-bio {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.45;
  margin-top: 4px;
  padding: 0 8px;
  word-wrap: break-word;
}

.profile-bio span {
  display: inline-block;
  margin-top: 4px;
  opacity: 0.75;
  font-size: 0.75rem;
  font-weight: 500;
}

.links-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  background: #f5f4f4;
  border: 1px solid #f1f5f9;
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, background, color, box-shadow;
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  z-index: 0;
}

.link-card:hover::before {
  left: 150%;
}

.link-content {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 200px;
  gap: 12px;
  z-index: 1;
  color: inherit;
}

.link-content span {
  transition: transform 0.3s ease;
}

.link-content i {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.link-card:hover {
  transform: translateY(-3px) scale(1.01) translateZ(0);
  border-color: transparent;
}

.link-card:hover .link-content i {
  transform: scale(1.2) rotate(-6deg);
}

.link-card:hover .link-content span {
  transform: translateX(3px);
}

.link-card:active {
  transform: translateY(-1px) scale(0.98) translateZ(0);
}

.link-card.whatsapp {
  color: var(--wa-color);
}
.link-card.whatsapp:hover {
  background: var(--wa-color);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
}

.link-card.instagram {
  color: #e6683c;
}
.link-card.instagram:hover {
  background: var(--ig-grad);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(220, 39, 67, 0.4);
}

.link-card.tiktok {
  color: var(--tt-color);
}
.link-card.tiktok:hover {
  background: var(--tt-color);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.link-card.telegram {
  color: var(--tg-color);
}
.link-card.telegram:hover {
  background: var(--tg-color);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(34, 158, 217, 0.4);
}

.link-card.facebook {
  color: var(--fb-color);
}
.link-card.facebook:hover {
  background: var(--fb-color);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.4);
}

footer {
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--text-sub);
  user-select: none;
}
.ripple-effect {
  position: absolute;
  width: 120px;
  height: 120px;
  margin-left: -60px;
  margin-top: -60px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
  z-index: 2;
}

@keyframes rippleAnim {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-height: 600px) {
  .profile {
    margin-bottom: 12px;
  }
  .profile-avatar-wrapper {
    width: 76px;
    height: 76px;
    margin-bottom: 8px;
  }
  .profile-img {
    width: 68px;
    height: 68px;
  }
  .profile-name {
    font-size: 1.1rem;
  }
  .profile-bio {
    font-size: 0.78rem;
  }
  .links-container {
    gap: 8px;
  }
  .link-card {
    padding: 10px 14px;
  }
}
