/* Home — hero slider, departures, wheel arch moved from the approved mockup;
 * jackpot cards, promotions, banking, mobile, RG band, regulatory block are new,
 * built from the same tokens and components. */

/* ================= HERO ================= */
.hero { margin-top: calc(var(--hdr-h) * -1); }
.slider { position: relative; height: clamp(500px, 62vh, 640px); overflow: hidden; background: var(--surface-0); touch-action: pan-y; user-select: none; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.3s var(--ease); }
.slide picture, .slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide img { object-fit: cover; transform-origin: var(--o, 60% 40%); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide.is-leaving { opacity: 0; z-index: 0; }
.slide.is-active img, .slide.is-leaving img { animation: kb 9s linear forwards; }
.slider__shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(0deg, rgb(16 24 39 / 1) 0%, rgb(16 24 39 / .82) 22%, rgb(16 24 39 / .25) 58%, rgb(16 24 39 / .45) 100%),
    linear-gradient(90deg, rgb(16 24 39 / .82) 0%, rgb(16 24 39 / .35) 48%, transparent 75%); }
.hero__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding-bottom: clamp(36px, 5vw, 56px); display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero__copy { max-width: 700px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 0 14px 0 10px; border-radius: var(--r-pill); background: rgb(11 17 29 / .6); box-shadow: 0 0 0 1px var(--hair-2) inset; backdrop-filter: blur(8px); font: 500 .8rem/1 var(--font-body); color: var(--color-text-2); margin-bottom: 22px; }
.hero__eyebrow .pill { height: 22px; }
.hero__eyebrow [data-cap] { transition: opacity .4s var(--ease); }
.hero h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--color-brand); }
.hero__copy p { margin-top: 18px; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--color-text-2); max-width: 540px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.sl-ctrl { display: flex; align-items: center; gap: 14px; flex: none; }
.sl-ctrl__btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgb(11 17 29 / .55); border: 1px solid var(--hair-2); backdrop-filter: blur(8px); color: var(--color-text); transition: border-color var(--dur), background var(--dur), transform var(--dur) var(--ease), color var(--dur); }
.sl-ctrl__btn:hover { border-color: var(--color-brand); color: var(--color-brand); transform: translateY(-2px); }
.stations { display: flex; align-items: center; width: 260px; }
.station { position: relative; flex: 1; height: 44px; display: flex; align-items: center; }
.station::before { content: ""; position: absolute; left: 12px; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgb(255 255 255 / .2); border-radius: 2px; }
.station i { position: absolute; left: 12px; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--color-brand); transform-origin: left; transform: scaleX(var(--p, 0)); border-radius: 2px; }
.station b { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: var(--surface-0); border: 2px solid rgb(255 255 255 / .5); transition: border-color .3s, background .3s, transform .3s var(--ease-spring); }
.station.is-past b { border-color: var(--color-brand); background: var(--color-brand); }
.station.is-active b { border-color: var(--color-brand); background: var(--surface-0); transform: scale(1.35); box-shadow: 0 0 0 5px var(--tint-gold); }
.station.is-past i { transform: scaleX(1); }
.sl-count { font: 600 .8rem/1 var(--font-body); color: var(--color-text-2); font-variant-numeric: tabular-nums; min-width: 44px; letter-spacing: .04em; }
.sl-count b { color: var(--color-text); font-weight: 700; }

/* departures */
.departures { position: relative; padding: 8px 0 clamp(56px, 7vw, 96px); background: radial-gradient(60% 80% at 50% 0%, color-mix(in oklch, var(--color-brand) 7%, transparent), transparent 70%); }
.dep__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.dep__head h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.025em; margin-top: 12px; }
.tickets { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }

