:root {
  --bg: #0f1724;
  --card: rgba(255,255,255,0.04);
  --glass: rgba(255,255,255,0.03);
  --muted: rgba(255,255,255,0.7);
  --accent-a: #7b61ff;
  --accent-b: #00d4ff;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(2,6,23,0.6);
}

* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(123,97,255,0.08), transparent 6%),
              radial-gradient(900px 400px at 90% 90%, rgba(0,212,255,0.04), transparent 8%),
              var(--bg);
  color: #e6eef8;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.page {
  max-width: 920px;
  margin: 48px auto;
  padding: 28px;
}

/* Card base */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.03);
}

/* Profile Card */
.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px;
}
.avatar {
  width: 110px;
  height: 110px;
  margin-bottom: 14px;
  border-radius: 999px;
  overflow: hidden;
}
.avatar-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.name {
  font-size: 1.6rem;
  margin: 0 0 6px;
}
.bio {
  margin: 0;
  color: var(--muted);
}

/* Links section */
.links-card {
  padding: 18px;
}
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--glass);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: transform .22s cubic-bezier(.2,.9,.22,1), box-shadow .22s, background .22s;
  transform: translateY(0);
}
.link-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(7,10,30,0.6);
  border-color: rgba(255,255,255,0.05);
}
.link-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 4px 18px rgba(11,15,40,0.6);
}
.link-text {
  display: flex;
  flex-direction: column;
}
.link-title {
  font-weight: 600;
}
.link-sub {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Video embed */
.video-wrapper {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.video-inner {
  width: 100%;
  max-width: 760px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}
.video-inner iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
}

/* Footer */
.footer-card {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  color: var(--muted);
  font-size: .95rem;
}

/* Responsive */
@media (max-width: 720px) {
  .page {
    margin: 18px;
    padding: 16px;
  }
  .links-grid {
    grid-template-columns: 1fr;
  }
  .avatar {
    width: 96px;
    height: 96px;
  }
}

/* Animation */
.links-grid .link-card {
  opacity: 0;
  transform: translateY(12px);
  animation: card-in .45s forwards;
}
@keyframes card-in {
  to {
    opacity: 1;
    transform: none;
  }
}
