:root {
  --bg: #0e0e10;
  --bg-elevated: #17171b;
  --bg-elevated-hover: #1c1c21;
  --text: #ececef;
  --text-muted: #8a8a93;
  --text-soft: #b8b8c0;
  --accent: #7fb4ff;
  --border: #26262c;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at 20% 0%, #1a1a22 0%, var(--bg) 55%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  position: sticky;
  top: 0;
  background: rgba(14, 14, 16, 0.8);
  backdrop-filter: blur(14px);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Lora", serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
}

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

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

/* Main */
main {
  flex: 1;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.intro {
  margin-bottom: 3.5rem;
}

.intro h1 {
  font-family: "Lora", serif;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.lead {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 54ch;
}

/* Feed */
.feed {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.loading,
.error {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  opacity: 0;
  transform: translateY(12px);
  animation: cardIn 0.5s ease forwards;
}

.card:hover {
  border-color: #35353d;
  background: var(--bg-elevated-hover);
  transform: translateY(-2px);
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card .cover {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--border);
  position: relative;
}

.card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card .cover .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Lora", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card .body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.card .meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.card .date {
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card .platform-tag {
  color: var(--text-muted);
  font-size: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
}

.card h2 {
  font-family: "Lora", serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

.card .artist {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.card .note {
  color: var(--text-soft);
  font-size: 0.94rem;
  margin-bottom: 0.9rem;
}

.card .listen {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.card .listen:hover {
  opacity: 0.75;
}

.card .listen::after {
  content: "→";
  transition: transform 0.2s;
}

.card .listen:hover::after {
  transform: translateX(3px);
}

.card .credit {
  font-size: 0.68rem;
  color: #5e5e66;
  margin-top: 0.5rem;
}

/* About */
.about {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.about h2 {
  font-family: "Lora", serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about p {
  color: var(--text-soft);
  font-size: 0.98rem;
  max-width: 60ch;
}

.about p + p {
  margin-top: 0.9rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 560px) {
  main {
    padding-top: 2.5rem;
  }
  .card {
    flex-direction: column;
    padding: 1.1rem;
    gap: 1rem;
  }
  .card .cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 260px;
  }
  .intro {
    margin-bottom: 2.5rem;
  }
}