@font-face{font-family:EntryLanTing;src:url('./assets/fonts/entry-lantinghei.woff') format('woff');font-display:block}
@font-face{font-family:EntryYuanHei;src:url('./assets/fonts/entry-yuanhei.woff') format('woff');font-display:block}
.first-entry{position:absolute;inset:0;z-index:250;overflow:hidden;color:white;isolation:isolate;touch-action:none}.first-entry[hidden]{display:none}
.first-entry-shade{position:absolute;inset:0;background:rgba(0,0,0,.76)}
.first-entry-copy{position:absolute;top:23%;left:0;width:100%;text-align:center}
.first-entry-copy h1{
 margin:0;
 font:400 48px/1.2 EntryYuanHei,sans-serif;
 font-synthesis:none;
 letter-spacing:1px;
 transform:scaleX(.95) skewX(-8deg);
 background:linear-gradient(180deg,#fff 0%,#fffdf3 35%,#f7dfa4 100%);
 background-clip:text;
 -webkit-background-clip:text;
 color:transparent;
}
.first-entry-copy p{
 margin:12px 0 0;
 font:400 24px/1.4 EntryLanTing,sans-serif;
 font-synthesis:none;
 letter-spacing:0;
 color:#fff7e1;
 transform:none;
}
.first-entry-product{position:absolute;left:77px;top:40%;width:260px;height:257px;transform-origin:0 0;will-change:transform}
.first-entry-product svg{display:block;width:100%;height:100%;overflow:hidden}
.first-entry.playing .first-entry-copy{animation:entry-copy .35s ease-out both}.first-entry.playing .first-entry-product svg{animation:entry-image .42s cubic-bezier(.2,.8,.2,1) both}
@keyframes entry-copy{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes entry-image{from{opacity:0;transform:translateY(16px) scale(.9)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.first-entry.playing .first-entry-copy,.first-entry.playing .first-entry-product svg{animation:none!important}}
/* Trial: warm burst behind the opening copy and product; fades with the shade. */
.first-entry-shade:before,.first-entry-shade:after{content:'';position:absolute;pointer-events:none;left:50%;top:54%;transform:translate(-50%,-50%)}
.first-entry-shade:before{width:680px;height:680px;border-radius:50%;background:repeating-conic-gradient(from -12deg,transparent 0deg 14deg,rgba(255,197,76,.55) 18deg,rgba(255,239,171,.75) 21deg,transparent 27deg 40deg);mask-image:radial-gradient(circle,#000 0%,#0009 34%,transparent 68%);mix-blend-mode:screen;filter:blur(1px)}
.first-entry-shade:after{width:560px;height:560px;border-radius:50%;background:radial-gradient(ellipse,#fff9d9e6 0%,#ffdf77a6 12%,#ffac4266 28%,#f57b222e 45%,transparent 67%);mix-blend-mode:screen}
.first-entry.playing .first-entry-shade:before{animation:entry-rays .85s cubic-bezier(.12,.7,.2,1) both}
.first-entry.playing .first-entry-shade:after{animation:entry-glow .65s ease-out both}
@keyframes entry-rays{from{opacity:0;transform:translate(-50%,-50%) rotate(-14deg) scale(.45)}to{opacity:.9;transform:translate(-50%,-50%) rotate(0) scale(1)}}
@keyframes entry-glow{0%{opacity:0;transform:translate(-50%,-50%) scale(.4)}35%{opacity:1;transform:translate(-50%,-50%) scale(1.08)}100%{opacity:.85;transform:translate(-50%,-50%) scale(1)}}
@media(prefers-reduced-motion:reduce){.first-entry.playing .first-entry-shade:before,.first-entry.playing .first-entry-shade:after{animation:none}}

/* Fade the light as soon as the product handoff starts. */
.first-entry[data-phase="handoff"] .first-entry-shade:before{animation:entry-rays-exit 180ms ease-out forwards}
.first-entry[data-phase="handoff"] .first-entry-shade:after{animation:entry-glow-exit 180ms ease-out forwards}
@keyframes entry-rays-exit{from{opacity:.9}to{opacity:0}}
@keyframes entry-glow-exit{from{opacity:.85}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.first-entry[data-phase="handoff"] .first-entry-shade:before,.first-entry[data-phase="handoff"] .first-entry-shade:after{animation:none;opacity:0}}
