/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0D0A08;
  --bg2:       #150F0A;
  --red:       #C0392B;
  --red-light: #E74C3C;
  --gold:      #D4A843;
  --gold-dim:  #8B6914;
  --cream:     #F5EDD8;
  --muted:     #7A6A55;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Outfit', sans-serif;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ── Background gradient ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(192,57,43,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(212,168,67,0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Pattern overlay ── */
.pattern-overlay {
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(212,168,67,0.03) 0px,
      rgba(212,168,67,0.03) 1px,
      transparent 1px,
      transparent 20px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(212,168,67,0.03) 0px,
      rgba(212,168,67,0.03) 1px,
      transparent 1px,
      transparent 20px
    );
  pointer-events: none;
  z-index: 0;
}

/* ── Lanterns ── */
.lanterns {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.lantern {
  position: absolute;
  width: 18px;
  height: 26px;
  border-radius: 50% 50% 40% 40%;
  background: radial-gradient(ellipse at 40% 35%, #FF6B35, #C0392B 60%, #7B1A0E);
  box-shadow: 0 0 18px 6px rgba(192,57,43,0.45), 0 0 40px 10px rgba(192,57,43,0.15);
  animation: float 6s ease-in-out infinite;
}

.lantern::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.lantern::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10px;
  background: var(--gold-dim);
  border-radius: 1px;
}

.l1 { top: 8%;  left: 10%; animation-delay: 0s;    animation-duration: 7s; }
.l2 { top: 15%; left: 85%; animation-delay: 1.2s;  animation-duration: 6s; }
.l3 { top: 5%;  left: 55%; animation-delay: 2.4s;  animation-duration: 8s; }
.l4 { top: 20%; left: 30%; animation-delay: 0.8s;  animation-duration: 6.5s; }
.l5 { top: 10%; left: 70%; animation-delay: 3s;    animation-duration: 7.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50%       { transform: translateY(-18px) rotate(2deg); }
}

/* ── Layout ── */
main.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.hero-inner {
  text-align: center;
  max-width: 700px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Chinese characters ── */
.chinese-char {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
  text-shadow: 0 0 40px rgba(212,168,67,0.4);
}

/* ── Headline ── */
.headline {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 2rem;
}

.hello {
  display: block;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.china {
  display: block;
  font-size: clamp(4.5rem, 16vw, 10rem);
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 0.9;
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
  background: linear-gradient(135deg, #F5EDD8 30%, #D4A843 70%, #F5EDD8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto;
  opacity: 0;
  animation: fadeUp 1s ease 1.3s forwards;
}

.divider-line {
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.divider-icon {
  color: var(--gold);
  font-size: 0.75rem;
}

/* ── Tagline ── */
.tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease 1.5s forwards;
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--gold-dim);
  letter-spacing: 0.2em;
  border-top: 1px solid rgba(212,168,67,0.1);
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .l3, .l4 { display: none; }
  .divider-line { width: 50px; }
}