:root {
  --primary: #991B1B;
  --secondary: #1F2937;
  --accent: #D4A373;
  --bg-dark: #1F2937;
  --bg-light: #F5F0E8;
  --text-main: #1F2937;
  --text-muted: #78716C;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  background-color: #F5F0E8;
  color: #1F2937;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.font-serif {
  font-family: "Noto Serif SC", STSong, "SimSun", serif;
}

.btn-liquid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #991B1B, #B91C1C);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(153, 27, 27, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-liquid:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(153, 27, 27, 0.45);
  filter: brightness(1.08);
}

.btn-raised {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  background: #D4A373;
  color: #1F2937;
  font-weight: 700;
  box-shadow: 0 6px 0 #8C6A42, 0 8px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-raised:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #8C6A42, 0 4px 10px rgba(0, 0, 0, 0.18);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(212, 163, 115, 0.6);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(4px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-glass:hover {
  background: rgba(212, 163, 115, 0.15);
  border-color: #D4A373;
  transform: scale(1.03);
}

.card-flat {
  background: #fff;
  border: 1px solid #D4A373;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-flat:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(31, 41, 55, 0.1);
  border-color: #991B1B;
}

.card-image {
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.14);
}

.card-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.title-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Noto Serif SC", STSong, "SimSun", serif;
  font-weight: 700;
  color: #1F2937;
}

.title-bar::before {
  content: "";
  width: 4px;
  height: 1.5em;
  background: #991B1B;
  border-radius: 2px;
}

.title-seal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Noto Serif SC", STSong, "SimSun", serif;
  font-weight: 700;
  color: #1F2937;
}

.title-seal::after {
  content: "武";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  border: 2px solid #991B1B;
  color: #991B1B;
  font-size: 0.65em;
  border-radius: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-bg {
  background-size: cover;
  background-position: center;
}

.gradient-overlay {
  background: linear-gradient(to bottom, rgba(31, 41, 55, 0.75), rgba(31, 41, 55, 0.45));
}

.link-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.link-tag:hover {
  background: rgba(212, 163, 115, 0.2);
  border-color: #D4A373;
}