/* ================= SECTIONS ================= */
.seg--mt { margin-top: 32px; }
.gcards--mt { margin-top: 24px; }
.gcards--5 { grid-template-columns: repeat(5, minmax(0,1fr)); margin-top: 24px; }
.track--games { grid-auto-columns: calc((100% - 72px) / 5); }
.track--rw { margin-top: 22px; grid-auto-columns: calc((100% - 18px) / 2.15); }
.rw-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

/* jackpot cards (name, provider, jackpot type, details — no amounts) */
.jp-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.jp { position: relative; display: flex; gap: 16px; padding: 12px; border-radius: var(--r-md); background: linear-gradient(160deg, var(--surface-3), var(--surface-2) 55%, var(--surface-1)); box-shadow: var(--sh-2), 0 0 0 1px var(--hair) inset; transition: transform .35s var(--ease), box-shadow .35s; }
.jp:hover { transform: translateY(-4px); box-shadow: var(--sh-3), 0 0 0 1px var(--hair-gold) inset; }
.jp img { width: 128px; height: 128px; border-radius: 10px; object-fit: cover; flex: none; align-self: center; }
.jp__body { min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 4px 4px 2px 0; }
.jp h3 { font-size: 1.02rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.jp__dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; font-size: .78rem; }
.jp__dl dt { color: var(--color-text-3); }
.jp__dl dd { margin: 0; color: var(--color-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jp__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.jp__acts .btn { --h: 36px; padding: 0 12px; font-size: .78rem; }

/* wheel arch (from mockup) */
.wheel { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.arch-wrap { width: 100%; max-width: 440px; container-type: inline-size; position: relative; }
.arch { position: relative; aspect-ratio: 4/5.3; border-radius: 50cqw 50cqw var(--r-lg) var(--r-lg) / 50cqw 50cqw var(--r-lg) var(--r-lg); overflow: hidden; box-shadow: var(--sh-3), 0 0 0 1px var(--hair-2) inset; background: var(--surface-0); }
.arch > picture, .arch > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.arch > picture img { object-fit: cover; object-position: 46% 52%; }
.arch__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgb(11 17 29 / .96) 6%, rgb(11 17 29 / .62) 44%, rgb(11 17 29 / .05) 70%), radial-gradient(70% 50% at 50% 30%, transparent, rgb(11 17 29 / .4)); }
.arch__line { position: absolute; inset: 10px; z-index: 2; pointer-events: none; border: 1px solid var(--hair-gold); border-radius: calc(50cqw - 10px) calc(50cqw - 10px) 14px 14px / calc(50cqw - 10px) calc(50cqw - 10px) 14px 14px; }
.arch__line::before { content: ""; position: absolute; inset: 6px; border: 1px solid color-mix(in oklch, var(--color-brand) 22%, transparent); border-radius: calc(50cqw - 16px) calc(50cqw - 16px) 10px 10px / calc(50cqw - 16px) calc(50cqw - 16px) 10px 10px; }
.arch__key { position: absolute; top: 10px; left: 50%; z-index: 3; transform: translate(-50%,-50%) rotate(45deg); width: 12px; height: 12px; background: var(--color-brand); box-shadow: 0 0 0 4px var(--surface-0); }
.arch__body { position: absolute; left: 30px; right: 30px; bottom: 30px; z-index: 3; }
.arch__title { margin-top: 12px; font-size: 1.65rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.arch__body p { margin-top: 8px; font-size: .88rem; color: var(--color-text-2); }
.arch__body .btn { margin-top: 18px; }
.dial { position: absolute; right: -26px; top: 36%; z-index: 5; width: 118px; height: 118px; }
.dial__disc { width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle, var(--surface-0) 0 15%, transparent 15.5%), repeating-conic-gradient(from 0deg, var(--color-brand) 0 30deg, var(--surface-3) 30deg 60deg, var(--color-accent) 60deg 90deg, var(--surface-2) 90deg 120deg);
  box-shadow: 0 0 0 4px var(--surface-0), 0 0 0 5px var(--hair-gold), var(--sh-3); transition: transform 3.2s cubic-bezier(.12,.72,.08,1); animation: idle 40s linear infinite; }
.dial__disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgb(11 17 29 / .9) 0 .8deg, transparent .8deg 30deg); }
.dial__pin { position: absolute; top: -10px; left: 50%; margin-left: -8px; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 14px solid var(--color-text); z-index: 2; filter: drop-shadow(0 2px 2px rgb(0 0 0 / .5)); }
.dial__hub { position: absolute; inset: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: var(--color-brand); box-shadow: 0 0 0 3px var(--surface-0); }
@keyframes idle { to { transform: rotate(360deg); } }
.streak { width: 100%; max-width: 440px; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface-1); box-shadow: var(--sh-1), 0 0 0 1px var(--hair) inset; }
.streak__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .8rem; color: var(--color-text-2); }
.streak__head b { font: 700 .9rem/1.2 var(--font-head); color: var(--color-text); }

