/* ========================================
   馥云涧 - 布局样式
   头部、尾部、导航、侧边栏
   高端茶叶品牌 | 新中式雅致风格
   ======================================== */

/* ========================================
   头部导航 - Liquid Glass 液态玻璃风格
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fbf7ef;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(107, 85, 69, 0.12);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* 顶部金色流光装饰 */
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(202, 138, 4, 0.3) 25%,
    rgba(202, 138, 4, 0.6) 50%,
    rgba(202, 138, 4, 0.3) 75%,
    transparent 100%);
  box-shadow: 0 0 20px rgba(202, 138, 4, 0.15);
  animation: header-glow 10s ease-in-out infinite;
}

@keyframes header-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.header.scrolled {
  background: #fbf7ef;
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  box-shadow:
    0 8px 32px rgba(31, 28, 24, 0.08),
    0 2px 8px rgba(31, 28, 24, 0.04);
  border-bottom-color: rgba(107, 85, 69, 0.12);
}

.header.scrolled::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(202, 138, 4, 0.2) 25%,
    rgba(202, 138, 4, 0.4) 50%,
    rgba(202, 138, 4, 0.2) 75%,
    transparent 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px var(--container-padding);
  height: 88px;
}

/* Logo - 液态玻璃光晕 */
.header-logo {
  display: flex;
  align-items: center;
  position: relative;
}

.header-logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(202, 138, 4, 0.15) 0%, transparent 70%);
  filter: blur(15px);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.header-logo:hover::before {
  opacity: 1;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  margin: -8px -12px;
  border-radius: 12px;
  transition: all 0.4s ease;
}

.header-logo a:hover {
  background: rgba(202, 138, 4, 0.08);
}

.header-logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(202, 138, 4, 0.15));
  transition: filter 0.4s ease;
}

.header-logo:hover img {
  filter: drop-shadow(0 0 20px rgba(202, 138, 4, 0.3));
}

.header-logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-text);
  letter-spacing: 0.14em;
  font-weight: 600;
  background: linear-gradient(135deg, #1f1814 0%, var(--color-primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.4s ease;
}

.header.scrolled .header-logo-text {
  background: linear-gradient(135deg, #1f1814 0%, var(--color-primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 导航菜单 - 液态玻璃 */
.header-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin: -12px -16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 44px;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(202, 138, 4, 0.08);
  opacity: 0;
  transition: opacity 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  border-radius: 10px;
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link.active::before {
  opacity: 0;
}

.header.scrolled .nav-link {
  color: #1f1814;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-gold) !important;
  text-shadow: none;
}

.nav-link.active {
  color: var(--color-text) !important;
  text-shadow: none;
}

.nav-link:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 10px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-gold);
  box-shadow: none;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
  width: 42%;
}

.nav-link.active::after {
  width: 52%;
}

/* 下拉菜单 - 深色高端质感（始终深色，确保文字清晰） */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  margin-top: 14px;
  min-width: 200px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 247, 242, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow:
    0 20px 48px rgba(61, 48, 40, 0.12),
    0 8px 24px rgba(61, 48, 40, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 0;
  border: 1px solid rgba(202, 138, 4, 0.18);
}

/* 下拉菜单顶部箭头 */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(202, 138, 4, 0.18);
  border-left: 1px solid rgba(202, 138, 4, 0.18);
  transform: translateX(-50%) rotate(45deg);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 14px 20px;
  color: var(--color-text);
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  position: relative;
}

.nav-dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-gold);
  box-shadow: 0 0 10px rgba(202, 138, 4, 0.5);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.nav-dropdown-item:hover {
  background: var(--color-bg-secondary);
  color: var(--color-primary-dark);
  padding-left: 24px;
}

.nav-dropdown-item:focus {
  outline: none;
  color: var(--color-primary-dark);
}

.nav-dropdown-item:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -4px;
  border-radius: 8px;
}

/* 移动端菜单按钮 - 液态玻璃 */
.header-menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.header-menu-btn:hover {
  background: rgba(202, 138, 4, 0.1);
  border-color: rgba(202, 138, 4, 0.2);
}

