@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');



html, body {
  overflow-x: hidden;
}

/* 位置级图片约束：针对本站各区域差异化设置，不依赖全局 img 规则 */
.site-header img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-image-wrap {
  min-width: 0;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-img {
  min-width: 0;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qr-card img {
  width: 100%;
  max-width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 0.75rem;
}

:root {
  --rage-red: #DC2626;
  --steel-black: #1F2937;
  --lightning-gold: #FACC15;
  --abyss-black: #0a0a0a;
  --ash-gray: #9CA3AF;
  --bone-white: #F3F4F6;
  --flame-orange: #EA580C;
  --shadow-red: rgba(220, 38, 38, 0.35);
  --shadow-gold: rgba(250, 204, 21, 0.25);
  --font-display: 'Ma Shan Zheng', cursive;
  --font-body: 'Noto Sans SC', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--abyss-black);
  color: var(--bone-white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* 标题装饰变体 1：左侧闪电边框 + 倾斜背景 */
.title-deco-skew {
  display: inline-block;
  position: relative;
  padding-left: 1.25rem;
  padding-right: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--bone-white);
  text-shadow: 0 0 20px var(--shadow-red);
}

.title-deco-skew::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 6px;
  background: linear-gradient(180deg, var(--lightning-gold), var(--rage-red));
  border-radius: 3px;
  box-shadow: 0 0 12px var(--lightning-gold);
}

.title-deco-skew::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(220, 38, 38, 0.12) 50%, transparent 70%);
  transform: skewX(-12deg);
  z-index: -1;
  pointer-events: none;
}

/* 标题装饰变体 2：底部渐变闪电下划线 + 图标 */
.title-deco-underline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--bone-white);
  padding-bottom: 0.75rem;
}

.title-deco-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--rage-red), var(--lightning-gold), var(--rage-red));
  border-radius: 2px;
  box-shadow: 0 0 10px var(--shadow-gold);
}

.title-deco-underline i {
  color: var(--lightning-gold);
  font-size: 0.8em;
  text-shadow: 0 0 10px var(--shadow-gold);
}

/* 按钮变体 1：狂暴红渐变 + 金色边框 */
.btn-rage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #fff;
  background: linear-gradient(135deg, var(--rage-red), var(--flame-orange));
  border: 2px solid var(--lightning-gold);
  border-radius: 0.5rem;
  box-shadow: 0 0 20px var(--shadow-red);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-rage:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px var(--shadow-red), 0 0 25px var(--shadow-gold);
}

/* 按钮变体 2：黑钢底 + 红边 */
.btn-steel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--bone-white);
  background: linear-gradient(135deg, #111827, var(--steel-black));
  border: 2px solid var(--rage-red);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-steel:hover {
  background: linear-gradient(135deg, var(--steel-black), #111827);
  border-color: var(--lightning-gold);
  color: var(--lightning-gold);
  box-shadow: 0 0 20px var(--shadow-red);
}

/* 卡片变体 1：顶部红边玻璃 */
.card-glass {
  background: rgba(31, 41, 55, 0.45);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-top: 4px solid var(--rage-red);
  border-radius: 1rem;
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.card-glass:hover {
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 25px var(--shadow-red);
  transform: translateY(-5px);
}

/* 卡片变体 2：金色切角 */
.card-cut {
  position: relative;
  background: linear-gradient(145deg, #111111, #181818);
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 0.75rem;
  padding: 1.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-cut::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, transparent 50%, var(--lightning-gold) 50%);
  opacity: 0.8;
}

.card-cut:hover {
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 20px var(--shadow-gold);
  transform: translateY(-4px);
}

/* 导航 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid rgba(220, 38, 38, 0.25);
  backdrop-filter: blur(12px);
}

.nav-link {
  position: relative;
  color: var(--bone-white);
  font-weight: 500;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--lightning-gold);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--shadow-gold);
}

.nav-link:hover {
  color: var(--lightning-gold);
}

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

/* Hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(220, 38, 38, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 25% 80%, rgba(250, 204, 21, 0.08) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  color: #fff;
  text-shadow:
    0 0 10px var(--shadow-red),
    0 0 40px rgba(220, 38, 38, 0.45);
}

.hero-title span {
  color: var(--lightning-gold);
  text-shadow: 0 0 20px var(--shadow-gold);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--ash-gray);
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  border-radius: 9999px;
  color: var(--rage-red);
  font-weight: 700;
  font-size: 0.875rem;
}

.hero-image-wrap {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(250, 204, 21, 0.15);
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(220, 38, 38, 0.2) 100%);
  pointer-events: none;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* 特色区 */
.feature-section {
  position: relative;
  padding: 6rem 0;
}

.feature-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.feature-img {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s ease;
}

.feature-img:hover {
  transform: scale(1.02);
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: rgba(220, 38, 38, 0.18);
  line-height: 1;
}

.feature-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--bone-white);
}

.feature-desc {
  color: var(--ash-gray);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

/* 下载区 */
.download-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--abyss-black), #111111);
}

.tab-btn {
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  color: var(--ash-gray);
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--lightning-gold);
  background: rgba(220, 38, 38, 0.15);
  border-color: var(--rage-red);
  box-shadow: 0 0 15px var(--shadow-red);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

/* 联系区 */
.contact-section {
  padding: 5rem 0;
  position: relative;
}

.qr-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.qr-card {
  background: rgba(31, 41, 55, 0.4);
  border: 1px solid rgba(250, 204, 21, 0.15);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.qr-card:hover {
  border-color: rgba(220, 38, 38, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.qr-card img {
  width: 100%;
  max-width: 140px;
  border-radius: 0.5rem;
  margin: 0 auto 0.75rem;
  display: block;
}

.qr-card p {
  color: var(--bone-white);
  font-weight: 500;
  font-size: 0.95rem;
}

/* 页脚 */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(220, 38, 38, 0.2);
  padding: 2.5rem 0;
  text-align: center;
  color: var(--ash-gray);
  font-size: 0.875rem;
}

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

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

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--bone-white);
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--lightning-gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--bone-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* 友情链接 */
.friend-links-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--abyss-black), #111111);
  border-top: 1px solid rgba(220, 38, 38, 0.15);
}

.friend-links-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.friend-links-wrap a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.1rem;
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 0.5rem;
  color: var(--bone-white);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  word-break: keep-all;
  white-space: nowrap;
}

.friend-links-wrap a:hover {
  border-color: var(--lightning-gold);
  color: var(--lightning-gold);
  box-shadow: 0 0 15px var(--shadow-gold);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  .hero-section {
    padding-top: 6rem;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .feature-section .flex-col-reverse {
    flex-direction: column-reverse;
  }

  .qr-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .friend-links-wrap {
    gap: 0.5rem;
  }

  .friend-links-wrap a {
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .mobile-menu,
  .mobile-menu.open {
    display: none;
  }
}
