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

:root {
  --bg: #070809;
  --surface: #0e1114;
  --surface2: #161b21;
  --border: rgba(255,255,255,.06);
  --accent: #00b4d8;
  --accent-dim: rgba(0,180,216,.12);
  --text: #f0f4f8;
  --text-muted: #6b7a8d;
  --text-mid: #a0afc0;
  --nav-h: 64px;
  --radius: 6px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  padding: 0 48px;
  gap: 40px;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(7,8,9,.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: .01em;
  transition: color .15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s, background .15s;
}
.icon-btn:hover { color: var(--text); background: rgba(255,255,255,.06); }

.btn-sub {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: .01em;
  transition: opacity .2s;
  text-decoration: none;
}
.btn-sub:hover { opacity: .85; }

.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,.2); }

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color .15s;
  text-decoration: none;
  color: var(--text);
}
.user-chip:hover { border-color: rgba(0,180,216,.4); }
.user-chip .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}
.user-chip .uname { font-size: 13px; font-weight: 500; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #03045e 0%, #0077b6 45%, #00b4d8 100%);
}
.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: slowzoom 18s ease-out forwards;
}
@keyframes slowzoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.00); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(7,8,9,.95) 0%, rgba(7,8,9,.75) 35%, rgba(7,8,9,.3) 70%, rgba(7,8,9,.1) 100%),
    linear-gradient(to top,   rgba(7,8,9,1)  0%, rgba(7,8,9,0)  50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 64px 80px;
  max-width: 620px;
  animation: fadein .8s ease both;
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.hero-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); opacity: .5; }
.hero-meta .tag {
  border: 1px solid rgba(255,255,255,.15);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 500;
}
.hero-rating { color: #e9c46a; font-weight: 600; }

.hero-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #070809;
  border: none;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s;
  letter-spacing: -.01em;
}
.btn-play:hover { opacity: .88; }

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.12);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
  backdrop-filter: blur(8px);
}
.btn-more:hover { background: rgba(255,255,255,.16); }

.hero-side {
  position: absolute;
  right: 64px;
  bottom: 80px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.hero-ep-thumb {
  width: 200px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  opacity: .7;
  transition: opacity .2s;
}
.hero-ep-thumb:hover { opacity: 1; }
.hero-ep-thumb img { width: 100%; display: block; }
.hero-ep-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .5px;
  margin-top: 4px;
  text-align: right;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  opacity: .35;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:.25} 50%{opacity:.55} }
.scroll-cue svg { color: var(--text-muted); }

/* ── FILTER TABS ── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 28px 48px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.ftab {
  flex: 0 0 auto;
  padding: 7px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
  font-family: inherit;
}
.ftab:hover { border-color: rgba(255,255,255,.2); color: var(--text-mid); }
.ftab.active {
  background: var(--accent-dim);
  border-color: rgba(0,180,216,.4);
  color: var(--accent);
}

/* ── SECTIONS ── */
.section { padding: 44px 0 0; }

.section-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 48px 20px;
}
.section-hd h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--text);
}
.see-all {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity .15s;
}
.see-all:hover { opacity: .7; }

/* ── CAROUSEL ── */
.row-wrap { position: relative; }

