/* ============================================================================
   黑料网不打烊 · 1112321041.net
   Design System —— "RISO BRUTAL EDITORIAL" 油印粗野编辑风
   纸感奶油底 · 墨紫描边 · 珊瑚/电紫/青柠三色冲击 · 硬投影 · 零圆角情结
   ============================================================================ */

:root {
  --paper: #FFF8EF;
  --paper-2: #F5F0FF;
  --ink: #241B3A;
  --ink-soft: rgba(36, 27, 58, 0.72);
  --ink-ghost: rgba(36, 27, 58, 0.12);
  --coral: #FF4A2E;
  --violet: #6A4CFF;
  --lime: #C9F04D;
  --mint: #38D6C0;
  --hard: 5px 5px 0 var(--ink);
  --hard-lg: 10px 10px 0 var(--ink);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------- 基础重置 */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x:hidden;
  background-color: var(--paper);
  background-image: radial-gradient(var(--ink-ghost) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(201, 240, 77, 0.18), transparent 42%, rgba(106, 76, 255, 0.12));
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; }

::selection { background: var(--lime); color: var(--ink); }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper); border-left: 2px solid var(--ink-ghost); }
::-webkit-scrollbar-thumb { background: var(--violet); border: 2px solid var(--paper); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--coral); }

/* ------------------------------------------------------------- 核心布局 */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }

.section {
  padding:80px 0;
  position: relative;
  z-index: 2;
}

.section:nth-child(even) {
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(106, 76, 255, 0.055) 0 2px,
    transparent 2px 14px
  );
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

/* ------------------------------------------------------------- 导航 */
.site-header {
  position:fixed;
  top:0; left:0;
  width:100%;
  z-index:1000;
  background:rgba(255, 248, 239, 0.92);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom:2px solid var(--ink);
}

.site-header::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 100%;
  background: repeating-linear-gradient(90deg, var(--coral) 0 40px, var(--violet) 40px 80px, var(--mint) 80px 120px, var(--lime) 120px 160px);
  opacity: 0.9;
}

.header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:68px;
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

.logo {
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  font-size:1.2rem;
  text-decoration:none;
  color:var(--ink);
  letter-spacing: -0.02em;
}

.logo-icon {
  width:36px;
  height:36px;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1rem;
  background: var(--lime);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-4deg);
  transition: transform 0.25s var(--ease), background 0.25s;
}

.logo:hover .logo-icon { transform: rotate(6deg) scale(1.06); background: var(--mint); }

.main-nav { display:flex; align-items:center; gap:26px; list-style:none; }

.main-nav a {
  text-decoration:none;
  font-size:0.9rem;
  font-weight:600;
  letter-spacing: 0.03em;
  transition:0.2s;
  position: relative;
  color: var(--ink);
  padding-bottom: 3px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 0;
  background: var(--coral);
  transition: width 0.28s var(--ease);
}

.main-nav a:hover { color: var(--violet); }
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  padding:8px 20px;
  border-radius:6px;
  color:#fff !important;
  font-weight:700;
  background: var(--coral);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.2s;
}

.nav-cta::after { display: none; }
.nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--violet);
}

.menu-toggle {
  display:none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--ink);
}

/* ------------------------------------------------------------- 首页 Hero */
.hero {
  min-height:70vh;
  display:flex;
  align-items:center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 100px;
  z-index: 2;
}

.hero::before {
  content: '不打烊';
  position: absolute;
  top: 50%; right: -6%;
  transform: translateY(-50%) rotate(-7deg);
  font-size: clamp(9rem, 26vw, 22rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(36, 27, 58, 0.09);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  user-select: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: 6%;
  bottom: -70px;
  width: 260px; height: 260px;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50%;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  max-width:720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display:inline-block;
  font-size:0.85rem;
  font-weight:700;
  padding:6px 16px;
  border-radius:20px;
  margin-bottom:20px;
  letter-spacing: 0.08em;
  background: var(--lime);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-1.6deg);
  animation: floaty 5s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: rotate(-1.6deg) translateY(0); }
  50% { transform: rotate(-1.6deg) translateY(-5px); }
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height:1.08;
  margin-bottom:22px;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero p {
  font-size:1.1rem;
  opacity: 0.78;
  max-width:560px;
  margin-bottom:34px;
  padding-left: 18px;
  border-left: 4px solid var(--coral);
  line-height: 1.85;
}

.hero-buttons { display:flex; gap:16px; flex-wrap: wrap; }

