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

html, body {
  height: 100%;
  width: 100%;
  background: #000;
  color: #fff;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.bg-glow {
  position: fixed;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
  animation: glow-pulse 8s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.8; transform: translateX(-50%) scale(1.15); }
}

.screen {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 24px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: linear-gradient(160deg, #121212 0%, #0a0a0a 60%, #060606 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem 2.5rem;
  text-align: left;
  max-width: 90vw;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  animation: card-in 0.6s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(255, 255, 255, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.avatar {
  flex-shrink: 0;
  width: clamp(64px, 10vw, 88px);
  height: clamp(64px, 10vw, 88px);
  border-radius: 50%;
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.04),
    0 8px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover .avatar {
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.08),
    0 10px 26px rgba(0, 0, 0, 0.6);
  transform: scale(1.03);
}

.avatar svg {
  width: 60%;
  height: 60%;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-headline {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.title {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  margin: 0;
}

.badge {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  line-height: 1;
}

.link {
  display: inline-block;
  align-self: flex-start;
  margin-top: -0.25rem;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  background-color: #161616;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  width: fit-content;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}

.link:hover,
.link:focus {
  background-color: #232323;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.divider {
  color: rgba(255, 255, 255, 0.25);
}
