/* Home: animated tiles, floating hero items, big motto */
/* --- tiles --- */
.hm-tiles .hm-tile { background: #0a122c; border: 1px solid #111b40; border-radius: 14px; padding: 18px 18px 16px 20px; min-height: 106px; isolation: isolate; box-shadow: inset 4px 0 0 var(--ac); transition: transform .2s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .2s; }
.hm-tiles .hm-tile::before { content: ''; position: absolute; inset: 0 -90px 0 -10px; z-index: -1; background: repeating-linear-gradient(115deg, var(--ac) 0 2px, transparent 2px 15px); opacity: .09; animation: tlstripes 6s linear infinite; }
@keyframes tlstripes { to { transform: translateX(90px); } }
.hm-tiles .hm-tile:hover { transform: translateY(-4px); border-color: var(--ac); box-shadow: inset 4px 0 0 var(--ac), 0 14px 30px rgba(0,0,0,.45); }
.hm-tiles .hm-tile:hover::before { opacity: .16; animation-duration: 2.5s; }
.tl-t b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; } .tl-t small { color: var(--ac); font-size: 12px; font-weight: 700; }
.hm-tiles .t-art { right: -2px; top: 2px; bottom: 2px; width: 52%; } .hm-tiles .t-art svg { filter: drop-shadow(0 6px 8px rgba(0,0,0,.35)); overflow: visible; transition: transform .35s cubic-bezier(.2,.9,.3,1.3); } .hm-tiles .hm-tile:hover .t-art svg { transform: scale(1.12) rotate(-2deg); }
.tsh { transform-box: fill-box; transform-origin: center; animation: tshd 2.6s ease-in-out infinite; } @keyframes tshd { 50% { transform: scale(.7); opacity: .15; } }
/* bonus: spinning coin */
.coin { transform-box: fill-box; transform-origin: center; animation: cflip 2.6s ease-in-out infinite, cbob 2.6s ease-in-out infinite; }
@keyframes cflip { 0%, 100% { transform: scaleX(1); } 25% { transform: scaleX(.08); } 50% { transform: scaleX(-1); } 75% { transform: scaleX(.08); } }
@keyframes cbob { 0%, 100% { translate: 0 2px; } 50% { translate: 0 -7px; } }
.shine { animation: shn 2.6s ease-in-out infinite; } @keyframes shn { 0%, 100% { opacity: 0; } 20%, 70% { opacity: .45; } }
.tw { transform-box: fill-box; transform-origin: center; animation: twk 1.8s ease-in-out infinite; } .tw.d2 { animation-delay: .9s; } @keyframes twk { 0%, 100% { transform: scale(0) rotate(0); } 50% { transform: scale(1) rotate(90deg); } }
.hm-tile:hover .coin { animation-duration: 1.2s, 1.2s; }
/* sport: bouncing ball with squash */
.ball { transform-box: fill-box; transform-origin: 50% 100%; animation: bnc 1.25s infinite; } .bspin { transform-box: fill-box; transform-origin: center; animation: tlspin 2.5s linear infinite; }
@keyframes bnc { 0% { translate: 0 -10px; scale: 1 1; animation-timing-function: cubic-bezier(.5, 0, 1, .6); } 44% { translate: 0 24px; scale: 1 1; } 50% { translate: 0 24px; scale: 1.16 .84; animation-timing-function: cubic-bezier(0, .5, .5, 1); } 58% { translate: 0 20px; scale: 1 1; } 100% { translate: 0 -10px; scale: 1 1; } }
@keyframes tlspin { to { transform: rotate(360deg); } }
.bsh { animation: bshd 1.25s infinite; } @keyframes bshd { 0%, 100% { transform: scale(.6); opacity: .15; } 47% { transform: scale(1.1); opacity: .4; } }
.hm-tile:hover .ball { animation-duration: .8s; }
/* live: spinning wheel with orbiting ball */
.wh { transform-origin: 60px 50px; animation: tlspin 9s linear infinite; } .ob { transform-origin: 60px 50px; animation: tlspinr 2.3s linear infinite; } @keyframes tlspinr { to { transform: rotate(-360deg); } }
.ldot { animation: ldt 1s steps(2) infinite; } @keyframes ldt { 50% { opacity: .2; } }
.hm-tile:hover .wh { animation-duration: 3s; } .hm-tile:hover .ob { animation-duration: 1s; }
/* invite: gift pops open with confetti */
.lid { transform-box: fill-box; transform-origin: 20% 100%; animation: lidp 3.2s infinite; }
@keyframes lidp { 0%, 58% { transform: none; } 66% { transform: translate(-4px, -18px) rotate(-14deg); } 78% { transform: translate(-2px, -8px) rotate(-6deg); } 88%, 100% { transform: none; } }
.cf { transform-box: fill-box; transform-origin: center; opacity: 0; animation: cfa 3.2s ease-out infinite; }
@keyframes cfa { 0%, 62% { opacity: 0; transform: translate(0, 0) rotate(0); } 66% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 40px)) rotate(var(--r)); } }
.hm-tile:hover .lid { animation-duration: 1.6s; } .hm-tile:hover .cf { animation-duration: 1.6s; }

