/* Design Style Specimens - Clean/Neutral Gallery */
:root {
  --bg: #fafafa;
  --card-bg: #ffffff;
  --text: #1a1a1a;
  --text-muted: #666;
  --border: #e5e5e5;
  --gsai-accent: #2563eb;
  --gsai-bg: #dbeafe;
  --v0-accent: #7c3aed;
  --v0-bg: #ede9fe;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  padding: 2rem;
  min-height: 100vh;
}

header {
  text-align: center;
  margin-bottom: 3rem;
}

header h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
}

.style-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.style-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.style-card h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.examples {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.example-link {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--bg);
  border-radius: 8px;
  overflow: hidden;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.example-link:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.example-link .thumbnail {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top;
  display: block;
  background: #e5e5e5;
}

.example-link .info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

.example-link .name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 0.75rem;
  font-size: 0.9rem;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.gsai .badge {
  background: var(--gsai-bg);
  color: var(--gsai-accent);
}

.v0 .badge {
  background: var(--v0-bg);
  color: var(--v0-accent);
}

/* No thumbnail fallback */
.example-link.no-thumbnail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

.example-link.no-thumbnail .info {
  display: contents;
}

footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

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

  header h1 {
    font-size: 1.5rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .example-link .thumbnail {
    height: 150px;
  }
}
