/* 语言切换按钮样式 */
.lang-switch {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  user-select: none;
}

.lang-switch:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 1);
}

.lang-switch .flag {
  font-size: 20px;
  margin-right: 8px;
  line-height: 1;
}

.lang-switch .lang-text {
  color: #111111;
  font-family: 'Noto Sans SC', sans-serif;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .lang-switch {
    top: 70px;
    right: 10px;
    padding: 8px 14px;
    font-size: 12px;
  }
  
  .lang-switch .flag {
    font-size: 16px;
    margin-right: 6px;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .lang-switch {
    background: rgba(30, 30, 30, 0.95);
  }
  
  .lang-switch:hover {
    background: rgba(30, 30, 30, 1);
  }
  
  .lang-switch .lang-text {
    color: #f0f0f0;
  }
}
