/* sweet-bonanza-br: custom hero layer (projects/sweet-bonanza-br/custom/hero-patch.js). Loaded after site.css.
   "Candy clouds" of the game: blue sky, cotton-candy clouds, tumbling sweets, rainbow multiplier bombs.
   Text colours: ink #24123f / muted #5d4a7a on light panels; red #c8134f and violet #5b2bb0 for accents (≥ 5:1);
   yellow #ffd23f only behind ink text (11.8:1).
   Decorative colours (large shapes only, never text): green #3fcf6b, orange #ff8a2a, sky #3aa8ff, grid violet #8a4fd0. */
.hx { --hero-ink: #24123f; --hero-muted: #5d4a7a; --hx-red: #c8134f; --hx-violet: #5b2bb0; --hx-lemon: #ffd23f; --hx-pink: #ff8fc8;
  position: relative; isolation: isolate; overflow: hidden; border-bottom: 0;
  padding: clamp(28px, 5vw, 72px) 0 clamp(64px, 8vw, 120px);
  background: linear-gradient(180deg, #5fbcff 0%, #8fd2ff 30%, #c4e8ff 58%, #ffd9ee 86%, #ffc4e4 100%); }
.hx::before { display: none; }

/* ---------- Backdrop: cotton-candy clouds ---------- */
.hx-scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hx-cl { position: absolute; border-radius: 999px; background: #fff; opacity: .9;
  box-shadow: 40px -22px 0 6px #fff, 92px -6px 0 -2px #fff, 140px 6px 0 -12px #fff; }
.hx-cl--1 { top: 9%; left: 4%; width: 120px; height: 36px; opacity: .75; }
.hx-cl--2 { top: 16%; right: 8%; width: 150px; height: 44px; }
.hx-cl--3 { top: 46%; left: 44%; width: 90px; height: 28px; opacity: .55; transform: scale(.8); }
.hx-cl--4 { top: 4%; right: 38%; width: 80px; height: 24px; opacity: .5; }
.hx-floor { position: absolute; left: -5%; right: -5%; bottom: -40px; height: 170px;
  background:
    radial-gradient(ellipse 160px 90px at 6% 60%, #ffd0ea 70%, transparent 71%),
    radial-gradient(ellipse 220px 120px at 22% 78%, #ffc0e2 70%, transparent 71%),
    radial-gradient(ellipse 200px 110px at 42% 70%, #ffe0f1 70%, transparent 71%),
    radial-gradient(ellipse 240px 130px at 63% 80%, #ffc8e6 70%, transparent 71%),
    radial-gradient(ellipse 200px 115px at 84% 66%, #ffd6ec 70%, transparent 71%),
    radial-gradient(ellipse 180px 100px at 99% 78%, #ffbfe0 70%, transparent 71%),
    linear-gradient(180deg, transparent 60%, var(--bg) 100%); }

/* ---------- Layout: text on a white "cloud" panel, visual on the right ---------- */
.hx .hero__inner--split { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hx .hero__text { position: relative; padding: clamp(20px, 3vw, 34px) clamp(18px, 3vw, 36px); border-radius: 36px 36px 36px 12px;
  background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 26px 60px -30px rgba(36, 18, 63, .55), inset 0 0 0 2px rgba(255, 255, 255, .95); }
.hx .hero__media.hx-visual { max-width: none; min-width: 0; }

/* Two-line H1: the second line in yellow "Bonanza" letters with a violet outline (like the logo) */
.hx h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 900; line-height: 1.05; letter-spacing: -.025em; margin-bottom: .45em; }
.hx h1.hx-h1--long { font-size: clamp(1.8rem, 2.9vw, 2.5rem); }
.hx h1 .hx-h1a { display: block; color: var(--hero-ink); }
.hx h1 em { display: inline; font-style: normal; color: #ffd23f; -webkit-text-stroke: .09em #5b2bb0; paint-order: stroke fill;
  text-shadow: 0 .07em 0 #3b1a80, 0 .14em .25em rgba(91, 43, 176, .35); letter-spacing: -.01em; }
@supports not (paint-order: stroke) { .hx h1 em { -webkit-text-stroke: 0; color: var(--hx-red); text-shadow: none; } }
.hx .hero__lead { font-size: 1.05rem; color: var(--hero-muted); }
.hx .hero__note { color: var(--hero-muted); }
.hx .hero__summary { border-radius: 18px; background: #f3f8ff; border: 2px dashed #b9d6f7; }

/* Badges: one line separated by sugar drops */
.hx .badges { gap: 0; align-items: center; margin-bottom: 14px; }
.hx .badge { background: none; border: 0; padding: 0; min-height: 0; font-size: .84rem; font-weight: 800; color: var(--hero-muted); }
.hx .badge .icon { display: none; }
.hx .badge + .badge::before { content: ""; display: inline-block; width: 11px; height: 11px; margin: 0 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, var(--dot, #3aa8ff) 55%); }
.hx .badge:nth-child(3)::before { --dot: #3fcf6b; }

/* ---------- Lollipop buttons (hero + header Play) ---------- */
.hx .btn, .header-play__btn { position: relative; overflow: hidden; border: 0; border-radius: 999px; font-weight: 850; color: #fff;
  background: linear-gradient(180deg, #e8306b 0%, #c8134f 50%, #a20d40 100%); text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  box-shadow: 0 6px 0 #7a0a30, 0 16px 26px -10px rgba(200, 19, 79, .6), inset 0 -3px 0 rgba(0, 0, 0, .12);
  transition: transform .15s ease, box-shadow .15s ease; }
.header-play__btn { box-shadow: 0 4px 0 #7a0a30, 0 10px 18px -10px rgba(200, 19, 79, .6); }
.hx .btn::before, .header-play__btn::before { content: ""; position: absolute; left: 12%; right: 12%; top: 4px; height: 42%; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0)); pointer-events: none; }
.hx .btn:hover, .header-play__btn:hover { filter: none; transform: translateY(-2px); box-shadow: 0 8px 0 #7a0a30, 0 20px 30px -10px rgba(200, 19, 79, .65); }
.hx .btn:active, .header-play__btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #7a0a30; }
.hx .btn--ghost { color: #fff; background: linear-gradient(180deg, #7444cc 0%, #5b2bb0 50%, #461f8c 100%);
  box-shadow: 0 6px 0 #2f1361, 0 16px 26px -12px rgba(91, 43, 176, .6), inset 0 -3px 0 rgba(0, 0, 0, .12); }
.hx .btn--ghost:hover { background: linear-gradient(180deg, #7444cc 0%, #5b2bb0 50%, #461f8c 100%); box-shadow: 0 8px 0 #2f1361, 0 20px 30px -12px rgba(91, 43, 176, .6); }
.hx .btn--ghost:active { box-shadow: 0 2px 0 #2f1361; }
.hx .hero__actions { gap: 16px 14px; margin-bottom: 16px; }

/* ---------- Cloud puffs: facts (engine stats + the visual's puffs) ---------- */
.hx .hero__stats, .hx-puffs { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 22px 0 0; padding: 0; max-width: none; }
.hx .stat, .hx-puff { --p: #3aa8ff; position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0;
  padding: 9px 18px 9px 22px; border-radius: 999px; background: #fff; border: 0;
  box-shadow: inset 6px 0 0 var(--p), 0 8px 18px -10px rgba(36, 18, 63, .45); }
.hx .stat:nth-child(4n+2), .hx-puff--1 { --p: #ff5c9e; }
.hx .stat:nth-child(4n+3), .hx-puff--2 { --p: #3fcf6b; }
.hx .stat:nth-child(4n+4), .hx-puff--3 { --p: #ffb800; }
.hx .stat__icon { display: none; }
.hx .stat dt, .hx-puff span { font-size: .72rem; font-weight: 700; color: #5d4a7a; order: 0; line-height: 1.2; }
.hx .stat dd, .hx-puff b { margin: 0; font-size: 1.02rem; font-weight: 900; color: #24123f; line-height: 1.2; }

/* ---------- Symbols: gumdrop fruits and sweets (decorative) ---------- */
.hx-sym { --c1: #d9c2ff; --c2: #8a4fd0; position: relative; aspect-ratio: 1; border-radius: 42% 42% 46% 46%;
  background: radial-gradient(circle at 34% 28%, #fff 0 8%, var(--c1) 34%, var(--c2) 100%); box-shadow: inset 0 -3px 5px rgba(0, 0, 0, .14); opacity: .55; }
.hx-sym--grape { --c1: #b5a2ff; --c2: #4b2bb0; border-radius: 50%; }
.hx-sym--plum { --c1: #f0a2e6; --c2: #9b1b8f; border-radius: 50% 50% 46% 46%; }
.hx-sym--apple { --c1: #ffb0a8; --c2: #e0262e; border-radius: 46% 46% 50% 50%; }
.hx-sym--melon { --c1: #a8f0b8; --c2: #1f9a49; border-radius: 50%; }
.hx-sym--banana { --c1: #fff2a0; --c2: #f0b400; border-radius: 70% 20% 70% 20%; transform: rotate(-20deg); }
.hx-sym--blue { --c1: #b8e2ff; --c2: #2f86e0; border-radius: 30%; }
.hx-sym--green { --c1: #b8f5c8; --c2: #22a650; border-radius: 30% 50%; }
.hx-sym--violet { --c1: #dcc0ff; --c2: #7a3ad6; border-radius: 40% 40% 20% 20%; }
.hx-sym--heart { background: none; box-shadow: none; opacity: 1; display: grid; place-items: center; }
.hx-sym--heart::before { content: "\2665"; font-size: clamp(1.15rem, 2.2vw, 1.7rem); line-height: 1; color: #e21b4d;
  text-shadow: 0 2px 0 #9c0b32, 0 0 0 #fff; filter: drop-shadow(0 3px 4px rgba(200, 19, 79, .35)); }
.hx-sym--heart.is-hit { border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 6px #ffd23f; background: radial-gradient(circle, #fff 0 55%, #fff4c7 100%); z-index: 1; }

/* ---------- Home: lollipop key art + pay-anywhere diagram + rainbow bombs ---------- */
.hx-sky { position: relative; margin: 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "lolli pay" "puffs puffs"; align-items: center; gap: 18px 4px; }
.hx-lolli { grid-area: lolli; position: relative; z-index: 2; display: block; width: 100%; margin-right: -18%; }
.hx-lolli::after { content: ""; position: absolute; left: 50%; top: 92%; width: 14px; height: 70px; transform: translateX(-50%); border-radius: 0 0 8px 8px; z-index: -1;
  background: repeating-linear-gradient(160deg, #fff 0 9px, #ff8fc8 9px 18px); box-shadow: 0 6px 12px rgba(36, 18, 63, .25); }
.hx-lolli__img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid #fff;
  box-shadow: 0 0 0 5px #ff8fc8, 0 30px 50px -20px rgba(36, 18, 63, .55); transition: transform .4s ease; }
.hx-sky:hover .hx-lolli__img { transform: rotate(-6deg) scale(1.02); }
.hx-pay { grid-area: pay; position: relative; padding: 14px 14px 10px 30px; border-radius: 26px; background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .95), 0 24px 40px -24px rgba(91, 43, 176, .55); }
.hx-paygrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.hx-pay__cap { margin: 10px 0 0; font-size: .82rem; font-weight: 700; color: var(--hero-muted); text-align: center; }
.hx-pay__cap b { color: var(--hx-red); }
.hx-sky .hx-puffs { grid-area: puffs; justify-content: center; margin-top: 4px; }
.hx-bomb { position: absolute; z-index: 3; display: grid; place-items: center; width: 64px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .95) 0 10%, rgba(255, 255, 255, 0) 32%),
    conic-gradient(from 200deg, #ff4d6d, #ff9f1c, #ffe14d, #3fcf6b, #3aa8ff, #8a4fd0, #ff4d6d);
  box-shadow: inset 0 -6px 10px rgba(36, 18, 63, .3), 0 14px 22px -10px rgba(36, 18, 63, .55); animation: hx-bob 4s ease-in-out infinite; }
.hx-bomb b { padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #24123f; font-size: .82rem; font-weight: 900; line-height: 1.2; }
.hx-bomb__fuse { position: absolute; top: -10px; right: 12px; width: 4px; height: 16px; border-radius: 4px; background: #5d4a7a; transform: rotate(28deg); }
.hx-bomb__fuse::after { content: ""; position: absolute; top: -6px; left: -3px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle, #fff6b0, #ff9f1c 60%, transparent 70%); }
.hx-bomb--a { left: 38%; top: -6%; width: 50px; animation-delay: -1s; }
.hx-bomb--b { right: -2%; top: 36%; width: 58px; animation-delay: -2.2s; }
.hx-bomb--c { left: 4%; bottom: 18%; width: 74px; animation-delay: -.4s; }
.hx-bomb--c b { font-size: .95rem; }
@keyframes hx-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(4deg); } }

/* ---------- Demo: game screen in front of a giant lollipop swirl ---------- */
.hx-swirl { position: relative; width: min(100%, 470px); margin: 0 auto; padding: 34px 0 0; display: flex; flex-direction: column; align-items: center; }
.hx-swirl__disc { position: absolute; top: 0; left: 50%; width: 88%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, #fff 0 9%, transparent 10%), repeating-conic-gradient(from 0deg, #ff6fb5 0 18deg, #fff 18deg 36deg, #8fd2ff 36deg 54deg, #fff 54deg 72deg);
  box-shadow: 0 0 0 8px #fff, 0 26px 50px -24px rgba(36, 18, 63, .5); transition: transform 1.2s ease; }
.hx-swirl:hover .hx-swirl__disc { transform: translateX(-50%) rotate(90deg); }
.hx-swirl__screen { position: relative; z-index: 1; width: 100%; margin-top: 22%; padding: 8px; border-radius: 26px; background: #fff;
  box-shadow: 0 0 0 4px #5b2bb0, 0 30px 50px -22px rgba(36, 18, 63, .6); transform: rotate(-2deg); }
.hx-swirl__img { display: block; width: 100%; height: auto; border-radius: 20px; }
.hx-stick { position: relative; z-index: 2; display: inline-flex; flex-direction: column; align-items: center; margin-top: -18px; text-decoration: none; }
.hx-stick span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 24px; border-radius: 999px; font-weight: 900; color: #24123f;
  background: radial-gradient(circle at 30% 25%, #fffbe0, #ffd23f 50%, #f0b400); box-shadow: 0 5px 0 #9c6f00, 0 14px 22px -8px rgba(36, 18, 63, .4); transition: transform .15s ease; }
.hx-stick::after { content: ""; width: 12px; height: 34px; margin-top: -2px; border-radius: 0 0 6px 6px; background: repeating-linear-gradient(160deg, #fff 0 8px, #ff8fc8 8px 16px); }
.hx-stick:hover { text-decoration: none; }
.hx-stick:hover span { transform: translateY(-2px); }
.hx-plates { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.hx-plates li { padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: 0 6px 14px -8px rgba(36, 18, 63, .4); font-size: .86rem; color: #24123f; }
.hx-plates b { color: var(--hx-red); }

/* ---------- Dusk sky for the variant pages (1000, 2500, Rush) ---------- */
.hx--sb1000, .hx--sb2500 { --hero-ink: #fff; --hero-muted: #f1e7ff;
  background: radial-gradient(ellipse at 78% 20%, #8a4fd0 0%, rgba(138, 79, 208, 0) 55%), linear-gradient(180deg, #1d0e45 0%, #3a1a80 52%, #8a3ca8 82%, #ff8fc8 100%); }
.hx--sb1000 .hx-scene::before, .hx--sb2500 .hx-scene::before { content: ""; position: absolute; inset: 0; opacity: .6;
  background: radial-gradient(circle, #fff 0 1.2px, transparent 2px) 0 0 / 90px 70px, radial-gradient(circle, rgba(255, 255, 255, .7) 0 1px, transparent 1.6px) 40px 30px / 120px 90px; }
.hx--sb1000 .hx-cl, .hx--sb2500 .hx-cl { opacity: .18; }
.hx--sb1000 .hero__text, .hx--sb2500 .hero__text { background: rgba(29, 14, 69, .66); box-shadow: 0 26px 60px -30px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(255, 255, 255, .16); }
.hx--sb1000 h1 .hx-h1a, .hx--sb2500 h1 .hx-h1a { color: #fff; }
.hx--sb1000 h1 em, .hx--sb2500 h1 em { -webkit-text-stroke-color: #c8134f; text-shadow: 0 .07em 0 #7a0a30; }
.hx--sb1000 .hero__note, .hx--sb2500 .hero__note, .hx--sb1000 .badge, .hx--sb2500 .badge { color: #f1e7ff; }

/* Sweet Bonanza 1000: the giant x1.000 bomb next to the official cover */
.hx-boom { position: relative; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "cover bomb" "puffs puffs"; align-items: center; gap: 20px 10px; }
.hx-boom__glow { position: absolute; left: 30%; top: 10%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 63, .45), rgba(255, 143, 200, 0) 65%); z-index: -1; }
.hx-boom__cover { grid-area: cover; justify-self: end; width: min(100%, 250px); height: auto; border-radius: 22px; border: 5px solid #fff; transform: rotate(-6deg);
  box-shadow: 0 30px 50px -18px rgba(0, 0, 0, .65); transition: transform .3s ease; }
.hx-boom:hover .hx-boom__cover { transform: rotate(-3deg) translateY(-8px); }
.hx-bomb--giant { position: relative; grid-area: bomb; width: min(100%, 230px); justify-self: start; animation-duration: 5s; }
.hx-bomb--giant b { font-size: clamp(1.5rem, 3.4vw, 2.3rem); padding: 4px 14px; }
.hx-bomb--giant .hx-bomb__fuse { top: -20px; right: 22%; width: 8px; height: 34px; }
.hx-bomb--giant .hx-bomb__fuse::after { width: 20px; height: 20px; top: -12px; left: -6px; }
.hx-boom .hx-puffs, .hx-jar .hx-puffs { grid-area: puffs; justify-content: center; }

/* Sweet Bonanza 2500: glass tube of multiplier values */
.hx-jar { position: relative; margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "tube cover" "puffs puffs"; align-items: center; justify-content: center; gap: 22px 28px; }
.hx-tube { grid-area: tube; position: relative; width: 150px; height: 330px; padding: 16px 12px; border-radius: 75px 75px 34px 34px;
  background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .7), inset 14px 0 18px -10px rgba(255, 255, 255, .6), 0 26px 40px -20px rgba(0, 0, 0, .6); overflow: hidden; }
.hx-tube__fill { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; border-radius: inherit; opacity: .9;
  background: linear-gradient(0deg, #3fcf6b 0%, #ffe14d 30%, #ff9f1c 55%, #ff4d6d 78%, #b54bff 100%); clip-path: inset(8% 0 0 0 round 0 0 34px 34px); }
.hx-tube ol { position: relative; z-index: 1; height: 100%; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; justify-content: space-between; }
.hx-tube li { display: flex; align-items: center; justify-content: center; }
.hx-tube li::before { content: ""; width: 14px; height: 3px; margin-right: 8px; border-radius: 2px; background: #fff; }
.hx-tube b { min-width: 74px; padding: 3px 8px; border-radius: 999px; background: #fff; color: #24123f; font-size: .9rem; font-weight: 900; text-align: center;
  box-shadow: 0 4px 8px -4px rgba(0, 0, 0, .4); }
.hx-tube li:first-child b { background: #ffd23f; font-size: 1.05rem; }
.hx-jar__cover { grid-area: cover; width: min(100%, 220px); height: auto; border-radius: 20px; border: 5px solid #fff; transform: rotate(5deg); box-shadow: 0 30px 50px -18px rgba(0, 0, 0, .65); }

/* Sweet Rush Bonanza: two halves joined by a seam of sugar drops */
.hx--rush { background: linear-gradient(180deg, #5fbcff 0%, #a9dcff 40%, #ffd0e8 78%, #ffb3da 100%); }
.hx-halves { position: relative; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); grid-template-areas: "a seam b" "puffs puffs puffs"; align-items: stretch; gap: 16px 0; }
.hx-half { position: relative; padding: 30px 12px 12px; border-radius: 24px; background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 3px #fff, 0 22px 36px -22px rgba(36, 18, 63, .5); }
.hx-half--sweet { grid-area: a; }
.hx-half--rush { grid-area: b; background: rgba(255, 240, 248, .85); }
.hx-half__label { position: absolute; top: -12px; left: 12px; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 900; color: #fff; background: var(--hx-violet); }
.hx-half--rush .hx-half__label { background: var(--hx-red); }
.hx-half p { margin: 10px 0 0; font-size: .8rem; font-weight: 800; color: var(--hero-muted); text-align: center; line-height: 1.3; }
.hx-half .hx-paygrid { gap: 4px; }
.hx-half .hx-sym--heart::before { font-size: clamp(.85rem, 1.5vw, 1.15rem); }
.hx-seam { grid-area: seam; align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; font-weight: 900; color: #24123f;
  background: radial-gradient(circle at 30% 25%, #fffbe0, #ffd23f 55%, #f0b400); box-shadow: 0 5px 0 #9c6f00; z-index: 1; }
.hx-rushgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.hx-mark { aspect-ratio: 1; border-radius: 10px; background: #ffe3f0; box-shadow: inset 0 0 0 2px #ffc4e4; }
.hx-mark.is-on { position: relative; background: linear-gradient(180deg, hsl(calc(330 - var(--m) * 14) 85% 60%), hsl(calc(320 - var(--m) * 14) 75% 42%)); box-shadow: 0 0 0 2px #fff, 0 6px 10px -6px rgba(36, 18, 63, .5); }
.hx-mark i { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: clamp(.62rem, 1.1vw, .86rem); color: #fff; text-shadow: 0 1px 2px rgba(36, 18, 63, .7); }
.hx-halves .hx-puffs { grid-area: puffs; justify-content: center; }

/* ---------- Strategies: candy-shop price board ---------- */
.hx-menu { position: relative; margin: 0 auto; max-width: 440px; padding: 26px 24px 20px; border-radius: 26px; color: #fff;
  background: linear-gradient(180deg, #33215c, #24123f); box-shadow: 0 0 0 8px #fff, 0 0 0 12px #ff8fc8, 0 30px 50px -24px rgba(36, 18, 63, .6); transform: rotate(-1.5deg); }
.hx-menu::before { content: ""; position: absolute; left: 50%; top: -34px; width: 70px; height: 26px; transform: translateX(-50%); border-radius: 14px 14px 0 0; border: 5px solid #fff; border-bottom: 0; }
.hx-menu__title { margin: 0 0 14px; text-align: center; font-size: 1.25rem; font-weight: 900; color: #ffd23f; letter-spacing: .02em; }
.hx-menu__rows { margin: 0; display: grid; gap: 12px; }
.hx-menu__rows div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding-bottom: 10px; border-bottom: 2px dashed rgba(255, 255, 255, .22); }
.hx-menu__rows dt { font-weight: 800; }
.hx-menu__rows dd { margin: 0; grid-row: span 2; align-self: center; padding: 4px 12px; border-radius: 999px; background: #ffd23f; color: #24123f; font-weight: 900; font-size: 1.1rem; }
.hx-menu__rows span { font-size: .82rem; color: #e3d8f5; }
.hx-menu figcaption { margin-top: 12px; font-size: .82rem; color: #e3d8f5; text-align: center; }
.hx-menu figcaption b { color: #fff; }

/* ---------- App: phone resting on a cotton-candy cloud ---------- */
.hx-cloudphone { position: relative; width: min(100%, 420px); margin: 0 auto; padding-bottom: 40px; display: flex; justify-content: center; }
.hx-phone { position: relative; z-index: 1; width: 220px; aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 36px; background: linear-gradient(160deg, #5b2bb0, #24123f);
  box-shadow: 0 30px 50px -20px rgba(36, 18, 63, .6), inset 0 0 0 2px rgba(255, 255, 255, .25); transform: rotate(-5deg); }
.hx-phone__notch { position: absolute; top: 16px; left: 50%; width: 60px; height: 8px; transform: translateX(-50%); border-radius: 999px; background: #24123f; z-index: 2; }
.hx-phone__screen { height: 100%; border-radius: 28px; overflow: hidden; background: #8a4fd0; }
.hx-phone__img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }
.hx-cottoncloud { position: absolute; left: 50%; bottom: 6px; width: 300px; height: 70px; transform: translateX(-50%); z-index: 2; border-radius: 999px;
  background: #fff; box-shadow: -96px 10px 0 -8px #ffe3f1, 96px 8px 0 -6px #ffd8ec, -46px -28px 0 0 #fff, 40px -34px 0 6px #ffeef7, 0 18px 24px -10px rgba(36, 18, 63, .25); }
.hx-heart-sticker { position: absolute; right: -6px; top: 14%; z-index: 3; max-width: 160px; margin: 0; padding: 14px 16px; border-radius: 22px 22px 22px 4px;
  background: #fff; color: #24123f; font-size: .82rem; line-height: 1.3; box-shadow: 0 0 0 4px var(--hx-red), 0 18px 30px -14px rgba(36, 18, 63, .5); transform: rotate(5deg); }
.hx-heart-sticker b { display: block; margin-bottom: 2px; color: var(--hx-red); font-size: .95rem; }

/* ---------- Casinos hub: candy jars on a shelf ---------- */
.hx-shelf { position: relative; max-width: 520px; margin: 0 auto; padding-bottom: 18px; }
.hx-jars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; align-items: end; }
.hx-jarcard { position: relative; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #24123f; transition: transform .2s ease; }
.hx-jarcard:hover { text-decoration: none; transform: translateY(-6px); }
.hx-jarcard__lid { width: 70%; height: 18px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #ff6fa8, #c8134f); box-shadow: 0 3px 0 #7a0a30; }
.hx-jarcard__label { position: relative; width: 100%; min-height: 190px; margin-top: -2px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px;
  padding: 16px 8px 14px; border-radius: 18px 18px 26px 26px; text-align: center;
  background: radial-gradient(circle at 25% 20%, #ff8fc8 0 9px, transparent 10px), radial-gradient(circle at 70% 30%, #3fcf6b 0 8px, transparent 9px),
    radial-gradient(circle at 45% 42%, #ffd23f 0 9px, transparent 10px), radial-gradient(circle at 80% 12%, #3aa8ff 0 7px, transparent 8px),
    linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .92));
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .95), inset 10px 0 14px -10px rgba(91, 43, 176, .25), 0 18px 30px -16px rgba(36, 18, 63, .5); }
.hx-jarcard__label .hx-logo { max-width: 86%; max-height: 34px; object-fit: contain; margin-bottom: 4px; }
.hx-jarcard__label strong { font-size: 1rem; }
.hx-jarcard__label span { font-size: .78rem; color: var(--hero-muted); }
.hx-jarcard__label b { color: #24123f; }
.hx-shelf__board { position: absolute; left: -4%; right: -4%; bottom: 0; height: 18px; border-radius: 6px; background: linear-gradient(180deg, #ffc4e4, #e98ab9); box-shadow: 0 10px 18px -8px rgba(36, 18, 63, .4); }
.hx-logo--mono { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hx-violet); color: #fff; font-weight: 900; }

/* ---------- Game + casino: one big jar ---------- */
.hx-bigjar { position: relative; max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hx-bigjar__lid { width: 64%; height: 26px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #ff6fa8, #c8134f); box-shadow: 0 4px 0 #7a0a30; }
.hx-bigjar__glass { width: 100%; margin-top: -2px; padding: 22px 20px 20px; border-radius: 26px 26px 40px 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .94));
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .95), inset 14px 0 18px -12px rgba(91, 43, 176, .3), 0 26px 40px -20px rgba(36, 18, 63, .55); }
.hx-bigjar__brand { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 16px; }
.hx-bigjar__brand .hx-logo { max-width: 130px; max-height: 44px; object-fit: contain; }
.hx-bigjar__x { font-size: 1.4rem; font-weight: 900; color: var(--hx-red); }
.hx-bigjar__game { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px #ff8fc8; }
.hx-bigjar__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.hx-bigjar__rows div { padding: 8px 12px; border-radius: 14px; background: #f3f8ff; box-shadow: inset 4px 0 0 #3aa8ff; }
.hx-bigjar__rows div:nth-child(2) { background: #ffeaf5; box-shadow: inset 4px 0 0 #ff5c9e; }
.hx-bigjar__rows div:nth-child(3) { background: #eafbef; box-shadow: inset 4px 0 0 #3fcf6b; }
.hx-bigjar__rows div:nth-child(4) { background: #fff6d6; box-shadow: inset 4px 0 0 #ffb800; }
.hx-bigjar__rows dt { font-size: .72rem; font-weight: 700; color: var(--hero-muted); }
.hx-bigjar__rows dd { margin: 0; font-size: .92rem; font-weight: 900; color: #24123f; line-height: 1.25; }

/* ---------- Series block on the home page + paytable (custom/series-patch.js) ---------- */
.sx-table .sx-original td { background: #fff6d6; }
.sx-note { margin-top: 10px; }
.sx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 20px 0 0; padding: 0; }
.sx-card { display: grid; grid-template-columns: 74px minmax(0, 1fr) 18px; gap: 12px; align-items: center; height: 100%; padding: 12px; border-radius: 20px;
  background: var(--surface); color: var(--text); text-decoration: none; box-shadow: inset 0 0 0 2px var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.sx-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: inset 0 0 0 2px #ff8fc8, 0 16px 26px -16px rgba(36, 18, 63, .4); }
.sx-card__media { display: grid; place-items: center; height: 90px; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #8fd2ff, #ffc4e4); }
.sx-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sx-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sx-card__body strong { color: var(--ink); }
.sx-card__body span { font-size: .86rem; color: var(--muted); }
.sx-card__go { font-weight: 900; color: var(--primary); }
.sx-rush { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px; }
.sx-rush i { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 7px; font-style: normal; font-size: .64rem; font-weight: 900; color: #fff; background: var(--hx-red, #c8134f); }
.sx-rush i:nth-child(2) { background: #a3149a; } .sx-rush i:nth-child(3) { background: #7a2fc0; } .sx-rush i:nth-child(4) { background: #5b2bb0; }

/* ---------- Variant demo players (custom/player-patch.js) ---------- */
.vx-player .player__cover { overflow: hidden; }
.vx-cover-blur { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(18px) saturate(1.2); opacity: .75; }
.vx-player .player__cover-img { position: relative; height: 100%; width: auto; max-width: 100%; margin: 0 auto; display: block; object-fit: contain; }
.vx-cover-rush { position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; padding: 24px;
  background: linear-gradient(180deg, #8fd2ff, #ffc4e4); }
.vx-cover-rush i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; font-style: normal; font-weight: 900; color: #fff;
  background: linear-gradient(180deg, hsl(calc(330 - var(--i) * 14) 85% 60%), hsl(calc(320 - var(--i) * 14) 75% 42%)); box-shadow: 0 0 0 3px #fff; opacity: .9; }

/* ---------- SEO content blocks (custom/seo-patch.js) ---------- */
.seo-block .intro { max-width: 72ch; }
.seo-pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0 0; }
.seo-pc__col { padding: 18px 20px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); }
.seo-pc__col--pros { box-shadow: inset 0 0 0 2px #bfeccd, inset 6px 0 0 #3fcf6b; }
.seo-pc__col--cons { box-shadow: inset 0 0 0 2px #ffd0e1, inset 6px 0 0 #c8134f; }
.seo-pc__title { margin: 0 0 8px; font-weight: 900; color: var(--ink); }
.seo-pc ul, .seo-check { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.seo-pc li, .seo-check li { position: relative; padding-left: 26px; color: var(--text); line-height: 1.5; }
.seo-pc__col--pros li::before, .seo-check li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 900; color: #fff; background: #1f9a49; margin-top: .2em; }
.seo-pc__col--cons li::before { content: "–"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font-size: .8rem; font-weight: 900; color: #fff; background: #c8134f; margin-top: .2em; }
.seo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.seo-card { padding: 18px 20px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); }
.seo-card:nth-child(2) { background: var(--surface2); }
.seo-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.seo-card p { margin: 0; }
.seo-check__title { margin: 22px 0 10px; font-weight: 900; color: var(--ink); }
.seo-check { margin-top: 14px; }
.seo-steps { counter-reset: seo; margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.seo-steps li { counter-increment: seo; position: relative; padding: 12px 16px 12px 58px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); }
.seo-steps li::before { content: counter(seo); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; color: #24123f; background: radial-gradient(circle at 30% 25%, #fffbe0, #ffd23f 55%, #f0b400); }
.seo-after { margin-top: 16px; }
@media (max-width: 640px) { .seo-pc, .seo-cards { grid-template-columns: 1fr; } }

/* ---------- Site logo (custom/logo-patch.js): lollipop mark + wordmark ---------- */
.logo { gap: 9px; }
.logo .logo__mark { width: 42px; height: 42px; border-radius: 0; filter: drop-shadow(0 3px 4px rgba(91, 43, 176, .25)); transition: transform .25s ease; }
.logo:hover .logo__mark { transform: rotate(-14deg) scale(1.06); }
.logo__word { display: inline-flex; align-items: center; gap: .26em; font-weight: 900; font-size: 1.24rem; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.logo__sweet { color: #24123f; }
.logo__bonanza { color: #ffd23f; -webkit-text-stroke: .16em #5b2bb0; paint-order: stroke fill; text-shadow: 0 .09em 0 #3b1a80; }
@supports not (paint-order: stroke) { .logo__bonanza { -webkit-text-stroke: 0; color: #c8134f; text-shadow: none; } }
.logo__tag { margin-left: .1em; padding: .3em .55em .32em; border-radius: 999px; background: #c8134f; color: #fff; font-size: .54em; letter-spacing: .02em; text-transform: lowercase;
  box-shadow: 0 2px 0 #7a0a30; transform: rotate(-6deg) translateY(-.3em); }
.logo:hover { text-decoration: none; }
.footer__brand .logo__word { font-size: 1.15rem; }
@media (max-width: 480px) {
  .logo .logo__mark { width: 36px; height: 36px; }
  .logo__word { font-size: 1.02rem; }
  .logo .logo__sweet, .logo .logo__tag { display: none; }
}
@media (prefers-reduced-motion: reduce) { .logo .logo__mark { transition: none; } .logo:hover .logo__mark { transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hx .hero__inner--split { grid-template-columns: 1fr; }
  .hx .hero__text { border-radius: 28px; }
  .hx-sky { max-width: 480px; margin: 0 auto; }
  .hx-boom, .hx-jar, .hx-halves { max-width: 480px; margin: 0 auto; }
  .sx-cards { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hx h1 { font-size: clamp(1.75rem, 8.4vw, 2.2rem); }
  .hx h1.hx-h1--long { font-size: clamp(1.6rem, 7.4vw, 2rem); }
  .hx .hero__lead { font-size: 1rem; }
  .hx .hero__stats .stat, .hx-puff { padding: 7px 14px 7px 18px; }
  .hx-sky { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 14px 0; }
  .hx-pay { padding: 10px 8px 8px 22px; }
  .hx-paygrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .hx-sym--far { display: none; }
  .hx-lolli::after { height: 44px; width: 10px; }
  .hx-bomb--a { width: 40px; } .hx-bomb--b { width: 44px; right: -4px; } .hx-bomb--c { width: 54px; bottom: 30%; }
  .hx-bomb b { font-size: .7rem; padding: 1px 5px; }
  .hx-bomb--c b { font-size: .78rem; }
  .hx-half .hx-paygrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hx-halves { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); }
  .hx-half { padding: 26px 7px 8px; }
  .hx-half__label { font-size: .7rem; padding: 3px 9px; left: 6px; }
  .hx-seam { width: 32px; height: 32px; font-size: 1.2rem; }
  .hx-tube { width: 118px; height: 270px; }
  .hx-tube b { min-width: 62px; font-size: .78rem; }
  .hx-jar { gap: 18px 16px; }
  .hx-phone { width: 180px; }
  .hx-heart-sticker { right: 0; max-width: 128px; font-size: .74rem; padding: 10px 12px; }
  .hx-jars { gap: 8px; }
  .hx-jarcard__label { min-height: 160px; padding: 12px 4px 10px; }
  .hx-jarcard__label strong { font-size: .9rem; }
  .hx-jarcard__label span { font-size: .7rem; }
  .hx-bigjar__rows { grid-template-columns: 1fr; }
  .hx-bigjar__game { width: 64px; height: 64px; }
  .hx-menu { padding: 22px 16px 16px; }
  .sx-card { grid-template-columns: 70px minmax(0, 1fr) 18px; }
  .sx-card__media { height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-bomb { animation: none; }
  .hx .btn, .header-play__btn, .hx-stick span, .hx-jarcard, .sx-card, .hx-lolli__img, .hx-swirl__disc, .hx-boom__cover { transition: none; }
  .hx .btn:hover, .header-play__btn:hover, .hx-jarcard:hover, .sx-card:hover, .hx-stick:hover span { transform: none; }
  .hx-sky:hover .hx-lolli__img { transform: none; }
  .hx-swirl:hover .hx-swirl__disc { transform: translateX(-50%); }
  .hx-boom:hover .hx-boom__cover { transform: rotate(-6deg); }
}