/* promotions */
.promo-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.promo { position: relative; min-height: 300px; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: flex-end; box-shadow: var(--sh-3), 0 0 0 1px var(--hair) inset; isolation: isolate; }
.promo--lead { grid-row: span 2; min-height: 560px; }
.promo > picture, .promo > picture img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.promo > picture img { object-fit: cover; transition: transform 1.4s var(--ease); }
.promo:hover > picture img { transform: scale(1.06); }
.promo__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(11 17 29 / .97) 10%, rgb(11 17 29 / .75) 50%, rgb(11 17 29 / .25)); }
.promo__body { position: relative; z-index: 4; padding: clamp(22px, 3vw, 34px); display: grid; gap: 12px; justify-items: start; }
.promo h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; }
.promo p { color: var(--color-text-2); font-size: .92rem; max-width: 520px; }
.promo .rt__dl { max-width: 520px; }

/* banking */
.pay-logos { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 28px; }
.pay-logo { height: 52px; min-width: 96px; padding: 0 16px; border-radius: var(--r-md); display: grid; place-items: center; background: #fff; box-shadow: var(--sh-1); }
.pay-logo img { height: 26px; width: auto; max-width: 84px; object-fit: contain; }
.bank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bank { padding: 22px; border-radius: var(--r-md); background: linear-gradient(170deg, var(--surface-2), var(--surface-1)); box-shadow: var(--sh-1), 0 0 0 1px var(--hair) inset; }
.bank .tkt__ico { margin-top: 0; }
.bank h3 { margin-top: 16px; font-size: 1.05rem; font-weight: 800; letter-spacing: -.015em; }
.bank p { margin-top: 8px; font-size: .88rem; color: var(--color-text-2); }

/* mobile: route list */
.frame--phone { min-height: 520px; }
.route-list { list-style: none; padding: 0 0 0 28px; margin: 28px 0 0; position: relative; display: grid; gap: 20px; }
.route-list::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--color-brand), var(--hair-gold), transparent); }
.route-list li { position: relative; display: flex; gap: 14px; }
.route-list li::before { content: ""; position: absolute; left: -28px; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--color-bg); border: 2px solid var(--color-brand); }
.route-list__ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--color-accent); background: var(--tint-teal); }
.route-list h3 { font-size: 1.02rem; font-weight: 800; letter-spacing: -.015em; }
.route-list p { margin-top: 4px; font-size: .9rem; color: var(--color-text-2); }

