/* ================================================
   🍉 吃瓜黑料 · Juicy Melon Editorial
   "一瓜未平，一料又起" / chiguaheiliao.cq.cn
   Awwwards-Level Design System
   ================================================ */

:root {
  --cream: #FFF9F2;
  --paper: #FFFFFF;
  --peach: #FFF0EB;
  --coral: #FF4D6D;
  --coral-deep: #E63656;
  --coral-soft: #FFD9DE;
  --melon: #2E9E6B;
  --melon-soft: #E8F5EE;
  --lemon: #FFC233;
  --lemon-soft: #FFF4D6;
  --sky: #4FB3CF;
  --ink: #1E2027;
  --ink-soft: #6B7089;
  --border: 2px solid var(--ink);
  --shadow-hard: 4px 4px 0 var(--ink);
  --shadow-hard-hover: 8px 8px 0 var(--ink);
  --shadow-soft: 0 12px 32px rgba(30, 32, 39, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Base Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--coral) var(--cream);
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: var(--cream);
}

*::-webkit-scrollbar-thumb {
  background: var(--coral);
  border-radius: 10px;
}

body {
  font-family: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Helvetica Neue', Arial, sans-serif;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  background-image:
    radial-gradient(rgba(30, 32, 39, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

::selection {
  background: var(--coral);
  color: #fff;
}

/* ---------- Core Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--peach);
}

/* ---------- Fixed Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 249, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 2px 0 rgba(255, 77, 109, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.03em;
  transition: var(--transition);
  z-index: 2;
}

.logo:hover {
  transform: rotate(-2deg) scale(1.03);
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transition: var(--transition);
}

.logo:hover .logo-icon {
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(20deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 4px 2px;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--coral);
  border-radius: 4px;
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.main-nav a:hover {
  color: var(--coral);
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav .nav-cta {
  padding: 9px 22px;
  border-radius: 30px;
  color: #fff !important;
  font-weight: 700;
  background: var(--coral);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: var(--transition);
}

.main-nav .nav-cta::after {
  display: none;
}

.main-nav .nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--coral-deep);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  z-index: 2;
  background: var(--paper);
  transition: var(--transition);
}

.menu-toggle:hover {
  background: var(--coral-soft);
  transform: scale(0.96);
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 4px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 90px;
  padding-bottom: 90px;
  background:
    radial-gradient(ellipse at 90% 20%, rgba(255, 77, 109, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 85%, rgba(46, 158, 107, 0.10) 0%, transparent 50%);
  overflow: hidden;
}

.hero::before {
  content: '🍉';
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 220px;
  opacity: 0.08;
  animation: hero-melon-float 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes hero-melon-float {
  0%   { transform: translateY(-50%) rotate(-8deg) scale(1); }
  100% { transform: translateY(-52%) rotate(8deg) scale(1.05); }
}

.hero::after {
  content: '';
  position: absolute;
  top: 12%;
  right: 4%;
  width: 180px;
  height: 180px;
  border: 3px dashed var(--coral);
  border-radius: 50%;
  opacity: 0.25;
  animation: hero-spin 28s linear infinite;
  pointer-events: none;
}

@keyframes hero-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 6px 20px;
  border-radius: 30px;
  background: var(--lemon);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  margin-bottom: 20px;
  text-transform: uppercase;
  animation: eyebrow-pulse 3s ease-in-out infinite;
}

@keyframes eyebrow-pulse {
  0%, 100% { transform: scale(1) rotate(-1deg); }
  50%      { transform: scale(1.04) rotate(1deg); }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-shadow: 3px 3px 0 var(--lemon);
}

.hero h1 em {
  font-style: normal;
  color: var(--coral);
  text-shadow: 3px 3px 0 var(--ink);
}

.hero h1 .green {
  color: var(--melon);
  text-shadow: 3px 3px 0 var(--ink);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.72;
  max-width: 580px;
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--coral);
  transform: rotate(1.5deg);
  transition: var(--transition);
}

.hero-image:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 12px 12px 0 var(--melon);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid var(--ink);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.02em;
}

.btn:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 0 0 0 var(--ink) !important;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
  background: var(--coral-deep);
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--ink);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-outline:hover {
  background: var(--melon-soft);
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--ink);
}

/* ---------- Labels & Section Titles ---------- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  color: var(--coral);
  text-transform: uppercase;
  position: relative;
  padding-left: 28px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: var(--coral);
  border-radius: 50%;
  border: 2px solid var(--ink);
}

.section-label::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--melon) !important;
  border-radius: 50%;
  animation: label-pulse 2.4s ease-in-out infinite;
}

@keyframes label-pulse {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50%      { transform: translateY(-50%) scale(0.72); }
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  color: var(--ink);
  position: relative;
  display: inline-block;
}

.section-desc {
  max-width: 640px;
  opacity: 0.65;
  margin-bottom: 48px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------- Cards Grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: var(--radius-md);
  padding: 30px 28px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card:nth-child(2n) {
  transform: rotate(0.6deg);
}

.category-card:nth-child(3n) {
  transform: rotate(-0.5deg);
}

.category-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--melon-soft);
  transition: var(--transition);
  z-index: 0;
}

.category-card:nth-child(2n)::before {
  background: var(--coral-soft);
}

.category-card:nth-child(3n)::before {
  background: var(--lemon-soft);
}

.category-card:hover {
  transform: translateY(-4px) rotate(0deg) scale(1.02);
  box-shadow: 9px 9px 0 var(--coral);
  border-color: var(--coral);
}

.category-card:hover::before {
  transform: scale(1.8);
  opacity: 0.6;
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: var(--coral-soft);
  box-shadow: 2px 2px 0 var(--ink);
  transition: var(--transition);
}

.category-card:nth-child(2n) .card-icon {
  background: var(--melon-soft);
}

.category-card:nth-child(3n) .card-icon {
  background: var(--lemon-soft);
}

.category-card:nth-child(4n) .card-icon {
  background: var(--lemon-soft);
}

.category-card:hover .card-icon {
  transform: rotate(-8deg) scale(1.1);
}

.card-link {
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 12px;
  color: var(--coral-deep);
}

/* ---------- Feature Block ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--lemon);
  transition: var(--transition);
}

.feature-image:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 12px 12px 0 var(--coral);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-image:hover img {
  transform: scale(1.03);
}

.feature-text {
  padding: 8px 0;
}

.feature-text .feature-list {
  margin-top: 8px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 9px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1.02rem;
  border-bottom: 1px dashed rgba(30, 32, 39, 0.1);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: #fff;
  background: var(--melon);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.feature-list li:nth-child(2)::before {
  background: var(--coral);
}

.feature-list li:nth-child(3)::before {
  background: var(--lemon);
  color: var(--ink);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  padding: 32px 20px;
  border-radius: var(--radius-md);
  border: 2px solid var(--ink);
  background: var(--paper);
  text-align: center;
  box-shadow: 5px 5px 0 var(--ink);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--coral);
}

.stat-item:nth-child(2)::after { background: var(--melon); }
.stat-item:nth-child(3)::after { background: var(--lemon); }
.stat-item:nth-child(4)::after { background: var(--sky); }

.stat-item:nth-child(1) .stat-number { color: var(--coral); }
.stat-item:nth-child(2) .stat-number { color: var(--melon); }
.stat-item:nth-child(3) .stat-number { color: #D18B00; }
.stat-item:nth-child(4) .stat-number { color: var(--sky); }

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 9px 9px 0 var(--ink);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
}

.stat-number::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--ink);
  border-radius: 2px;
  opacity: 0.2;
  margin-right: 4px;
  vertical-align: baseline;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ---------- Content Wall ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  transition: var(--transition);
  position: relative;
}

.content-wall-item:nth-child(2n) {
  transform: rotate(0.7deg);
}

.content-wall-item:nth-child(3n) {
  transform: rotate(-0.6deg);
}

.content-wall-item:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: 9px 9px 0 var(--melon);
  border-color: var(--melon);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 2px solid var(--ink);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.content-wall-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.2) contrast(1.05);
}

.content-wall-body {
  padding: 22px 20px;
}

.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.content-wall-body p {
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--paper);
  box-shadow: 4px 4px 0 rgba(30, 32, 39, 0.08);
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateX(6px);
  box-shadow: 4px 4px 0 var(--coral);
}

.faq-item.open {
  border-color: var(--coral);
  box-shadow: 6px 6px 0 var(--coral);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  color: var(--ink);
  gap: 16px;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--coral);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 22px;
  display: none;
  opacity: 0.7;
  line-height: 1.7;
  font-size: 0.98rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: faq-slide 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes faq-slide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 60px 48px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 3px solid var(--ink);
  background: linear-gradient(135deg, var(--coral) 0%, #FF8CA0 50%, var(--coral-deep) 100%);
  color: #fff;
  position: relative;
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
}

.cta-banner::before {
  content: '🍉';
  position: absolute;
  left: 5%;
  bottom: -10px;
  font-size: 90px;
  opacity: 0.2;
  transform: rotate(-20deg);
}

.cta-banner::after {
  content: '🍉';
  position: absolute;
  right: 6%;
  top: 10px;
  font-size: 70px;
  opacity: 0.18;
  transform: rotate(25deg);
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-shadow: 2px 2px 0 var(--ink);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  font-size: 1.05rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--coral-deep);
  box-shadow: 4px 4px 0 var(--ink);
  border: 2px solid var(--ink);
}

.cta-banner .btn-primary:hover {
  background: var(--lemon);
  color: var(--ink);
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 32px;
  background: var(--melon-soft);
  border-top: 2px solid var(--ink);
  margin-top: 40px;
}

.site-footer .container {
  max-width: 1200px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  opacity: 0.65;
  font-size: 0.92rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--coral);
  border-radius: 4px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul a {
  text-decoration: none;
  color: var(--ink);
  opacity: 0.65;
  font-size: 0.92rem;
  line-height: 2.2;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.2s;
  color: var(--coral);
  font-weight: 800;
}

.footer-col ul a:hover {
  opacity: 1;
  color: var(--coral);
  transform: translateX(4px);
}

.footer-col ul a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  border-top: 2px solid rgba(30, 32, 39, 0.12);
  margin-top: 48px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.55;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom .copyright {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Utilities ---------- */
.text-accent {
  color: var(--coral);
  font-weight: 800;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 640px;
  margin: 0 auto 56px;
  opacity: 0.68;
  line-height: 1.7;
  font-size: 1.02rem;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Page helper ---------- */
.page-pink {
  background: var(--peach);
}

.page-green {
  background: var(--melon-soft);
}

.page-yellow {
  background: var(--lemon-soft);
}

/* ---------- Watermelon Seed Divider ---------- */
.seed-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 40px auto;
  opacity: 0.4;
  padding: 0 24px;
}

.seed-divider::before,
.seed-divider::after {
  content: '';
  flex: 1;
  max-width: 160px;
  height: 3px;
  background: var(--ink);
  border-radius: 4px;
  opacity: 0.2;
}

.seed-divider span {
  font-size: 1.4rem;
  animation: seed-pulse 2s ease-in-out infinite;
}

.seed-divider span:nth-child(2) { animation-delay: 0.3s; }
.seed-divider span:nth-child(3) { animation-delay: 0.6s; color: var(--coral); }

@keyframes seed-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.3) rotate(15deg); }
}

