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



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

: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;
}

.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; text-decoration: none; transition: color 0.3s ease; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: -2px; 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%; }
.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; }

.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; inset: 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; }

.title-deco-underline { display: inline-flex; align-items: center; gap: 0.75rem; position: relative; font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.25rem); color: var(--bone-white); padding-bottom: 0.6rem; }
.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); }

.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); }
.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); }

/* 页面标题区 */
.page-hero { position: relative; padding: 9rem 0 4rem; text-align: center; background: radial-gradient(circle at 50% 20%, rgba(220, 38, 38, 0.16) 0%, transparent 55%); border-bottom: 1px solid rgba(220, 38, 38, 0.15); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); color: #fff; text-shadow: 0 0 30px var(--shadow-red); margin-bottom: 1rem; }
.page-hero h1 span { color: var(--lightning-gold); }
.page-hero p { color: var(--ash-gray); font-size: clamp(1rem, 2vw, 1.25rem); max-width: 680px; margin: 0 auto; }

/* 兑换码大输入区 */
.redeem-section { padding: 4rem 0; }
.redeem-box {
  max-width: 720px; margin: 0 auto;
  background: rgba(31, 41, 55, 0.45);
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), 0 0 30px rgba(220, 38, 38, 0.1);
}
.redeem-input-wrap { display: flex; flex-direction: column; gap: 1.25rem; }
.redeem-input {
  width: 100%; padding: 1.25rem 1.5rem;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--bone-white); background: rgba(10, 10, 10, 0.7);
  border: 2px solid rgba(220, 38, 38, 0.35); border-radius: 1rem;
  outline: none; transition: all 0.3s ease;
}
.redeem-input::placeholder { color: var(--ash-gray); }
.redeem-input:focus { border-color: var(--lightning-gold); box-shadow: 0 0 20px var(--shadow-gold); }
.redeem-btn { width: 100%; justify-content: center; padding: 1.125rem; font-size: clamp(1.125rem, 2.5vw, 1.5rem); }

/* 客服礼包卡片 */
.service-section { padding: 3rem 0 5rem; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.service-card {
  position: relative; background: linear-gradient(145deg, #111111, #181818);
  border: 1px solid rgba(220, 38, 38, 0.25); border-radius: 1rem;
  padding: 2rem; text-align: center; overflow: hidden;
  transition: all 0.3s ease;
}
.service-card::before { content: ''; position: absolute; top: 0; right: 0; width: 45px; height: 45px; background: linear-gradient(135deg, transparent 50%, var(--rage-red) 50%); opacity: 0.7; }
.service-card:hover { border-color: rgba(250, 204, 21, 0.4); transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 25px var(--shadow-red); }
.service-card .icon { width: 64px; height: 64px; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; border: 2px solid var(--rage-red); border-radius: 50%; color: var(--lightning-gold); font-size: 1.75rem; box-shadow: 0 0 15px var(--shadow-red); }
.service-card h3 { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: 0.75rem; color: var(--bone-white); }
.service-card p { color: var(--ash-gray); font-size: 0.95rem; margin-bottom: 1.25rem; }
.service-card img { width: 100%; max-width: 150px; border-radius: 0.75rem; margin: 0 auto; display: block; border: 1px solid rgba(250, 204, 21, 0.15); }

/* 提示条 */
.notice-bar { max-width: 720px; margin: 2rem auto 0; padding: 1rem 1.5rem; background: rgba(220, 38, 38, 0.1); border-left: 4px solid var(--rage-red); border-radius: 0.5rem; color: var(--ash-gray); }
.notice-bar strong { color: var(--lightning-gold); }

/* 友情链接 */
.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);
}

/* 移动端菜单 */
.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); }

@media (max-width: 767px) {
  .hamburger { display: flex; }
  .desktop-nav { display: none; }
  .page-hero { padding-top: 7rem; }
  .redeem-box { padding: 1.5rem; }

  .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; }
}
