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

:root {
  --bg-color: #000000;
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #666666;
  --border-color: rgba(255, 255, 255, 0.14);
  --border-color-hover: rgba(255, 255, 255, 0.4);
  --border-color-highlight: rgba(255, 255, 255, 0.25);
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', 'SF Mono', Monaco, Consolas, monospace;
  --ease-smooth: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
  height: 100%;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 4.5rem 1.5rem 2.5rem;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle Grain / Noise Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Ambient Radial Glow behind Avatar & Header */
.ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 480px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 45%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.container {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Staggered Entrance Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-item {
  opacity: 0;
  animation: fadeInUp 0.75s var(--ease-premium) forwards;
  animation-delay: calc(var(--delay, 1) * 90ms);
}

/* 1. Avatar Container */
.avatar-wrapper {
  margin-bottom: 2rem;
}

.avatar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.4s var(--ease-premium), border-color 0.4s ease;
  will-change: transform;
}

.avatar-circle:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  border: none;
  transform: scale(1.75);
  transition: transform 0.4s var(--ease-premium);
}

.avatar-circle:hover img {
  transform: scale(1.85);
}

/* 2. Header Section */
.header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.header h1 {
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  line-height: 1.1;
}

.header p {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  letter-spacing: -0.015em;
  max-width: 320px;
  margin: 0 auto;
}

/* Availability Badge */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
  padding: 0.28rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.availability-badge:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.availability-dot {
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  animation: pulseDot 2.4s var(--ease-smooth) infinite;
}

/* 3. Links Section (Ghost Buttons with Spotlight & Icons) */
.links-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.link-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.1rem 1.45rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  transition: background 0.35s var(--ease-smooth), 
              border-color 0.35s var(--ease-smooth), 
              transform 0.35s var(--ease-smooth),
              box-shadow 0.35s var(--ease-smooth);
}

button.link-btn {
  font-family: inherit;
  font-size: 0.95rem;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}

.link-btn.copied {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.link-btn.copied .arrow-icon {
  stroke: #ffffff !important;
  transform: scale(1.15) !important;
}

/* Spotlight Border & Surface Glow */
.link-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    140px circle at var(--mouse-x, -100px) var(--mouse-y, -100px),
    rgba(255, 255, 255, 0.1),
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

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

.link-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Highlight Link */
.link-btn.highlight {
  border-color: var(--border-color-highlight);
  background: rgba(255, 255, 255, 0.035);
}

.link-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.link-title {
  display: inline-block;
  transition: transform 0.35s var(--ease-smooth);
}

/* Monochrome Featured Badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  transition: all 0.35s var(--ease-smooth);
}

.live-dot {
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
  animation: pulseDot 2.4s var(--ease-smooth) infinite;
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  transition: color 0.35s var(--ease-smooth);
}

/* Icons (Arrow & Copy Action) */
.arrow-icon,
.action-icon {
  width: 15px;
  height: 15px;
  stroke: var(--text-secondary);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-smooth), stroke 0.35s var(--ease-smooth);
  flex-shrink: 0;
  z-index: 2;
}

/* Buttery-Smooth Premium Hover State (Dark Glass) */
.link-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.06);
}

.link-btn:hover .link-title {
  transform: translateX(2px);
}

.link-btn:hover .arrow-icon {
  stroke: #ffffff;
  transform: translate(2.5px, -2.5px);
}

.link-btn:hover .action-icon {
  stroke: #ffffff;
  transform: scale(1.08);
}

.link-btn:hover .live-badge {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.link-btn:hover .badge-text {
  color: #ffffff;
}

/* 4. Footer & Monospace Details */
footer {
  width: 100%;
  margin-top: 4.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-right: -0.08em; /* Exactly offsets the trailing letter-spacing to prevent right shift */
  text-transform: uppercase;
  font-weight: 500;
  display: inline-block;
  text-align: center;
  transition: color 0.3s ease;
}

.mono-label:hover {
  color: var(--text-secondary);
}

/* Responsive (Mobile First) */
@media (max-width: 480px) {
  body {
    padding: 3.5rem 1.25rem 2rem;
  }

  .avatar-circle {
    width: 104px;
    height: 104px;
  }

  .header h1 {
    font-size: 2.1rem;
  }

  .header p {
    font-size: 0.9rem;
  }

  .link-btn {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }
}
