:root {
  --bg: #0f1117;
  --surface: #181c27;
  --text: #e8eaef;
  --muted: #9aa3b2;
  --accent: #6b7cff;
  --accent2: #4ad6c8;
  --border: #2a3142;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

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

html { font-size: 16px; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, #1a2240 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.5;
}

code {
  font-size: 0.9em;
  background: var(--surface);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.site-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
}

.site-header--compact {
  padding-bottom: 0.5rem;
}

.site-title {
  margin: 0 0 0.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.site-lede {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
}

.site-extra {
  margin: 0.75rem 0 0;
}

.site-extra a {
  color: var(--accent2);
  text-decoration: none;
  font-weight: 600;
}

.site-extra a:hover { text-decoration: underline; }

.back {
  margin: 0 0 0.75rem;
}

.back a {
  color: var(--accent2);
  text-decoration: none;
}

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

.grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
}

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

.card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  opacity: 0.88;
  pointer-events: none;
}

.card__media:hover img {
  opacity: 0.92;
}

.card__body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.card__plot {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.card__links {
  margin: 0.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn--yt {
  background: #c00;
  color: #fff;
}

.btn--yt:hover { filter: brightness(1.08); }

.btn--info {
  background: transparent;
  color: var(--accent2);
  border-color: var(--border);
}

.btn--info:hover {
  border-color: var(--accent2);
  background: rgba(74, 214, 200, 0.08);
}

.badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.15em 0.45em;
  border-radius: 4px;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Info pages */
.page-info .site-header {
  padding-top: 1.5rem;
}

.info-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.info-poster {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.info-poster img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.plot h2,
.meta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 600;
}

.plot p {
  margin: 0 0 1.25rem;
}

.meta-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
}

.meta-list dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.meta-list dd {
  margin: 0;
}

.actions {
  margin: 1.5rem 0 0.5rem;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
}

.info-index {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.info-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-index-list li {
  border-bottom: 1px solid var(--border);
}

.info-index-list a {
  display: block;
  padding: 0.65rem 0;
  color: var(--accent2);
  text-decoration: none;
}

.info-index-list a:hover {
  text-decoration: underline;
}
