/* HEADER.CSS — estilos do header e navegação (overlay)
*/

body.cine .header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1500;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.35s ease, border-color 0.35s ease,
              backdrop-filter 0.35s ease;
}

body.cine .header.scrolled {
  background: rgba(3, 7, 17, 0.72);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--cine-line);
}

body.cine .header.hidden-up { transform: none !important; }

body.cine .nav-link {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  border-radius: 0;
  position: relative;
}

body.cine .nav-link:hover,
body.cine .nav-link.active {
  background: transparent;
  color: #fff;
  text-shadow: 0 0 18px rgba(151, 243, 181, 0.65);
}

body.cine .nav-link.active::after {
  content: '';
  position: absolute;
  left: 20%; right: 20%; bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cine-green-soft), transparent);
  box-shadow: 0 0 12px var(--cine-green);
}

body.cine .btn-header {
  background: rgba(151, 243, 181, 0.08);
  border: 1px solid rgba(151, 243, 181, 0.4);
  color: var(--cine-green-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: all 0.3s ease;
}

body.cine .btn-header:hover {
  background: var(--cine-green);
  color: #02140a;
  box-shadow: 0 0 32px rgba(51, 204, 74, 0.5);
}

body.cine .nav-drawer {
  background: rgba(3, 7, 17, 0.96);
  backdrop-filter: blur(20px);
}
