:root {
  --bs-orange: #f97316;
}

.bg-orange {
  background-color: #f97316 !important;
}

.text-orange {
  color: #f97316 !important;
}

.text-purple {
  color: #6f42c1 !important;
}

.bg-purple {
  background-color: #6f42c1 !important;
}

.btn-orange {
  background-color: #f97316;
  border-color: #f97316;
  color: white;
}

.btn-orange:hover {
  background-color: #ea580c;
  border-color: #ea580c;
  color: white;
}

.card-hover {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.request-image {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #dee2e6;
  display: flex;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 1030;
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
  color: #6c757d;
  text-decoration: none;
  font-size: 0.75rem;
}

.mobile-nav-item i {
  font-size: 1.25rem;
  margin-bottom: 0.125rem;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: #f97316;
}

.vote-btn {
  min-height: 48px;
  font-size: 1rem;
}

.stat-box {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  padding: 0.75rem 0;
  color: white;
}

.stat-box .stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-box .stat-label {
  font-size: 0.75rem;
  opacity: 0.85;
}

.leaderboard-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 1.25rem;
}

/* 小屏优化 */
@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1rem;
  }

  .request-image {
    height: 160px;
  }

  h1 {
    font-size: 1.5rem;
  }
}