.hero-image { border-radius:12px; overflow:hidden; border: 2px solid var(--ink); box-shadow: var(--hard-lg); background: #fff; }
.hero-image img { width:100%; height:auto; }

/* ------------------------------------------------------------- 按钮 */
.btn {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 28px;
  border-radius:6px;
  font-weight:700;
  cursor:pointer;
  border:2px solid var(--ink);
  text-decoration:none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.2s;
  box-shadow: 4px 4px 0 var(--ink);
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.btn:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.btn-primary { color:#fff; background: var(--coral); }
.btn-primary:hover { background: var(--violet); }

.btn-outline { background:transparent; border:2px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--lime); }

/* ------------------------------------------------------------- 标签 / 标题 */
.section-label {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:0.78rem;
  font-weight:800;
  letter-spacing:3px;
  margin-bottom:14px;
  color: var(--violet);
  text-transform: uppercase;
}

.section-label::before {
  content: '';
  width: 12px; height: 12px;
  background: var(--lime);
  border: 2px solid var(--ink);
  display: inline-block;
  transform: rotate(45deg);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  margin-bottom:16px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

.section-desc {
  max-width:600px;
  opacity: 0.74;
  margin-bottom:44px;
  font-size: 1.05rem;
  line-height: 1.85;
}

/* ------------------------------------------------------------- 卡片网格 */
.cards-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:26px; }

.category-card {
  border-radius:6px;
  padding:28px;
  border:2px solid var(--ink);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), background 0.24s;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: '';
  position: absolute;
  right: -26px; top: -26px;
  width: 52px; height: 52px;
  background: var(--lime);
  border: 2px solid var(--ink);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.category-card:hover {
  transform: translate(-5px, -5px);
  box-shadow: 9px 9px 0 var(--ink);
  background: #FFFDF7;
}

.category-card:hover::after { opacity: 1; }

.card-icon {
  width:52px;
  height:52px;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  font-size:1.3rem;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--lime);
  color: var(--ink);
  transition: transform 0.25s var(--ease);
}

.category-card:hover .card-icon { transform: rotate(-6deg) scale(1.05); }

.category-card:nth-child(4n+1) .card-icon { background: var(--coral); color: #fff; }
.category-card:nth-child(4n+2) .card-icon { background: var(--lime); color: var(--ink); }
.category-card:nth-child(4n+3) .card-icon { background: var(--violet); color: #fff; }
.category-card:nth-child(4n+4) .card-icon { background: var(--mint); color: var(--ink); }

.card-link {
  font-weight:700;
  font-size:0.85rem;
  text-decoration:none;
  color: var(--violet);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link::after { content: '→'; transition: transform 0.25s var(--ease); }
.card-link:hover { color: var(--coral); }
.card-link:hover::after { transform: translateX(5px); }

/* ------------------------------------------------------------- 特性块 */
.feature-block {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}

.feature-image {
  border-radius:12px;
  overflow:hidden;
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--lime);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature-image:hover { transform: translate(-4px, -4px); box-shadow: 14px 14px 0 var(--coral); }

.feature-image img { width:100%; height:auto; }

.feature-text { }
.feature-text h3 { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 14px; }
.feature-text p { opacity: 0.76; margin-bottom: 18px; line-height: 1.85; }

.feature-list { list-style:none; }

.feature-list li {
  padding:7px 0;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 500;
}

.feature-list li::before {
  content:'✓';
  font-weight:900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  flex: 0 0 22px;
  font-size: 0.72rem;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
}

/* ------------------------------------------------------------- 数据条 */
.stats-bar {
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
  text-align:center;
}

.stat-item {
  padding:28px 20px;
  border-radius:6px;
  border:2px solid var(--ink);
  background: #fff;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.stat-item:nth-child(1) { box-shadow: 5px 5px 0 var(--coral); }
.stat-item:nth-child(2) { box-shadow: 5px 5px 0 var(--violet); }
.stat-item:nth-child(3) { box-shadow: 5px 5px 0 var(--mint); }
.stat-item:nth-child(4) { box-shadow: 5px 5px 0 var(--lime); }

.stat-item:hover { transform: translate(-4px, -4px); }

.stat-number {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight:800;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.stat-item:nth-child(1) .stat-number { color: var(--coral); }
.stat-item:nth-child(2) .stat-number { color: var(--violet); }
.stat-item:nth-child(3) .stat-number { color: var(--mint); }
.stat-item:nth-child(4) .stat-number { color: #8CB300; }

.stat-label {
  font-size:0.9rem;
  opacity: 0.66;
  margin-top:8px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ------------------------------------------------------------- 内容墙 */
.content-wall {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
  gap:26px;
}

.content-wall-item {
  border-radius:6px;
  overflow:hidden;
  border:2px solid var(--ink);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.content-wall-item:nth-child(3n+1) { box-shadow: 4px 4px 0 var(--coral); }
.content-wall-item:nth-child(3n+2) { box-shadow: 4px 4px 0 var(--violet); }
.content-wall-item:nth-child(3n+3) { box-shadow: 4px 4px 0 var(--mint); }

.content-wall-item:hover {
  transform: translate(-5px, -5px);
  box-shadow: 9px 9px 0 var(--ink);
}

.content-wall-item img {
  width:100%;
  height:200px;
  object-fit:cover;
  border-bottom: 2px solid var(--ink);
  transition: transform 0.5s var(--ease);
}

.content-wall-item:hover img { transform: scale(1.05); }

.content-wall-body { padding:20px; }
.content-wall-body h4 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.content-wall-body p { font-size: 0.9rem; opacity: 0.7; line-height: 1.75; }

/* ------------------------------------------------------------- FAQ */
.faq-list { max-width:800px; margin:0 auto; }

.faq-item {
  border:2px solid var(--ink);
  border-radius:6px;
  margin-bottom:10px;
  overflow:hidden;
  cursor:pointer;
  background: #fff;
  transition: box-shadow 0.24s var(--ease), transform 0.24s var(--ease);
}

.faq-item:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--violet); }
.faq-item.open { box-shadow: 6px 6px 0 var(--coral); }

.faq-item .faq-question {
  padding:18px 22px;
  font-weight:700;
  display:flex;
  justify-content:space-between;
  align-items: center;
  gap: 18px;
  letter-spacing: -0.005em;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--violet);
  transition: transform 0.28s var(--ease), color 0.2s;
  flex: 0 0 auto;
}

.faq-item.open .faq-question::after { content: '–'; color: var(--coral); transform: rotate(180deg); }

.faq-item .faq-answer {
  padding:0 22px 18px;
  display:none;
  opacity: 0.74;
  line-height: 1.85;
  font-size: 0.95rem;
  border-top: 2px dashed var(--ink-ghost);
  padding-top: 16px;
  margin-top: -2px;
}

.faq-item.open .faq-answer { display:block; animation: answerIn 0.3s var(--ease); }

@keyframes answerIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 0.74; transform: translateY(0); }
}

/* ------------------------------------------------------------- CTA 横幅 */
.cta-banner {
  padding:60px 28px;
  text-align:center;
  border-radius:10px;
  color:#fff;
  background: linear-gradient(118deg, var(--violet) 0%, #8C5BFF 45%, var(--coral) 100%);
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.7;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  left: -60px; bottom: -60px;
  width: 180px; height: 180px;
  border: 6px solid var(--lime);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}

.cta-banner h2 {
  color:#fff;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-banner p { position: relative; z-index: 1; opacity: 0.92; margin-bottom: 28px; }

.cta-banner .btn,
.cta-banner .btn-primary {
  background:#fff;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  position: relative;
  z-index: 1;
}

.cta-banner .btn:hover { background: var(--lime); box-shadow: 7px 7px 0 var(--ink); }

/* ------------------------------------------------------------- 页脚 */
.site-footer {
  padding:56px 0 28px;
  background: var(--paper);
  border-top: 2px solid var(--ink);
  position: relative;
  z-index: 2;
}

.site-footer .container { }

.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px;
}

.footer-brand { }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; opacity: 0.7; line-height: 1.85; max-width: 320px; }

.footer-col { }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 5px 0;
  transition: color 0.2s, transform 0.2s var(--ease);
}

.footer-col a:hover { color: var(--coral); transform: translateX(4px); }

.footer-bottom {
  border-top:2px dashed var(--ink-ghost);
  margin-top:40px;
  padding-top:20px;
  text-align:center;
  font-size:0.85rem;
  opacity: 0.7;
}

/* ------------------------------------------------------------- 工具类 */
.text-accent { color: var(--coral); font-weight: 800; }
.text-center { text-align:center; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }
.seo-description { max-width:600px; margin:0 auto 48px; opacity:0.72; line-height: 1.9; }
.mt-0 { margin-top:0; }
.mb-0 { margin-bottom:0; }

/* ------------------------------------------------------------- 响应式 */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .feature-block { grid-template-columns:1fr; gap: 36px; }
  .stats-bar { grid-template-columns:repeat(2, 1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .main-nav { display:none; }
  .menu-toggle { display:flex; }
  .main-nav.open {
    display:flex;
    flex-direction:column;
    position:absolute;
    top:68px; left:0;
    width:100%;
    background: var(--paper);
    padding:20px 24px 26px;
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 8px 0 rgba(36, 27, 58, 0.08);
    gap: 18px;
    align-items: flex-start;
  }
  .hero { padding: 120px 0 80px; }
  .hero::before { font-size: 34vw; opacity: 0.7; }
  .hero::after { display: none; }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .hero-buttons { flex-direction:column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }
  .cta-banner { box-shadow: 6px 6px 0 var(--ink); padding: 44px 20px; }
  .stat-item, .category-card, .content-wall-item { box-shadow: 4px 4px 0 var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}