/* 哔咔漫画BIKA · bkdm.lol */
:root {
  --pink: #e91e8c;
  --pink-deep: #c2186b;
  --pink-soft: #fff0f7;
  --pink-mid: #ff8fc4;
  --ink: #1a1220;
  --muted: #5c4a58;
  --line: rgba(233, 30, 140, 0.16);
  --paper: #fffafc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(194, 24, 107, 0.12);
  --radius: 18px;
  --max: 1120px;
  --font-display: "ZCOOL KuaiLe", "Ma Shan Zheng", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 143, 196, 0.35), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(233, 30, 140, 0.14), transparent 50%),
    linear-gradient(180deg, #fff7fb 0%, var(--paper) 40%, #fff 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pink-deep);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--pink);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 252, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(233, 30, 140, 0.25);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pink);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--pink-deep);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 18, 32, 0.15) 0%, rgba(26, 18, 32, 0.55) 48%, rgba(26, 18, 32, 0.88) 100%),
    linear-gradient(90deg, rgba(194, 24, 107, 0.35), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 3.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.1;
  margin: 0 0 0.8rem;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  animation: rise 0.9s ease both;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  max-width: 18em;
  animation: rise 1s ease 0.08s both;
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 36em;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  animation: rise 1s ease 0.16s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 1s ease 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(233, 30, 140, 0.35);
}

.btn-primary:hover {
  background: var(--pink-deep);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--pink-deep);
  border-color: var(--pink);
}

.btn-outline:hover {
  background: var(--pink-soft);
  color: var(--pink);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 240, 247, 0.75), rgba(255, 255, 255, 0.4));
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 46rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: 0.02em;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.prose p {
  margin: 0 0 1.1rem;
  color: var(--ink);
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  margin: 2rem 0 0.8rem;
}

.prose h2 {
  font-size: 1.65rem;
}

.prose h3 {
  font-size: 1.25rem;
  color: var(--pink-deep);
}

.prose ul,
.prose ol {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  color: var(--ink);
}

.prose li {
  margin-bottom: 0.45rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-block {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(194, 24, 107, 0.16);
}

.feature-block img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.feature-block .body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.feature-block h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.feature-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.shot-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.3s ease;
}

.shot-item:hover {
  transform: scale(1.02);
}

.shot-item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.shot-item figcaption {
  padding: 0.7rem 0.8rem 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.cta-band {
  margin: 1.5rem 0 0;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(233, 30, 140, 0.95), rgba(194, 24, 107, 0.9)),
    url("/screen-vip.jpg") center/cover;
  background-blend-mode: multiply;
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.cta-band p {
  margin: 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.92);
}

.toc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1.25rem;
  margin: 1.25rem 0 2rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--pink-soft);
}

.toc a {
  font-weight: 600;
}

.page-hero {
  padding: 3.2rem 0 1.2rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.breadcrumb {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  color: var(--pink);
  margin: 0;
}

.error-page h1 {
  margin: 0.4rem 0 0.8rem;
  font-size: 1.6rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fff0f7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.copyright {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: var(--pink-soft);
  }

  .hero {
    min-height: 78vh;
  }

  .hero-content {
    padding: 4.2rem 0 2.4rem;
  }

  .feature-grid,
  .shot-grid,
  .footer-grid,
  .toc {
    grid-template-columns: 1fr;
  }

  .shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 3rem 0;
  }
}