.row {
  display: flex;
  gap: 12px;
  padding: 0 48px 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.row::-webkit-scrollbar { display: none; }

.row-btn {
  position: absolute;
  top: 0;
  bottom: 28px;
  width: 60px;
  background: linear-gradient(to right, rgba(7,8,9,.0), rgba(7,8,9,.8));
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.row-btn.left { left: 0; background: linear-gradient(to left, rgba(7,8,9,.0), rgba(7,8,9,.85)); border-radius: 0 4px 4px 0; }
.row-btn.right { right: 0; border-radius: 4px 0 0 4px; }
.row-wrap:hover .row-btn { opacity: 1; }
.row-btn:hover { color: #fff; }

/* ── CARD ── */
.card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  transition: transform .25s cubic-bezier(.25,.46,.45,.94);
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover { transform: translateY(-5px); z-index: 5; }

.card-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.card:hover .card-img { transform: scale(1.05); }

.card-img-wrap {
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
}

.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card:hover .card-hover-overlay { opacity: 1; }

.play-btn-sm {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn-sm svg { color: #070809; margin-left: 2px; }

.card-dur {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.72);
  color: rgba(255,255,255,.9);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 3px;
}

.card-info { padding: 11px 13px 14px; }
.card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
}
.card-sub .sep2 { opacity: .4; }

.card-w { flex: 0 0 320px; }
.card-poster { flex: 0 0 160px; }
.card-poster .card-img-wrap { aspect-ratio: 2/3; }

.poster-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 12px 12px;
  background: linear-gradient(to top, rgba(7,8,9,.95), transparent);
  pointer-events: none;
}
.poster-label .pl-title { font-size: 13px; font-weight: 700; line-height: 1.3; }
.poster-label .pl-sub { font-size: 11px; color: var(--accent); margin-top: 3px; font-weight: 500; }

/* ── FEATURED ── */
.featured {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  padding: 0 48px;
}
.feat-main {
  grid-row: 1 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  display: block;
}
.feat-main .card-img-wrap { aspect-ratio: unset; height: 100%; min-height: 280px; }
.feat-main:hover .card-img { transform: scale(1.04); }
.feat-main:hover .card-hover-overlay { opacity: 1; }
.feat-main-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(to top, rgba(7,8,9,.95) 0%, transparent 100%);
}
.feat-main-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.feat-main-sub { font-size: 12px; color: var(--text-muted); }
.feat-side {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}
.feat-side:hover .card-img { transform: scale(1.05); }
.feat-side:hover .card-hover-overlay { opacity: 1; }
.feat-side-info { padding: 10px 12px 12px; }
.feat-side-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.feat-side-sub { font-size: 11.5px; color: var(--text-muted); }

/* ── NEWS / MAGAZINE ── */
.news-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
  padding: 0 48px;
}
.news-feat,
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .25s, border-color .2s;
  position: relative;
}
.news-feat:hover,
.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,180,216,.35);
}

/* Featured (gros) */
.news-feat {
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 360px;
}
.news-feat-img {
  position: relative;
  overflow: hidden;
}
.news-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.news-feat:hover .news-feat-img img { transform: scale(1.04); }
.news-feat-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(7,8,9,.55));
}

.news-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 3px;
  z-index: 2;
  border: 1px solid rgba(0,180,216,.25);
}
.news-feat-body {
  padding: 22px 26px 24px;
}
.news-feat-body h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.5px;
  margin-bottom: 10px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-feat-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: .3px;
}
.news-meta .sep3 { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); opacity: .5; }
.news-read {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  transition: gap .2s;
}
.news-feat:hover .news-read,
.news-card:hover .news-read { gap: 8px; }

/* Cartes secondaires (compactes, image à gauche) */
.news-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 0;
}
.news-card-img {
  position: relative;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
.news-card-body .nc-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.news-card-body h4 {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-body .nc-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 960px) {
  .news-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .news-feat { grid-row: auto; min-height: 320px; }
  .news-feat-body h3 { font-size: 18px; }
}

/* ── HIGHLIGHT ── */
.highlight {
  margin: 48px 48px 0;
  border-radius: 10px;
  padding: 40px 52px;
  background: linear-gradient(105deg, #023e8a 0%, #0077b6 60%, #0096c7 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid rgba(255,255,255,.08);
}
.hl-text h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.hl-text p { font-size: 14px; opacity: .8; max-width: 440px; line-height: 1.6; }
.btn-hl {
  flex: 0 0 auto;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background .2s;
}
.btn-hl:hover { background: rgba(255,255,255,.25); }

/* ── FOOTER ── */
footer {
  margin-top: 72px;
  border-top: 1px solid var(--border);
  padding: 52px 48px 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.ft-brand img {
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: .75;
  margin-bottom: 16px;
  display: block;
}
.ft-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 22px; max-width: 280px; }
.socials { display: flex; gap: 8px; }
.sc {
  width: 32px; height: 32px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.sc:hover { border-color: rgba(0,180,216,.4); color: var(--accent); }

.ft-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.ft-col ul { list-style: none; }
.ft-col ul li { margin-bottom: 11px; }
.ft-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color .15s; }
.ft-col ul li a:hover { color: var(--text); }

.ft-bottom {
  grid-column: 1/-1;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ─────────── PAGE LOGIN ─────────── */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 40px;
  position: relative;
  overflow: hidden;
}
.auth-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
}
.auth-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.35) saturate(.9);
}
.auth-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(7,8,9,.4) 0%, rgba(7,8,9,.95) 80%);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(14,17,20,.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.auth-card h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 6px;
}
.auth-card .auth-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.auth-field { margin-bottom: 16px; }
.auth-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.auth-field input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, background .15s;
}
.auth-field input:focus { border-color: var(--accent); background: var(--surface); }

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 13px;
}
.auth-row label { color: var(--text-muted); display: flex; align-items: center; gap: 6px; cursor: pointer; }
.auth-row a { color: var(--accent); text-decoration: none; }