.header.scrolled .header-menu-btn {
  background: rgba(31, 24, 20, 0.05);
  border-color: rgba(31, 24, 20, 0.1);
}

.menu-icon {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(250, 247, 242, 0.2);
}

.header.scrolled .menu-icon {
  background: #1f1814;
  box-shadow: none;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(250, 247, 242, 0.2);
}

.header.scrolled .menu-icon::before,
.header.scrolled .menu-icon::after {
  background: #1f1814;
  box-shadow: none;
}

.menu-icon::before { top: -7px; }
.menu-icon::after { bottom: -7px; }

.header-menu-btn.active .menu-icon {
  background: transparent;
  box-shadow: none;
}

.header-menu-btn.active .menu-icon::before {
  transform: translateY(7px) rotate(45deg);
  background: var(--color-gold);
  box-shadow: 0 0 15px rgba(202, 138, 4, 0.5);
}

.header-menu-btn.active .menu-icon::after {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--color-gold);
  box-shadow: 0 0 15px rgba(202, 138, 4, 0.5);
}

/* ========================================
   移动端导航 - Liquid Glass 液态玻璃风格
   ======================================== */

.mobile-nav {
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(250, 247, 242, 0.98) 0%, rgba(245, 240, 232, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(107, 85, 69, 0.08);
}

.mobile-nav-link {
  display: block;
  padding: 18px 12px;
  margin: 0 -12px;
  font-family: var(--font-sans);
  font-size: 17px;
  color: #1f1814;
  letter-spacing: 0.08em;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-height: 56px;
  display: flex;
  align-items: center;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-primary-dark);
  background: rgba(202, 138, 4, 0.08);
  padding-left: 20px;
}

.mobile-nav-dropdown {
  padding-left: 20px;
}

.mobile-nav-dropdown .mobile-nav-link {
  font-size: 15px;
  padding: 14px 12px;
  color: rgba(31, 24, 20, 0.7);
}

.mobile-nav-link:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ========================================
   Banner区域
   ======================================== */

.banner {
  position: relative;
  width: 100%;
  height: 500px;
  margin-top: 88px; /* 顶部导航高度 */
  overflow: hidden;
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 10;
}

.banner-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-5xl);
  color: #fff;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-desc {
  font-size: var(--font-size-lg);
  color: #fff;
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.banner-btn {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.banner-btn:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

/* Banner指示器 */
.banner-indicators {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-sm);
  z-index: 10;
}

.banner-indicator {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.banner-indicator.active,
.banner-indicator:hover {
  background: var(--color-primary);
}

/* 页面Banner（非首页） */
.page-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Swiper 容器 - 固定宽度居中 */
.page-banner.swiper-container {
  max-width: var(--container-width);
  width: 100%;
  height: 500px;
  margin: 80px auto 0;
}

/* Banner slide 内部 */
.banner-slide-inner {
  width: 100%;
  height: 100%;
}

.banner-slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Swiper 分页器样式 */
.swiper-pagination {
  bottom: 24px !important;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--color-gold);
  width: 24px;
  border-radius: 5px;
}

/* Swiper 导航按钮 */
.swiper-button-prev,
.swiper-button-next {
  width: 44px;
  height: 44px;
  top: 50%;
  margin-top: -22px;
  transition: all 0.3s ease;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.8);
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  color: #fff;
}

.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}

/* ========================================
   尾部 - Liquid Glass 液态玻璃风格
   ======================================== */

