@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Noto+Serif+SC:wght@400;500;600;700&family=Lora:wght@400;500&display=swap');

:root {
  --bg-page: #0A0606;
  --bg-deep: #050202;
  --bg-card: #140909;
  --bg-elev: #1B0E0E;
  --ink: #F1E0C8;
  --ink-soft: #C9B89F;
  --ink-mute: #7A6B5A;
  --light: #FBF5E5;
  --red: #C8302E;
  --red-deep: #8B1F1D;
  --red-glow: rgba(200, 48, 46, 0.35);
  --gold: #D4AF37;
  --gold-light: #E5C870;
  --gold-soft: rgba(212, 175, 55, 0.18);
  --gold-line: rgba(212, 175, 55, 0.35);
  --radius-sm: 6px;
  --radius: 10px;
  --gap: 28px;
  --container-max: 1240px;
  --shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px var(--red-glow);
  --font-display: 'Cormorant Garamond', 'Noto Serif SC', 'Times New Roman', serif;
  --font-cn: 'Noto Serif SC', 'Cormorant Garamond', serif;
  --font-body: 'Lora', 'Noto Serif SC', Georgia, serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg-page);
  background-image:
    radial-gradient(ellipse at 18% 12%, rgba(200, 48, 46, 0.10) 0%, transparent 38%),
    radial-gradient(ellipse at 82% 88%, rgba(212, 175, 55, 0.06) 0%, transparent 42%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--gold); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--gold-light); }
img, picture { max-width: 100%; height: auto; display: block; }
::selection { background: var(--red); color: var(--light); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--ink); letter-spacing: 0.005em; }

.cn { font-family: var(--font-cn); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ============ Header ============ */
.site-header {
  position: relative;
  text-align: center;
  padding: 32px 24px 28px;
  border-bottom: 1px solid var(--gold-soft);
}

.site-header::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.brand__logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  padding: 4px;
  background: rgba(0,0,0,0.3);
  filter: hue-rotate(0deg) saturate(1.2);
}

.brand__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin: 0;
  line-height: 1;
}

.brand__name-cn {
  font-family: var(--font-cn);
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--ink-mute);
  margin-top: 4px;
}

.site-nav {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.site-nav a {
  font-family: var(--font-cn);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--ink-soft);
  padding: 6px 24px;
  position: relative;
}

.site-nav a + a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 4px;
  height: 4px;
  background: var(--red);
}

.site-nav a:hover { color: var(--gold-light); }
.site-nav a.is-current { color: var(--gold); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(200, 48, 46, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-page) 100%);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero__seal {
  width: 120px;
  height: 120px;
  margin: 0 auto 36px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  padding: 6px;
  position: relative;
  background: var(--bg-deep);
}

.hero__seal::before, .hero__seal::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
}

.hero__seal::after { inset: -22px; border-color: rgba(212, 175, 55, 0.10); }

.hero__seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.005em;
  margin: 0 0 12px;
  color: var(--gold);
  text-shadow: 0 0 40px var(--red-glow);
}

.hero__title-cn {
  font-family: var(--font-cn);
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 12px;
  color: var(--red);
  margin: 0 0 32px;
  font-weight: 600;
}

.hero__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-soft);
  font-style: italic;
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.hero__sub-cn {
  font-family: var(--font-cn);
  margin: 12px auto 56px;
  font-style: normal;
  letter-spacing: 1px;
  color: var(--ink-mute);
  font-size: 14px;
  max-width: 560px;
}

.hero__cta-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-seal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(200, 48, 46, 0.06);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}

.cta-seal::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  transition: inset 0.4s var(--ease), border-color 0.4s var(--ease);
}

.cta-seal:hover {
  background: rgba(200, 48, 46, 0.16);
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 60px rgba(200, 48, 46, 0.3);
}

.cta-seal:hover::before { inset: -12px; border-color: var(--gold-line); }

