/* HOME (index.html, js/home.js): the four tiles under the video, a row of shortcuts, then each section as its own
   rail or panel: Game Night, the UNLUCKY5 spotlight, levels, live tables, promos, The Strip, the money ladder,
   the regulars, the app, and the free-spin card at the very bottom. */

/* ---------- the four tiles: UNLUCKY5 big on top, Mulligan and Game Night side by side, the ad spot along the bottom ---------- */
.hx-tiles { display: grid !important; grid-template-columns: 1fr 1fr; grid-template-rows: none !important; gap: 8px; }
.hx-t { --c: #f6cf5f; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; min-height: 118px; padding: 12px 13px; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--c) 45%, rgba(255, 255, 255, .1)); box-shadow: 0 14px 30px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .14); transition: transform .16s var(--press, ease); }
.hx-t:active { transform: scale(.97); }
.hx-t::before { content: ''; position: absolute; inset: 0; z-index: -2; background: center / cover; transition: transform .6s ease; }
/* the photos live here, not in an inline --img, because a url() inside a custom property resolves from this file's folder in some browsers and the page's in others */
.hx-t[data-im="u5"]::before { background-image: url(../img/splash.webp); }
.hx-t[data-im="mul"]::before { background-image: url(../img/reel/r8.jpg); }
.hx-t[data-im="gn"]::before { background-image: url(../img/reel/r9.jpg); }
.hx-t:hover::before { transform: scale(1.06); }
.hx-t::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 15%, rgba(5, 4, 9, .55) 52%, rgba(5, 4, 9, .94)), linear-gradient(90deg, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%); }
.hx-t.big { grid-column: 1 / -1; min-height: 168px; padding: 16px; }
.hx-t .k { position: absolute; top: 10px; left: 11px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font: 800 9.5px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hx-t .k i { width: 7px; height: 7px; border-radius: 50%; background: #46f49c; box-shadow: 0 0 8px #46f49c; animation: hxlive 1.4s ease-in-out infinite; }
@keyframes hxlive { 50% { opacity: .3; } }
.hx-t b { font: 900 22px/1 var(--f-head); letter-spacing: -.01em; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.hx-t.big b { font-size: 34px; }
.hx-t.big b em { font-style: normal; color: #ff3d7f; text-shadow: 0 0 18px rgba(255, 61, 127, .6); }
.hx-t small { font: 600 12px/1.3 var(--f-body); color: #ded9cf; }
.hx-t .go { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 900 18px/1 var(--f-body); color: #120c02; background: var(--c); box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 45%, transparent); }
.hx-t.big .go { width: auto; height: auto; padding: 11px 18px; border-radius: 999px; font-size: 15px; }
.hx-tiles .adslot.tile { grid-column: 1 / -1; min-height: 72px; overflow: hidden; }
@media (min-width: 901px) { .hx-t.big { min-height: 190px; } }

/* ---------- shortcuts: a row of round icons ---------- */
.hx-sc { display: flex; gap: 12px; overflow-x: auto; margin: 14px 0 0; padding: 6px 12px 4px; scrollbar-width: none; }
.hx-sc::-webkit-scrollbar { display: none; }
.hx-sc a { flex: none; display: grid; justify-items: center; gap: 6px; width: 64px; text-decoration: none; color: #e9e4d8; font: 700 11px var(--f-body); text-align: center; }
.hx-sc i { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 20px; font-style: normal; font-size: 25px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 32%, #17161d), #0d0c11); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 8px 18px rgba(0, 0, 0, .45); transition: transform .15s; }
.hx-sc a:active i { transform: scale(.9); }
@media (min-width: 901px) { .hx-sc { justify-content: center; } }

/* ---------- sections ---------- */
.hx-sec { padding: 26px 0 0; }
.hx-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.hx-h small { display: block; font: 800 10px var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: #f6cf5f; }
.hx-h h2 { margin: 2px 0 0; font: 900 26px/1.05 'Playfair Display', Georgia, serif; color: #fff; }
.hx-h a { flex: none; font: 800 12.5px var(--f-body); color: #f6cf5f; text-decoration: none; }
.hx-rail { display: flex; gap: 10px; overflow-x: auto; margin: 0 -6px; padding: 2px 6px 10px; scroll-padding-inline: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hx-rail::-webkit-scrollbar { display: none; }
.hx-rail > * { scroll-snap-align: start; }

/* Game Night: colored cards with a big icon */
.hx-g { --c: #f6cf5f; position: relative; flex: none; display: grid; align-content: space-between; width: 136px; height: 168px; padding: 12px; border-radius: 20px; overflow: hidden; text-decoration: none; color: #fff;
  background: radial-gradient(120% 80% at 80% 0, color-mix(in srgb, var(--c) 55%, transparent), transparent 60%), linear-gradient(170deg, color-mix(in srgb, var(--c) 30%, #17161d), #0c0b10 75%); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); box-shadow: 0 12px 24px rgba(0, 0, 0, .45); }
.hx-g > i { font-style: normal; font-size: 46px; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); transition: transform .3s cubic-bezier(.2, 1.5, .4, 1); }
.hx-g:hover > i { transform: scale(1.12) rotate(-6deg); }
.hx-g b { font: 800 15px/1.1 var(--f-head); }
.hx-g small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 600 11px/1.3 var(--f-body); color: #c9c4ba; }
.hx-g .nw { position: absolute; top: 10px; right: 10px; padding: 3px 7px; border-radius: 999px; font: 900 8.5px var(--f-body); letter-spacing: .1em; color: #120c02; background: var(--c); }

/* the UNLUCKY5 spotlight: one cinematic card */
.hx-u5 { position: relative; display: grid; align-content: end; gap: 10px; min-height: 400px; padding: 18px; border-radius: 26px; overflow: hidden; isolation: isolate; border: 1px solid rgba(255, 61, 127, .4); box-shadow: 0 24px 50px rgba(0, 0, 0, .6), 0 0 40px rgba(255, 61, 127, .12); }
.hx-u5::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url(../img/splash.webp) center 30% / cover; }
.hx-u5::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 38%, rgba(7, 5, 12, .75) 62%, #07050c 94%); }
.hx-u5 .lbl { justify-self: start; padding: 5px 11px; border-radius: 999px; font: 800 10px var(--f-body); letter-spacing: .16em; color: #2a0010; background: #ff3d7f; }
.hx-u5 h2 { margin: 0; font: 900 44px/.95 var(--f-head); color: #fff; letter-spacing: -.01em; }
.hx-u5 h2 em { font-style: normal; color: #ff3d7f; text-shadow: 0 0 20px rgba(255, 61, 127, .6); }
.hx-u5 p { margin: 0; font: 500 14px/1.45 var(--f-body); color: #e2ddd3; max-width: 46ch; }
.hx-u5 ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hx-u5 li { padding: 6px 10px; border-radius: 999px; font: 700 11.5px var(--f-body); color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hx-u5 .row { display: flex; gap: 8px; }
.hx-u5 .row a { flex: 1; padding: 14px; border-radius: 16px; text-align: center; text-decoration: none; font: 900 15px var(--f-body); }
.hx-u5 .row a:first-child { color: #2a0010; background: linear-gradient(180deg, #ffd1e1, #ff3d7f); box-shadow: 0 8px 24px rgba(255, 61, 127, .45); }
.hx-u5 .row a + a { flex: 0 0 auto; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }

/* levels: wide room pictures you swipe through */
.hx-lv { position: relative; flex: none; width: 74%; max-width: 300px; height: 190px; border-radius: 20px; overflow: hidden; isolation: isolate; text-decoration: none; color: #fff; display: grid; align-content: end; padding: 12px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 12px 26px rgba(0, 0, 0, .5); }
.hx-lv img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hx-lv::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(5, 4, 9, .92)); }
.hx-lv b { font: 800 18px var(--f-head); }
.hx-lv small { font: 600 11.5px/1.3 var(--f-body); color: #d6d1c7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hx-lv .st { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; font: 800 9.5px var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #052e16; background: #4ade80; }
.hx-lv .st.soon { color: #fff; background: rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .2); }

/* live tables, in one panel */
.hx-panel { padding: 6px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid rgba(255, 255, 255, .08); }
.hx-panel .tbl-list { gap: 4px !important; }
.hx-panel .tbl { border-radius: 16px !important; background: rgba(0, 0, 0, .25) !important; border-color: transparent !important; }

/* promos: tickets */
.hx-pr { --c: #46f49c; position: relative; flex: none; display: grid; align-content: space-between; gap: 8px; width: 200px; min-height: 168px; padding: 14px; border-radius: 20px; text-decoration: none; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 22%, #15141a), #0c0b10 80%); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.hx-pr::before, .hx-pr::after { content: ''; position: absolute; top: 58%; width: 18px; height: 18px; border-radius: 50%; background: #07050c; }
.hx-pr::before { left: -9px; } .hx-pr::after { right: -9px; }
.hx-pr .t { font: 800 10px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, #fff); }
.hx-pr .n { font: 400 44px/.9 'Bebas Neue', var(--f-head); color: var(--c); text-shadow: 0 0 18px color-mix(in srgb, var(--c) 45%, transparent); }
.hx-pr p { margin: 0; font: 500 12px/1.35 var(--f-body); color: #cfcabe; border-top: 1px dashed rgba(255, 255, 255, .18); padding-top: 8px; }
.hx-pr .e { position: absolute; top: 10px; right: 12px; font-size: 26px; }
.hx-pr .cta { font: 800 12px var(--f-body); color: var(--c); }

/* The Strip: the banner, then the ads as a swipeable row of smaller cards */
.hx-adr .ad { flex: none !important; width: 88%; max-width: 360px; min-height: 150px !important; margin: 0 !important; }

/* the money ladder: steps up a line, with you on it */
.hx-lad { position: relative; display: grid; gap: 8px; margin: 0; padding: 0 0 0 26px; list-style: none; }
.hx-lad::before { content: ''; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, #f6cf5f, #46f49c); opacity: .5; }
.hx-lad li { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.hx-lad li::before { content: ''; position: absolute; left: -22px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #17161d; border: 2px solid #6b6772; }
.hx-lad li.got::before { background: #46f49c; border-color: #46f49c; box-shadow: 0 0 10px #46f49c; }
.hx-lad li.you { border-color: rgba(70, 244, 156, .5); background: linear-gradient(100deg, rgba(70, 244, 156, .14), rgba(70, 244, 156, .02)); }
.hx-lad li > i { font-style: normal; font-size: 22px; }
.hx-lad span { flex: 1; min-width: 0; display: grid; }
.hx-lad b { font: 800 14.5px var(--f-head); color: #fff; }
.hx-lad small { font: 600 11.5px/1.3 var(--f-body); color: #a7abb6; }
.hx-lad em { flex: none; font: 800 12px var(--f-body); font-style: normal; color: #f6cf5f; }
.hx-lad li.got em { color: #46f49c; }

/* the regulars: a podium, then the rest */
.hx-pod { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 8px; margin-bottom: 8px; }
.hx-pod div { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: 18px 18px 8px 8px; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .08); }
.hx-pod div:nth-child(2) { padding-top: 18px; border-color: rgba(246, 207, 95, .5); background: linear-gradient(180deg, rgba(246, 207, 95, .18), rgba(246, 207, 95, .03)); }
.hx-pod i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-style: normal; font-size: 24px; background: color-mix(in srgb, var(--c) 40%, #111); box-shadow: 0 0 0 2px var(--c); }
.hx-pod div:nth-child(2) i { width: 58px; height: 58px; font-size: 30px; }
.hx-pod b { font: 800 12.5px var(--f-head); color: #fff; }
.hx-pod em { font: 800 13px var(--f-body); font-style: normal; color: #46f49c; }
.hx-pod u { text-decoration: none; font: 900 11px var(--f-body); color: #f6cf5f; }
.hx-rest { display: grid; gap: 6px; }
.hx-rest a, .hx-rest div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); text-decoration: none; color: #fff; }
.hx-rest .rk { width: 18px; font: 800 13px var(--f-body); color: #a7abb6; }
.hx-rest i { font-style: normal; font-size: 18px; }
.hx-rest b { flex: 1; font: 700 13.5px var(--f-body); }
.hx-rest em { font: 800 13px var(--f-body); font-style: normal; color: #46f49c; }
.hx-rest .you { border-color: rgba(246, 207, 95, .4); }

/* the app */
.hx-app { position: relative; display: grid; grid-template-columns: 1fr 110px; align-items: center; gap: 10px; padding: 16px; border-radius: 24px; overflow: hidden; background: radial-gradient(90% 120% at 100% 0, rgba(70, 244, 156, .2), transparent 60%), linear-gradient(160deg, #16151b, #0c0b10); border: 1px solid rgba(70, 244, 156, .25); }
.hx-app h3 { margin: 0 0 6px; font: 900 22px/1.1 'Playfair Display', Georgia, serif; color: #fff; }
.hx-app p { margin: 0 0 12px; font: 500 12.5px/1.4 var(--f-body); color: #cfcabe; }
.hx-app .st { display: flex; flex-wrap: wrap; gap: 6px; }
.hx-app .st a { padding: 8px 12px; border-radius: 12px; font: 800 12px var(--f-body); color: #fff; text-decoration: none; background: #000; border: 1px solid rgba(255, 255, 255, .2); }
.hx-app img { width: 110px; border-radius: 18px; box-shadow: 0 16px 30px rgba(0, 0, 0, .6); transform: rotate(6deg); }

/* the free spin card, last thing on the page */
.hx-spin { padding: 26px 0 8px; }
.hx-spin .d-spin { max-width: 640px; margin: 0 auto; }
@media (min-width: 901px) { .hx-g { width: 160px; } .hx-lv { width: 300px; } }
@media (prefers-reduced-motion: reduce) { .hx-t .k i { animation: none; } .hx-t::before, .hx-g > i { transition: none; } }
@media (min-width: 901px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr) 400px !important; }
  .hx-t.big b { font-size: 30px; }
  .hx-u5 { min-height: 440px; padding: 28px; }
  .hx-u5 .row { max-width: 520px; }
}
.hx-t:not(.big) small { padding-right: 38px; }

/* The ad row: our own spot on the left, the paid ad on the right, the same size, sitting tight on the tiles. */
.d-ad.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.d-ad.duo .adslot.bar { height: 56px; border-radius: 12px; }
.d-ad.duo .exad.bar { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 8px; row-gap: 4px; padding: 0 10px; border-radius: 12px; }
.d-ad.duo .exad.bar .mark { grid-row: span 2; width: 30px; height: 30px; }
.d-ad.duo .exad.bar .nm { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.d-ad.duo .exad.bar .ln { display: none; }
.d-ad.duo .exad.bar .go { margin: 0; justify-self: start; font-size: 9.5px; padding: 3px 8px; }
.d-ad.duo .exad.bar .tag { top: 4px; right: 6px; }
.d-ours { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 8px; row-gap: 4px; height: 56px; padding: 0 10px; border-radius: 12px; overflow: hidden; text-decoration: none; color: #eafff3;
  background: radial-gradient(90% 140% at 0% 0%, rgba(70, 244, 156, .35), transparent 60%), linear-gradient(135deg, #0d3b26, #062014); box-shadow: inset 0 0 0 1px rgba(70, 244, 156, .45), 0 6px 16px rgba(0, 0, 0, .4); }
.d-ours .mk { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #46f49c; font-size: 17px; box-shadow: 0 0 14px rgba(70, 244, 156, .55); }
.d-ours b { font: 800 13px/1 var(--f-head, 'Outfit', sans-serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-ours .go { justify-self: start; font: 800 9.5px/1 var(--f-body, 'Inter', sans-serif); padding: 3px 8px; border-radius: 999px; background: #46f49c; color: #03140a; }
.d-ours::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .25) 50%, transparent 65%); transform: translateX(-100%); animation: oursh 4.5s ease-in-out infinite; }
@keyframes oursh { 60%, 100% { transform: translateX(100%); } }
@media (max-width: 900px) { .dash-grid { row-gap: 6px !important; } }
@media (prefers-reduced-motion: reduce) { .d-ours::after { animation: none; } }
/* the ad under the tiles at half width, our Lucky Jester spot beside it */
.hx-tiles .adslot.tile.half { grid-column: auto; }
.hx-tiles .d-ours.tl { height: auto; min-height: 72px; grid-template-columns: 1fr; grid-template-rows: auto auto auto; justify-items: start; align-content: center; padding: 10px 12px; border-radius: 16px; }
.hx-tiles .d-ours.tl .mk { grid-row: auto; }
.hx-tiles .adslot.tile.half .exad.tile .nm { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* the social hub under the regulars */
.hx-soc { display: grid; gap: 12px; overflow: visible; margin: 14px 0 0; padding: 0; }
.hx-hub { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hx-hub a { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; border-radius: 16px; text-decoration: none; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, #15121c), #0f0d14); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.hx-hub i { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-style: normal; font-size: 20px; background: color-mix(in srgb, var(--c) 25%, #111); }
.hx-hub span { min-width: 0; display: grid; gap: 1px; }
.hx-hub b { font: 800 14px var(--f-body); }
.hx-hub small { font: 600 11px/1.3 var(--f-body); color: #a7abb6; }
.hx-follow { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.hx-follow::-webkit-scrollbar { display: none; }
.hx-follow > small { flex: none; font: 800 10px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #a7abb6; }
.hx-follow a { flex: none; display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 99px; text-decoration: none; color: #fff; font: 700 12px var(--f-body); background: color-mix(in srgb, var(--c) 18%, #111); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.hx-follow i { width: 22px; height: 22px; display: grid; place-items: center; font-style: normal; font-size: 13px; border-radius: 50%; background: rgba(0, 0, 0, .35); }

/* the Chicken Run tile up top (where the Lucky Jester tile was) */
.d-ours.cr { color: #fff0f7; background: radial-gradient(90% 140% at 0% 0%, rgba(255, 61, 154, .4), transparent 60%), linear-gradient(135deg, #2a0f2e, #120c1d); box-shadow: inset 0 0 0 1px rgba(255, 61, 154, .5), 0 6px 16px rgba(0, 0, 0, .4); }
.d-ours.cr .mk { background: #ff3d9a; box-shadow: 0 0 14px rgba(255, 61, 154, .6); }
.d-ours.cr .go { background: #ff3d9a; color: #fff; }

/* tighter: less space under the top ad and around the UNLUCKY5 promo */
.dash-grid { row-gap: 6px !important; }
.hx-tiles { gap: 6px !important; }
.d-ours.cr { background: linear-gradient(90deg, rgba(18, 8, 24, .92) 0%, rgba(18, 8, 24, .55) 55%, rgba(18, 8, 24, .1) 100%), url(../img/chicken-tile.webp) center 40% / cover no-repeat, #120c1d !important; }
