.site-header {
  background: #141421;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #2a2a3a;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-text a {
  font-size: 1.8rem;
  color: #7df9ff;
}

.primary-nav a {
  margin-left: 1rem;
  color: #f0f0f0;
}

.primary-nav a:hover {
  color: #d96efb;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.oauth-status {
  font-size: 0.9rem;
  color: #f0f0f0;
  white-space: nowrap;
}

.oauth-status a {
  color: #7df9ff;
  margin-left: 0.5rem;
  text-decoration: none;
}

.oauth-status a:hover { color: #d96efb; }

/* --- Mobile Drawer / Hamburger --- */
.hamburger {
  display: none;
  background: #1a1a2a;
  color: #7df9ff;
  border: 1px solid #2a2a3a;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
}

.hamburger:hover { color: #d96efb; }

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 84%;
  max-width: 320px;
  background: #10101a;
  border-right: 1px solid #2a2a3a;
  transform: translateX(-100%);
  transition: transform 0.25s ease-out;
  z-index: 1100;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #141421;
  padding: 1rem 1rem;
  border-bottom: 1px solid #2a2a3a;
  color: #7df9ff;
  font-weight: bold;
}

.drawer-close {
  background: transparent;
  color: #f0f0f0;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}

.drawer-close:hover { color: #d96efb; }

.drawer-auth {
  padding: 1rem 1rem 0.5rem;
  border-bottom: 1px solid #2a2a3a;
}

.drawer-auth .auth-line { color: #f0f0f0; margin-bottom: 0.5rem; }
.drawer-auth .auth-link { color: #7df9ff; text-decoration: none; }
.drawer-auth .auth-link:hover { color: #d96efb; }

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.25rem 2rem;
  overflow-y: auto;
}

.drawer-nav a {
  color: #f2f2f2;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #19192a;
  text-decoration: none;
}

.drawer-nav a:hover { background: #1b1b2b; color: #d96efb; }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1090;
}

/* Prevent body scroll when drawer is open */
.no-scroll { overflow: hidden; }

/* --- Responsive Rules --- */
@media (max-width: 900px) {
  .hamburger { display: inline-block; }
  .primary-nav { display: none; }
  .oauth-status { display: none; }
}

@media (min-width: 901px) {
  .primary-nav {
    display: flex;
    align-items: center;
    padding-top: 0.5rem;
  }
}
