.glass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 14px;
  z-index: 20;
  padding: 10px 18px;
  border: 1px solid var(--glass-stroke);
  border-radius: 999px;
  background: rgba(9, 19, 31, 0.68);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-main);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(340px, 38vw, 540px);
  flex: 0 1 540px;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.glass-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(248, 251, 253, 0.84);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--night-ink);
  background: linear-gradient(135deg, var(--fiesta-gold), var(--sierras-gold));
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--soft-white);
  border-radius: 999px;
}

.panel-glass {
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(3, 9, 14, 0.32)),
    var(--glass-fill);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-main);
}

.panel-glow {
  position: relative;
  overflow: hidden;
}

.panel-glow::before {
  content: "";
  position: absolute;
  inset: auto auto -24px -24px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 198, 106, 0.22), transparent 68%);
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--night-ink);
  background: linear-gradient(135deg, var(--fiesta-gold), #ffb457);
}

.btn-secondary {
  color: var(--soft-white);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.btn-google {
  width: 100%;
  color: var(--night-ink);
  background: linear-gradient(135deg, #ffffff, #dfe9f0);
}

.btn-compact {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.95rem;
}

.feature-list {
  display: grid;
  gap: 10px;
  color: rgba(248, 251, 253, 0.86);
}

.text-link {
  color: var(--fiesta-gold);
  font-weight: 700;
}

.auth-feedback {
  min-height: 24px;
  color: var(--fiesta-gold);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .glass-header {
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .glass-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .glass-nav.is-open {
    display: flex;
  }

  .nav-link {
    text-align: center;
  }
}
