/* 人物介绍页面样式 - 深度优化版 */

.characters-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body, "Open Sans", sans-serif);
  color: rgba(255, 255, 255, 0.94);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--color-background, #06070a);
  /* 页面加载动画 */
  animation: pageLoadFade 0.8s ease-out;
}

@keyframes pageLoadFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.characters-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.characters-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.5) contrast(1.1) blur(2px);
}

.characters-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 7, 10, 0.85) 0%,
    rgba(6, 7, 10, 0.75) 50%,
    rgba(6, 7, 10, 0.85) 100%
  );
}

/* 动态光晕效果 */
.characters-backdrop::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(247, 192, 92, 0.15), transparent 70%);
  border-radius: 50%;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: gentleFloat 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateX(-50%) translateY(-30px) scale(1.1);
    opacity: 0.9;
  }
}

/* 头部导航 */
.characters-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px clamp(32px, 5vw, 80px) 24px;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.78) 0%, rgba(6, 7, 10, 0.06) 100%);
  backdrop-filter: blur(10px);
  animation: slideDown 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-link {
  font-family: var(--font-heading, "Cinzel", serif);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent, #f7c05c);
  font-weight: 600;
  font-size: clamp(20px, 3vw, 26px);
  text-shadow: 0 0 18px rgba(247, 192, 92, 0.65);
  transition: text-shadow 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.brand-link:hover {
  text-shadow: 0 0 28px rgba(247, 192, 92, 0.9);
  transform: scale(1.05);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg,
    rgba(247, 192, 92, 0.2),
    rgba(247, 192, 92, 0.1));
  border: 1px solid rgba(247, 192, 92, 0.4);
  border-radius: 999px;
  color: rgba(247, 231, 173, 0.95);
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.nav-button:hover {
  background: linear-gradient(135deg,
    rgba(247, 192, 92, 0.35),
    rgba(247, 192, 92, 0.2));
  border-color: rgba(247, 192, 92, 0.6);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px rgba(247, 192, 92, 0.3),
    0 0 30px rgba(247, 192, 92, 0.2);
}

.nav-icon {
  font-size: 18px;
  filter: drop-shadow(0 0 8px rgba(247, 192, 92, 0.4));
}

.nav-text {
  font-family: var(--font-body, "Open Sans", sans-serif);
}

/* 主标题区域 */
.characters-main {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: clamp(60px, 10vh, 100px) clamp(24px, 5vw, 80px) clamp(80px, 12vh, 120px);
}

.characters-hero {
  text-align: center;
  margin-bottom: clamp(60px, 10vh, 100px);
  animation: fadeInUp 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  animation: fadeInUp 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.1s backwards;
}

.deco-star {
  font-size: 20px;
  color: var(--color-accent, #f7c05c);
  filter: drop-shadow(0 0 12px rgba(247, 192, 92, 0.6));
  animation: starPulse 3s ease-in-out infinite, starRotate 10s linear infinite;
}

@keyframes starPulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.15) rotate(0deg);
  }
}

@keyframes starRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.deco-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(247, 192, 92, 0.6), transparent);
  position: relative;
  animation: lineExpand 3s ease-in-out infinite;
}

@keyframes lineExpand {
  0%, 100% {
    width: 80px;
    opacity: 0.6;
  }
  50% {
    width: 100px;
    opacity: 1;
  }
}

/* 线条中心点 */
.deco-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--color-accent, #f7c05c);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(247, 192, 92, 0.8);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
  }
}

.characters-hero h1 {
  font-family: var(--font-heading, "Cinzel", serif);
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: 0.16em;
  margin: 0 0 16px;
  background: linear-gradient(135deg, var(--color-accent-strong, #f7e7ad), var(--color-accent, #f7c05c));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(247, 192, 92, 0.5));
  animation: fadeInUp 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.2s backwards, titleBreath 4s ease-in-out 1.5s infinite;
}

@keyframes titleBreath {
  0%, 100% {
    filter: drop-shadow(0 0 30px rgba(247, 192, 92, 0.5));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 50px rgba(247, 192, 92, 0.8)) drop-shadow(0 0 80px rgba(247, 192, 92, 0.4));
    transform: scale(1.02);
  }
}

.characters-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.12em;
  margin: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.3s backwards;
}

/* 人物卡片网格 - 纵向排列 */
.characters-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 48px);
  max-width: 900px;
  margin: 0 auto;
}

.character-card {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(12, 14, 18, 0.75) 0%,
    rgba(26, 20, 16, 0.55) 50%,
    rgba(12, 14, 18, 0.75) 100%
  );
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(247, 192, 92, 0.25);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 0 50px rgba(247, 192, 92, 0.15),
    0 18px 38px rgba(0, 0, 0, 0.45);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.5s ease,
              border-color 0.5s ease;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
}

