:root {
  --bg: #1a0e1b;
  --bg-soft: #2a1630;
  --text: #fff6fb;
  --muted: #f3d7e4;
  --primary: #ff7aa2;
  --primary-2: #ffc2d6;
  --accent: #ffd6e7;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.22);
  --shadow: rgba(0,0,0,.28);
  --glow: 0 0 24px rgba(255, 122, 162, .45);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', 'Ma Shan Zheng', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% 10%, #3c193f 0%, transparent 60%),
    radial-gradient(900px 500px at 80% 20%, #4c1f4c 0%, transparent 60%),
    linear-gradient(160deg, #1a0e1b 0%, #221226 40%, #2e182f 100%);
  line-height: 1.6;
}

.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(38, 18, 43, .45);
  backdrop-filter: saturate(160%) blur(8px);
  box-shadow: 0 2px 10px var(--shadow), var(--glow);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .4px; }
.logo i { color: var(--primary); margin-right: 8px; filter: drop-shadow(0 0 8px rgba(255,122,162,.6)); }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

.hamburger { display: none; width: 40px; height: 40px; background: transparent; border: 0; cursor: pointer; }
.hamburger span { display:block; height:2px; background:#fff; margin:6px 0; transition:.25s; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: grid; place-items: center; background:
  linear-gradient(180deg, rgba(255,122,162,.10), rgba(255,194,214,.06)),
  url('https://images.unsplash.com/photo-1519741497674-611481863552?q=80&w=2400&auto=format&fit=crop') center/cover no-repeat; }
.overlay { position:absolute; inset:0; background: radial-gradient(80% 60% at 50% 30%, rgba(26,14,27,.2), rgba(26,14,27,.75)); }
.hero-content { position: relative; text-align: center; padding: 80px 0; }
.hero h1 { margin: 0; font-size: clamp(36px,5vw,56px); }
.subtitle { font-size: 26px; color: var(--primary-2); margin-top: 8px; text-shadow: 0 1px 0 rgba(0,0,0,.2); }

.counter { display: flex; gap: 20px; justify-content: center; margin-top: 28px; }
.counter-pair { display: flex; align-items: center; gap: 8px; }
.counter-item { background: var(--glass); border:1px solid var(--glass-border); padding: 14px 18px; border-radius: 18px; min-width: 96px; box-shadow: 0 10px 30px var(--shadow); backdrop-filter: blur(6px) saturate(140%); display: flex; align-items: center; justify-content: center; }
.counter-item span { display:inline; font-size: 36px; font-weight: 800; text-shadow: 0 0 14px rgba(255,194,214,.35); }
.counter-label { font-size: 36px; color: var(--accent); font-weight: 700; letter-spacing: .5px; }
.counter-item small { color: var(--muted); }

.decorations { position:absolute; inset:0; list-style:none; margin:0; padding:0; overflow:hidden; }
.decorations li { position:absolute; bottom:-20px; width:14px; height:14px; background:linear-gradient(135deg,var(--primary),var(--primary-2)); transform: rotate(45deg); border-radius: 2px; opacity:.7; animation: floatUp 12s linear infinite, heartbeat 1.8s ease-in-out infinite; }
.decorations li:before, .decorations li:after { content:""; position:absolute; width:14px; height:14px; background:inherit; border-radius: 50%; }
.decorations li:before { left:-7px; top:0; }
.decorations li:after { top:-7px; left:0; }
.decorations li:nth-child(1){ left:10%; animation-duration: 11s; }
.decorations li:nth-child(2){ left:25%; width:10px; height:10px; animation-duration: 13s; animation-delay: 2s; }
.decorations li:nth-child(3){ left:50%; width:14px; height:14px; animation-duration: 10s; animation-delay: 4s; }
.decorations li:nth-child(4){ left:70%; width:9px; height:9px; animation-duration: 12s; animation-delay: 1s; }
.decorations li:nth-child(5){ left:85%; width:16px; height:16px; animation-duration: 14s; animation-delay: 3s; }
@keyframes floatUp { 0%{ transform: translateY(0) scale(1);} 100%{ transform: translateY(-110vh) scale(1.3);} }
@keyframes heartbeat { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255,122,162,0)); } 50% { filter: drop-shadow(0 0 16px rgba(255,122,162,.6)); } }

/* Sections */
.section { padding: 72px 0; }
.section-head h2 { margin:0 0 8px; font-size: 28px; }
.section-head p { color: var(--muted); margin:0 0 24px; }

/* Story */
.story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.story-image img { width:100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: 18px; box-shadow: 0 10px 30px var(--shadow), var(--glow); border: 1px solid var(--glass-border); }
.story-text h3 { margin: 0 0 6px; }
.story-text p { margin: 0 0 14px; color: var(--muted); }

/* Carousel */
.carousel { position: relative; overflow: hidden; border-radius: 18px; background: var(--bg-soft); box-shadow: 0 10px 30px var(--shadow), var(--glow); border: 1px solid var(--glass-border); }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; transition: transform .6s ease; }
.carousel img { width: 100%; height: 840px; object-fit: cover; display: block; }
.ctrl { position:absolute; top:50%; transform: translateY(-50%); background: rgba(255,255,255,.16); border:1px solid var(--glass-border); width:44px; height:44px; border-radius:50%; color:#fff; cursor:pointer; display:grid; place-items:center; backdrop-filter: blur(4px) saturate(140%); box-shadow: 0 6px 20px var(--shadow); }
.ctrl:hover { background: rgba(0,0,0,.55); }
.prev { left: 12px; }
.next { right: 12px; }
.indicators { display:flex; gap:8px; justify-content:center; margin-top: 12px; }
.indicators button { width:8px; height:8px; border-radius:50%; background:#ffffff33; border:0; cursor:pointer; box-shadow: 0 0 0 1px var(--glass-border) inset; }
.indicators button.active { background: var(--primary); box-shadow: 0 0 12px var(--primary); }

/* Timeline */
.timeline { position:relative; margin: 24px 0; }
.timeline:before { content:""; position:absolute; left:50%; top:0; bottom:0; width:2px; background: linear-gradient(transparent,var(--primary),transparent); filter: drop-shadow(0 0 6px rgba(255,122,162,.6)); }
.timeline-item { position:relative; width:50%; padding: 12px 18px; }
.timeline-item .content { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 16px; padding: 14px 16px; box-shadow: 0 10px 30px var(--shadow); backdrop-filter: blur(6px) saturate(140%); }
.timeline-item.left { left:0; padding-right: 42px; }
.timeline-item.right { left:50%; padding-left: 42px; }
.timeline-item h4 { margin:0 0 6px; }
.timeline-item p { margin:0; color: var(--muted); }

/* Notes */
.notes { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.note { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 16px; padding: 16px; box-shadow: 0 10px 30px var(--shadow); backdrop-filter: blur(6px) saturate(140%); }
.note span { display:block; margin-top:8px; color: var(--muted); }

/* Footer */
.footer { padding: 28px 0; border-top: 1px solid var(--glass-border); color: var(--muted); text-align:center; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 64px 0 auto 0; background: rgba(22,10,26,.92); display: none; flex-direction: column; padding: 12px 4%; box-shadow: 0 6px 24px var(--shadow); }
  .nav-links.open { display: flex; }
  .hamburger { display: inline-block; }
  .story-grid { grid-template-columns: 1fr; }
  .carousel img { height: 640px; }
  .timeline:before { left: 10px; }
  .timeline-item { width: 100%; padding-left: 28px; padding-right: 0; }
  .timeline-item.right { left: 0; }
  .notes { grid-template-columns: 1fr; }
}


