:root {
  --bg: linear-gradient(135deg, #1e3a5f 0%, #0a1628 100%);
  --card: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #2563eb;
  --link-bg: #f0f7ff;
  --link-hover: #dbeafe;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: linear-gradient(135deg, #0a1628 0%, #020617 100%);
    --card: #0f1729;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --accent: #3b82f6;
    --link-bg: #1e293b;
    --link-hover: #2d3f56;
  }
}

[data-theme="light"] {
  --bg: linear-gradient(135deg, #1e3a5f 0%, #0a1628 100%);
  --card: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #2563eb;
  --link-bg: #f0f7ff;
  --link-hover: #dbeafe;
}

[data-theme="dark"] {
  --bg: linear-gradient(135deg, #0a1628 0%, #020617 100%);
  --card: #0f1729;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #3b82f6;
  --link-bg: #1e293b;
  --link-hover: #2d3f56;
}

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

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  transition: background 0.4s;
}

.card {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: background 0.3s, transform 0.3s;
}

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

.artwork {
  width: 100%;
  overflow: hidden;
}

.artwork img {
  width: 100%;
  height: auto;
  display: block;
}

.info {
  padding: 1.5rem;
  color: var(--text);
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.name {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--link-bg);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.link:hover {
  background: var(--link-hover);
  transform: translateX(4px);
}

.link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--link-bg);
}

.copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.email-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.email-icon {
  width: 14px;
  height: 14px;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--link-bg);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.theme-toggle:hover {
  background: var(--link-hover);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .moon {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .sun {
    display: none;
  }

  :root:not([data-theme]) .theme-toggle .moon {
    display: block;
  }
}

@media (max-width: 480px) {
  body {
    padding: 1rem;
  }

  .card {
    border-radius: 20px;
  }

  .info {
    padding: 1.25rem;
  }

  .name {
    font-size: 1.5rem;
  }
}