/* responsible gambling band */
.rg-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(72px, 9vw, 128px); }
.rg-band > picture, .rg-band > picture img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.rg-band > picture img { object-fit: cover; object-position: 50% 60%; }
.rg-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(16 24 39 / .96) 0%, rgb(16 24 39 / .86) 55%, rgb(16 24 39 / .7) 100%); }
.rg-band__in { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rg-band h2 { margin-top: 18px; font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.035em; }
.rg-band p { margin-top: 14px; max-width: 560px; color: var(--color-text-2); font-size: 1.05rem; }
.rg-tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rg-tools li { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px; border-radius: var(--r-md); background: rgb(11 17 29 / .6); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px var(--hair-2) inset; font: 600 .9rem/1.2 var(--font-body); }
.rg-tools .icon { color: var(--color-accent); }

/* regulatory */
.reg { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.reg__title { margin-top: 14px; font-size: 1.6rem; font-weight: 800; letter-spacing: -.025em; }
.reg__text { margin-top: 12px; color: var(--color-text-2); font-size: .95rem; }
.reg__dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 24px; }
.reg__dl dt { font: 700 .6875rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--color-text-3); }
.reg__dl dd { margin: 6px 0 0; font-size: .9rem; color: var(--color-text); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1180px) {
  .tickets { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gcards--5 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .track--games { grid-auto-columns: calc((100% - 54px) / 4); }
  .jp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 1040px) {
  .zz--pr .wheel { order: 2; }
  .gcards--5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .track--games { grid-auto-columns: calc((100% - 36px) / 3); }
  .promo-grid { grid-template-columns: minmax(0,1fr); }
  .promo--lead { grid-row: auto; min-height: 420px; }
  .rg-band__in, .reg { grid-template-columns: minmax(0,1fr); }
  .frame--phone { min-height: 0; }
}
@media (max-width: 760px) {
  .slider { height: 640px; display: flex; flex-direction: column; justify-content: flex-end; }
  .slider__shade { background: linear-gradient(0deg, rgb(16 24 39 / 1) 0%, rgb(16 24 39 / .88) 34%, rgb(16 24 39 / .3) 66%, rgb(16 24 39 / .55) 100%); }
  .hero__bar { position: static; flex-direction: column; align-items: stretch; padding-bottom: 28px; gap: 0; }
  .hero__copy { position: relative; z-index: 3; }
  .sl-ctrl { position: absolute; z-index: 4; top: calc(var(--hdr-h) + 14px); left: var(--gutter); right: var(--gutter); justify-content: space-between; gap: 8px; }
  .sl-ctrl__btn { width: 44px; height: 44px; }
  .stations { flex: 1; width: auto; }
  .sl-count { display: none; }
  .hero h1 { font-size: 2.45rem; }
  .hero__eyebrow { font-size: .74rem; margin-bottom: 16px; }
  .hero__btns { flex-direction: column; align-items: stretch; }
  .hero__btns .btn { width: 100%; }
  .dep__head { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 20px; }
  .dep__head .search { width: 100%; }
  .search kbd { display: none; }
  .tickets { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 22px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .tickets::-webkit-scrollbar { display: none; }
  .tkt { flex: 0 0 300px; scroll-snap-align: start; }
  .marquee__label { display: none; }
  .gcards--5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gcards--mt { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .gcards--mt::-webkit-scrollbar { display: none; }
  .gcards--mt .gc { flex: 0 0 66%; scroll-snap-align: start; }
  .track--games { grid-auto-columns: 62%; }
  .track--rw { grid-auto-columns: 86%; }
  .rw-tools { flex-direction: column; align-items: stretch; }
  .jp-grid { grid-template-columns: minmax(0,1fr); }
  .jp img { width: 104px; height: 104px; }
  .dial { width: 92px; height: 92px; right: -6px; top: 30%; }
  .arch__body { left: 22px; right: 22px; bottom: 24px; }
  .arch__body .btn { width: 100%; }
  .bank-grid { grid-template-columns: minmax(0,1fr); }
  .rg-tools { grid-template-columns: 1fr 1fr; }
  .rg-band .hero__btns .btn { white-space: normal; height: auto; min-height: 52px; padding-block: 12px; text-align: center; }
}
@media (max-width: 389px) {
  .hero h1 { font-size: 2.1rem; }
  .tkt { flex-basis: 270px; }
  .jp { flex-direction: column; }
  .jp img { width: 100%; height: auto; aspect-ratio: 1; max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .dial__disc { animation: none; }
}
