/* ==================================================
   ヘッダー（ナビゲーションバー）
================================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 8px 40px;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.dark-mode .navbar {
  background-color: rgba(0, 0, 0, 0.95);
}

/* 左右ブロック */
.navbar .left,
.navbar .right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

/* Bot名とアイコン */
.bot-icon {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.home-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.navbar .left h1 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

/* ボタン類 */
.nav-btn,
.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s;
  white-space: nowrap;
}

.nav-btn {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: inherit;
}

.nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.login-btn {
  background-color: #5865f2;
  color: #fff;
}

.login-btn:hover {
  background-color: #4752c4;
}

/* Discord ロゴ */
.login-icon {
  height: 18px;
  width: 18px;
  margin-right: 6px;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

/* テーマ切替 */
.theme-toggle {
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  color: inherit;
}