:root {
  --bg: #0d0d0f;
  --surface: #17171b;
  --surface-hover: #202025;
  --text: #f2f2f4;
  --text-muted: #9a9aa2;
  --accent: #e0263f;
  --accent-hover: #ff3d58;
  --border: #2a2a30;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 16px;
  background: radial-gradient(circle at 50% -10%, #24141a 0%, var(--bg) 55%);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
}

.card {
  width: 100%;
  max-width: 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 30px rgba(224, 38, 63, 0.2);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-image.active {
  opacity: 1;
}

.hero-credit {
  margin: 6px 0 0;
  text-align: left;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-credit a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.hero-credit a:hover {
  text-decoration: underline;
}

.hero-overlay {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 16px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0) 100%);
}

.hero-name {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.bio {
  margin: 16px 0 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.bio a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.bio a:hover {
  text-decoration: underline;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 244px;
  margin: 0 auto 32px;
}

.link-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--text);
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.link-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.link-button svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

.link-button.copied::after {
  content: "Copié !";
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.conventions {
  width: 100%;
  margin-bottom: 24px;
}

.conventions h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 10px;
  text-align: left;
}

.conventions-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.conventions-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
  font-size: 0.9rem;
}

.conventions-list .convention-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.conventions-list .convention-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.conventions-list .convention-name {
  font-weight: 600;
}

.conventions-list .convention-meta {
  color: var(--text-muted);
  white-space: nowrap;
}

.conventions-list .convention-empty {
  color: var(--text-muted);
  font-style: italic;
  justify-content: center;
}
