:root {
  --bg: #000;
  --surface: #141414;
  --surface-2: #1f1f1f;
  --border: #2b2b2b;
  --text: #fff;
  --muted: #a3a3a3;
  --accent: #e50914;
  --accent-hover: #f40612;
  --danger: #e50914;
  --success: #46d369;
  --radius: 6px;
  --gutter: 4%;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--text); line-height: 1.5; min-height: 100vh; }
[hidden] { display: none !important; }
a { color: #fff; }

/* ---------- Marca ---------- */
.brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: 26px; letter-spacing: .02em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 28px; line-height: 1;
}
.brand-dot { display: none; }
.brand small { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; }

/* ---------- Telas de autenticação ---------- */
.auth-wrap {
  min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(229, 9, 20, .28), transparent 65%),
    linear-gradient(180deg, #000 0%, #0a0a0a 100%);
}
.card {
  width: 100%; max-width: 440px;
  background: rgba(0, 0, 0, .78);
  border: 1px solid #222;
  border-radius: 8px;
  padding: 44px 40px 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
}
h1 { font-size: 30px; font-weight: 800; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 24px; font-size: 15px; }

label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select, input[type=search] {
  width: 100%; padding: 14px 16px;
  background: #333; color: var(--text);
  border: 1px solid transparent; border-radius: 4px;
  font: inherit; font-size: 15px; outline: none;
  transition: border-color .15s, background .15s;
}
input:focus, textarea:focus, select:focus { background: #454545; border-color: #8c8c8c; }
input[readonly] { opacity: .7; }
textarea { resize: vertical; min-height: 90px; }
input[type=file] { width: 100%; color: var(--muted); font-size: 14px; }
input[type=file]::file-selector-button {
  background: #333; color: #fff; border: 0; border-radius: 4px; padding: 9px 14px; margin-right: 12px; cursor: pointer; font: inherit; font-weight: 600;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 4px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  background: var(--accent); color: #fff; text-decoration: none;
  transition: background .15s, opacity .15s, transform .05s;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn.block { width: 100%; margin-top: 26px; padding: 14px; font-size: 16px; }
.btn.ghost { background: rgba(255, 255, 255, .08); border-color: #444; color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .16); }
.btn.danger { background: transparent; border-color: rgba(229, 9, 20, .6); color: #ff4d55; }
.btn.danger:hover { background: rgba(229, 9, 20, .15); }
.btn.sm { padding: 7px 12px; font-size: 13px; }
.btn.white { background: #fff; color: #000; }
.btn.white:hover { background: rgba(255, 255, 255, .78); }
.btn.gray { background: rgba(109, 109, 110, .7); color: #fff; }
.btn.gray:hover { background: rgba(109, 109, 110, .5); }
.btn.lg { padding: 12px 28px; font-size: 18px; }

.link-btn { background: none; border: 0; color: #b3b3b3; cursor: pointer; font: inherit; font-size: 14px; padding: 0; text-decoration: none; }
.link-btn:hover { color: #fff; text-decoration: underline; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.divider { border-top: 1px solid #333; margin: 26px 0 18px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 14px; }

.alert { margin-top: 16px; padding: 10px 14px; border-radius: 4px; font-size: 14px; }
.alert.error { background: #e87c03; color: #fff; }
.alert.success { background: rgba(70, 211, 105, .15); border: 1px solid rgba(70, 211, 105, .4); color: #c9f7d4; }
.alert.info { background: rgba(255, 255, 255, .08); border: 1px solid #444; color: #ddd; }

.spinner {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid #333; border-top-color: var(--accent);
  animation: spin .8s linear infinite; margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Barra superior ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  background: linear-gradient(180deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, 0) 100%);
  transition: background .3s;
}
.topbar.solid { background: #000; }
.topbar .brand { margin: 0; font-size: 24px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.topbar input[type=search] {
  width: 240px; padding: 8px 12px; font-size: 14px;
  background: rgba(0, 0, 0, .75); border: 1px solid #555;
}
.topbar input[type=search]:focus { border-color: #fff; }
.user-email { color: #ccc; font-size: 13px; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Páginas com topbar fixa (admin) */
.page-top { padding-top: 84px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) 64px; }

/* ---------- Hero / destaque ---------- */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: flex-end;
  padding: 120px var(--gutter) 9vh; overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -40px; z-index: -2;
  background-size: cover; background-position: center;
  filter: blur(28px) brightness(.45) saturate(1.2); transform: scale(1.1);
}
.hero-bg.fallback { filter: none; background: radial-gradient(800px 500px at 75% 30%, rgba(229, 9, 20, .55), transparent 70%), #0b0b0b; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 35%);
}
.hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; width: 100%; }
.hero-content { max-width: 620px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #ddd; margin-bottom: 14px;
}
.hero-tag::before { content: ""; width: 4px; height: 18px; background: var(--accent); }
.hero h1 { font-size: clamp(34px, 5.5vw, 68px); line-height: 1.02; font-weight: 900; margin: 0 0 16px; text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
.hero-meta { display: flex; gap: 12px; align-items: center; color: #ddd; font-size: 15px; margin-bottom: 14px; }
.hero-meta .pill { border: 1px solid #888; padding: 0 8px; border-radius: 3px; font-size: 13px; }
.hero p { font-size: clamp(15px, 1.4vw, 19px); color: #e5e5e5; margin: 0 0 24px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-poster {
  width: clamp(160px, 18vw, 260px); aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .8); flex-shrink: 0;
}
.play-tri { width: 0; height: 0; border-left: 14px solid currentColor; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }

/* ---------- Fileiras ---------- */
.rows { position: relative; z-index: 2; margin-top: -6vh; padding-bottom: 80px; }
.rows.no-hero { margin-top: 0; padding-top: 96px; }
.row { margin-bottom: 3.2vw; }
.row-title { font-size: clamp(17px, 1.5vw, 24px); font-weight: 800; margin: 0 var(--gutter) 10px; display: flex; align-items: baseline; gap: 10px; }
.row-title span { font-size: 13px; color: var(--muted); font-weight: 500; }
.row-wrap { position: relative; }
.row-track {
  display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x proximity;
  padding: 14px var(--gutter) 24px; scrollbar-width: none;
}
.row-track::-webkit-scrollbar { display: none; }
.row-arrow {
  position: absolute; top: 14px; bottom: 24px; width: var(--gutter); min-width: 40px; z-index: 3;
  background: rgba(0, 0, 0, .55); color: #fff; border: 0; font-size: 42px; cursor: pointer;
  opacity: 0; transition: opacity .2s, background .2s;
}
.row-arrow.left { left: 0; }
.row-arrow.right { right: 0; }
.row-wrap:hover .row-arrow { opacity: 1; }
.row-arrow:hover { background: rgba(0, 0, 0, .8); }

/* ---------- Capa vertical ---------- */
.poster-card {
  position: relative; flex: 0 0 auto; width: clamp(128px, 14.5vw, 220px); aspect-ratio: 2 / 3;
  border-radius: var(--radius); overflow: hidden; cursor: pointer; scroll-snap-align: start;
  background: #1a1a1a; border: 0; padding: 0; color: inherit; font: inherit; text-align: left;
  transition: transform .25s ease, box-shadow .25s ease;
}
.poster-card:hover, .poster-card:focus-visible { transform: scale(1.07); z-index: 2; box-shadow: 0 14px 40px rgba(0, 0, 0, .8); outline: none; }
.poster-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster-fallback {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px;
  background: linear-gradient(160deg, #3a0306 0%, #140102 55%, #000 100%);
  font-weight: 900; font-size: clamp(15px, 1.4vw, 20px); line-height: 1.1; text-transform: uppercase;
}
.poster-fallback::before { content: ""; position: absolute; top: 12px; left: 12px; width: 26px; height: 4px; background: var(--accent); }
.poster-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .2) 55%, rgba(0, 0, 0, 0) 100%);
  opacity: 0; transition: opacity .25s;
}
.poster-card:hover .poster-overlay, .poster-card:focus-visible .poster-overlay { opacity: 1; }
.poster-overlay h3 { margin: 0; font-size: 14px; line-height: 1.25; }
.poster-overlay small { color: #bbb; font-size: 12px; }
.poster-play {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #000;
  display: grid; place-items: center; margin-bottom: 6px;
}
.poster-play .play-tri { border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; margin-left: 3px; }
.poster-num {
  position: absolute; top: 8px; right: 8px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; padding: 2px 6px; border-radius: 3px;
}

.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 10px; padding: 0 var(--gutter); }
.results-grid .poster-card { width: 100%; }
.empty { text-align: center; padding: 64px 16px; color: var(--muted); margin: 0 var(--gutter); border: 1px dashed #333; border-radius: 8px; }

/* ---------- Player ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .88); display: grid; place-items: center; padding: 20px; }
.modal-box { width: 100%; max-width: 1100px; background: #181818; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, .9); }
.modal-box video { width: 100%; display: block; background: #000; max-height: 72vh; }
.modal-body { padding: 20px 24px 26px; display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.modal-body h2 { margin: 0 0 6px; font-size: 24px; }
.modal-body p { margin: 0; color: #ccc; white-space: pre-line; }

/* ---------- Admin ---------- */
.tabs { display: flex; gap: 6px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.tab { background: none; border: 0; border-bottom: 3px solid transparent; color: var(--muted); padding: 10px 16px; font: inherit; font-weight: 700; cursor: pointer; }
.tab:hover { color: #fff; }
.tab.active { color: #fff; border-bottom-color: var(--accent); }
.panel { background: var(--surface); border: 1px solid #222; border-radius: 8px; padding: 24px; margin-bottom: 24px; }
.form-layout { display: grid; grid-template-columns: 1fr 200px; gap: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.hint { display: block; color: #777; font-size: 12px; margin-top: 4px; }
.poster-preview {
  aspect-ratio: 2 / 3; width: 100%; border-radius: 6px; overflow: hidden; background: #0b0b0b;
  border: 2px dashed #333; display: grid; place-items: center; color: #666; font-size: 13px; text-align: center; padding: 10px; margin-top: 34px;
}
.poster-preview img { width: 100%; height: 100%; object-fit: cover; }
.poster-preview.has-img { padding: 0; border-style: solid; border-color: #333; }
.checkbox { display: flex; align-items: center; gap: 8px; margin-top: 40px; color: var(--text); font-size: 14px; }
.checkbox input { accent-color: var(--accent); width: 16px; height: 16px; }
.progress { height: 6px; background: #333; border-radius: 99px; overflow: hidden; margin-top: 18px; }
.progress > div { height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.progress-label { font-size: 13px; color: var(--muted); margin-top: 6px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #262626; vertical-align: middle; }
th { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
td .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-poster { width: 40px; aspect-ratio: 2 / 3; border-radius: 3px; object-fit: cover; background: linear-gradient(160deg, #3a0306, #000); display: block; }
.badge { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 3px; border: 1px solid #444; }
.badge.on { color: var(--success); border-color: rgba(70, 211, 105, .45); }
.badge.off { color: var(--muted); }
.badge.admin { color: #fff; background: var(--accent); border-color: var(--accent); }

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .card { padding: 32px 22px 28px; background: #000; border: 0; box-shadow: none; }
  .topbar { padding: 12px 16px; }
  .topbar .brand { font-size: 20px; }
  .topbar input[type=search] { width: 130px; }
  .user-email { display: none; }
  .hero { min-height: 70vh; padding-bottom: 7vh; }
  .hero-poster { display: none; }
  .hero-inner { display: block; }
  .rows { margin-top: 0; }
  .row-arrow { display: none; }
  .row-track { gap: 8px; }
  .poster-card { width: 31vw; }
  .poster-card:hover { transform: none; }
  .form-layout, .form-grid { grid-template-columns: 1fr; }
  .poster-preview { max-width: 180px; margin-top: 8px; }
  .checkbox { margin-top: 16px; }
  .modal { padding: 0; }
  .modal-box { border-radius: 0; }
  .modal-body { flex-direction: column; }
}

/* ---------- Progresso nas capas ---------- */
.poster-progress { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 4px; background: rgba(255, 255, 255, .3); border-radius: 2px; overflow: hidden; z-index: 1; }
.poster-progress > div { height: 100%; background: var(--accent); }

/* ---------- Player cinematográfico ---------- */
.cine { position: fixed; inset: 0; z-index: 100; background: #000; animation: cineIn .6s ease; color: #fff; user-select: none; -webkit-user-select: none; }
@keyframes cineIn { from { opacity: 0; } to { opacity: 1; } }
.cine video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.cine.idle { cursor: none; }
.cine-top, .cine-bottom { position: absolute; left: 0; right: 0; z-index: 3; transition: opacity .4s ease, transform .4s ease; }
.cine-top { top: 0; display: flex; align-items: center; gap: 18px; padding: 22px 3%; background: linear-gradient(180deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0)); }
.cine-bottom { bottom: 0; padding: 60px 3% 20px; background: linear-gradient(0deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0)); }
.cine.idle .cine-top { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.cine.idle .cine-bottom { opacity: 0; transform: translateY(12px); pointer-events: none; }
.cine-icon { background: none; border: 0; color: #fff; width: 46px; height: 46px; padding: 7px; cursor: pointer; display: grid; place-items: center; transition: transform .15s ease; flex-shrink: 0; }
.cine-icon:hover { transform: scale(1.2); }
.cine-icon svg { width: 100%; height: 100%; display: block; }
.cine-title small { display: block; color: #bbb; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.cine-title strong { font-size: 22px; font-weight: 800; }

.cine-progress { position: relative; height: 5px; margin: 0 0 16px; background: rgba(255, 255, 255, .22); cursor: pointer; touch-action: none; transition: height .15s; }
.cine-progress::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; bottom: -10px; }
.cine-progress:hover, .cine-progress.dragging { height: 9px; }
.cine-buffer, .cine-played { position: absolute; left: 0; top: 0; bottom: 0; width: 0; pointer-events: none; }
.cine-buffer { background: rgba(255, 255, 255, .38); }
.cine-played { background: var(--accent); }
.cine-knob { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .15s; pointer-events: none; box-shadow: 0 0 10px rgba(0, 0, 0, .6); }
.cine-progress:hover .cine-knob, .cine-progress.dragging .cine-knob { transform: scale(1); }
.cine-hover-time { position: absolute; bottom: 22px; left: 0; transform: translateX(-50%); background: rgba(20, 20, 20, .95); padding: 4px 9px; border-radius: 3px; font-size: 13px; font-weight: 600; pointer-events: none; opacity: 0; transition: opacity .15s; font-variant-numeric: tabular-nums; }
.cine-progress:hover .cine-hover-time, .cine-progress.dragging .cine-hover-time { opacity: 1; }

.cine-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cine-controls .group { display: flex; align-items: center; gap: 8px; }
.cine-bar-title { flex: 1; min-width: 0; text-align: center; font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e5e5e5; }
.cine-time { font-size: 14px; color: #ddd; font-variant-numeric: tabular-nums; margin-left: 8px; white-space: nowrap; }
.vol-group { display: flex; align-items: center; }
.cine-volume { width: 0; opacity: 0; transition: width .2s, opacity .2s; accent-color: var(--accent); cursor: pointer; }
.vol-group:hover .cine-volume, .cine-volume:focus { width: 90px; opacity: 1; margin-right: 6px; }
.cine-speed { width: auto; min-width: 46px; font: inherit; font-weight: 800; font-size: 15px; }

.cine-flash { position: absolute; top: 50%; left: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: rgba(0, 0, 0, .55); padding: 26px; pointer-events: none; opacity: 0; z-index: 2; }
.cine-flash svg { width: 100%; height: 100%; display: block; }
.cine-flash.show { animation: cineFlash .6s ease forwards; }
@keyframes cineFlash { 0% { opacity: 1; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.35); } }
.cine-spinner { position: absolute; top: 50%; left: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .12); border-top-color: var(--accent); animation: spin .8s linear infinite; z-index: 2; display: none; pointer-events: none; }
.cine.loading .cine-spinner { display: block; }

.cine-next {
  position: absolute; right: 3%; bottom: 130px; z-index: 4; display: flex; gap: 16px; align-items: center;
  background: rgba(20, 20, 20, .94); border: 1px solid #333; border-radius: 8px; padding: 14px; max-width: 440px;
  animation: cineIn .4s ease; box-shadow: 0 20px 60px rgba(0, 0, 0, .7);
}
.cine-next-poster { width: 74px; aspect-ratio: 2 / 3; border-radius: 4px; object-fit: cover; background: linear-gradient(160deg, #3a0306, #000); flex-shrink: 0; }
.cine-next small { color: #aaa; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.cine-next strong { display: block; font-size: 17px; margin: 2px 0 10px; }
.cine-next .row-actions { display: flex; gap: 8px; }

@media (max-width: 760px) {
  .cine-bar-title, .cine-volume { display: none; }
  .cine-title strong { font-size: 17px; }
  .cine-icon { width: 40px; height: 40px; padding: 6px; }
  .cine-controls .group { gap: 2px; }
  .cine-time { font-size: 12px; margin-left: 4px; }
  .cine-next { left: 16px; right: 16px; bottom: 110px; max-width: none; }
}

/* =========================================================
   Identidade Maya Nascimento — editorial / moda
   ========================================================= */
:root { --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif; }

.brand {
  font-family: var(--serif); font-weight: 600; font-size: 24px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--accent);
}
.topbar .brand { font-size: 19px; letter-spacing: .26em; }
.card .brand { justify-content: center; flex-direction: column; gap: 12px; font-size: 26px; text-align: center; margin-bottom: 32px; }
.card .brand::after { content: ""; width: 44px; height: 1px; background: var(--accent); }
.site-tagline { display: block; font-family: "Inter", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .38em; color: #9a9a9a; text-transform: uppercase; }

h1, .hero h1, .cine-title strong, .cine-next strong, .modal-body h2 {
  font-family: var(--serif); font-weight: 500; letter-spacing: .005em;
}
.card h1 { font-size: 32px; }
.hero h1 { font-weight: 500; font-size: clamp(38px, 6vw, 78px); line-height: 1; }
.hero-tag { letter-spacing: .3em; font-size: 12px; }
.row-title { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(19px, 1.7vw, 27px); letter-spacing: .01em; }
.row-title span { font-family: "Inter", sans-serif; font-style: normal; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.poster-fallback { font-family: var(--serif); font-weight: 500; font-style: italic; text-transform: none; font-size: clamp(17px, 1.6vw, 23px); }
.poster-overlay h3 { font-family: var(--serif); font-weight: 600; font-size: 16px; }
.cine-title small, .hero-tag, .cine-next small { color: #c9c9c9; }

/* Grão de filme sutil nas telas de entrada */
.auth-wrap { position: relative; isolation: isolate; }
.auth-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Foto de fundo no login (defina LOGIN_BG_IMAGE em assets/config.js) */
.has-login-bg .auth-wrap {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .7) 38%, rgba(0, 0, 0, .1) 75%),
    linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, 0) 40%),
    var(--login-bg) center top / cover no-repeat, #000;
  justify-items: start; padding-left: 7%;
}
.has-login-bg .card { background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); border-color: rgba(255, 255, 255, .08); }

@media (max-width: 760px) {
  .has-login-bg .auth-wrap {
    justify-items: center; padding-left: 16px; align-items: end;
    background:
      linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .85) 45%, rgba(0, 0, 0, .15) 100%),
      var(--login-bg) center top / cover no-repeat, #000;
  }
  .has-login-bg .card { background: transparent; backdrop-filter: none; }
  .topbar .brand { font-size: 15px; letter-spacing: .18em; }
}
.topbar .site-tagline { display: none; }

/* ---------- Logo (imagem) ---------- */
.brand-logo { display: block; height: auto; width: 100%; filter: drop-shadow(0 4px 18px rgba(229, 9, 20, .35)); }
.brand.has-logo .site-name { display: block; line-height: 0; }
.topbar .brand.has-logo .site-name { width: 150px; }
.card .brand.has-logo { margin-bottom: 28px; }
.card .brand.has-logo .site-name { width: min(300px, 82%); }
.card .brand.has-logo::after { display: none; }
.topbar .brand.has-logo { gap: 10px; flex-direction: row; align-items: center; }
@media (max-width: 760px) {
  .topbar .brand.has-logo .site-name { width: 104px; }
}

/* Espaço para a barra fixa (vence o padding de .container) */
.container.page-top { padding-top: 104px; }
@media (max-width: 760px) { .container.page-top { padding-top: 84px; } }
