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

:root {
  --accent: #CCFF00;
  --accent2: #00FFDD;
  --bg: #080808;
  --surface: #101010;
  --surface2: #161616;
  --border: #1E1E1E;
  --text: #EFEFEF;
  --muted: #555;
}

body {
  font-family: 'Syne', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

/* --- WAVE BACKGROUND --- */
#wave-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* --- PHOTO --- */
.card-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.card-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to bottom, transparent, var(--surface));
}

/* --- IDENTITY --- */
.card-identity {
  padding: 0 24px 24px;
  margin-top: -40px;
  position: relative;
  z-index: 1;
}

.card-name {
  font-size: 42px;
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.card-name .accent { color: var(--accent); }

.card-role {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 10px;
  margin-bottom: 24px;
}

/* --- DIVIDER --- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0 24px 24px;
}

/* --- LINKS --- */
.card-links {
  padding: 0 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-row {
  display: flex;
  gap: 8px;
}

.card-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.18s;
  flex: 1;
}

.card-link:hover {
  transform: translateY(-2px);
}

.card-link.email:hover { border-color: var(--accent); }
.card-link.whatsapp:hover { border-color: #25D366; }
.card-link.vcard:hover { border-color: var(--accent); }

.link-icon {
  font-size: 17px;
  flex-shrink: 0;
  line-height: 1;
}

.link-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.link-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2px;
}

.link-value {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-link.email .link-value { color: var(--accent); }

.card-link.whatsapp .link-value { color: #25D366; }

/* vcard button more compact */
.card-link.vcard {
  flex: 0 0 auto;
  padding: 13px 14px;
  gap: 0;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.card-link.vcard .link-label { text-align: center; }
.card-link.vcard .link-icon { margin-bottom: 4px; }
