/* ============================================================
   movies/movies.css — layout for the /movies page
   ============================================================
   Same bones as blog.css: Whimle blue page, white sticky header with a
   black rule, white cards. The player is a plain <video> on a dark stage
   so a 4:3 film sits on black instead of blue. */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: sans-serif;
  color: #222;
  background-color: #38b6ff;      /* the same Whimle blue as the game page */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- header ---- */
.mv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  background: #fff;
  border-bottom: 2px solid #000;
  position: sticky;
  top: 0;
  z-index: 100;
}
.mv-brand { text-decoration: none; color: #222; }
.mv-brand-name { font-size: 20px; font-weight: 800; }
.mv-brand-sub { color: #38b6ff; }
.mv-nav { display: flex; align-items: center; gap: 14px; }
.mv-nav-link { font-size: 14px; font-weight: 600; color: #38b6ff; text-decoration: none; }
.mv-nav-link:hover { text-decoration: underline; }

/* ---- main ---- */
.mv-main {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
}
.mv-intro {
  background: #fff;
  border: 2px solid #000;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 16px;
  font-size: 15px;
}
.mv-status { color: #fff; font-weight: 600; }

/* ---- grid ---- */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.mv-card {
  display: block;
  background: #fff;
  border: 2px solid #000;
  border-radius: 10px;
  padding: 8px;
  color: #222;
  text-decoration: none;
  transition: transform 80ms ease;
}
.mv-card:hover, .mv-card:focus-visible { transform: translateY(-2px); outline: none; box-shadow: 0 4px 0 #000; }
.mv-card-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #111;
}
.mv-card-title { font-weight: 800; font-size: 14px; margin-top: 8px; }
.mv-card-sub { font-size: 12px; color: #555; }
.mv-card-theme { font-size: 12px; color: #444; margin-top: 4px; font-style: italic; }

/* ---- player ---- */
.mv-player { background: #fff; border: 2px solid #000; border-radius: 10px; padding: 12px 16px 18px; }
.mv-back {
  background: none;
  border: 2px solid #000;
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
}
.mv-back:hover { background: #38b6ff; color: #fff; }
.mv-stage { background: #000; border-radius: 8px; overflow: hidden; }
#mv-video { display: block; width: 100%; max-height: 80vh; background: #000; }
.mv-title { font-size: 22px; margin: 14px 0 4px; }
.mv-theme { margin: 0 0 6px; font-style: italic; color: #444; }
.mv-meta { margin: 0; font-size: 13px; color: #555; }

/* ---- footer ---- */
.mv-footer { text-align: center; color: #fff; font-size: 13px; padding: 18px; }
.mv-footer a { color: #fff; font-weight: 700; }