.cta-seal__cn {
  font-family: var(--font-cn);
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--red);
  margin-top: 4px;
}

/* ============ Section ============ */
section { padding: 80px 0; position: relative; }

.section-eyebrow {
  font-family: var(--font-cn);
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--red);
  text-align: center;
  margin: 0 0 18px;
  font-weight: 600;
}

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 48px auto;
  max-width: 280px;
  color: var(--gold);
}

.divider-ornament::before, .divider-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}

.divider-ornament svg { width: 20px; height: 20px; }

/* ============ Page intro ============ */
.page-intro {
  padding: 80px var(--gap) 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}

.page-intro__title {
  font-family: var(--font-cn);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  margin: 16px 0 16px;
  color: var(--gold);
  letter-spacing: 12px;
}

.page-intro__title-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--ink-mute);
  margin: 0;
  letter-spacing: 4px;
}

.page-intro__lead {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 32px auto 0;
  line-height: 1.85;
  font-style: italic;
}

/* ============ Long-form prose ============ */
.prose {
  background: var(--bg-card);
  margin: 40px auto 56px;
  max-width: 780px;
  padding: clamp(40px, 5vw, 72px);
  border: 1px solid var(--gold-soft);
  position: relative;
}

.prose::before, .prose::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold);
}
.prose::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.prose::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.prose h2 {
  font-family: var(--font-cn);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gold);
  margin: 48px 0 16px;
  text-align: center;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 0 0 16px;
  letter-spacing: 0.5px;
}

.prose__lead::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4em;
  float: left;
  line-height: 0.9;
  margin: 6px 14px 0 0;
  color: var(--red);
  font-weight: 500;
}

.prose ul {
  font-family: var(--font-cn);
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-soft);
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.prose ul li {
  padding: 6px 0 6px 28px;
  position: relative;
}

.prose ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 8px;
  top: 16px;
}

.prose ul li strong { color: var(--gold-light); font-weight: 600; }

/* ============ Profile grid ============ */
.profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 32px;
  max-width: var(--container-max);
  margin: 32px auto 56px;
  padding: 0 var(--gap);
}

.profile {
  background: var(--bg-card);
  border: 1px solid var(--gold-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.profile:hover {
  transform: translateY(-4px);
  border-color: var(--gold-line);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 40px rgba(200, 48, 46, 0.15);
}

.profile__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}

.profile__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 6, 6, 0.7) 100%);
  pointer-events: none;
}

.profile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  filter: contrast(1.05) saturate(0.95);
}

.profile:hover .profile__media img { transform: scale(1.05); }

.profile__body {
  padding: 24px 24px 28px;
}

.profile__name {
  font-family: var(--font-cn);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 12px;
  letter-spacing: 2px;
}

.profile__desc {
  font-family: var(--font-cn);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ Live cam ============ */
.livecam {
  max-width: 880px;
  margin: 32px auto 56px;
  padding: 0 var(--gap);
}

.livecam__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}

.livecam__screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, rgba(255,255,255,0.02) 1px, transparent 2px, transparent 3px);
  pointer-events: none;
}

.livecam__noise {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
}

.livecam__rec {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--red);
  z-index: 2;
}

.livecam__rec::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.4s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.2; }
}

.livecam__msg {
  font-family: var(--font-cn);
  font-size: 22px;
  letter-spacing: 6px;
  color: var(--ink-soft);
  margin: 0 0 12px;
  z-index: 2;
  position: relative;
}

.livecam__msg-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 3px;
  z-index: 2;
  position: relative;
}

/* ============ Login gate ============ */
.gate-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse at 50% 40%, rgba(200, 48, 46, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 80%, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.gate-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--gold-soft);
  padding: 56px 44px 44px;
  text-align: center;
  position: relative;
}

.gate-card::before, .gate-card::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
}
.gate-card::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.gate-card::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.gate__seal {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  padding: 4px;
  background: var(--bg-deep);
}

