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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #0a0a0a;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 105, 180, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.container {
  max-width: 680px;
  width: 100%;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.8s ease-in;
}

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

.profile {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.profile-image-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  position: relative;
  box-shadow:
    0 0 60px rgba(255, 110, 196, 0.4),
    0 0 120px rgba(120, 115, 245, 0.3);
  animation: float 6s ease-in-out infinite;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-image::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6ec4, #7873f5, #4facfe, #ff6ec4);
  background-size: 300% 300%;
  animation: gradientRotate 3s linear infinite;
  filter: blur(8px);
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes gradientRotate {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.profile h1 {
  color: #ffffff;
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 700;
  text-shadow: 0 0 30px rgba(255, 110, 196, 0.5);
  letter-spacing: -0.5px;
}

.profile p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.6;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.link-item {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.link-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(255, 110, 196, 0.1) 0%,
      rgba(120, 115, 245, 0.1) 50%,
      rgba(79, 172, 254, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.link-item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.link-item:hover {
  transform: translateY(-8px) translateZ(20px);
  border-color: rgba(255, 110, 196, 0.5);
  box-shadow:
    0 20px 60px rgba(255, 110, 196, 0.3),
    0 0 80px rgba(120, 115, 245, 0.2),
    inset 0 0 40px rgba(255, 255, 255, 0.05);
}

.link-item:hover::before {
  opacity: 1;
}

.link-item:hover::after {
  width: 600px;
  height: 600px;
}

.link-item:active {
  transform: translateY(-4px) translateZ(10px);
}

.link-content {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.link-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, rgba(255, 110, 196, 0.2), rgba(120, 115, 245, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 8px 32px rgba(255, 110, 196, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.link-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10%;
}

.link-item:hover .link-icon {
  transform: scale(1.1) rotateZ(5deg);
  box-shadow:
    0 12px 40px rgba(255, 110, 196, 0.4),
    inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.link-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.link-title {
  font-weight: 600;
  font-size: 18px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.3px;
}

.link-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.link-arrow {
  color: rgba(255, 255, 255, 0.5);
  font-size: 24px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.link-item:hover .link-arrow {
  color: #ff6ec4;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.social-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.social-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 30%;
}

.social-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6ec4, #7873f5, #4facfe);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.social-icon:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow:
    0 15px 40px rgba(255, 110, 196, 0.4),
    0 0 60px rgba(120, 115, 245, 0.3);
  border-color: rgba(255, 110, 196, 0.5);
}

.social-icon:hover::before {
  opacity: 1;
}

@media (max-width: 480px) {
  .profile h1 {
    font-size: 26px;
  }

  .link-title {
    font-size: 16px;
  }

  .link-subtitle {
    font-size: 13px;
  }

  .link-item {
    padding: 20px;
  }

  .link-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .link-icon img {
    width: 28px;
    height: 28px;
  }

  .social-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .social-icon img {
    width: 24px;
    height: 24px;
  }
}
