﻿:root {
  --bg: #f4f7fb;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #d9e3f1;
  --accent: #7c3aed;
  --accent2: #06b6d4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: radial-gradient(circle at top, #ede9fe 0%, var(--bg) 56%);
  color: var(--ink);
}

.page {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.back {
  display: inline-block;
  text-decoration: none;
  color: #0369a1;
  font-weight: 700;
}

.lang-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.hero {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.tag {
  display: inline-block;
  font-size: 12px;
  color: #6d28d9;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.8px;
}

.sub {
  color: var(--muted);
  margin: 10px 0 18px;
  line-height: 1.7;
}

.name-chip {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f5f3ff;
  color: #6d28d9;
  font-weight: 800;
  border: 1px solid #ddd6fe;
}

.actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
}

.btn-secondary {
  background: #e2e8f0;
  color: #0f172a;
}

.hint {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.insight {
  margin-top: 18px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #f8faff, #ffffff);
  padding: 16px;
}

.insight-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.insight-meta {
  margin: 8px 0 12px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.insight-image {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f8fafc;
  margin-bottom: 10px;
}

.insight-actions {
  margin-bottom: 12px;
}

.insight-link {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.insight-note {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  color: #334155;
  line-height: 1.75;
  font-size: 14px;
}

.insight-divider {
  margin: 14px 0;
  border: 0;
  border-top: 1px dashed #cbd5e1;
}

.insight-subtitle {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
  color: #1e293b;
}

.celebration {
  position: relative;
  margin-top: 16px;
  border: 1.5px solid #ddd6fe;
  border-radius: 14px;
  background: linear-gradient(135deg, #faf5ff 0%, #f0f9ff 55%, #f0fdf4 100%);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.12);
  padding: 14px;
  overflow: hidden;
}

.celebration::before {
  content: "";
  position: absolute;
  right: -46px;
  top: -52px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, rgba(124, 58, 237, 0) 72%);
  pointer-events: none;
}

.celebration-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #c4b5fd;
  background: rgba(255, 255, 255, 0.75);
  color: #6d28d9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.celebration-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #5b21b6;
}

.cele-logo-corner {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 258px;
  height: 258px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dbeafe;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.22);
  padding: 8px;
  z-index: 1;
}

.celebration-body {
  margin: 10px 0 0;
  color: #334155;
  line-height: 1.8;
  font-size: 14px;
  white-space: pre-line;
  padding-right: 278px;
}

.celebration-foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
}

.cele-sign {
  margin: 0;
  font-size: 13px;
  color: #475569;
  font-weight: 800;
}

.cele-extra {
  margin-top: 12px;
  border-top: 1px dashed #cbd5e1;
  padding-top: 12px;
}

.cele-extra-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 900;
  color: #475569;
}

.cele-extra-image {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 12px;
  border: 1px solid #dbeafe;
  background: #fff;
  box-shadow: 0 10px 26px rgba(14, 165, 233, 0.14);
}

@media (max-width: 860px) {
  .cele-logo-corner {
    position: static;
    width: 100%;
    max-width: 260px;
    height: auto;
    margin-top: 10px;
  }

  .celebration-body {
    padding-right: 0;
  }
}
