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

html {
  height: 100%;
  background: #0b0f14;
}

body {
  margin: 0;
  height: 100%;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 30%);
}

.bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 2.5rem;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.login {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  transition: background 0.2s, color 0.2s;
}

.login:hover,
.login:focus-visible {
  background: #fff;
  color: #0b0f14;
  outline: none;
}

@media (max-width: 600px) {
  .bar { padding: 1.25rem 1.25rem; }
  .brand { font-size: 1.1rem; }
  .login { padding: 0.55rem 0.9rem; font-size: 0.72rem; }
}

.brand img { display: block; height: 50px; width: auto; }
