/*
Theme Name: Movie Stream Theme
Theme URI: https://example.com
Author: Movie Stream Theme
Description: Streaming-style theme to pair with Indie Video Pro (MVP skeleton).
Version: 0.1.0
Text Domain: movie-stream-theme
*/

:root { --mst-max: 1200px; }

body { margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.mst-wrap { max-width: var(--mst-max); margin: 0 auto; padding: 20px; }
.mst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.mst-card { text-decoration:none; color: inherit; display:block; border-radius: 10px; overflow:hidden; background: rgba(0,0,0,0.04); }
.mst-card img { width:100%; height: 260px; object-fit: cover; display:block; }
.mst-card .mst-card__meta { padding: 10px 12px; }
.mst-hero { padding: 28px 0; }
.ivp-player { margin: 0 0 16px 0; }

/* === Indie Video Pro Netflix Card Style === */

.ivp-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ivp-card {
  width: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 8px 25px rgba(0,0,0,.4);
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
}

.ivp-card:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 40px rgba(0,0,0,.7);
  z-index: 10;
}

.ivp-card-image {
  position: relative;
  width: 100%;
  height: 320px;
  background: #000;
}

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

.ivp-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity .3s ease;
}

.ivp-card:hover .ivp-card-overlay {
  opacity: 1;
}

.ivp-play-btn {
  font-size: 34px;
  color: #fff;
  margin-bottom: 6px;
}

.ivp-card-title {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}

/* === Dark Page Background === */

body {
  background: #0b0b0b;
  color: #fff;
}

/* Optional: Hide default links under cards */
.ivp-card-link {
  text-decoration: none;
}

.ivp-card-link {
  color: transparent;
}

.ivp-card-link:hover {
  color: transparent;
}

.ivp-card-image::after {
  content: "";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
  pointer-events:none;
}

.ivp-hero{
  position:relative;
  width:100%;
  height:65vh;
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:flex-end;
  padding:40px;
  border-radius:20px;
  margin-bottom:40px;
}

.ivp-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.15));
  border-radius:20px;
}

.ivp-hero-content{
  position:relative;
  z-index:2;
  color:white;
  max-width:700px;
}

.ivp-hero-content h1{
  font-size:42px;
  margin-bottom:18px;
}

.ivp-actions .ivp-btn{
  margin-right:12px;
}

.ivp-hero {
  position: relative;
  height: 70vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 60px;
  color: #fff;
}

.ivp-hero-overlay {
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.2));
}

.ivp-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.ivp-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.ivp-actions {
  display:flex;
  gap:12px;
}

.ivp-btn {
  padding: 10px 20px;
  background:#fff;
  color:#000;
  border-radius:4px;
  font-weight:600;
  text-decoration:none;
}

.ivp-btn.ivp-list {
  background:rgba(255,255,255,.25);
  color:#fff;
}
