/* BOAMB animated logo — shared by the game and the admin console. */
/* Header lockup: three mini cards + wordmark. The cards fan wider on hover. */
.bl-mini{display:inline-flex;align-items:center;gap:12px;text-decoration:none}
.bl-mini .deck{position:relative;width:46px;height:42px;display:inline-block;flex:none}
.bl-mini .mc{position:absolute;left:12px;top:4px;width:22px;height:31px;border-radius:5px;background:#fbf6ea;transform-origin:50% 100%;transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.bl-mini .ml{transform:translateX(-4px) rotate(-17deg)}
.bl-mini .mr{transform:translateX(4px) rotate(17deg)}
.bl-mini .mm{top:2px;box-shadow:0 0 0 2px #0b1d16;display:flex;align-items:center;justify-content:center;color:#c8282c;font-size:14px;line-height:1}
.bl-mini:hover .ml{transform:translateX(-7px) rotate(-26deg)}
.bl-mini:hover .mr{transform:translateX(7px) rotate(26deg)}
.bl-mini:hover .mm{transform:translateY(-4px)}
.bl-mini .word{font-family:"Rozha One",serif;font-size:30px;color:#f2a516;letter-spacing:3px;line-height:1}
.bl-mini.sm .deck{transform:scale(.8);transform-origin:left center;margin-right:-8px}
.bl-mini.sm .word{font-size:26px}

/* Hero intro: plays once on load, then holds. */
.bl-hero{display:flex;flex-direction:column;align-items:center;gap:10px}
.bl-hero .deck{position:relative;width:180px;height:132px}
.bl-hero .hc{position:absolute;left:57px;top:6px;width:66px;height:94px;border-radius:9px;background:#fbf6ea;box-shadow:0 2px 0 #cdbf9b,0 8px 18px rgba(0,0,0,.35);transform-origin:50% 100%;display:flex;align-items:center;justify-content:center}
.bl-hero .hc i{position:absolute;top:5px;left:7px;font:700 14px Barlow,sans-serif;font-style:normal;line-height:1;color:#1d1d1b;text-align:center}
.bl-hero .hc.red i,.bl-hero .heart{color:#c8282c}
.bl-hero .heart{font-size:38px;line-height:1;margin-top:10px;display:inline-block}
.bl-hero .hl{animation:blFanL 1.4s cubic-bezier(.2,.8,.2,1) both}
.bl-hero .hm{z-index:2;animation:blFanM 1.4s cubic-bezier(.2,.8,.2,1) both}
.bl-hero .hr{animation:blFanR 1.4s cubic-bezier(.2,.8,.2,1) both}
.bl-hero .heart{animation:blHeart 1.6s ease-out both}
.bl-hero .letters{font-family:"Rozha One",serif;font-size:64px;line-height:1;color:#f2a516;letter-spacing:6px;display:flex;position:relative;overflow:hidden;padding:0 4px}
.bl-hero .letters span{display:inline-block;background:linear-gradient(100deg,#f2a516 38%,#fff3c9 50%,#f2a516 62%);background-size:300% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;color:transparent;animation:blRise .7s cubic-bezier(.2,.8,.2,1) both,blShine 1s ease-in-out both}
.bl-hero .letters span:nth-child(1){animation-delay:.75s,1.6s}.bl-hero .letters span:nth-child(2){animation-delay:.83s,1.68s}.bl-hero .letters span:nth-child(3){animation-delay:.91s,1.76s}.bl-hero .letters span:nth-child(4){animation-delay:.99s,1.84s}.bl-hero .letters span:nth-child(5){animation-delay:1.07s,1.92s}
.bl-hero .sheen{display:none}
@keyframes blFanL{0%{opacity:0;transform:translateY(40px)}35%{opacity:1;transform:translateY(0)}100%{opacity:1;transform:translateX(-30px) rotate(-17deg)}}
@keyframes blFanM{0%{opacity:0;transform:translateY(46px)}40%{opacity:1;transform:translateY(0)}100%{opacity:1;transform:translateY(-9px)}}
@keyframes blFanR{0%{opacity:0;transform:translateY(52px)}45%{opacity:1;transform:translateY(0)}100%{opacity:1;transform:translateX(30px) rotate(17deg)}}
@keyframes blHeart{0%,55%{transform:scale(0)}78%{transform:scale(1.25)}100%{transform:scale(1)}}
@keyframes blRise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
@keyframes blShine{from{background-position:100% 0}to{background-position:0 0}}

/* Loader: three cards hop in turn. */
.loader-cards{display:inline-flex;gap:8px;align-items:flex-end;height:64px}
.loader-cards span{width:34px;height:48px;border-radius:7px;background:#fbf6ea;box-shadow:0 2px 0 #cdbf9b;display:flex;align-items:center;justify-content:center;font-size:19px;color:#1d1d1b;animation:blHop 1.2s ease-in-out infinite}
.loader-cards span.red{color:#c8282c}
.loader-cards span:nth-child(2){animation-delay:.15s}.loader-cards span:nth-child(3){animation-delay:.3s}
@keyframes blHop{0%,60%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-18px) rotate(-8deg)}40%{transform:translateY(0)}}

/* Already played once on this page: show the final frame. */
.bl-hero.static .hl,.bl-hero.static .hm,.bl-hero.static .hr,.bl-hero.static .heart,.bl-hero.static .letters span{animation:none!important}
.bl-hero.static .hl{transform:translateX(-30px) rotate(-17deg)}.bl-hero.static .hr{transform:translateX(30px) rotate(17deg)}.bl-hero.static .hm{transform:translateY(-9px)}.bl-hero.static .sheen{display:none}

@media (prefers-reduced-motion: reduce){
  .bl-hero .hl,.bl-hero .hm,.bl-hero .hr,.bl-hero .heart,.bl-hero .letters span,.bl-hero .sheen,.loader-cards span{animation:none!important}
  .bl-hero .hl{transform:translateX(-30px) rotate(-17deg)}.bl-hero .hr{transform:translateX(30px) rotate(17deg)}.bl-hero .hm{transform:translateY(-9px)}
  .bl-hero .sheen{display:none}
}
