/* Portada directa: premio, precio y compra. */
:root{--gold:#e9b949;--gold-hi:#f4d689;--gold-deep:#997525;--accent:#e9b949;--accent-text:#edc66c}
body{overflow-x:clip}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.topbar,.hdr a.btn,.menu-btn{display:none}
.wrap,.raffle-catalogue>.wrap{max-width:1120px;padding-inline:24px}
.hdr{background:#080808f5;border-color:#ffffff12;box-shadow:none}
.hdr-in{min-height:76px}
.hdr .brand img{width:56px;height:56px}
.hdr .brand b{font-size:15px;letter-spacing:0}
.hdr .brand small{display:none}
.hdr .nav{display:flex;position:static;flex-direction:row;padding:0;gap:0;border:0;background:transparent}
.nav button{padding:11px 17px;border:1px solid #ffffff20;border-radius:24px;font-size:12px;letter-spacing:0;text-transform:none;color:#eee9de;background:#171715}
.nav button:hover{border-color:#e9b949;color:#f4d689}
.btn{border-radius:14px;text-transform:none;letter-spacing:0;font-weight:800}
.btn-gold{background:linear-gradient(115deg,#f5cc68,#eab540);color:#171204;border-color:#edc66c;box-shadow:0 5px 18px #e9b94915}
.btn-gold:hover{background:linear-gradient(115deg,#ffdc88,#f1c355);color:#171204;box-shadow:0 7px 24px #e9b94925}
.btn-ghost{background:#171715;border-color:#ffffff20;color:#eeeae1}
.btn-ghost:hover{background:#24231e;border-color:#756239;color:#fff}
.raffle-catalogue{padding:26px 0 18px}
#comprar{scroll-margin-top:96px}
.raffle-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}
.raffle-grid.single{display:block}
.raffle-card{border:1px solid #665029;border-radius:20px;background:#111110;box-shadow:none;overflow:hidden}
.raffle-card:hover{transform:none;border-color:#b28d42;box-shadow:none}
.raffle-card::before{display:none}
.raffle-grid.single .raffle-card{display:grid;grid-template-columns:1.15fr 1fr;align-items:start}
.raffle-cover-box{aspect-ratio:1.45;background:#080808;border-bottom:1px solid #ffffff0e}
.raffle-grid.single .raffle-cover-box{aspect-ratio:auto;height:100%;min-height:400px;border-bottom:0;border-right:1px solid #ffffff0e}
.raffle-card-cover{width:100%;height:100%;object-fit:contain}
.raffle-card:hover .raffle-card-cover{transform:none}
.raffle-no-cover{min-height:inherit;background:radial-gradient(ellipse,#30281655,transparent 70%),#080808}
.raffle-no-cover img{height:220px;width:70%;object-fit:contain}
.raffle-no-cover span{display:none}
.raffle-card-body{padding:26px;gap:18px;min-height:0}
.raffle-card h2{font:800 25px/1.22 var(--display);letter-spacing:-.025em;text-align:left;color:#fff;overflow-wrap:anywhere}
.raffle-grid.single .raffle-card h2{font-size:32px}
.raffle-price{display:flex;align-items:center;justify-content:space-between;gap:12px}
.raffle-price strong{font-size:30px;font-weight:800;color:#edc66c;letter-spacing:-.035em}
.raffle-price>span{color:#b5b2aa;font-size:12px;text-align:right;line-height:1.5}
.raffle-card-buy{padding:0;border:0;margin:0;display:block}
.raffle-card-buy .btn{width:100%;padding:14px 18px;min-height:52px;font-size:16px;gap:12px}
.raffle-card-buy .btn span{font-size:22px;color:inherit;margin:0}
.raffle-card-buy .btn:disabled{opacity:1;color:#b5b2aa;background:#20201c}
/* Botón plateado: pulso, brillo y una sacudida breve. */
.raffle-card-buy .btn-comprar{
  position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;height:58px;border-radius:16px;padding:0 14px;
  background:linear-gradient(180deg,#42434a,#060608);border:2px solid #d6d9e0;color:#eef0f5;
  font-size:22px;font-weight:800;letter-spacing:2px;text-transform:uppercase;cursor:pointer;
  animation:gfrd-buy-pulso 1.2s infinite,gfrd-buy-temblor 3.6s infinite;
}
.btn-comprar svg{width:40px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.btn-comprar::after,#checkoutNext::after{content:"";position:absolute;top:0;left:-100%;width:50%;height:100%;pointer-events:none;transform:none;background:linear-gradient(120deg,transparent,rgba(255,255,255,.6),transparent);animation:gfrd-buy-brillo 1.8s infinite}
#checkoutNext:not(:disabled){animation:gfrd-buy-pulso 1.2s infinite,gfrd-buy-temblor 3.6s infinite}
#checkoutNext:disabled::after{display:none;animation:none}
.raffle-card-buy .btn-comprar:active,#checkoutNext:not(:disabled):active{animation:none;transform:scale(.95);rotate:0deg}
.btn-comprar:focus-visible{outline:3px solid #eef0f5;outline-offset:4px}
@keyframes gfrd-buy-pulso{
  0%{transform:scale(1);box-shadow:0 0 0 0 rgba(176,181,194,.8),0 0 0 0 rgba(255,255,255,.5)}
  50%{transform:scale(1.04);box-shadow:0 0 0 14px rgba(176,181,194,0),0 0 0 26px rgba(255,255,255,0)}
  100%{transform:scale(1);box-shadow:0 0 0 0 rgba(176,181,194,0),0 0 0 0 rgba(255,255,255,0)}
}
@keyframes gfrd-buy-brillo{0%{left:-100%}60%,100%{left:160%}}
@keyframes gfrd-buy-temblor{0%,83%,100%{rotate:0deg}86%{rotate:-2deg}89%{rotate:2deg}92%{rotate:-2deg}95%{rotate:2deg}98%{rotate:0deg}}
@media(prefers-reduced-motion:reduce){.raffle-card-buy .btn-comprar,.btn-comprar::after,#checkoutNext:not(:disabled),#checkoutNext::after{animation:none}.btn-comprar::after,#checkoutNext::after{display:none}}
.raffle-progress>div:first-child{color:#bdb19a;font:500 11px var(--body);margin-bottom:7px}
.raffle-progress>div:first-child strong{color:var(--gold-hi);font-size:14px;font-variant-numeric:tabular-nums}
.raffle-progress .sales-track{height:7px;background:#29271f;border:0}
.raffle-progress .raffle-fill{background:linear-gradient(90deg,#ba8a29,#edc66c);box-shadow:none;transition:width 1.2s ease}
.raffle-progress small{font-size:10px;color:#a9a398}
.raffle-details{border-top:1px solid #ffffff12}
.raffle-details summary{display:flex;justify-content:space-between;align-items:center;list-style:none;padding:12px 0 0;font-size:12px;color:#d6cdb9}
.raffle-details summary::-webkit-details-marker{display:none}
.raffle-details summary::after{display:none}
.raffle-details summary span{font-size:18px;color:#edc66c;transition:rotate .25s}
.raffle-details[open] summary span{rotate:45deg}
.raffle-details .raffle-date{text-align:left;color:#edc66c;font-size:12px}
.raffle-clock{background:#17160f;border-color:#e9b94922}
.raffle-clock>p{color:#e9b949}
.raffle-countdown b{font-size:22px;color:#f4d689}
.checkout-steps .current button span,.bank-monogram{background:#e9b949;border-color:#e9b949;color:#171204}
.checkout-progress i{background:linear-gradient(90deg,#b98a2d,#f4d689)}
.pack-ribbon{background:#3a2d12;color:#f4d689}
.assigned-status{color:#edc66c}
footer#legal{background:#080808;border-top:0;padding:12px 0 25px;margin-top:0}
.footer-contact{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 24px;font-size:12px;padding:5px 0 18px}
.footer-contact a{color:#c7baa0}
.developer-credit{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 16px;margin:0;padding:15px 0;border:0;border-top:1px solid #ffffff10;border-radius:0;background:#080808;box-shadow:none}
.developer-logo{width:120px;max-width:120px;flex:0 0 120px;padding:0;background:#080808}
.developer-logo img{width:120px;height:41px;object-fit:cover;mix-blend-mode:lighten}
.developer-copy{flex:0 1 auto}
.developer-copy p{font-size:11px;margin:0;color:#aaa69c}
.developer-links{display:flex;flex-direction:row;flex-basis:auto;gap:14px;flex-wrap:wrap;justify-content:center}
.developer-links a{font-size:10px;min-height:26px}
.legal{margin-top:14px;padding-top:14px;font-size:10px;border-color:#ffffff0d}
.disclaimer{font-size:10px;line-height:1.6;margin-top:15px;color:#97938a}
.legal-copy{font-size:11px}.legal-copy summary{font-size:11px;padding-block:9px}
@media(max-width:900px){.raffle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.raffle-grid.single .raffle-card{grid-template-columns:1fr 1fr}.raffle-grid.single .raffle-card h2{font-size:27px}}
@media(max-width:650px){.wrap,.raffle-catalogue>.wrap{padding-inline:16px}.hdr-in{min-height:68px}.hdr .brand img{width:48px;height:48px}.hdr .brand b{font-size:13px}.hdr .brand{gap:8px}.nav button{font-size:11px;padding:10px 13px}.raffle-catalogue{padding-top:14px}.raffle-grid{grid-template-columns:minmax(0,1fr)}.raffle-grid.single .raffle-card{display:flex}.raffle-cover-box,.raffle-grid.single .raffle-cover-box{aspect-ratio:1.55;height:auto;min-height:0;max-height:250px;border-right:0;border-bottom:1px solid #ffffff0e}.raffle-no-cover{height:220px}.raffle-no-cover img{height:185px}.raffle-card-body{padding:19px;gap:13px}.raffle-card h2,.raffle-grid.single .raffle-card h2{font-size:24px}.raffle-price strong{font-size:28px}.raffle-card-buy .btn{min-height:50px}.raffle-card{border-radius:17px}.developer-copy{flex:none}.developer-links{width:100%}.legal{gap:8px}.wa{width:44px;height:44px;right:12px;bottom:12px}}
@media(max-width:360px){.hdr .brand b{font-size:11px}.hdr .brand img{width:42px;height:42px}.nav button{padding:9px 11px}.raffle-card h2,.raffle-grid.single .raffle-card h2{font-size:22px}.raffle-card-body{padding:16px}.developer-credit{gap:8px}}
@media(prefers-reduced-motion:reduce){.raffle-fill{transition:none!important}}
@media(max-width:650px){.raffle-grid.single .raffle-card{align-items:stretch}.raffle-cover-box{width:100%}.raffle-no-cover{height:100%}.raffle-no-cover img{height:85%}.developer-links{flex-direction:row}.developer-copy{flex:0 1 auto}}

/* Barra flotante móvil: referencia de Inicio, Comprar y Verificador. */
.mobile-dock{display:none}
@media(max-width:650px){
  body{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}
  .mobile-dock{
    position:fixed;z-index:80;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:8px;
    height:64px;padding:6px;border:1px solid #74664b70;border-radius:28px;
    background:#11100bee;box-shadow:0 8px 24px #0008;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  }
  .mobile-dock[hidden]{display:none}
  .mobile-dock-item{
    position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
    min-width:0;height:50px;padding:4px;border:1px solid transparent;border-radius:18px;
    background:transparent;color:#b0a477;font-family:var(--body,sans-serif);text-decoration:none;cursor:pointer;
    -webkit-tap-highlight-color:transparent;touch-action:manipulation;
  }
  .mobile-dock-item svg{display:block;flex:none;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mobile-dock-item span{font-size:9px;font-weight:600;line-height:1.2;letter-spacing:1px;text-transform:uppercase;white-space:nowrap}
  .mobile-dock-home[aria-current="page"],.mobile-dock-verify[aria-current="page"]{border-color:#d4b565b3;background:linear-gradient(160deg,#57422266,#30271477);color:#edd079;box-shadow:inset 0 0 0 1px #f8e6a512}
  .mobile-dock-buy{
    height:64px;transform:translateY(-12px);overflow:hidden;border:1.5px solid #d6d9e0;border-radius:18px;
    background:linear-gradient(165deg,#3f4046,#0a0b0d 85%);color:#eef0ed;
    box-shadow:0 0 0 4px #090a08,0 0 0 5px #d6d9e040,0 7px 18px #0007;
    animation:dock-float 3.2s ease-in-out infinite,dock-glow 2.4s ease-in-out infinite;
  }
  .mobile-dock-buy svg{width:28px;height:24px;stroke-width:1.8}
  .mobile-dock-buy span{font-size:10px;font-weight:700;letter-spacing:1.4px}
  .mobile-dock-buy::after{
    content:"";position:absolute;inset:-35% auto -35% -85%;width:42%;pointer-events:none;
    background:linear-gradient(90deg,transparent,rgba(255,252,215,.72),rgba(255,255,240,.9),transparent);
    transform:skewX(22deg);filter:blur(1px);animation:dock-shine 2.8s ease-in-out infinite;
  }
  .mobile-dock-item:focus-visible{outline:2px solid #fff0bb;outline-offset:4px}
  .mobile-dock-item:active{filter:brightness(1.2)}
  .mobile-dock-buy:active{animation:none;translate:0 2px}
  .mobile-dock-buy:disabled{animation:none;opacity:.5;cursor:not-allowed}
  .mobile-dock-buy:disabled::after{display:none;animation:none}
  .wa{bottom:calc(98px + env(safe-area-inset-bottom,0px))}
  .checkout-open .wa{visibility:hidden;pointer-events:none}
  /* El menú vive dentro del diálogo activo; reservarle espacio sin tapar el formulario. */
  #purchaseDialog,#verificador{
    width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;
    border:0;border-radius:0;padding:0;overflow:hidden;
  }
  #purchaseDialog .checkout-shell{height:calc(100dvh - 94px - env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 94px - env(safe-area-inset-bottom,0px))}
  #purchaseDialog .checkout-shell form{flex:1;min-height:0}
  #purchaseDialog .checkout-scroll{flex:1;min-height:0;max-height:none}
  #purchaseDialog .checkout-footer{padding-bottom:14px}
  #verificador[open]{display:flex;flex-direction:column;padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}
  #verificador .verifier-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
}
@keyframes dock-float{0%,100%{translate:0 1px}50%{translate:0 -4px}}
@keyframes dock-glow{0%,100%{box-shadow:0 0 0 4px #090a08,0 0 0 5px #d6d9e040,0 7px 18px #0007}50%{box-shadow:0 0 0 4px #090a08,0 0 0 5px #d6d9e080,0 0 15px #e7e7cb20,0 7px 18px #0007}}
@keyframes dock-shine{0%,12%{left:-85%}55%,100%{left:145%}}
@media(prefers-reduced-motion:reduce){.mobile-dock-buy,.mobile-dock-buy::after{animation:none}.mobile-dock-buy::after{display:none}}
.raffle-card-body>.raffle-clock{margin:4px 0 14px}
