/* ── Shared Header & Navigation Styles ──
   Used by header.js across all pages.
   Import via: <link rel="stylesheet" href="/header.css">
*/

header {
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 20px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo span {
  -webkit-text-fill-color: initial;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-pill {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 20px;
  background: #1d1d1f;
  background-image: radial-gradient(circle, #ff6b00 0%, #ff6b00 100%);
  background-size: 0% 0%;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-size 0.35s ease;
  white-space: nowrap;
}

.signin-btn {
  padding: 0.55rem 1.4rem;
  background: linear-gradient(180deg, #ff7a1a 0%, #ff6b00 100%);
  color: white !important;
  border-radius: 980px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 8px rgba(255,107,0,0.25), 0 4px 12px rgba(255,107,0,0.15);
  position: relative;
  overflow: hidden;
}

.signin-btn::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.signin-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 4px 12px rgba(255,107,0,0.35), 0 8px 20px rgba(255,107,0,0.2);
}

/* Tablet (769px - 768px) */
@media (max-width: 768px) {
  header { padding: 1rem 1.5rem; }
  .logo { font-size: 1.25rem; }
  .nav-links { gap: 0.5rem; }
  .nav-pill { padding: 0.45rem 1rem; font-size: 0.8rem; }
  .signin-btn { padding: 0.45rem 1rem; font-size: 0.85rem; }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  header { padding: 0.8rem 0.75rem; }
  .logo {
    font-size: 0.95rem;
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .nav-links {
    gap: 0.4rem !important;
    flex-shrink: 1;
    min-width: 0;
  }
  .nav-pill { padding: 0.35rem 0.65rem; font-size: 0.75rem; }
  .signin-btn { padding: 0.4rem 0.9rem; font-size: 0.8rem; white-space: nowrap; }
  #userMenuBtn {
    padding: 0.4rem 0.6rem !important;
    font-size: 0.8rem !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }
}
