:root {
  --bg: #0b0b0d;
  --bg-2: #121217;
  --bg-3: #1a1a22;
  --bg-4: #22222c;
  --text: #f4f4f6;
  --text-2: #c4c4cc;
  --text-3: #8e8e98;
  --accent: #c41e3a;
  --accent-2: #e84555;
  --accent-dark: #8a1528;
  --gold: #d4a017;
  --border: #2c2c36;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  color: #ff6b7a;
}

ul {
  list-style: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.notice-bar {
  background: linear-gradient(90deg, #5a0d18, var(--accent-dark) 40%, #5a0d18);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  letter-spacing: 0.04em;
}

.notice-bar strong {
  color: #ffd6db;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(196, 30, 58, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px 22px;
}

.nav a {
  color: var(--text-2);
  font-size: 15px;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.btn,
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 16px;
  font-size: 14px;
}

.btn-nav:hover {
  background: var(--accent-2);
}

.btn {
  padding: 14px 28px;
  font-size: 16px;
  color: #fff;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 10px 24px rgba(196, 30, 58, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
  transition: 0.2s;
}

.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle.is-open span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 40%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.22), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  display: inline-block;
  color: var(--accent-2);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero p.lead,
.lead {
  color: var(--text-2);
  font-size: 17px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--text-3);
  font-size: 13px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.shot {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot figcaption {
  padding: 10px 12px 12px;
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 28px;
  max-width: 820px;
}

.section-head h2,
.prose h2,
.page-hero h1 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-head p,
.prose > p,
.page-hero p {
  color: var(--text-2);
}

h3 {
  font-size: 20px;
  margin: 22px 0 10px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card,
.cat-card,
.info-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-card h3,
.cat-card h3,
.info-card h3 {
  margin-top: 0;
  color: #fff;
}

.feature-card p,
.cat-card p,
.info-card p {
  color: var(--text-2);
  font-size: 15px;
}

.num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(196, 30, 58, 0.18);
  color: var(--accent-2);
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 12px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.shot-grid .shot figcaption {
  min-height: 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.step {
  background: var(--bg-2);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.step strong {
  display: block;
  color: var(--accent-2);
  margin-bottom: 6px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-3);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-item button::after {
  content: "+";
  color: var(--accent-2);
  font-size: 20px;
}

.faq-item.is-open button::after {
  content: "–";
}

.faq-item .faq-body {
  display: none;
  padding: 0 18px 16px;
  color: var(--text-2);
}

.faq-item.is-open .faq-body {
  display: block;
}

.cta-band {
  background:
    radial-gradient(circle at 20% 20%, rgba(196, 30, 58, 0.28), transparent 45%),
    var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-band h2 {
  margin-bottom: 8px;
}

.links-inline a {
  margin-right: 14px;
}

.page-hero {
  padding: 42px 0 10px;
}

.breadcrumb {
  color: var(--text-3);
  font-size: 13px;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--text-2);
}

.prose {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  margin: 24px 0 56px;
}

.prose p,
.prose li {
  color: var(--text-2);
  margin-bottom: 14px;
}

.prose ul,
.prose ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.prose ul li,
.prose ol li {
  list-style: disc;
  margin-bottom: 8px;
}

.prose ol li {
  list-style: decimal;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.age-box {
  border-left: 3px solid var(--accent);
  background: rgba(196, 30, 58, 0.08);
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
  margin: 18px 0;
  color: var(--text);
}

.error-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 16px;
}

.error-wrap h1 {
  font-size: 88px;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.error-wrap p {
  color: var(--text-2);
  margin-bottom: 22px;
}

.site-footer {
  background: #09090b;
  border-top: 1px solid var(--border);
  padding: 48px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--text-3);
  font-size: 14px;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .logo {
  margin-bottom: 12px;
  font-size: 18px;
}

.copyright {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: #fff;
  cursor: pointer;
  display: none;
  z-index: 80;
}

.back-top.is-show {
  display: grid;
  place-items: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(20px);
  background: #fff;
  color: #111;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 200;
  max-width: min(90vw, 420px);
  text-align: center;
}

.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1024px) {
  .shot-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-header { position: sticky; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #111116;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    z-index: 110;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 8px; }
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .cta-band {
    grid-template-columns: 1fr;
  }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 28px; }
  .section { padding: 40px 0; }
  .prose { padding: 20px 16px; }
  .pc-only { display: none !important; }
}

@media (min-width: 861px) {
  .m-only { display: none !important; }
}

@media (max-width: 560px) {
  .hero-shots,
  .steps,
  .footer-grid { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 26px; }
}
