/* Prerendered /connect/* pages only */
/* Match SPA light shell: index.css --bg-main / --bg-panel (#FFFFFF) — not pages/styles.css #f5f5f7 */
:root {
  --color-cinema-red: #e50914;
  --color-spotlight-gold: #ffd700;
  --color-midnight-black: #0a0a0a;
  --color-white-frame: #ffffff;
  --muted: #555;
  --light: #888;
  --border: #e5e5e5;
  --bg-main: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: var(--bg-main);
}

.seo-site-header {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0.75rem 1rem 0;
}

.seo-site-logo-link {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  background: var(--color-white-frame);
}

.seo-site-logo-link img {
  display: block;
  height: clamp(48px, 12vw, 72px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.wrap {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0.75rem 1rem 3rem;
}

h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.intro,
.disclaimer {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

.disclaimer {
  font-size: 0.85rem;
  border-left: 3px solid var(--border);
  padding-left: 0.75rem;
}

.path-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.path-steps li {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: var(--color-white-frame);
  display: flow-root;
}

.path-steps li .step-body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.path-steps .actor-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.path-steps img {
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  background: #eee;
}

.path-steps .step-num {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--light);
  margin-bottom: 0.35rem;
}

.step-relation {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.seo-cta-block {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-or {
  margin: 1.35rem 0 0.65rem;
  font-size: 0.98rem;
  color: var(--muted);
}

.seo-cta-block .seo-btn {
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 1em 2em;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s, color 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.seo-cta-block .seo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.seo-btn-start {
  background: var(--color-cinema-red);
  color: var(--color-white-frame);
  border: none;
}

.seo-btn-start:hover {
  background: var(--color-spotlight-gold);
  color: var(--color-midnight-black);
}

.seo-btn-daily {
  background: transparent;
  color: var(--color-cinema-red);
  border: 2px solid var(--color-cinema-red);
}

.seo-btn-daily:hover {
  background: transparent;
  color: var(--color-cinema-red);
}

@media (min-width: 768px) {
  .seo-cta-block .seo-btn {
    max-width: 300px;
  }
}

.tmdb-attribution {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.tmdb-attribution img {
  height: 28px;
  width: auto;
  opacity: 0.85;
}