.footer {
  position: relative;
  color: var(--color-text-white);
  overflow: hidden;
  background:
    linear-gradient(180deg, #1a1511 0%, #0f0c0a 100%);
}

/* 液态玻璃装饰纹理 - 动态渐变光晕 */
.footer-texture {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(202, 138, 4, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(201, 169, 98, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* 液态玻璃流动效果层 */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(202, 138, 4, 0.3) 20%,
    rgba(202, 138, 4, 0.6) 50%,
    rgba(202, 138, 4, 0.3) 80%,
    transparent 100%);
  animation: footer-glow-flow 8s ease-in-out infinite;
}

@keyframes footer-glow-flow {
  0%, 100% { transform: translateX(-10%); opacity: 0.4; }
  50% { transform: translateX(10%); opacity: 0.8; }
}

.footer-main {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px var(--container-padding) 64px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

/* 品牌区 - 液态玻璃光晕 */
.footer-brand {
  text-align: left;
  position: relative;
}

.footer-brand::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(202, 138, 4, 0.15) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(20px);
  animation: brand-glow-pulse 6s ease-in-out infinite;
}

@keyframes brand-glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.footer-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 20px rgba(202, 138, 4, 0.2));
  transition: filter 0.4s ease;
}

.footer-logo:hover img {
  filter: drop-shadow(0 0 30px rgba(202, 138, 4, 0.4));
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 28px;
  color: #faf7f2;
  letter-spacing: 0.18em;
  font-weight: 600;
  background: linear-gradient(135deg, #faf7f2 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-slogan {
  font-family: var(--font-serif);
  font-size: 15px;
  color: rgba(248, 246, 243, 0.58);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  padding-bottom: 16px;
  position: relative;
}

.footer-slogan::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), rgba(202, 138, 4, 0.3), transparent);
  box-shadow: 0 0 10px rgba(202, 138, 4, 0.3);
}

.footer-desc {
  font-size: 14px;
  color: rgba(248, 246, 243, 0.48);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* 通用列样式 */
.footer-column {
  text-align: left;
}

.footer-column-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: #faf7f2;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  padding-bottom: 16px;
  position: relative;
  font-weight: 500;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
}

/* 导航列表 */
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(248, 246, 243, 0.62);
  letter-spacing: 0.04em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 8px 16px;
  margin: -8px -16px;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  border-radius: 8px;
  background: transparent;
}

.footer-nav-link:hover {
  color: var(--color-gold);
  background: rgba(202, 138, 4, 0.08);
  backdrop-filter: blur(8px);
}

.footer-nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(202, 138, 4, 0.2), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.footer-nav-link:hover::before {
  opacity: 1;
}

/* 联系方式列表 - 液态玻璃 */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(248, 246, 243, 0.62);
  letter-spacing: 0.02em;
  line-height: 1.7;
  min-height: 44px;
  padding: 10px 14px;
  margin: -10px -14px;
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.footer-contact-item:hover {
  background: rgba(202, 138, 4, 0.06);
  backdrop-filter: blur(8px);
  color: rgba(248, 246, 243, 0.85);
}

.footer-contact-link {
  color: inherit;
  text-decoration: none;
  cursor: default;
}

.footer-contact-item:hover .footer-contact-link {
  color: inherit;
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--color-gold);
  opacity: 0.7;
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 4px rgba(202, 138, 4, 0));
}

.footer-phone-toast {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    font-family: var(--font-sans);
}

.footer-phone-toast.visible {
    opacity: 1;
}

.footer-contact-item:hover .footer-contact-icon {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(202, 138, 4, 0.5));
}

/* 二维码 - 液态玻璃边框 */
.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-qr img {
  width: 108px;
  height: 108px;
  background: #fff;
  padding: 10px;
  border-radius: 14px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(202, 138, 4, 0.15),
    inset 0 0 20px rgba(202, 138, 4, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-qr img:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(202, 138, 4, 0.3),
    0 0 40px rgba(202, 138, 4, 0.15),
    inset 0 0 20px rgba(202, 138, 4, 0.08);
}

.footer-qr-label {
  font-size: 13px;
  color: rgba(248, 246, 243, 0.48);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* 装饰分割线 - 液态玻璃流光效果 */
.footer-divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 var(--container-padding);
  position: relative;
}

.footer-divider-line::before,
.footer-divider-line::after {
  content: '';
  flex: 1;
  max-width: 420px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(248, 246, 243, 0.08) 20%,
    rgba(202, 138, 4, 0.25) 50%,
    rgba(248, 246, 243, 0.08) 80%,
    transparent 100%);
  box-shadow: 0 0 10px rgba(202, 138, 4, 0.1);
}

