@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&family=Zcool+QingKe+HuangYou&display=swap');



:root {
  --primary: #D97706;
  --secondary: #7C2D12;
  --accent: #F59E0B;
  --bg-dark: #0f0805;
  --bg-light: rgba(255, 255, 255, 0.05);
  --text-main: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.65);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif SC', 'Songti SC', serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

.font-display {
  font-family: 'Zcool QingKe HuangYou', 'Noto Serif SC', cursive;
}

.bg-texture {
  background-image:
    radial-gradient(circle at 20% 10%, rgba(217, 119, 6, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(124, 45, 18, 0.18) 0%, transparent 45%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 8px);
}

.section-title {
  position: relative;
  display: inline-block;
  font-family: 'Zcool QingKe HuangYou', 'Noto Serif SC', cursive;
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
}

.seal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: 'Zcool QingKe HuangYou', 'Noto Serif SC', cursive;
  font-size: 0.85rem;
  border-radius: 0.25rem;
  transform: rotate(-3deg);
  background: rgba(245, 158, 11, 0.1);
}

.btn-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: 'Zcool QingKe HuangYou', 'Noto Serif SC', cursive;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #1a0f00;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 6px 0 #92400e, 0 12px 24px rgba(217, 119, 6, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-3d:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #92400e, 0 16px 32px rgba(217, 119, 6, 0.45);
}

.btn-3d:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #92400e, 0 4px 10px rgba(217, 119, 6, 0.35);
}

.btn-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: 'Zcool QingKe HuangYou', 'Noto Serif SC', cursive;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: var(--accent);
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 9999px;
  box-shadow: 0 0 0 rgba(245, 158, 11, 0);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-glow:hover {
  background: rgba(245, 158, 11, 0.12);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.5), inset 0 0 10px rgba(245, 158, 11, 0.15);
  color: #fff;
}

.card-highlight {
  background: rgba(124, 45, 18, 0.22);
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card-highlight:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(217, 119, 6, 0.2);
}

.card-glass {
  background: var(--bg-light);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-glass:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(15, 8, 5, 0.95) 0%, rgba(15, 8, 5, 0.65) 60%, transparent 100%);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 8, 5, 0.96);
  border-bottom: 1px solid rgba(217, 119, 6, 0.25);
}

.nav-link {
  position: relative;
  color: var(--text-muted);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  transition: color 0.25s ease;
  text-decoration: none;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-menu.open {
  max-height: 400px;
}

.hero-bg {
  background-image: url('https://yqcdn.fuhua95.com/game/20260615/036bbc0c3c41e5f3a09d8250011043d1.png');
  background-size: cover;
  background-position: center top;
}

.hero-overlay {
  background: radial-gradient(circle at center, rgba(15, 8, 5, 0.4) 0%, rgba(15, 8, 5, 0.85) 70%, rgba(15, 8, 5, 0.98) 100%);
}

.tag-pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent);
  font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.glow-text {
  text-shadow: 0 0 24px rgba(217, 119, 6, 0.45), 0 0 48px rgba(124, 45, 18, 0.35);
}

.footer-link {
  color: var(--text-muted);
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--accent);
}

.qr-card img {
  max-width: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.qr-card:hover img {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .section-title::after {
    width: 60%;
  }
}

/* 位置级图片约束 */
.navbar a > img,
footer a > img {
  max-width: 100%;
  object-fit: cover;
}

.hero-bg img {
  max-width: 160px;
}

.card-highlight img,
.card-glass img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 友情链接 */
.friend-links {
  background: linear-gradient(180deg, rgba(124, 45, 18, 0.12) 0%, transparent 100%);
}

.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.friend-links-list li {
  flex: 0 1 auto;
}

.friend-links-list a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(217, 119, 6, 0.4);
  border-radius: 9999px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.03);
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.friend-links-list a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(245, 158, 11, 0.1);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

@media (max-width: 375px) {
  .friend-links-list {
    gap: 0.6rem 0.75rem;
  }

  .friend-links-list a {
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
  }

  .hero-bg img {
    max-width: 120px;
  }
}
