/* 全局样式 - 阳光柠檬黄主题 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #FDFDFD;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #000000;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 页面容器 */
.page {
  min-height: 100vh;
  position: relative;
}

.container {
  padding: 24px 24px 140px;
  min-height: 100vh;
  background: #FDFDFD;
}

/* 阳光柠檬黄主题色 */
.theme-primary {
  color: #FACC15;
}

.bg-theme-primary {
  background-color: #FACC15;
}

/* 毛玻璃效果 */
.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* 圆角 */
.rounded-super {
  border-radius: 20px;
}

/* 阴影 */
.shadow-xl {
  box-shadow: 0 10px 20px rgba(250, 204, 21, 0.2);
}

/* 动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* 底部安全区 */
.safe-area-bottom {
  padding-bottom: env(safe-area-inset-bottom);
}

/* 通用工具类 */
.text-yellow-600 { color: #CA8A04; }
.text-orange-500 { color: #F97316; }
.text-white { color: #FFFFFF; }
.text-white-opacity { color: rgba(255, 255, 255, 0.5); }
.text-black { color: #000000; }
.text-gray-400 { color: #9CA3AF; }
.text-gray-500 { color: #6B7280; }

.bg-yellow-50 { background-color: #FEF3C7; }
.bg-orange-50 { background-color: #FFF7ED; }
.bg-black { background-color: #000000; }

/* 底部导航栏 */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
  z-index: 100;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-item:active {
  transform: scale(0.95);
}

.tab-item.active .tab-icon {
  transform: scale(1.1);
}

.tab-icon {
  font-size: 24px;
  transition: transform 0.2s;
}

.tab-text {
  font-size: 11px;
  font-weight: 600;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tab-item.active .tab-text {
  color: #FACC15;
}