.footer-divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: 0.6;
  box-shadow: 0 0 8px rgba(202, 138, 4, 0.4);
  animation: dot-pulse 4s ease-in-out infinite;
}

.footer-divider-dot:nth-child(2) {
  animation-delay: 0.5s;
}

.footer-divider-dot:nth-child(3) {
  animation-delay: 1s;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.3); }
}

/* 底部版权 - 液态玻璃质感 */
.footer-bottom {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 100%);
  backdrop-filter: blur(10px);
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(202, 138, 4, 0.15) 50%,
    transparent 100%);
}

.footer-bottom-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(248, 246, 243, 0.42);
  letter-spacing: 0.04em;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-bottom-link {
  font-size: 13px;
  color: rgba(248, 246, 243, 0.42);
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  margin: -6px -12px;
}

.footer-bottom-link:hover {
  color: var(--color-gold);
  background: rgba(202, 138, 4, 0.08);
}

/* ========================================
   返回顶部按钮
   ======================================== */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(180, 120, 60, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 999;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(180, 120, 60, 0.5);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* 导航链接焦点状态 */
.footer-nav-link:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* 底部链接焦点状态 */
.footer-bottom-link:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 767px) {
  .back-to-top {
    width: 44px;
    height: 44px;
    right: 16px;
    bottom: 16px;
  }

  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}

/* ========================================
   分页组件
   ======================================== */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-xl) 0;
}

.pagination-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
}

.pagination-item:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.pagination-item.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.pagination-item.disabled {
  background: var(--color-bg-secondary);
  border-color: var(--color-border-light);
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.pagination-info {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin: 0 var(--spacing-md);
}

/* ========================================
   空状态
   ======================================== */

.empty-state {
  text-align: center;
  padding: var(--spacing-3xl);
  color: var(--color-text-muted);
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: var(--spacing-lg);
}

.empty-state-text {
  font-size: var(--font-size-lg);
}

/* ========================================
   页面内边距适配（固定头部）
   ======================================== */

.page-content {
  margin-top: 20px;
}

body.no-header .page-content,
body.no-header .banner,
body.no-header .page-banner {
  margin-top: 0;
}

body.interior-page .header {
  background: #fbf7ef;
  border-bottom-color: rgba(107, 85, 69, 0.12);
  box-shadow: 0 10px 30px rgba(42, 31, 24, 0.08);
}

body.interior-page .header-logo-text,
body.interior-page .nav-link {
  color: var(--color-text);
  -webkit-text-fill-color: var(--color-text);
  text-shadow: none;
}

body.interior-page .menu-icon,
body.interior-page .menu-icon::before,
body.interior-page .menu-icon::after {
  background: var(--color-text);
  box-shadow: none;
}

/* Stable header override */
.header,
.header.scrolled {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 88px !important;
  z-index: 10000 !important;
  background: #fbf7ef !important;
  border-bottom: 1px solid rgba(107, 85, 69, 0.14) !important;
  box-shadow: 0 6px 20px rgba(42, 31, 24, 0.08) !important;
  transform: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: none !important;
}

.header::before {
  display: none !important;
}

.header-inner {
  height: 88px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.header-logo,
.header-logo a,
.header-menu-btn {
  transform: none !important;
}

.header-logo::before {
  display: none !important;
}

.header-logo img {
  height: 40px !important;
  filter: none !important;
}

.header-logo-text {
  font-size: 18px !important;
  letter-spacing: 0.12em !important;
  color: var(--color-text) !important;
  background: none !important;
  -webkit-text-fill-color: var(--color-text) !important;
  text-shadow: none !important;
}

.header-menu-btn {
  width: 44px !important;
  height: 44px !important;
  background: transparent !important;
  border-color: rgba(61, 48, 40, 0.16) !important;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after,
.header.scrolled .menu-icon,
.header.scrolled .menu-icon::before,
.header.scrolled .menu-icon::after {
  background: var(--color-text) !important;
  box-shadow: none !important;
}

.mobile-nav {
  top: 88px !important;
}
