:root {
  --bg-1: #060816;
  --bg-2: #0d1328;
  --card: rgba(17, 24, 39, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #7c3aed;
  --secondary: #06b6d4;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 28px;
}

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

html,
body {
  min-height: 100%;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.12), transparent 25%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  overflow-x: hidden;
}

body {
  position: relative;
}

.container {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  position: relative;
  z-index: 2;
}

.card {
  position: relative;
  width: 100%;
  max-width: 430px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  padding: 30px 22px 22px;
  overflow: hidden;
  animation: cardIn 0.9s ease;
}

.shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.05) 35%,
    transparent 50%
  );
  transform: translateX(-100%);
  animation: shineMove 5s linear infinite;
  pointer-events: none;
}

.profile {
  text-align: center;
  margin-bottom: 24px;
}

.avatar-area {
  position: relative;
  width: 118px;
  height: 118px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}

.avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--primary),
    var(--secondary),
    var(--primary)
  );
  animation: spin 8s linear infinite;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.35);
}

.avatar-ring::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #0f172a;
}

.avatar {
  position: relative;
  z-index: 2;
  width: 98px;
  height: 98px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: #111827;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dbeafe;
  font-size: 0.82rem;
  margin-bottom: 14px;
  animation: pulseGlow 2.5s infinite;
}

h1 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

.subtitle {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

.links {
  display: grid;
  gap: 14px;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.025)
  );
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  animation: fadeUp 0.6s ease both;
}

.link-card:nth-child(1) { animation-delay: 0.10s; }
.link-card:nth-child(2) { animation-delay: 0.20s; }
.link-card:nth-child(3) { animation-delay: 0.30s; }
.link-card:nth-child(4) { animation-delay: 0.40s; }

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transform: translateX(-120%);
  transition: transform 0.8s ease;
}

.link-card:hover::before {
  transform: translateX(120%);
}

.link-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.22),
    rgba(6, 182, 212, 0.14)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.link-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.link-text strong {
  font-size: 1rem;
}

.link-text span {
  color: var(--muted);
  font-size: 0.86rem;
}

.arrow {
  font-size: 1.2rem;
  color: #cbd5e1;
  transition: transform 0.2s ease;
}

.link-card:hover .arrow {
  transform: translateX(4px);
}

.footer {
  margin-top: 22px;
  text-align: center;
  color: #7c8aa5;
  font-size: 0.82rem;
}

.bg-orb {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  z-index: 0;
  animation: floatOrb 8s ease-in-out infinite;
}

.orb-1 {
  top: -100px;
  right: -70px;
  background: #7c3aed;
}

.orb-2 {
  bottom: -100px;
  left: -70px;
  background: #06b6d4;
  animation-delay: -4s;
}

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  animation: rise linear infinite;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes shineMove {
  to {
    transform: translateX(140%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(124, 58, 237, 0);
  }
  50% {
    box-shadow: 0 0 24px rgba(124, 58, 237, 0.25);
  }
}

@keyframes floatOrb {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(20px) scale(1.08);
  }
}

@keyframes rise {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  to {
    transform: translateY(-110vh);
    opacity: 0;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 24px 16px 18px;
  }

  h1 {
    font-size: 1.65rem;
  }

  .subtitle {
    font-size: 0.92rem;
  }

  .link-card {
    padding: 14px;
  }
}