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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0d0d0d;
  color: #e8e8e8;
  min-height: 100vh;
  padding: 3rem 1.5rem;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: center;
}

.header-center {
  flex: 1;
}

.header-center h1 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ccc;
  line-height: 1.5;
}

.header-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.avatar {
  border-radius: 50%;
  border: 2px solid #333;
  object-fit: cover;
}

.header-name {
  font-size: 0.8rem;
  color: #666;
  text-decoration: none;
}

.header-name:hover { color: #aaa; }

@media (max-width: 500px) {
  .header { flex-direction: column; }
  .header-center h1 { font-size: 1.1rem; }
}

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  display: block;
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid #222;
  background: #141414;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

.card:not(.card-soon):hover {
  border-color: #444;
  background: #1a1a1a;
  transform: translateY(-1px);
}

.card-soon {
  opacity: 0.5;
  cursor: default;
}

.card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #e8e8e8;
}

.card p {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.card-link {
  font-size: 0.85rem;
  color: #5b8dd9;
  font-weight: 500;
}

.card-coming-soon {
  font-size: 0.8rem;
  color: #555;
  font-style: italic;
}

/* Card with inline Nostr button */
.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.nostr-btn {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #ccc;
  border: 1px solid #333;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}

.nostr-btn:hover {
  border-color: #666;
  color: #fff;
}