.gate__seal img { width: 100%; height: 100%; border-radius: 50%; }

.gate__title {
  font-family: var(--font-cn);
  font-size: 32px;
  letter-spacing: 8px;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 6px;
}

.gate__title-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--ink-mute);
  margin: 0 0 32px;
}

.gate__instruction {
  font-family: var(--font-cn);
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 24px;
  letter-spacing: 1px;
}

.gate__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gate__input {
  background: var(--bg-deep);
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 6px;
  text-align: center;
  outline: none;
  transition: border-color 0.25s var(--ease);
}

.gate__input::placeholder { color: var(--ink-mute); letter-spacing: 4px; }
.gate__input:focus { border-color: var(--gold); }

.gate__submit {
  background: var(--red-deep);
  border: 1px solid var(--gold-soft);
  color: var(--gold-light);
  padding: 13px 24px;
  font-family: var(--font-cn);
  font-size: 14px;
  letter-spacing: 6px;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  font-weight: 600;
}

.gate__submit:hover { background: var(--red); border-color: var(--gold); color: var(--light); }

.gate__error {
  font-family: var(--font-cn);
  font-size: 13px;
  color: var(--red);
  margin-top: 14px;
  min-height: 1.2em;
  letter-spacing: 1px;
}

.gate__error.is-shake { animation: shake 0.45s var(--ease); }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

body.is-locked { overflow: hidden; }
.locked-content[hidden] { display: none !important; }

.gate__close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--ink-soft);
  background: rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
  z-index: 1010;
}

.gate__close svg { width: 18px; height: 18px; display: block; }

.gate__close:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.10);
}

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--gold-soft);
  padding: 48px var(--gap) 28px;
  text-align: center;
  margin-top: 80px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
}

.site-footer__brand {
  display: inline-block;
  margin-bottom: 18px;
}

.site-footer__brand .brand__name { font-size: 22px; }

.site-footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
}

.site-footer__nav a {
  font-family: var(--font-cn);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--ink-mute);
  padding: 4px 22px;
  position: relative;
}

.site-footer__nav a + a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 4px;
  height: 4px;
  background: var(--red-deep);
}

.site-footer__nav a:hover { color: var(--gold); }

.site-footer__copy {
  font-family: var(--font-cn);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--ink-mute);
  margin: 0;
}

.site-footer--minimal {
  padding: 28px var(--gap);
  margin-top: 80px;
}

.site-footer--minimal .site-footer__brand {
  display: inline-grid;
  grid-template-columns: auto auto;
  column-gap: 14px;
  align-items: center;
  text-align: left;
  margin-bottom: 0;
}
.site-footer--minimal .brand__logo {
  grid-row: 1 / span 2;
  align-self: center;
  margin-bottom: 0;
}
.site-footer--minimal .brand__name {
  grid-column: 2;
  grid-row: 1;
  font-size: 16px;
  letter-spacing: 1px;
  align-self: end;
  line-height: 1;
}
.site-footer--minimal .brand__name-cn {
  grid-column: 2;
  grid-row: 2;
  font-size: 11px;
  letter-spacing: 5px;
  margin-top: 2px;
  align-self: start;
  line-height: 1;
}

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============ Mobile ============ */
@media (max-width: 880px) {
  .site-nav { gap: 4px; }
  .site-nav a { padding: 4px 16px; }
  .site-nav a + a::before { display: none; }
  .hero__cta-row { gap: 20px; }
  .cta-seal { width: 160px; height: 160px; font-size: 16px; }
  .profiles { grid-template-columns: 1fr; }
  .gate-card { padding: 44px 28px 32px; }
  .gate__title { font-size: 26px; letter-spacing: 6px; }
  .site-footer__nav { gap: 4px; }
  .site-footer__nav a + a::before { display: none; }
}

@media (max-width: 600px) {
  .profiles { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .profiles { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