.btn-primary {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
  font-family: inherit;
}
.btn-primary:hover { opacity: .88; }

.auth-sep {
  text-align: center;
  margin: 22px 0;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  position: relative;
}
.auth-sep::before, .auth-sep::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: var(--border);
}
.auth-sep::before { left: 0; }
.auth-sep::after { right: 0; }

.auth-social {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.btn-soc {
  flex: 1;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color .15s;
}
.btn-soc:hover { border-color: rgba(255,255,255,.2); }

.auth-foot {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.auth-foot a { color: var(--accent); text-decoration: none; font-weight: 500; }

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.auth-logo img { height: 32px; filter: brightness(0) invert(1); }

/* ─────────── PAGE VIDEO DETAIL ─────────── */
.player-section {
  position: relative;
  padding-top: var(--nav-h);
  background: #000;
}
.player {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 80vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.player-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.5);
}
.player-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.big-play {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s;
}
.big-play:hover { transform: scale(1.05); }
.big-play svg { color: #070809; margin-left: 4px; }
.player-overlay .player-info { color: #fff; opacity: .85; font-size: 13px; }

.video-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
}

.vid-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 14px;
  line-height: 1.15;
}
.vid-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.vid-meta .tag {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-mid);
}
.vid-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, color .15s;
  text-decoration: none;
  font-family: inherit;
}
.action-btn:hover { border-color: rgba(0,180,216,.4); color: var(--accent); }
.action-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.action-btn.primary:hover { color: #fff; opacity: .88; }

.vid-desc {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 32px;
}
.vid-desc h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 12px; }
.vid-desc p { color: var(--text-mid); font-size: 14.5px; line-height: 1.75; margin-bottom: 12px; }
.vid-desc p:last-child { margin-bottom: 0; }

.vid-credits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.vid-credit {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 8px;
}
.vid-credit .lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.vid-credit .val { font-size: 14px; font-weight: 600; color: var(--text); }

.related-side h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.2px;
  margin-bottom: 16px;
}
.related-list { display: flex; flex-direction: column; gap: 10px; }
.related-item {
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
  color: inherit;
}
.related-item:hover { background: var(--surface); }
.related-thumb {
  flex: 0 0 140px;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface2);
  position: relative;
}
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-thumb .card-dur { font-size: 10px; padding: 1px 6px; }
.related-info { flex: 1; }
.related-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-sub { font-size: 11px; color: var(--text-muted); }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 960px) {
  nav { padding: 0 24px; gap: 16px; }
  .nav-links { display: none; }
  .hero-content { padding: 0 24px 60px; }
  .hero-side { display: none; }
  .section-hd, .row, .filter-bar, .featured, .highlight, footer { padding-left: 24px; padding-right: 24px; }
  .highlight { margin: 32px 24px 0; flex-direction: column; align-items: flex-start; padding: 28px; }
  footer { grid-template-columns: 1fr 1fr; }
  .featured { grid-template-columns: 1fr; }
  .feat-main { grid-row: auto; }
  .video-container { grid-template-columns: 1fr; padding: 24px; gap: 32px; }
  .vid-title { font-size: 24px; }
  .vid-credits { grid-template-columns: 1fr; }
}