/* 卡片装饰边框 */
.character-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid transparent;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(247, 192, 92, 0.3), rgba(247, 192, 92, 0.05), rgba(247, 192, 92, 0.3)) border-box;
  -webkit-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.5s ease;
  pointer-events: none;
}

.character-card:hover::before {
  opacity: 1;
}

/* 卡片角落装饰 */
.character-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(247, 192, 92, 0.2), transparent);
  border-radius: 24px 0 24px 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.character-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.character-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(247, 192, 92, 0.4);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 0 80px rgba(247, 192, 92, 0.4),
    0 0 120px rgba(247, 192, 92, 0.25),
    0 24px 48px rgba(0, 0, 0, 0.6),
    0 0 3px rgba(247, 231, 173, 0.5);
}

.character-card:hover::after {
  opacity: 1;
}

/* 人物图片 */
.card-image {
  position: relative;
  width: 300px;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.85) contrast(1.1);
}

.character-card:hover .card-image img {
  transform: scale(1.08);
  filter: brightness(0.95) contrast(1.15);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(6, 7, 10, 0.3) 50%,
    rgba(6, 7, 10, 0.85) 100%
  );
  pointer-events: none;
}

/* 图片左侧金色渐变条 */
.card-image::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(247, 192, 92, 0.8) 50%,
    transparent 100%
  );
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease, width 0.5s ease;
}

.character-card:hover .card-image::before {
  opacity: 1;
  width: 6px;
}

/* 图片框架装饰 */
.card-image::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(247, 192, 92, 0.2);
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.character-card:hover .card-image::after {
  opacity: 1;
}

/* 卡片内容 */
.card-content {
  padding: clamp(24px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.character-name {
  font-family: var(--font-heading, "Cinzel", serif);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 0.12em;
  margin: 0;
  background: linear-gradient(135deg, var(--color-accent-strong, #f7e7ad), var(--color-accent, #f7c05c));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(247, 192, 92, 0.4));
  position: relative;
  display: inline-block;
  transition: filter 0.3s ease;
}

.character-card:hover .character-name {
  filter: drop-shadow(0 0 25px rgba(247, 192, 92, 0.7));
  animation: nameGlow 2s ease-in-out infinite;
}

@keyframes nameGlow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(247, 192, 92, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 35px rgba(247, 192, 92, 0.9));
  }
}

/* 名字装饰线 */
.character-name::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(247, 192, 92, 0.8), transparent);
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.character-card:hover .character-name::after {
  width: 60%;
}

.character-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(247, 192, 92, 0.2);
  border: 1px solid rgba(247, 192, 92, 0.4);
  color: var(--color-accent-strong, #f7e7ad);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* 标签光晕效果 */
.character-tag::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(247, 192, 92, 0.4), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.character-card:hover .character-tag::before {
  width: 200%;
  height: 200%;
}

.character-card:hover .character-tag {
  background: rgba(247, 192, 92, 0.3);
  border-color: rgba(247, 192, 92, 0.6);
  box-shadow: 0 0 20px rgba(247, 192, 92, 0.3);
  transform: translateX(5px);
}

.character-description {
  margin: 0;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(14px, 1.5vw, 16px);
  letter-spacing: 0.02em;
  text-align: justify;
  position: relative;
  transition: color 0.3s ease;
}

.character-card:hover .character-description {
  color: rgba(255, 255, 255, 0.95);
}

/* 首字母装饰 */
.character-description::first-letter {
  font-size: 2.5em;
  font-family: var(--font-heading, "Cinzel", serif);
  float: left;
  line-height: 0.9;
  margin: 0.05em 0.15em 0 0;
  background: linear-gradient(135deg, var(--color-accent-strong, #f7e7ad), var(--color-accent, #f7c05c));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(247, 192, 92, 0.3));
}

/* 页脚 */
.characters-footer {
  position: relative;
  z-index: 2;
  padding: 32px clamp(24px, 5vw, 80px) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.68);
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.05) 0%, rgba(6, 7, 10, 0.82) 100%);
  font-size: 13px;
}

.footer-divider {
  width: min(400px, 60%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 192, 92, 0.5), transparent);
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(247, 192, 92, 0.5);
  background: linear-gradient(135deg, rgba(247, 192, 92, 0.25), rgba(247, 192, 92, 0.15));
  backdrop-filter: blur(10px);
  color: var(--color-accent-strong, #f7e7ad);
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, rgba(247, 192, 92, 0.4), rgba(247, 192, 92, 0.25));
  border-color: rgba(247, 192, 92, 0.7);
  transform: translateY(-4px);
  box-shadow: 
    0 12px 32px rgba(247, 192, 92, 0.3),
    0 0 40px rgba(247, 192, 92, 0.2);
}

