/* Navidad - eliminar esta hoja de estilos para volver al tema habitual. */
body {
  background:radial-gradient(ellipse at 10% 8%,#2542393b,transparent 42%),radial-gradient(ellipse at 92% 45%,#582c322c,transparent 38%),#11151b;
}
.site-nav { background:#171e24; border-bottom:1px solid #3e514d; }
.site-nav .nav-link.active,.site-nav .nav-link:hover { background:#283b35;color:#f4d5a6; }
.hero { border-bottom:1px solid #81979e; }
.hero-scene { background:#172332; }
.hero-citadel { background-image:url("/assets/christmas/winter.svg");filter:none;inset:-2% -1%; }
.hero-halo { background:radial-gradient(ellipse at center,#f3c98c32,transparent 65%);opacity:.8; }
.hero-rays { opacity:.08; }
.hero-scene::after { background:linear-gradient(0deg,#14212b92,transparent 25%,transparent 80%,#11172266); }
.hero-particles { display:block; }
.hero::before { content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:url("/assets/christmas/garland.svg?v=2") top center/400px 84px repeat-x;height:84px;opacity:.96; }
.hero::after { content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background-image:radial-gradient(circle,#f5faffd9 1px,transparent 1.9px),radial-gradient(circle,#dceaffb0 1.6px,transparent 2.6px),radial-gradient(circle,#fff9 1px,transparent 1.5px);background-size:137px 113px,211px 173px,89px 167px;background-position:0 0,38px 15px,13px 53px;animation:christmas-snow 22s linear infinite; }
@keyframes christmas-snow { to { background-position:38px 226px,-24px 346px,27px 334px; } }
.hero-content { z-index:3;padding-top:37px;min-height:360px; }
.hero-side { background:#142129e8;border-color:#637d77; }
.hero-side:hover { background:#24382f;border-color:#b1c4ac; }
.hero-circle { background:#e8bc84;color:#231f1d; }
.hero-logo img { filter:drop-shadow(0 14px 19px #080e16b8); }
.hero-subtitle { color:#f5d6ab; }
.hero-subtitle::before,.hero-subtitle::after { background:#a9bcba; }
.catalog-preview-heading,.products-panel .section-head { position:relative; }
.catalog-preview-heading::after,.products-panel .section-head::after { content:"";width:105px;height:60px;background:url("/assets/christmas/sprig.svg") center/contain no-repeat;position:absolute;right:4px;top:-13px;pointer-events:none;opacity:.9; }
.products-panel .section-head::after { right:115px; }
.categories-panel,.aside-info,.server-info,.checkout-block,.extras-panel { background:#1c242a;border-color:#39494a; }
.categories-panel .panel-heading { color:#c9d1cc; }
.category-link.selected,.category-group[open] > .category-toggle,.category-link:hover { background:#293f35;border-color:#4d6a56;color:#f4d6ae; }
.subcategory-list { background:#172128; }
.catalog-preview-link { background:#222e33;border-color:#4d6055; }
.catalog-preview-link::before { background:radial-gradient(ellipse at 84% 52%,#d4ba7430,transparent 66%); }
.catalog-preview-arrow { background:#25382e;border-color:#607866; }
.product-card[data-accent] { background:#1d252b;border-color:#3e4d4d; }
.product-art { background:radial-gradient(ellipse at 50% 61%,rgba(var(--rank-rgb,233,168,68),.18),transparent 70%),#182027;border-bottom-color:#3b4c4a; }
.product-art::after { content:"";display:block;inset:auto 0 0;height:13px;background:linear-gradient(0deg,#9bbdc533,transparent);opacity:1;animation:none; }
.product-actions .benefits-button { background:#253137;border-color:#4e625e; }
.server-info-heading,.info-sections>section { border-color:#3b494a; }
.server-info-links a,.checkout-account { background:#253138;border-color:#475853; }
.checkout-heading { border-bottom-color:#3d4c4c; }
.checkout-finish { background:#232e2b;border-color:#6a7f69; }
.checkout-finish .review-total { border-color:#52655a; }
.cart-line { border-bottom-color:#3d4b4a; }
.cart-line>img { background:#253138;border-color:#40534f; }
.checkout-home-link { background:#243531;border-color:#526c5b;color:#f2d09b; }
.checkout-home-link:hover { background:#e8bc84;color:#202620; }
.footer { background:#182328;border-color:#40544b; }
.footer::before { content:"";display:block;height:5px;margin:-28px 0 22px;background:repeating-linear-gradient(120deg,#804540 0 13px,#b8a58a 13px 26px,#3d6150 26px 39px,#b8a58a 39px 52px);opacity:.65; }
body[data-page="checkout"] .hero-content { min-height:200px;padding-top:36px; }
body[data-page="checkout"] .hero-logo img { max-height:145px; }
@media(max-width:740px) {
 .hero::before { background-size:280px 59px;height:59px; }
 .hero-content { min-height:0;padding-top:43px; }
 body[data-page="checkout"] .hero-content { min-height:0;padding-top:43px; }
 .catalog-preview-heading::after,.products-panel .section-head::after { display:none; }
}
@media(prefers-reduced-motion:reduce) { .hero::after { animation:none; } }

/* Movimiento de invierno */
.hero { --winter-sway: 9px; }
.hero-content { padding-bottom:30px; }
.hero-citadel { inset:-5% -3%; transform:translate(var(--scene-x,0px),var(--scene-y,0px)) scale(1.035); }
.hero-halo { inset:-35% 8%; background:radial-gradient(ellipse at 50% 46%,#ffe0b33d,transparent 65%); animation:winter-halo 8s ease-in-out infinite; }
.hero-rays { inset:-35% -20%; opacity:.7; background:radial-gradient(ellipse at 30% 26%,#5da99a23,transparent 54%),radial-gradient(ellipse at 72% 25%,#8d8abe21,transparent 53%); filter:blur(14px); animation:winter-sky 15s ease-in-out infinite alternate; }
.hero-logo { transform:translate(calc(var(--scene-x,0px) * -.22),calc(var(--scene-y,0px) * -.18)); transition:transform .3s ease-out; }
.hero-logo img { animation:winter-logo 5s ease-in-out infinite; transform-origin:center 58%; }
.hero-logo-aura { background:radial-gradient(ellipse,#ffd39345,transparent 66%); animation:winter-aura 5s ease-in-out infinite; }
.hero-logo:hover img { animation-play-state:paused; }
.hero-subtitle { animation:winter-intro .85s .15s ease-out both; }
.hero-side { animation:winter-intro .65s ease-out both; transition:background .22s,border-color .22s,box-shadow .22s; }
.hero-discord { animation-delay:.12s; }
.hero-side:hover { box-shadow:0 7px 22px #08141b88; }
.hero-side:hover .hero-circle { transform:translateY(-3px) rotate(-5deg); }
.hero.winter-snow-ready::after { animation:none; opacity:.19; background-position:0 0,38px 15px,13px 53px; }
.hero.winter-snow-ready .hero-particles { opacity:1; }
@keyframes winter-logo {
  0%,100% { transform:translateY(0) rotate(-.65deg); }
  50% { transform:translateY(calc(-1 * var(--winter-sway))) rotate(.65deg); }
}
@keyframes winter-halo { 0%,100% { opacity:.54; transform:scale(.96); } 50% { opacity:1; transform:scale(1.06); } }
@keyframes winter-sky { from { transform:translate(-4%,-1%) rotate(-3deg); } to { transform:translate(4%,2%) rotate(3deg); } }
@keyframes winter-aura { 0%,100% { opacity:.55; transform:scale(.95); } 50% { opacity:.92; transform:scale(1.07); } }
@keyframes winter-intro { from { opacity:0; translate:0 10px; } to { opacity:1; translate:0 0; } }
.hero.winter-idle .hero-logo img,.hero.winter-idle .hero-logo-aura,.hero.winter-idle .hero-halo,.hero.winter-idle .hero-rays,.hero.winter-idle::after { animation-play-state:paused; }

/* Entradas y detalles de navegación */
.motion-enter { animation:winter-content-in .48s cubic-bezier(.2,.75,.3,1); }
.product-card.motion-enter:nth-child(n) { animation:winter-content-in .48s cubic-bezier(.2,.75,.3,1); }
.product-card.motion-enter:nth-child(3n+2),.catalog-preview-link.motion-enter:nth-child(2n) { animation-delay:.055s; }
.product-card.motion-enter:nth-child(3n+3) { animation-delay:.11s; }
.products-panel.motion-enter,.catalog-preview.motion-enter { animation:none; }
@keyframes winter-content-in { from { opacity:.55; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.category-link,.subcategory-link,.nav-link { transition:background .2s,color .2s,border-color .2s; }
.category-link .category-art,.server-info-links img { transition:transform .24s cubic-bezier(.2,.7,.3,1); }
.category-link:hover .category-art,.server-info-links a:hover img { transform:translateY(-3px) rotate(-4deg); }
.catalog-preview-link { transition:transform .28s ease,border-color .22s ease,box-shadow .28s ease; }
.catalog-preview-link:hover { transform:translateY(-3px); }
.catalog-preview-arrow { transition:transform .24s ease,background .24s ease; }
.catalog-preview-link:hover .catalog-preview-arrow { transform:translateX(3px); background:#31473b; }
.product-card { transition:transform .26s cubic-bezier(.2,.65,.3,1),border-color .24s,box-shadow .24s; }
.product-card:hover { transform:translateY(-4px); }
.product-art img { transition:transform .32s cubic-bezier(.2,.75,.3,1); }
.product-card:hover .product-art img { transform:translateY(-6px) scale(1.025); }
.checkout-home-link:active,.cart-trigger:active { transform:scale(.96); }
body[data-page="checkout"] .hero { --winter-sway:5px; }
@media(max-width:740px) {
 .hero { --winter-sway:5px; }
 .hero-content { padding-bottom:20px; }
 .hero-logo { transform:none; }
 .hero-rays { filter:none; }
 .product-card.motion-enter:nth-child(n) { animation-delay:0s; }
}
@media(prefers-reduced-motion:reduce) {
 .hero-logo,.hero-logo img,.hero-halo,.hero-rays,.hero-logo-aura,.hero-side,.hero-subtitle,.motion-enter,.product-card.motion-enter:nth-child(n) { animation:none!important;transition:none!important; }
 .hero-logo,.hero-citadel { transform:none!important; }
 .hero-particles { display:none; }
 .hero::after { animation:none; }
}
