/* Paper Festival 2027: theme styles only, all game rules remain shared. */
body.campaign-page[data-website-theme=chinese-new-year]{--bg:#fff7e9;--panel:#fffdf5;--panel2:#fff0d9;--line:#e5c794;--text:#543329;--muted:#70594e;--gold:#ae161f;--gold-dark:#841019;--teal:#b8202c;--bb-accent:#cc1c2e;--bb-ink:#6d1019;--bb-coral:#bd1929;background:#fff7e9;color:var(--text);padding-top:14px;color-scheme:light}
body[data-website-theme=chinese-new-year].campaign-page main{background:#fffaf0;border-color:#eddbc2;box-shadow:0 0 45px #a3531910}
body[data-website-theme=chinese-new-year] .site-header{background:#fffaf0f5;border-color:#dfc8a2;color:#78141d}
body[data-website-theme=chinese-new-year] .site-header .brand,body[data-website-theme=chinese-new-year] .site-header .nav-link{color:#78141d}
body[data-website-theme=chinese-new-year] .brand-mark{color:#a91725}
body[data-website-theme=chinese-new-year] .button{background:linear-gradient(#db2935,#b20b20);color:#fff9e9;border-color:#bc1724;box-shadow:0 4px 10px #a52c2020}
body[data-website-theme=chinese-new-year] .button.secondary{background:#fff9eb;color:#851721;border-color:#cda56d;box-shadow:none}
body[data-website-theme=chinese-new-year] .button:disabled{opacity:.55}
body[data-website-theme=chinese-new-year] .cat-benefits{background:#fff5e3;border-color:#e4c89b}
body[data-website-theme=chinese-new-year] .cat-intro{background:#fff9ef;border-color:#e3c89d}
body[data-website-theme=chinese-new-year] .cat-intro:before,body[data-website-theme=chinese-new-year] .cat-intro:after{display:none}
body[data-website-theme=chinese-new-year] .cat-intro h1{color:#8d1520}
body[data-website-theme=chinese-new-year] .campaign-ribbon{background:#a71122;color:#fff2cf;border-color:#dab36f}
body[data-website-theme=chinese-new-year] .wheel-hero{background:#fff8e8;border:1px solid #dfb779;border-radius:22px;box-shadow:0 10px 25px #8d4a2010}
body[data-website-theme=chinese-new-year] .prize-card,body[data-website-theme=chinese-new-year] .step-card,body[data-website-theme=chinese-new-year] .play-card{background:#fffdf6;border-color:#e2c59c;box-shadow:0 6px 16px #98542c0b}
body[data-website-theme=chinese-new-year] .section-heading h2,body[data-website-theme=chinese-new-year] .wheel-section-title{color:#851822}
body[data-website-theme=chinese-new-year] .site-footer{background:#fff2dc;border-color:#e4c895;color:#715144}
.cny-paper-hero{position:relative;isolation:isolate;overflow:hidden;margin:0 auto 24px;border-radius:24px;border:1px solid #d3ad6a;min-height:425px;display:grid;place-items:center;background:#c21a27 url('cny-paper-backdrop.png') center/cover no-repeat;box-shadow:0 10px 25px #8f2c1617;color:#fff3d8}
.cny-decor{position:absolute;inset:0;z-index:0;pointer-events:none;user-select:none;overflow:hidden}
.cny-paper-copy{position:relative;z-index:2;text-align:center;max-width:650px;padding:44px 25px 70px;align-self:center}
.cny-paper-hero .cny-year{font-size:11px;letter-spacing:.18em;font-weight:700;color:#ffe0a0;margin:0 0 16px}
.cny-paper-hero #cny-paper-heading{font-family:Georgia,serif;font-size:clamp(34px,5.2vw,68px);line-height:1.05;color:#fff0c9;margin:0 0 18px;font-weight:500;text-shadow:0 2px 2px #65091625}
.cny-paper-hero .cny-paper-copy>p:not(.cny-year){font-size:16px;line-height:1.7;color:#fff3d8;margin:0 0 22px}
body[data-website-theme=chinese-new-year] .cny-paper-hero .cny-claim{background:linear-gradient(#ffe09a,#e9b65b);color:#651b14;border:1px solid #f7dd99;border-radius:30px;padding:14px 28px;box-shadow:0 5px 12px #680e1f33}
.cny-goat{display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 8px 8px #510e191f);animation:cny-goat-nod 6s ease-in-out infinite;transform-origin:50% 90%}
.cny-goat-left{position:absolute;width:22%;max-width:260px;left:1%;bottom:20px;animation-delay:-2s}
.cny-goat-right{position:absolute;width:21%;max-width:245px;right:1%;bottom:12px;transform:scaleX(-1)}
.cny-lantern{position:absolute;top:-6px;width:73px;height:130px;transform-origin:50% 0;animation:cny-lantern-sway 4.5s ease-in-out infinite alternate}
.cny-lantern-left{left:4%}.cny-lantern-right{right:4%;animation-delay:-2s}
.cny-lantern:before{content:'';display:block;width:2px;height:28px;background:#eac46e;margin:auto}
.cny-lantern>i{display:block;position:relative;height:67px;border-radius:44%;border:2px solid #edc473;background:repeating-linear-gradient(90deg,transparent 0 13px,#f5c65c77 14px 15px),linear-gradient(90deg,#9d0e20,#e9363b 50%,#a20e21);box-shadow:0 5px 8px #72101c25}
.cny-lantern>i:before{content:'';position:absolute;left:17%;right:17%;height:7px;top:-5px;border-radius:4px;background:#e8bc65;box-shadow:0 66px #e8bc65}
.cny-lantern>i:after{content:'';position:absolute;left:47%;top:74px;width:5px;height:25px;background:#dca856;border-radius:0 0 4px 4px}
.cny-petal{position:absolute;left:var(--x);top:-20px;width:11px;height:17px;border-radius:80% 15% 80% 15%;background:linear-gradient(45deg,#ffbda4,#e46e64);opacity:0;animation:cny-petal-drift var(--duration) linear var(--delay) infinite}
.cny-glint{position:absolute;color:#ffde8e;font-size:24px;animation:cny-glint 3s ease-in-out infinite alternate}.cny-glint-one{left:25%;top:20%}.cny-glint-two{right:25%;top:45%;animation-delay:-1.6s}
@keyframes cny-lantern-sway{from{rotate:-5deg}to{rotate:5deg}}@keyframes cny-goat-nod{0%,65%,100%{translate:0 0;rotate:0deg}75%{translate:0 -5px;rotate:-2deg}85%{translate:0 -2px;rotate:2deg}}@keyframes cny-petal-drift{0%{translate:0 -10px;rotate:0deg;opacity:0}12%,80%{opacity:.65}100%{translate:45px 460px;rotate:210deg;opacity:0}}@keyframes cny-glint{from{opacity:.35;scale:.8}to{opacity:1;scale:1.1}}
body[data-cny-motion="0"] .cny-decor *{animation:none!important}body[data-cny-motion="0"] .cny-petal{display:none}
@media(max-width:900px){.cny-paper-copy{max-width:65%;padding:40px 10px 100px}.cny-paper-hero{min-height:400px}.cny-goat-left,.cny-goat-right{width:24%;bottom:15px}.cny-lantern{scale:.8;top:-6px}.cny-paper-hero .cny-paper-copy>p:not(.cny-year){font-size:14px}}
@media(max-width:520px){.cny-paper-hero{min-height:440px;border-radius:18px;background-size:auto 100%}.cny-paper-copy{max-width:100%;padding:55px 24px 145px}.cny-paper-hero #cny-paper-heading{font-size:38px}.cny-goat-left,.cny-goat-right{width:29%;max-width:125px;bottom:6px}.cny-lantern{scale:.55;top:-4px}.cny-lantern-left{left:0}.cny-lantern-right{right:0}.cny-glint{display:none}.cny-paper-hero .cny-year{font-size:9px;letter-spacing:.12em}}
@media(prefers-reduced-motion:reduce){.cny-decor *{animation:none!important;transition:none!important}.cny-petal{display:none}}