/* --- hero: floating casino items with mouse parallax --- */
.hero3 { --mx: 0; --my: 0; }
.h3-fl { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.h3-fl i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); translate: calc(var(--mx) * var(--d) * 1px) calc(var(--my) * var(--d) * 1px); transition: translate .3s ease-out; animation: flt var(--t) ease-in-out infinite alternate; filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); }
.h3-fl i svg { width: 100%; height: 100%; display: block; }
@keyframes flt { from { transform: translateY(-9px) rotate(var(--r)); } to { transform: translateY(11px) rotate(calc(var(--r) * -1)); } }
.h3-s .h3-t, .h3-s .h3-chips { position: relative; z-index: 2; }
@media (max-width: 700px) { .h3-fl i:nth-child(n+5) { display: none; } .h3-fl i { opacity: .8; } }

/* --- motto --- */
.motto { position: relative; margin: 44px 0 20px; padding: clamp(112px, 11vw, 150px) 0 64px; border-top: 1px solid #0f193f; border-bottom: 1px solid #0f193f; overflow: hidden; text-align: center; }
.mt-mq { position: absolute; top: 10px; left: 0; right: 0; overflow: hidden; white-space: nowrap; pointer-events: none; opacity: .55; }
.mt-mq > div { display: inline-block; font-size: clamp(34px, 6vw, 84px); font-weight: 800; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px #142357; animation: mtmq 40s linear infinite; } .mt-mq b { color: #3d5afe; -webkit-text-stroke: 0; font-size: .6em; margin: 0 .3em; vertical-align: middle; }
@keyframes mtmq { to { transform: translateX(-50%); } }
.mt-h { position: relative; margin: 0 auto; max-width: 980px; padding: 0 16px; font-size: clamp(38px, 8.2vw, 104px); line-height: .98; font-weight: 800; letter-spacing: -.045em; text-transform: uppercase; }
.mt-h .w { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(3deg); } .motto.in .mt-h .w { animation: mtw .7s cubic-bezier(.2, .9, .3, 1.2) forwards; animation-delay: calc(var(--i) * .09s + .1s); }
@keyframes mtw { from { opacity: 0; transform: translateY(.55em) rotate(3deg); } to { opacity: 1; transform: none; } }
.mt-h .f { position: relative; color: #fff; padding: 0 .06em; } .motto.in .mt-h .f { animation: mtw .7s cubic-bezier(.2, .9, .3, 1.2) forwards, mtshake 5s 2.4s infinite; animation-delay: .7s, 2.4s; }
.mt-h .f svg { position: absolute; left: -2%; width: 104%; bottom: -.08em; height: .2em; overflow: visible; } .mt-h .f svg path { stroke-dasharray: 1; stroke-dashoffset: 1; } .motto.in .mt-h .f svg path { animation: mtdraw .8s .95s ease-out forwards; }
@keyframes mtdraw { to { stroke-dashoffset: 0; } }
@keyframes mtshake { 0%, 90%, 100% { transform: none; } 92% { transform: rotate(-2.5deg) translateX(-3px); } 94% { transform: rotate(2.5deg) translateX(3px); } 96% { transform: rotate(-1.5deg); } }
.mt-s { margin: 26px 0 0; color: #8b93b8; font-size: 15px; letter-spacing: .02em; opacity: 0; } .motto.in .mt-s { animation: mtfade .8s 1.5s forwards; } @keyframes mtfade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hm-tiles .hm-tile::before, .coin, .ball, .bspin, .wh, .ob, .lid, .cf, .h3-fl i, .mt-mq > div { animation: none !important; } }
.mt-h > .w:last-child { color: #e5484d; display: inline-block; border-radius: 50%; }
