/* ===========================================================
   The Jarrod Morris Vibe — design tokens (extracted via skillui)
   =========================================================== */
:root {
  --bg:        #000000;
  --surface:   #111111;
  --text:      #ffffff;
  --text-muted:#cfcfcf;
  --muted:     #999999;
  --accent:    #0099ff;
  --gold:      #ffcc6e;
  --border:    #262626;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-pill: 9999px;
  --maxw:      none;
  --pad:       clamp(20px, 3vw, 50px);
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: "Inter", sans-serif; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 25px var(--pad); transition: background 300ms var(--ease);
}
.nav.scrolled { background: rgba(0,0,0,0.9); }
.brand {
  font-family: "Bebas Neue", sans-serif; font-size: 22px; letter-spacing: 0.5px;
  text-transform: uppercase; display: flex; align-items: center; gap: 8px;
}
.brand .dot { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-family: "Inter", sans-serif; font-size: 14px; font-weight: 500; color: var(--text); opacity: 0.92; text-transform: uppercase; transition: color 150ms var(--ease); }
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-search { background: transparent; border: 0; color: var(--text); cursor: pointer; display: flex; align-items: center; padding: 4px; opacity: 0.92; transition: color 150ms var(--ease); }
.nav-search:hover { color: var(--accent); }
.nav-search svg { width: 20px; height: 20px; }
.menu-btn {
  width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; display: none;
  flex-direction: column; gap: 5px; justify-content: center; align-items: flex-end;
}
.menu-btn span { display: block; height: 2px; width: 26px; background: var(--text); transition: 200ms var(--ease); }
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .nav.nav-open { background: rgba(0,0,0,0.97); flex-wrap: wrap; }
  .nav.nav-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    order: 3; width: 100%; gap: 0; margin-top: 18px; padding-top: 10px;
    border-top: 1px solid var(--border);
  }
  .nav.nav-open .nav-links a { width: 100%; padding: 13px 0; font-size: 15px; opacity: 1; }
  .nav.nav-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
  .nav.nav-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===== Hero carousel ===== */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 600ms var(--ease);
  display: flex; align-items: flex-end; pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-grad { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.9) 100%); }
.slide-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) 70px; }

.feature { display: block; max-width: 560px; }
.feature-art { display: block; width: 230px; aspect-ratio: 16/9; border-radius: var(--radius-lg); object-fit: cover; object-position: center 28%; border: 1px solid var(--border); margin-bottom: 14px; }
.feature-meta { padding-bottom: 5px; }
.feature-desc { font-size: 16px; line-height: 1.5; margin-bottom: 15px; }
.feature-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-watch {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #000;
  border: 0; border-radius: var(--radius-pill); padding: 11px 22px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 14px; cursor: pointer;
  transition: opacity 150ms var(--ease);
}
.btn-watch:hover { opacity: 0.9; }
.btn-watch .play { width: 22px; height: 22px; border-radius: 50%; background: #000; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }
.tagline { font-family: "Inter", sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0;
  text-transform: none; color: var(--gold); }

.arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border: 0; background: rgba(0,0,0,0.3); color: #fff; border-radius: 50%;
  font-size: 26px; cursor: pointer; opacity: 0.7; transition: opacity 150ms var(--ease);
}
.arrow:hover { opacity: 1; }
.arrow.left { left: 15px; }
.arrow.right { right: 15px; }
.dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.dots button { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.4); border: 0; padding: 0; cursor: pointer; }
.dots button.on { background: #fff; }

/* ===== Rows ===== */
.section { padding: 40px 0 10px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.row-head h2 { font-size: 24px; font-weight: 700; }
.row-head a { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.row-head a:hover { color: var(--accent); }

.slider {
  display: grid; grid-auto-flow: column; grid-auto-columns: 320px; gap: 15px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 15px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.slider::-webkit-scrollbar { height: 6px; }
.slider::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--radius-pill); }

.tile {
  display: block; scroll-snap-align: start; position: relative; aspect-ratio: 16/9; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border); cursor: pointer;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.tile:hover { transform: scale(1.03); border-color: var(--accent); }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.tile-cap { margin-top: 8px; font-size: 12px; color: var(--text-muted); }

/* category banners */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.cat { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); cursor: pointer; transition: transform 200ms var(--ease), border-color 200ms var(--ease); }
.cat:hover { transform: scale(1.02); border-color: var(--accent); }
.cat img { width: 100%; height: 100%; object-fit: cover; }
.cat.cat-text { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a1a1a, #000); }
.cat.cat-text span { font-family: "Anton", sans-serif; font-size: 34px; letter-spacing: 1px; text-transform: uppercase; color: #fff; }

/* ===== Home: featured (5 across, no scroll) + card captions ===== */
.card { display: block; }
.card .tile-cap { margin-top: 8px; font-size: 12px; line-height: 1.3; color: var(--text-muted); font-family: "Inter", sans-serif; font-weight: 700; }
.card .tile-cap b { color: var(--text); font-weight: 400; }

.featured-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.tile .top5 {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 4; pointer-events: none;
  background: #e50914; color: #fff; font-family: "Inter", sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.4px; text-transform: uppercase; padding: 5px 11px;
  border-radius: 4px 4px 0 0; white-space: nowrap;
}
@media (max-width: 980px){ .featured-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px){ .featured-grid { grid-template-columns: repeat(2, 1fr); } }

/* New Releases: horizontal scrolling row, newest first */
.rel-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 75px) / 6); gap: 15px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.rel-grid::-webkit-scrollbar { height: 6px; }
.rel-grid::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--radius-pill); }
.rel-grid .card { scroll-snap-align: start; }
@media (max-width: 1100px){ .rel-grid { grid-auto-columns: calc((100% - 45px) / 4); } }
@media (max-width: 760px){ .rel-grid { grid-auto-columns: calc((100% - 15px) / 2); } }

