:root {
  --primary: #B45309;
  --secondary: #15803D;
  --accent: #DC2626;
  --bg-dark: #292524;
  --bg-light: #FFFBEB;
  --text-main: #292524;
  --text-muted: #78716C;
  --paper-line: rgba(41, 37, 36, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Microsoft YaHei", serif;
  background-color: var(--bg-light);
  color: var(--text-main);
}

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

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

.bg-ink {
  background-image: radial-gradient(circle at 20% 10%, rgba(180, 83, 9, 0.08), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(21, 128, 61, 0.06), transparent 40%);
}

.nav-glass {
  background: rgba(255, 251, 235, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(180, 83, 9, 0.12);
}

.btn-liquid {
  background: linear-gradient(90deg, var(--primary), #D97706, var(--primary));
  background-size: 200% 100%;
  color: #fff;
  border-radius: 9999px;
  box-shadow: 0 8px 20px rgba(180, 83, 9, 0.28);
  transition: all 0.35s ease;
}

.btn-liquid:hover {
  background-position: 100% 0;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(180, 83, 9, 0.36);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.65);
  color: var(--primary);
  border: 1px solid rgba(180, 83, 9, 0.35);
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--primary);
  box-shadow: 0 0 18px rgba(180, 83, 9, 0.18);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-solid {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 14px rgba(41, 37, 36, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-solid:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(41, 37, 36, 0.1);
}

.card-bordered {
  background: #fff;
  border: 1px solid rgba(180, 83, 9, 0.18);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.card-bordered:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.08);
}

.card-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(41, 37, 36, 0.08);
  transition: transform 0.35s ease;
}

.card-image:hover {
  transform: scale(1.02);
}

.heading-line::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-top: 0.75rem;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.heading-line-center::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.heading-stamp {
  position: relative;
  padding-left: 1rem;
}

.heading-stamp::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 5px;
  background: var(--accent);
  border-radius: 3px;
}

.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 0.35rem;
  font-weight: 700;
  transform: rotate(-6deg);
}

.tag-pill {
  background: rgba(21, 128, 61, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(21, 128, 61, 0.25);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
}

.scroll-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroll-strip::-webkit-scrollbar {
  height: 6px;
}

.scroll-strip::-webkit-scrollbar-thumb {
  background: rgba(180, 83, 9, 0.25);
  border-radius: 3px;
}

.scroll-strip > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.hero-reveal {
  animation: heroFadeIn 1s ease both;
}

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

.float-drift {
  animation: drift 5s ease-in-out infinite;
}

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

.ink-wash {
  position: relative;
}

.ink-wash::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(180, 83, 9, 0.06), transparent 60%);
  pointer-events: none;
}

@media (max-width: 767px) {
  .scroll-strip {
    gap: 0.75rem;
  }
}
