﻿:root {
  --brand: #e11d64;
  --brand-dark: #be185d;
  --brand-soft: #fff1f5;
  --accent: #f59e0b;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --bg: #fafaf9;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 25, 23, 0.08);
  --max: 1180px;
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", Georgia, serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #ffe4e6 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #fef3c7 0%, transparent 50%),
    var(--bg);
  line-height: 1.75;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(231, 229, 228, 0.9);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 700;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

.hero {
  padding: 2.5rem 0 1.5rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(225, 29, 100, 0.92), rgba(190, 24, 93, 0.88)),
    url("/g.jpg") center/cover no-repeat;
  color: #fff;
  padding: 2.4rem 1.6rem;
  box-shadow: var(--shadow);
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 25, 23, 0.15) 0%, rgba(28, 25, 23, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-content .eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.25;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.05rem;
  opacity: 0.95;
  max-width: 38em;
  margin-bottom: 1.3rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: #fff;
  color: var(--brand-dark);
}

.btn-primary:hover {
  background: #fff7ed;
  color: var(--brand-dark);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section {
  padding: 2.2rem 0;
}

.section-head {
  margin-bottom: 1.3rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  margin-bottom: 0.4rem;
}

.section-head p {
  color: var(--muted);
  max-width: 48em;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.media-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(28, 25, 23, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.media-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f5f5f4;
}

.media-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.media-card:hover .thumb img {
  transform: scale(1.04);
}

.media-card .body {
  padding: 0.95rem 1rem 1.1rem;
}

.media-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.media-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.feature-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.94rem;
}

.prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 4px 18px rgba(28, 25, 23, 0.04);
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  margin: 1.4rem 0 0.7rem;
  line-height: 1.35;
}

.prose h2:first-child,
.prose > h2:first-of-type {
  margin-top: 0;
}

.prose p {
  margin-bottom: 1rem;
  color: #292524;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem 1.2rem;
  color: #292524;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose strong {
  color: var(--ink);
}

.highlight-box {
  margin: 1.2rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 12px 12px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: start;
}

.side-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  position: sticky;
  top: 88px;
}

.side-panel h3 {
  font-family: var(--font-display);
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.side-panel ul {
  list-style: none;
}

.side-panel li {
  margin-bottom: 0.55rem;
}

.side-panel a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  color: var(--ink);
  background: #fafaf9;
}

.side-panel a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1rem 0 1.4rem;
}

.shot-row figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.shot-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.shot-row figcaption {
  padding: 0.55rem 0.7rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.page-hero {
  padding: 2rem 0 0.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 46em;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.breadcrumb a {
  color: var(--muted);
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--brand);
  margin-bottom: 0.6rem;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 1.3rem;
}

.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 2rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.5rem;
}

.site-footer h3 {
  font-family: var(--font-display);
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.93rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.media-card,
.feature-item,
.prose {
  animation: rise 0.55s ease both;
}

@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    left: auto;
    width: min(220px, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.55rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(28, 25, 23, 0.12);
    z-index: 60;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
  }

  .nav a:hover,
  .nav a.active {
    background: var(--brand-soft);
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .hero-panel {
    min-height: 280px;
    padding: 1.7rem 1.15rem;
    border-radius: 18px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .shot-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .prose {
    padding: 1.15rem 1rem;
  }
}
