/* ===== 全局重置 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  background: #ffffff;
  min-height: 100vh;
  font-family: system-ui, 'Segoe UI', Roboto, sans-serif;
  position: relative;
}

/* ===== 字体定义 ===== */
@font-face {
  font-family: 'Goldeneye';
  src: url('https://fonts.yanineko.top/007-goldeneye.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Aachen';
  src: url('https://fonts.yanineko.top/aachen.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'BEYND';
  src: url('https://fonts.yanineko.top/BEYND.TTF') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'DirtyDancing';
  src: url('https://fonts.yanineko.top/Dirty-Dancing-Vector.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Footloose';
  src: url('https://fonts.yanineko.top/FOOTLOOSE Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Grease';
  src: url('https://fonts.yanineko.top/grease.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Heathers';
  src: url('https://fonts.yanineko.top/heathers.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Timepiece';
  src: url('https://fonts.yanineko.top/timepiece.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'ZC0005';
  src: url('https://fonts.yanineko.top/ZC0005-Regular-2.ttf') format('truetype');
  font-display: swap;
}

/* ===== 启动动画层 ===== */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 进度条 */
.progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #f0f0f0;
  z-index: 10001;
  overflow: hidden;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #FFA500, #FF1493, #FF8C00, #FF69B4, #FF69B4, #000000, #FFFFFF, #FFFF00);
  transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 0 3px 3px 0;
}

.splash-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 2rem;
}

/* 数字区域 - 关键：固定尺寸防止布局跳动 */
.number-stage {
  font-size: clamp(6rem, 20vw, 12rem);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.05em;
  height: 1.2em;
  min-height: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  position: relative;
  width: 100%;
}

/* 文字区域 - 同样固定高度 */
.text-stage {
  font-size: clamp(1.2rem, 5vw, 2.2rem);
  letter-spacing: 0.1em;
  color: #333;
  font-weight: 400;
  height: 2.4em;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  text-transform: uppercase;
  width: 100%;
}

.number-animate,
.text-animate {
  display: inline-block;
  will-change: transform, opacity;
  font-style: italic;
  /* 关键：固定宽高和居中，防止字体切换时宽度变化导致跳动 */
  text-align: center;
  min-width: 100%;
}

@keyframes gentlePop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(8px) skewX(-6deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0) skewX(-6deg);
  }
}

.animate-pop {
  animation: gentlePop 0.65s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* ===== 主站内容 ===== */
.main-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 70px; /* 给固定头部留空间 */
}

/* ===== 头部品牌区 ===== */
.brand-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px 24px;
  gap: 14px;
  z-index: 998;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-wrap: nowrap;
  height: 64px;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.brand-avatar:hover {
  transform: scale(1.05);
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #222;
  white-space: nowrap;
  font-family: 'ZC0005', system-ui, 'Segoe UI', sans-serif;
  text-decoration: none;
}

/* ===== 电脑版菜单 ===== */
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.desktop-menu a {
  padding: 6px 10px;
  font-size: 0.82rem;
  color: #444;
  text-decoration: none;
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: 'ZC0005', system-ui, 'Segoe UI', sans-serif;
  white-space: nowrap;
}

.desktop-menu a:hover {
  background: #f5f5f5;
  color: #f6821f;
}

/* ===== 移动端三条杠按钮 ===== */
.menu-toggle {
  display: none;
  position: fixed;
  top: 11px;
  right: 16px;
  z-index: 1001;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle:active {
  transform: scale(0.95);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active .hamburger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .hamburger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ===== 移动端侧边菜单 ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  max-width: 80vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1000;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  padding: 80px 0 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  display: block;
  padding: 14px 28px;
  font-size: 1rem;
  color: #222;
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  font-family: 'ZC0005', system-ui, 'Segoe UI', sans-serif;
}

.mobile-menu a:hover {
  background: #fafafa;
  color: #f6821f;
  padding-left: 34px;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ===== 轮播图 ===== */
.carousel-section {
  width: 100%;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: #f5f5f5;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  font-family: 'ZC0005', system-ui, 'Segoe UI', sans-serif;
  text-align: left;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev {
  left: 14px;
}

.carousel-btn.next {
  right: 14px;
}

.carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.carousel-indicators span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-indicators span.active {
  background: #fff;
  transform: scale(1.2);
}

/* ===== 页脚 ===== */
.site-footer {
  margin-top: auto;
  padding: 24px 20px;
  text-align: center;
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content p {
  color: #666;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  font-family: 'ZC0005', system-ui, 'Segoe UI', sans-serif;
}

.footer-sub {
  margin-top: 6px;
  color: #999 !important;
  font-size: 0.75rem !important;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .desktop-menu {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu-overlay {
    display: block;
  }
  .brand-header {
    padding-right: 70px;
  }
  .main-site {
    padding-top: 64px;
  }
}

@media (max-width: 480px) {
  .brand-header {
    padding: 8px 16px;
    padding-right: 64px;
    gap: 10px;
    height: 58px;
  }
  .brand-avatar {
    width: 36px;
    height: 36px;
  }
  .brand-title {
    font-size: 0.9rem;
  }
  .menu-toggle {
    top: 8px;
    right: 12px;
    width: 38px;
    height: 38px;
  }
  .hamburger {
    width: 18px;
    gap: 3.5px;
  }
  .hamburger span {
    height: 2px;
  }
  .main-site {
    padding-top: 58px;
  }
  .carousel-caption {
    font-size: 1rem;
    padding: 14px 16px;
  }
  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}
/* ===== 全站链接样式统一 ===== */
a,
a:link,
a:visited,
a:hover,
a:active {
  color: #000000 !important;
  text-decoration: none !important;
}

/* 如果只想让 hover 有轻微变化，加这个（可选） */
a:hover {
  color: #000000 !important;
  opacity: 0.75;
}
/* ===== 全站鼠标指针（仅电脑版） ===== */
@media (min-width: 769px) {
  html, body, body * {
    cursor: url('/assets/img/cursor-text.png') 0 0, auto !important;
  }
}