/* ===== Category page ===== */
.cat-hero { position: relative; height: 42vh; min-height: 300px; display: flex; align-items: flex-end; overflow: hidden; }
.cat-hero .slide-bg { background-size: cover; background-position: center; }
.cat-hero .slide-grad { background: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.95) 100%); }
.cat-hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) 35px; }
.cat-hero h1 { font-family: "Anton", sans-serif; font-size: 56px; letter-spacing: 1px; text-transform: uppercase; }
.cat-hero p { color: var(--text-muted); margin-top: 8px; font-size: 14px; }
.ep-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
@media (max-width: 1024px){ .ep-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px){ .ep-grid { grid-template-columns: repeat(2, 1fr); } .cat-hero h1 { font-size: 40px; } }

/* ===== Episode "movie detail" page ===== */
.movie { padding-top: 70px; position: relative; }
.movie-area { position: relative; overflow: hidden; }
.movie-backdrop { position: absolute; inset: 0; background-size: cover; background-position: center 28%; opacity: 0.18; }
.movie-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 100%), linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.95)); }
.movie-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.15fr; gap: 45px; align-items: center; padding: 45px var(--pad) 50px; max-width: var(--maxw); margin: 0 auto; }
.movie-title { font-family: "Anton", sans-serif; font-size: 54px; letter-spacing: 0.5px; text-transform: uppercase; line-height: 1.02; }
.movie-meta { display: flex; gap: 28px; margin-top: 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); font-family: "Inter", sans-serif; }
.movie-meta b { color: var(--text); font-weight: 600; }
.movie-meta .imdb b { color: var(--gold); }
.movie-meta .star { color: var(--gold); }
.movie-desc { margin-top: 20px; line-height: 1.65; color: var(--text-muted); max-width: 540px; font-size: 15px; }
.movie-url { display: block; margin-top: 24px; color: var(--text-muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; word-break: break-all; transition: color 150ms var(--ease); }
.movie-url:hover { color: var(--text); }
.tagline-link { display: inline-block; margin-top: 10px; color: var(--gold); font-family: "Inter", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; font-size: 13px; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.movie-actions { margin-top: 28px; display: flex; gap: 15px; flex-wrap: wrap; }
.movie-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #000; }
.movie-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.btn-yt { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #000;
  border-radius: var(--radius-pill); padding: 12px 24px; font-family: "Inter", sans-serif; font-weight: 600; font-size: 14px;
  transition: opacity 150ms var(--ease); }
.btn-yt:hover { opacity: 0.9; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-pill); padding: 12px 24px; font-family: "Inter", sans-serif; font-weight: 600; font-size: 14px;
  transition: border-color 150ms var(--ease); }
.btn-ghost:hover { border-color: var(--accent); }
@media (max-width: 900px){ .movie-grid { grid-template-columns: 1fr; gap: 25px; } .movie-title { font-size: 38px; } }

/* ===== Footer ===== */
footer { margin-top: 60px; border-top: 1px solid var(--border); padding: 58px 0; text-align: center; }
.foot-brand { font-family: "Bebas Neue", sans-serif; font-size: 28px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.foot-links { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.foot-links a { color: var(--muted); font-size: 13px; text-transform: uppercase; transition: color 150ms var(--ease); }
.foot-links a:hover { color: var(--text); }
.foot-social { display: flex; gap: 15px; justify-content: center; margin-bottom: 25px; }
.foot-social a { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); transition: 150ms var(--ease); }
.foot-social a:hover { color: var(--text); border-color: var(--accent); }
.foot-social svg { width: 18px; height: 18px; }
.copy { color: var(--muted); font-size: 12px; }

/* ===== Contact page ===== */
.page-hero { position: relative; padding: 150px var(--pad) 45px; min-height: 52vh; display: flex; align-items: flex-end; overflow: hidden; background: #000; border-bottom: 1px solid var(--border); }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 28%; }
.page-hero-grad { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.92) 100%), linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 65%); }
.page-hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; }
.page-hero h1 { font-family: "Anton", sans-serif; font-size: 56px; letter-spacing: 1px; text-transform: uppercase; }
.page-hero p { color: var(--text-muted); margin-top: 12px; font-size: 15px; max-width: 540px; line-height: 1.5; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 35px; max-width: 620px; margin: 0 auto; }
.contact-fallback { margin-top: 20px; text-align: center; font-size: 13px; color: var(--muted); }
.contact-fallback a { color: var(--text-muted); transition: color 150ms var(--ease); }
.contact-fallback a:hover { color: var(--accent); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-family: "Inter", sans-serif; font-size: 15px; padding: 12px 14px;
  transition: border-color 150ms var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  background: var(--accent); color: #fff; border: 0; border-radius: var(--radius-pill);
  padding: 13px 30px; font-family: "Inter", sans-serif; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: opacity 150ms var(--ease);
}
.btn-submit:hover { opacity: 0.9; }
.form-status { margin-top: 16px; font-size: 14px; min-height: 20px; line-height: 1.4; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #ff5b5b; }
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; gap: 35px; } }
@media (max-width: 767px){ .page-hero { padding-top: 120px; } .page-hero h1 { font-size: 40px; } }

/* ===== Episode transcript ===== */
.transcript-section { padding-top: 10px; }
.transcript { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.transcript > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; font-family: "Inter", sans-serif; user-select: none; }
.transcript > summary::-webkit-details-marker { display: none; }
.transcript .t-title { font-size: 18px; font-weight: 700; color: var(--text); }
.transcript .t-hint { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.transcript[open] > summary { border-bottom: 1px solid var(--border); }
.transcript-body { padding: 8px 22px 24px; max-height: 460px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.transcript-body::-webkit-scrollbar { width: 6px; }
.transcript-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--radius-pill); }
.transcript-body p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin: 14px 0; }
.transcript-body p em { color: var(--muted); font-size: 13px; }
/* Transcript is desktop-only (still in the HTML + schema for SEO, just hidden on small screens) */
@media (max-width: 900px) { .transcript-section { display: none; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 809px) {
  .feature-art { width: 170px; margin-bottom: 12px; }
  .row-head h2 { font-size: 20px; }
  .slider { grid-auto-columns: 260px; }
  .cat-grid { grid-template-columns: 1fr; }
  .brand { font-size: 17px; }
}