/* ─────────── MOBILE ≤ 640px ─────────── */
@media (max-width: 640px) {
  nav { padding: 0 14px; gap: 8px; height: 56px; }
  .nav-logo img { height: 22px; }
  .nav-right { gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
  .btn-ghost, .btn-sub { padding: 6px 10px; font-size: 12px; }
  .user-chip { padding: 3px 10px 3px 3px; }
  .user-chip .uname { font-size: 12px; }
  .user-chip .avatar { width: 22px; height: 22px; font-size: 10px; }

  .hero { min-height: 76vh; }
  .hero-content { padding: 0 18px 36px; max-width: 100%; }
  .hero-eyebrow { font-size: 10px; margin-bottom: 14px; }
  .hero-title { font-size: 38px; line-height: 1.05; margin-bottom: 14px; }
  .hero-meta { gap: 8px; font-size: 12px; flex-wrap: wrap; }
  .hero-meta .tag { font-size: 10px; padding: 2px 7px; }
  .hero-desc { font-size: 14px; margin-bottom: 22px; }
  .hero-cta { gap: 8px; flex-wrap: wrap; }
  .btn-play, .btn-more { padding: 11px 18px; font-size: 13px; }

  .section { padding: 28px 0 0; }
  .section-hd { padding: 0 18px 14px; }
  .section-hd h2 { font-size: 16px; }
  .row { gap: 8px; padding: 0 18px 24px; scroll-padding-left: 18px; }
  .card { flex: 0 0 220px; }
  .card-w { flex: 0 0 250px; }
  .card-poster { flex: 0 0 140px; }

  .filter-bar { padding: 22px 18px 4px; }

  .featured { padding: 0 18px; gap: 10px; }
  .feat-main .card-img-wrap { min-height: 200px; }
  .feat-main-info { padding: 24px 16px 16px; }
  .feat-main-title { font-size: 14px; }

  .highlight { margin: 24px 18px 0; padding: 22px; }
  .hl-text h3 { font-size: 18px; }
  .hl-text p { font-size: 13px; }

  .news-grid { padding: 0 18px; gap: 12px; }
  .news-feat-body { padding: 18px 22px 22px; }
  .news-feat-body h3 { font-size: 18px; }
  .news-card { grid-template-columns: 90px 1fr; }
  .news-card-body { padding: 12px 14px; }
  .news-card-body h4 { font-size: 13px; }

  footer { grid-template-columns: 1fr; padding: 32px 18px 18px; gap: 24px; }
  .ft-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }

  .player { aspect-ratio: 16/9; max-height: none; }
  .video-container { padding: 24px 18px; }
  .vid-title { font-size: 20px; }
  .related-item { grid-template-columns: 100px 1fr; }
}

/* ═════════════════════════════════════════════
   THEMES — variations testables via le banner
   ═════════════════════════════════════════════ */

/* B · Clair (papier) */
html.theme-b {
  --bg:          #f5f3ee;
  --surface:     #ffffff;
  --surface2:   #ebe9e3;
  --border:      rgba(28, 35, 50, .10);
  --accent:      #0077b6;
  --accent-dim:  rgba(0, 119, 182, .10);
  --text:        #1a1f2c;
  --text-muted:  #6b6557;
  --text-mid:    #4a5060;
}
html.theme-b body { color-scheme: light; }
html.theme-b .hero-overlay {
  background:
    linear-gradient(to right, rgba(245,243,238,.96) 0%, rgba(245,243,238,.7) 40%, rgba(245,243,238,.1) 90%),
    linear-gradient(to top, rgba(245,243,238,1) 0%, rgba(245,243,238,0) 50%) !important;
}
html.theme-b .nav-logo img,
html.theme-b .ft-brand img { filter: none !important; }
html.theme-b nav.scrolled { background: rgba(245,243,238,.92); }
html.theme-b .row-btn.left { background: linear-gradient(to right, rgba(245,243,238,.95), transparent); }
html.theme-b .row-btn.right { background: linear-gradient(to left, rgba(245,243,238,.95), transparent); }
html.theme-b .row-btn::after { background-color: rgba(28,35,50,.92); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f5f3ee' stroke-width='3' stroke-linecap='round'><polyline points='9 18 15 12 9 6'/></svg>"); }
html.theme-b .btn-play { background: var(--accent); color: #fff; }
html.theme-b .btn-more { background: rgba(28,35,50,.06); border-color: rgba(28,35,50,.12); }
html.theme-b .btn-more:hover { background: rgba(28,35,50,.10); }

/* C · Profond + or */
html.theme-c {
  --bg:          #03101e;
  --surface:     #0a1c2e;
  --surface2:   #0f2540;
  --accent:      #d4a85a;
  --accent-dim:  rgba(212, 168, 90, .12);
  --text:        #f0e9d6;
  --text-muted:  #8b8772;
  --text-mid:    #b4ad9b;
}
html.theme-c .hero-overlay {
  background:
    linear-gradient(to right, rgba(3,16,30,.96) 0%, rgba(3,16,30,.55) 40%, rgba(3,16,30,.05) 95%),
    linear-gradient(to top, rgba(3,16,30,1) 0%, rgba(3,16,30,0) 50%) !important;
}
