:root {
  --brand: #e91e63;
  --brand-dark: #c2185b;
  --accent: #ff6d00;
  --accent-soft: #fff3e0;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --muted: #7a7a7a;
  --line: #ececec;
  --bg: #faf7f5;
  --bg-warm: #fff8f3;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(26, 26, 26, 0.08);
  --max: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --display: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(233, 30, 99, 0.12), transparent 55%),
    radial-gradient(900px 420px at 95% 5%, rgba(255, 109, 0, 0.1), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--bg) 40%, var(--bg-warm) 100%);
  line-height: 1.75;
  min-height: 100vh;
}

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(--accent);
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(233, 30, 99, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.brand span {
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: var(--brand);
  background: rgba(233, 30, 99, 0.08);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s ease;
}

/* Hero */
.hero {
  padding: 48px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero-copy .lead {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 8px 20px rgba(233, 30, 99, 0.28);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  color: var(--brand-dark);
  background: #fff;
  border-color: rgba(233, 30, 99, 0.25);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -12px -12px auto;
  width: 42%;
  height: 42%;
  background: linear-gradient(135deg, rgba(255, 109, 0, 0.25), rgba(233, 30, 99, 0.2));
  border-radius: 20px;
  z-index: -1;
}

/* Sections */
.section {
  padding: 48px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid rgba(233, 30, 99, 0.06);
}

.section-head {
  margin-bottom: 28px;
  max-width: 48em;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Cards / Grids */
.feature-grid,
.gallery-grid,
.cat-grid,
.vlog-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.content-block,
.legal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 22px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.feature-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  margin-bottom: 14px;
}

.cat-grid {
  grid-template-columns: repeat(4, 1fr);
}

.cat-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
  min-height: 220px;
  box-shadow: var(--shadow);
}

.cat-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: top center;
  opacity: 0.88;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cat-item:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.cat-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
  font-weight: 700;
}

.vlog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.vlog-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.vlog-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.vlog-card .cap {
  padding: 14px 16px 18px;
}

.vlog-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.vlog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-grid {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-grid figure {
  margin: 0;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.gallery-grid figcaption {
  padding: 14px 16px 16px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Article content */
.prose {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 36px);
}

.prose h2,
.prose h3 {
  scroll-margin-top: 88px;
  line-height: 1.35;
}

.prose h2 {
  margin: 1.6em 0 0.7em;
  font-size: 1.45rem;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(233, 30, 99, 0.15);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 1.3em 0 0.55em;
  font-size: 1.15rem;
  color: var(--brand-dark);
}

.prose p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: 0.45em;
}

.prose strong {
  color: var(--ink);
}

.toc {
  background: var(--accent-soft);
  border: 1px solid rgba(255, 109, 0, 0.18);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 28px;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink-soft);
}

.toc a {
  font-weight: 500;
}

.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
  align-items: stretch;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}

.inline-shot {
  margin: 22px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.inline-shot img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top center;
}

.inline-shot figcaption {
  padding: 10px 14px;
  background: #fff;
  color: var(--muted);
  font-size: 0.88rem;
}

.callout {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--brand);
  background: rgba(233, 30, 99, 0.06);
  border-radius: 0 12px 12px 0;
  color: var(--ink-soft);
}

.page-hero {
  padding: 36px 0 10px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.page-hero p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 46em;
}

.breadcrumb {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--muted);
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 16px;
}

.error-page h1 {
  margin: 0 0 8px;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page p {
  color: var(--ink-soft);
  margin: 0 0 22px;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  background: #1b1216;
  color: rgba(255, 255, 255, 0.78);
  padding: 42px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: #ffb74d;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 700;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Animations */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-visual,
.feature-card,
.cat-item,
.vlog-card {
  animation: rise 0.7s ease both;
}

.hero-visual {
  animation-delay: 0.12s;
}

.feature-card:nth-child(2),
.vlog-card:nth-child(2),
.cat-item:nth-child(2) {
  animation-delay: 0.08s;
}

.feature-card:nth-child(3),
.vlog-card:nth-child(3),
.cat-item:nth-child(3) {
  animation-delay: 0.16s;
}

/* Mobile */
@media (max-width: 960px) {
  .hero-grid,
  .split-media,
  .footer-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .vlog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-visual img {
    aspect-ratio: 3 / 4;
    max-height: 520px;
  }
}

@media (max-width: 640px) {
  .feature-grid,
  .vlog-grid,
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 36px 0;
  }

  .prose {
    padding: 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
