html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #090B10;
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.glass-panel {
  background: rgba(18, 22, 33, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.pillar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  background: rgba(255, 255, 255, 0.02);
  border-width: 1px;
  border-style: solid;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
}

.pillar-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid transparent;
  margin-bottom: 6px;
}

.pillar-chars {
  font-family: 'Noto Serif SC', serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 10px;
  color: #94A3B8;
  font-weight: 500;
}

.section-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 15px;
  font-weight: 700;
  color: #F1F5F9;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}

.shensha-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  color: #CBD5E1;
  font-weight: 500;
}

.nav-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #64748B;
  transition: all 0.2s ease;
}

.nav-icon-btn:hover, .nav-icon-btn:active {
  color: #D4AF37;
}

.nav-icon-btn span {
  font-size: 9px;
  font-weight: 600;
}

.tab-btn {
  color: #64748B;
  border-bottom: 2px solid transparent;
}

.tab-btn.active {
  color: #D4AF37;
  border-bottom-color: #D4AF37;
  background: rgba(212, 175, 55, 0.04);
}

.timeline-node {
  flex-shrink: 0;
  width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  scroll-snap-align: start;
}

.timeline-node.active {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
  transform: scale(1.05);
  box-shadow: 0 4px 20px -5px rgba(212, 175, 55, 0.2);
}

.safe-bottom {
  padding-bottom: calc(6rem + env(safe-area-inset-bottom));
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-slide-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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