/* ---------- Marquee Ticker ---------- */
.ticker {
  background: var(--lemon);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-inner {
  display: inline-block;
  animation: ticker-scroll 30s linear infinite;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.ticker-inner::after {
  content: ' 🍉 一瓜未平 ◉ 一料又起 🍉 每日黑料大赛火热进行中 ◉ 吃瓜群众请入席 🍉';
  padding-left: 8px;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ---------- Hero Giant Label (extra decorative) ---------- */
.hero-badge {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 130px;
  height: 130px;
  border: 2px dashed var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.14em;
  animation: hero-spin 20s linear infinite;
  z-index: 1;
  background: rgba(255, 249, 242, 0.6);
  backdrop-filter: blur(4px);
}

.hero-badge::after {
  content: '🍉';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.4rem;
  animation: badge-counter-spin 20s linear infinite;
}

@keyframes badge-counter-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* ---------- Focus states ---------- */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-block {
    gap: 40px;
  }
  
  .hero-badge {
    top: 15%;
    right: 4%;
    width: 100px;
    height: 100px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  .header-inner {
    height: 64px;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--cream);
    padding: 24px;
    gap: 16px;
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 10px 30px rgba(30, 32, 39, 0.1);
  }

  .main-nav.open {
    display: flex;
    animation: nav-drop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }

  @keyframes nav-drop {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 70px;
  }

  .hero::before {
    font-size: 140px;
    right: -20px;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .feature-block {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-banner {
    padding: 48px 28px;
  }

  .hero-image {
    box-shadow: 6px 6px 0 var(--coral);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .hero-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .header-inner {
    padding: 0 18px;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cards-grid,
  .content-wall {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .feature-block {
    gap: 32px;
  }

  .cta-banner {
    padding: 40px 22px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .section-title {
    font-size: 1.6rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .logo {
    font-size: 1.05rem;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .menu-toggle,
  .cta-banner,
  .ticker,
  .hero::before,
  .hero::after {
    display: none !important;
  }

  .hero {
    padding-top: 20px;
  }

  .footer-bottom {
    position: static;
  }
}