/* 响应式设计 */
@media (max-width: 960px) {
  .character-card {
    grid-template-columns: 250px 1fr;
    gap: 24px;
  }

  .card-image {
    width: 250px;
    min-height: 350px;
  }
}

@media (max-width: 720px) {
  .characters-header {
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .header-nav {
    align-self: flex-end;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-button {
    font-size: 13px;
    padding: 10px 20px;
  }

  .characters-main {
    padding: 60px 20px 80px;
  }

  .characters-hero {
    margin-bottom: 60px;
  }

  .hero-decoration {
    gap: 16px;
  }

  .deco-line {
    width: 60px;
  }

  .characters-grid {
    gap: 28px;
  }

  .character-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .card-image {
    width: 100%;
    min-height: 400px;
  }

  .back-to-top {
    width: 48px;
    height: 48px;
    bottom: 24px;
    right: 24px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .nav-button .nav-text {
    display: none;
  }

  .nav-button {
    padding: 10px 16px;
  }
}

/* 卡片序号错开动画 */
.character-card:nth-child(1) {
  transition-delay: 0.1s;
}

.character-card:nth-child(2) {
  transition-delay: 0.2s;
}

.character-card:nth-child(3) {
  transition-delay: 0.3s;
}

.character-card:nth-child(4) {
  transition-delay: 0.4s;
}

/* 选中文本样式 */
::selection {
  background-color: rgba(247, 192, 92, 0.35);
  color: rgba(255, 255, 255, 0.98);
}

::-moz-selection {
  background-color: rgba(247, 192, 92, 0.35);
  color: rgba(255, 255, 255, 0.98);
}

/* 鼠标光晕效果 */
.mouse-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(247, 192, 92, 0.3), transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glowFade 0.6s ease-out forwards;
  z-index: 1;
}

@keyframes glowFade {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
  }
}

/* 浮动粒子 */
.floating-particle {
  position: absolute;
  background: radial-gradient(circle, rgba(247, 192, 92, 0.8), transparent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  animation: particleFloat 2s ease-out forwards;
}

@keyframes particleFloat {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) scale(0.3);
  }
}

/* 卡片数字索引 */
.character-card[data-character="gatsby"]::before {
  content: "01";
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-heading, "Cinzel", serif);
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(247, 192, 92, 0.15), rgba(247, 192, 92, 0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 1;
  transition: all 0.5s ease;
  opacity: 0.5;
}

.character-card[data-character="daisy"]::before {
  content: "02";
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-heading, "Cinzel", serif);
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(247, 192, 92, 0.15), rgba(247, 192, 92, 0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 1;
  transition: all 0.5s ease;
  opacity: 0.5;
}

.character-card[data-character="nick"]::before {
  content: "03";
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-heading, "Cinzel", serif);
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(247, 192, 92, 0.15), rgba(247, 192, 92, 0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 1;
  transition: all 0.5s ease;
  opacity: 0.5;
}

.character-card[data-character="tom"]::before {
  content: "04";
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-heading, "Cinzel", serif);
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(247, 192, 92, 0.15), rgba(247, 192, 92, 0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 1;
  transition: all 0.5s ease;
  opacity: 0.5;
}

.character-card:hover::before {
  opacity: 0.8;
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(247, 192, 92, 0.3), rgba(247, 192, 92, 0.1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 卡片引号装饰 */
.card-content::before {
  content: """;
  position: absolute;
  top: -10px;
  left: -5px;
  font-family: var(--font-heading, "Cinzel", serif);
  font-size: 80px;
  color: rgba(247, 192, 92, 0.1);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(6, 7, 10, 0.8);
  border-left: 1px solid rgba(247, 192, 92, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(247, 192, 92, 0.4), rgba(247, 192, 92, 0.2));
  border-radius: 6px;
  border: 2px solid rgba(6, 7, 10, 0.8);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(247, 192, 92, 0.6), rgba(247, 192, 92, 0.4));
}

/* 页面加载进度条 */
@keyframes loadingBar {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.characters-body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent, #f7c05c), var(--color-accent-strong, #f7e7ad));
  transform-origin: left;
  animation: loadingBar 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  z-index: 10000;
  box-shadow: 0 0 15px rgba(247, 192, 92, 0.6);
}

/* 增强焦点可访问性 */
*:focus-visible {
  outline: 2px solid rgba(247, 192, 92, 0.6);
  outline-offset: 4px;
  border-radius: 4px;
}

/* 卡片内容相对定位 */
.card-content {
  position: relative;
}
