:root{
  --text: #e9eef2;
  --neon-magenta: #b24cff;
}

.header,
.navbar{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(0,0,0,0.00), rgba(0,0,0,0.18));
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.site-title{
  margin: 0;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 20px;
  line-height: 1;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-title span{
  color: var(--neon-magenta);
  text-shadow: 0 0 8px rgba(178,76,255,0.9), 0 0 28px rgba(178,76,255,0.15);
}

.nav-actions{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-btn{
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, rgba(0,240,234,0.22), rgba(178,76,255,0.18));
  box-shadow: 0 0 18px rgba(0,240,234,0.20);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.profile-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(0,240,234,0.35);
}

.profile-btn .material-icons{
  font-size: 22px;
}

.auth-modal[hidden]{
  display: none;
}

.auth-modal{
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,0.58);
  backdrop-filter: blur(8px);
}

.auth-modal__card{
  width: min(360px, 100%);
  border-radius: 18px;
  padding: 22px;
  background: #09090f;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}

.auth-modal__card h2{
  margin: 0 0 10px;
  font-size: 22px;
}

.auth-modal__card p{
  margin: 0;
  color: #c8c8d0;
  line-height: 1.5;
}

.auth-modal__actions{
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.auth-modal__actions a,
.auth-modal__close{
  flex: 1;
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.auth-modal__actions a.primary{
  background: linear-gradient(90deg, #ff007f, #00f0ff);
  color: #0b0b10;
}

.auth-modal__close{
  width: 100%;
  margin-top: 10px;
  background: rgba(255,255,255,0.05);
}
@media (max-width: 880px){
  .site-title{
    font-size: 18px;
  }
}
/* Shared NeonAnime brand is now owned by elements/site-shell/site-shell.css. */
.navbar .neon-brand{flex:0 0 auto}
