/* Camp vivant — effets décoratifs, limités à l'accueil. */
.camp-atmosphere{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.camp-atmosphere::before{content:'';position:absolute;inset:-15%;background:radial-gradient(ellipse at 80% 20%,#ffd67e26,transparent 45%),radial-gradient(ellipse at 55% 85%,#7ddbc41a,transparent 40%);animation:camp-light 14s ease-in-out infinite alternate}
.hero-content,.hero-bottom{position:relative;z-index:1}
.hero-bottom{position:absolute}
.camp-signature{position:absolute;right:8%;top:48px;display:flex;align-items:center;gap:12px;color:#fff3d1;font-size:10px;letter-spacing:.18em;text-shadow:0 2px 10px #102a32;z-index:1;pointer-events:none}
.camp-signature::before{content:'';width:24px;height:1px;background:#fff3d180}
body.camp-entered .hero-content>*{animation:camp-arrive .85s cubic-bezier(.16,1,.3,1) both}
body.camp-entered .hero-content>h1{animation-delay:.09s}
body.camp-entered .hero-content>.intro{animation-delay:.18s}
body.camp-entered .hero-content>.hero-actions{animation-delay:.27s}
body.camp-entered .hero-content>.hero-facts{animation-delay:.36s}
.hero h1 em{display:inline-block;position:relative}
.hero h1 em::after{content:'';position:absolute;left:0;right:4%;bottom:-8px;height:3px;border-radius:100%;background:linear-gradient(90deg,#ffd364,transparent);transform-origin:left}
body.camp-entered .hero h1 em::after{animation:camp-underline 1s .3s both}
.hero .primary{box-shadow:0 5px 24px #ffd36420;transition:transform .25s,box-shadow .25s}
.hero .primary:hover,.hero .primary:focus-visible{box-shadow:0 8px 32px #ffd36450}
#pal-dialog[open] .pal-card{animation:pal-discover .8s cubic-bezier(.16,1,.3,1) both;position:relative}
#pal-dialog[open] .pal-card::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 25%,#fff9 48%,transparent 65%);transform:translateX(-140%);animation:pal-gleam 1.5s .35s ease-out both}
#pal-dialog[open] .pal-rarity{animation:camp-arrive .6s .3s both}
#pal-dialog[open] .pal-star{animation:pal-star-turn 1.2s .15s both}
#pal-dialog[open] .pal-heading{animation:camp-arrive .55s both}
.pal-motion-toggle{display:block;margin:12px auto 0;padding:8px 14px;min-height:36px;border:0;background:transparent;color:#d4cfdf;font-size:12px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
#detail-dialog[open]{animation:camp-arrive .3s cubic-bezier(.16,1,.3,1) both}
.pal-tile.motion-tile-in img{animation:camp-arrive .5s var(--tile-delay,0s) both}
body.camp-out-of-view .hero *,body.camp-out-of-view .hero *::before{animation-play-state:paused!important}
body.pal-open .hero *,body.pal-open .hero *::before{animation-play-state:paused!important}
@keyframes camp-light{to{transform:translate3d(-3%,2%,0);opacity:.55}}
@keyframes camp-arrive{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}
@keyframes camp-underline{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes pal-discover{from{opacity:0;transform:perspective(900px) rotateY(-12deg) translateY(24px) scale(.94)}to{opacity:1;transform:none}}
@keyframes pal-gleam{to{transform:translateX(140%)}}
@keyframes pal-star-turn{from{opacity:0;rotate:-90deg;scale:.4}to{opacity:1;rotate:0deg;scale:1}}
@media(max-width:720px){.camp-signature{top:22px;right:6%;font-size:8px;letter-spacing:.12em}.camp-signature::before{font-size:20px}}
/* Show final states immediately when motion is disabled; no hidden content. */
body.motion-paused *,body.motion-paused *::before,body.motion-paused *::after{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* A slow camera push keeps the landscape coherent, with no cutout in front. */
.hero-image{animation:camp-camera 30s ease-in-out infinite alternate;transform-origin:65% 45%}
@keyframes camp-camera{from{scale:1}to{scale:1.035}}
@media(max-width:720px){.hero{min-height:620px}.hero-content{padding-bottom:110px}.hero-image{animation:none}.camp-signature::before{font-size:inherit}}
