/* ==========================================================================
   SpadegamingMY: Digital Playground design system
   Bold / playful / art-directed. Logo-derived palette on off-white paper.
   ========================================================================== */

/* ---------- fonts: self-hosted, latin subset (no requests to Google) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/inter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --gold: #BD9A61;
  --red: #BA1218;
  --bg: #F2F2EE;
  --paper-2: #E9E5DA;
  --ink: #161616;
  --ink-70: rgba(22, 22, 22, .7);
  --ink-45: rgba(22, 22, 22, .45);
  --line: rgba(22, 22, 22, .16);
  --cream: #F2F2EE;

  --display: 'Space Grotesk', var(--body);
  --body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.16, .84, .44, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

svg {
  display: block;
}

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

@media(min-width:900px) {
  .wrap {
    padding: 0 56px;
  }
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.35;
}

p {
  margin: 0 0 14px;
  color: var(--ink-70);
  max-width: 56ch;
}

p:last-child {
  margin-bottom: 0;
}

/* ---------- utility ---------- */
.mono {
  font-family: var(--mono);
}

.accent {
  color: var(--red);
}

.accent-gold {
  color: var(--gold);
}

/* ---------- icon utility ---------- */
.icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
  flex: none;
}

.icon-lg {
  width: 1.6em;
  height: 1.6em;
}

.icon-warning {
  color: var(--gold);
}

.icon-cross {
  color: var(--red);
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px) rotate(var(--r, 0));
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* hover text swap (stacked-span roll) */
.roll {
  display: inline-block;
  overflow: hidden;
  position: relative;
  height: 1.3em;
  vertical-align: top;
}

.roll span {
  display: block;
  transition: transform .35s var(--ease);
}

.roll span::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--red);
}

.roll:hover span {
  transform: translateY(-100%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--ink);
  color: var(--bg);
  border: 2px solid var(--ink);
  font-family: var(--display);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 6px 6px 0 var(--gold);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}

.btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--gold);
}

.btn-outline {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--red);
}

.btn-outline:hover {
  box-shadow: 3px 3px 0 var(--red);
}

.btn-small {
  padding: 11px 20px;
  font-size: .8rem;
  box-shadow: 4px 4px 0 var(--gold);
}

.btn-small:hover {
  box-shadow: 2px 2px 0 var(--gold);
}

.btn-block {
  width: 100%;
}

.section--dark .btn-outline {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
  box-shadow: 6px 6px 0 var(--gold);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  mix-blend-mode: normal;
}

@media(max-width:899px) {
  .site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
}

@media(min-width:900px) {
  .site-header {
    padding: 28px 56px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 38px;
  width: auto;
}

@media(max-width:899px) {
  .brand img {
    height: 26px;
  }
}

.site-nav {
  display: none;
  align-items: center;
  gap: 4px;
  background: var(--bg);
  border: 2px solid var(--ink);
  padding: 6px;
}

@media(min-width:900px) {
  .site-nav {
    display: flex;
  }
}

.site-nav a {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 9px 16px;
  color: var(--ink-70);
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--ink);
  color: var(--bg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

@media(max-width:899px) {
  .header-actions {
    gap: 8px;
  }
}

.header-cta {
  display: inline-flex;
}

@media(max-width:899px) {
  .header-cta {
    padding: 9px 13px;
    font-size: .72rem;
  }
}

.btn-attract {
  animation: btn-attract 1.6s ease-in-out infinite;
}

.btn-attract:hover,
.btn-attract:focus-visible {
  animation-play-state: paused;
}

@keyframes btn-attract {

  0%,
  82%,
  100% {
    transform: translate(0, 0) rotate(0);
    box-shadow: 4px 4px 0 var(--gold);
  }

  86% {
    transform: translate(-2px, -2px) rotate(-3deg);
    box-shadow: 6px 6px 0 var(--gold);
  }

  90% {
    transform: translate(2px, -2px) rotate(3deg);
  }

  94% {
    transform: translate(-1px, -1px) rotate(-2deg);
  }

  98% {
    transform: translate(0, 0) rotate(0);
  }
}

@media(prefers-reduced-motion:reduce) {
  .btn-attract {
    animation: none;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--bg);
  border: 2px solid var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

@media(min-width:900px) {
  .nav-toggle {
    display: none;
  }
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  padding: 24px 32px;
  transform: translateY(-100%);
  transition: transform .4s var(--ease);
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--bg);
  padding: 6px 0;
}

.mobile-nav a:hover {
  color: var(--gold);
}

@media(min-width:900px) {
  .mobile-nav {
    display: none;
  }
}

/* breadcrumbs */
.crumbs {
  padding: 104px 24px 0;
}

@media(min-width:900px) {
  .crumbs {
    padding: 120px 56px 0;
  }
}

.crumbs .inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.crumbs a:hover {
  color: var(--red);
}

.crumbs .current {
  color: var(--ink);
}

/* ---------- scenes (generic section wrapper) ---------- */
.scene {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

/* @media(min-width:900px) {
  .scene {
    padding: 150px 0;
  }
} */

@media(max-width:899px) {
  .scene {
    padding: 64px 0;
  }

  /* a section with a decor character gets a little more room under the content for it (see .decor-char) */
  .scene:has(> .decor-char) {
    padding-bottom: 112px;
  }

  /* these two sit right under a paragraph, so their size is capped by the room below the text */
  .scene:has(> .decor-dolphin--games, > .decor-warrior) {
    padding-bottom: 128px;
  }

  /* a trailing margin on the last block would stack on top of the section padding */
  .scene .wrap > :last-child {
    margin-bottom: 0;
  }
}

.section--brand {
  background: var(--gold);
  color: var(--ink);
}

.section--dark {
  background: var(--ink);
  color: var(--bg);
}

.section--dark p {
  color: rgba(242, 242, 238, .72);
}

.section--paper2 {
  background: var(--paper-2);
}

/* ---------- hero ---------- */
.hero {
  display: flex;
  align-items: center;
  position: relative;
  padding: 150px 0 50px;
}

/* .hero.hero--crumbs {
  padding: 120px 0 30px;
} */

@media(max-width:899px) {
  .hero {
    padding: 100px 0 50px;
  }

  .hero.hero--crumbs {
    padding: 130px 0 40px;
  }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media(min-width:960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
  }
}

.hero-headline {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-headline h1 {
  margin-bottom: 0;
}

.hero-headline h1 .line2 {
  color: var(--red);
}

.hero .sub {
  /* font-size: 1.1rem; */
  max-width: 44ch;
  margin: 26px 0 34px;
}

.hero-ctas {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media(max-width:899px) {
  .hero .hero-ctas {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero .hero-ctas .btn {
    padding-left: 14px;
    padding-right: 14px;
    font-size: .78rem;
  }
}

.hero-facts {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 30px;
  max-width: 620px;
  position: relative;
  z-index: 2;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hero-facts::-webkit-scrollbar {
  display: none;
}

.hero-facts .fact {
  flex: none;
  white-space: nowrap;
  padding: 4px 18px;
  border-left: 1px solid var(--line);
  font-size: .85rem;
  color: var(--ink-70);
}

.hero-facts .fact:first-child {
  padding-left: 0;
  border-left: none;
}

.hero-visual {
  position: relative;
  width: 100%;
}

@media(max-width:900px) {
  .hero-headline {
    order: 2;
  }

  .hero-visual {
    order: 1;
    width: 100%;
    margin-top: 0;
    margin-bottom: 32px;
  }

  /* homepage hero (no breadcrumbs): the grid gap alone is enough space between image and H1 */
  .hero:not(.hero--crumbs) .hero-visual {
    margin-bottom: 0;
  }
}

.hero-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--bg);
  padding: 50px;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), filter .8s cubic-bezier(.22, 1, .36, 1);
}

.hero-layer .card-face {
  width: 100%;
  height: 100%;
  border: 2px solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: var(--ink);
}

.hero-layer .card-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-layer .pip {
  position: absolute;
  z-index: 2;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  text-align: center;
  color: var(--ink);
  pointer-events: none;
}

.hero-layer .pip-tl {
  top: 12px;
  left: 13px;
}

.hero-layer .pip-br {
  bottom: 12px;
  right: 13px;
  transform: rotate(180deg);
}

.hero-layer .pip .glyph {
  display: block;
  font-size: 2rem;
  margin-top: 1px;
}

.hero-layer .pip.suit-heart,
.hero-layer .pip.suit-diamond {
  color: var(--red);
}

.hero-layer .pip.suit-club {
  color: var(--gold);
}

.hero-layer.l3 {
  transform: rotate(-11deg) translate(-9%, 7%);
  z-index: 1;
  transition-delay: .12s;
  filter: brightness(.5);
}

.hero-layer.l2 {
  transform: rotate(9deg) translate(8%, -5%);
  z-index: 2;
  transition-delay: .06s;
  filter: brightness(.72);
}

.hero-layer.l1 {
  transform: rotate(-2deg);
  z-index: 3;
  transition-delay: 0s;
  filter: brightness(1);
}

.hero-visual:hover .hero-layer.l3 {
  transform: rotate(-16deg) translate(-14%, 11%);
}

.hero-visual:hover .hero-layer.l2 {
  transform: rotate(13deg) translate(12%, -8%);
}

.hero-visual:hover .hero-layer.l1 {
  transform: rotate(0deg);
}

@media(max-width:900px) {
  .hero-layer {
    padding: clamp(18px, 5.5vw, 32px);
  }

  .hero-layer .pip-tl {
    top: clamp(5px, 1.5vw, 10px);
    left: clamp(5px, 1.5vw, 10px);
  }

  .hero-layer .pip-br {
    bottom: clamp(5px, 1.5vw, 10px);
    right: clamp(5px, 1.5vw, 10px);
  }

  .hero-layer .pip {
    font-size: clamp(.85rem, 3.2vw, 1.3rem);
  }

  .hero-layer .pip .glyph {
    font-size: clamp(.8rem, 3vw, 1.2rem);
  }
}

/* ---------- demo hero: browser-frame mockup + stamp ---------- */
.demo-frame {
  border: 2px solid var(--ink);
  background: var(--bg);
  box-shadow: 10px 10px 0 var(--gold);
  transform: rotate(-2deg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.hero-visual:hover .demo-frame {
  transform: rotate(0deg);
  box-shadow: 6px 6px 0 var(--gold);
}

.hero-frame-demo {
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--red);
  transform: rotate(2deg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.hero-visual:hover .hero-frame-demo {
  transform: rotate(0deg);
  box-shadow: 6px 6px 0 var(--red);
}

.demo-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 2px solid var(--ink);
}

.demo-frame-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
  background: var(--ink-45);
}

.demo-frame-bar .dot:nth-child(1) {
  background: var(--red);
}

.demo-frame-bar .dot:nth-child(2) {
  background: var(--gold);
}

.demo-frame-url {
  margin-left: 8px;
  flex: 1;
  font-family: var(--mono);
  font-size: .65rem;
  color: var(--ink-45);
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 4px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-frame-screen {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.demo-frame-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.demo-screen-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease;
}

.demo-screen-img.is-active {
  opacity: 1;
  z-index: 2;
}

/* ---------- games hero: scattered catalogue tiles ---------- */
.hero-visual-games {
  width: min(440px, 40vw);
}

@media(max-width:900px) {
  .hero-visual-games {
    width: 100%;
  }
}

/* ---------- demo hero: browser-frame mockup ---------- */

.catalogue-grid {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
}

.cat-tile {
  position: absolute;
  aspect-ratio: 1/1;
  border: 2px solid var(--ink);
  background: var(--bg);
  overflow: hidden;
  animation: cat-float 5s ease-in-out infinite;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), z-index 0s;
}

.cat-tile:hover {
  z-index: 5 !important;
  transform: rotate(0deg) scale(1.06) !important;
  box-shadow: 8px 8px 0 var(--gold);
}

.cat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.cat-img.is-active {
  opacity: 1;
  z-index: 1;
}

.cat-tile .cat-no {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .06em;
  padding: 3px 7px;
}

.cat-tile.t1 {
  width: 46%;
  top: 2%;
  left: 4%;
  z-index: 2;
  transform: rotate(-6deg);
  box-shadow: 6px 6px 0 var(--gold);
  animation-delay: 0s;
}

.cat-tile.t2 {
  width: 44%;
  top: 0;
  left: 52%;
  z-index: 1;
  transform: rotate(5deg);
  box-shadow: 6px 6px 0 var(--red);
  animation-delay: .6s;
}

.cat-tile.t3 {
  width: 44%;
  top: 50%;
  left: 2%;
  z-index: 1;
  transform: rotate(4deg);
  box-shadow: 6px 6px 0 var(--red);
  animation-delay: 1.2s;
}

.cat-tile.t4 {
  width: 48%;
  top: 48%;
  left: 48%;
  z-index: 2;
  transform: rotate(-4deg);
  box-shadow: 6px 6px 0 var(--gold);
  animation-delay: 1.8s;
}

@keyframes cat-float {

  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -8px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .cat-tile {
    animation: none;
  }
}

/* ---------- rtp guide hero: jackpot readout ---------- */
.rtp-hero {
  position: relative;
  padding: 150px 0 50px;
  overflow: hidden;
}

@media(max-width:899px) {
  .rtp-hero {
    padding: 130px 0 40px;
  }
}

.rtp-hero-suits {
  opacity: .1;
}

.rtp-hero-crumbs .inner {
  color: rgba(242, 242, 238, .5);
}

.rtp-hero-crumbs a:hover {
  color: var(--gold);
}

.rtp-hero-crumbs .current {
  color: var(--bg);
}

.rtp-hero-wrap {
  position: relative;
  z-index: 2;
}

.rtp-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin: 30px 0 40px;
}

@media(min-width:760px) {
  .rtp-hero-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }
}

.rtp-hero-intro {
  max-width: 640px;
}

.rtp-hero-intro h1 {
  margin: 16px 0 0;
}

.rtp-hero-intro .sub {
  margin: 18px 0 0;
  max-width: 48ch;
  font-size: 1.05rem;
}

.rtp-readout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--bg);
  border: 2px solid var(--bg);
  box-shadow: 10px 10px 0 var(--gold);
  transform: rotate(-1deg);
}

@media(min-width:760px) {
  .rtp-readout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.rtp-readout-stat {
  background: var(--ink);
  padding: 36px 32px;
  border-bottom: 2px solid var(--bg);
}

@media(min-width:760px) {
  .rtp-readout-stat {
    border-bottom: none;
    border-right: 2px solid var(--bg);
  }
}

.rtp-gauge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.rtp-gauge-value {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1;
}

.rtp-num {
  font-size: clamp(3.2rem, 8vw, 5rem);
  color: var(--bg);
}

.rtp-gauge-value .pct {
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  color: var(--red);
  margin-left: 4px;
}

.rtp-caption {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(242, 242, 238, .5);
}

.rtp-track {
  width: 100%;
  height: 6px;
  background: rgba(242, 242, 238, .15);
}

.rtp-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transition: width 1.6s var(--ease);
}

.rtp-gauge.is-visible .rtp-fill {
  width: 96%;
}

.rtp-readout-list {
  list-style: none;
  margin: 0;
  padding: 10px 28px;
  color: var(--ink);
}

.rtp-readout-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.rtp-readout-list li:last-child {
  border-bottom: none;
}

.rtp-readout-list img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 2px solid var(--ink);
  flex: none;
}

.rtp-readout-list span {
  flex: 1;
  font-size: .9rem;
}

.rtp-readout-list strong {
  font-family: var(--mono);
  font-size: .85rem;
  color: var(--red);
}

.rtp-hero-facts {
  margin-top: 40px;
  border-top-color: rgba(242, 242, 238, .2);
}

.rtp-hero-facts .fact {
  color: rgba(242, 242, 238, .75);
  border-left-color: rgba(242, 242, 238, .2);
}

.hero-suits-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .07;
  pointer-events: none;
  user-select: none;
}

@media(max-width:899px) {
  .hero-suits-rect {
    fill: url(#heroSuitTileSm);
  }
}

/* draggable */
.draggable {
  cursor: grab;
  touch-action: none;
}

.draggable:active {
  cursor: grabbing;
}

/* ---------- split scene (text + rotated image) ---------- */
.split-scene {
  display: grid;
  gap: 60px;
  position: relative;
  z-index: 1;
}

@media(min-width:900px) {
  .split-scene {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.split-scene .copy {
  position: relative;
}

.split-scene .visual {
  position: relative;
}

.split-scene .visual img {
  width: 80%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 2px solid var(--ink);
}

@media(min-width:900px) {
  .split-scene .visual img {
    margin-left: 12%;
  }
}

/* hero-stack reused inside the split-scene visual slot */
.split-scene .visual .hero-stack {
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  margin-right: 10%;
}

@media(max-width:899px) {
  .split-scene .visual .hero-stack {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }
}

.split-scene .visual .hero-stack .card-face img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border: none;
  margin-left: 0;
}

/* ---------- horizontal scroll gallery ---------- */
.hscroll-wrap {
  position: relative;
  z-index: 1;
}

.hscroll {
  display: flex;
  gap: 28px;
  justify-content: safe center;
  overflow-x: auto;
  padding: 10px 24px 30px;
  margin: 0;
  scroll-snap-type: x proximity;
  scroll-padding-left: 24px;
  cursor: grab;
  scrollbar-width: none;
}

@media(min-width:900px) {
  .hscroll {
    padding: 10px 56px 30px;
    scroll-padding-left: 56px;
  }
}

.hscroll::-webkit-scrollbar {
  display: none;
}

.hscroll.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.hcard {
  position: relative;
  flex: none;
  width: 260px;
  scroll-snap-align: start;
  border: 2px solid var(--ink);
  background: var(--bg);
  transition: transform .3s var(--ease);
}

.hcard:nth-child(odd) {
  transform: rotate(-2deg);
}

.hcard:nth-child(even) {
  transform: rotate(2deg);
  top: 18px;
}

.hcard:hover {
  transform: rotate(0) translateY(-6px);
}

.hcard.tall {
  width: 220px;
}

.hcard .hcard-media {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.hcard.tall .hcard-media {
  aspect-ratio: 3/4;
}

.hcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hcard-body {
  padding: 18px;
}

.hcard-body h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.hcard-body p {
  font-size: .85rem;
  margin-bottom: 14px;
}

/* ---------- trending games ticker ---------- */
.ticker-strip {
  background: var(--ink);
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  position: relative;
}

@media(max-width:700px) {
  .ticker-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
}

.ticker-badge {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 20px 24px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bg);
  white-space: nowrap;
}

@media(min-width:900px) {
  .ticker-badge {
    padding-left: 56px;
  }
}

@media(max-width:700px) {
  .ticker-badge {
    padding: 16px 24px 8px;
  }
}

.ticker-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  position: relative;
}

.ticker-badge .dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--red);
  border-radius: 50%;
  animation: ticker-pulse 2s ease-out infinite;
}

@keyframes ticker-pulse {
  0% {
    transform: scale(.5);
    opacity: 1;
  }

  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 24px), transparent);
}

.ticker-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
  padding: 14px 0;
}

.ticker-strip:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-25%);
  }
}

@media(prefers-reduced-motion:reduce) {
  .ticker-track {
    animation: none;
  }
}

.ticker-card {
  flex: none;
  width: 108px;
}

.ticker-card .thumb {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 1px solid rgba(242, 242, 238, .2);
}

.ticker-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticker-card .name {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--bg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-card .cat {
  display: block;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(242, 242, 238, .5);
  margin-top: 2px;
}

/* ---------- rows list fallback (games/full list pages) ---------- */
.rows {
  border-top: 2px solid var(--ink);
  position: relative;
  z-index: 1;
}

.row {
  display: grid;
  grid-template-columns: 26px 96px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 2px solid var(--ink);
  align-items: start;
}

@media(min-width:760px) {
  .row {
    grid-template-columns: 36px 100px 1fr auto;
    align-items: center;
    gap: 18px;
  }
}

.row-idx {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--ink-45);
}

.row-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  border: 2px solid var(--ink);
  overflow: hidden;
}

.row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.row:hover .row-thumb img {
  transform: scale(1.08) rotate(1deg);
}

.row-body h3 {
  font-size: .98rem;
  margin-bottom: 3px;
}

.row-body p {
  font-size: .8rem;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.row-meta {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.row-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 2px 7px;
  margin-bottom: 5px;
  transform: rotate(-2deg);
}

.row-tag.tag-slot {
  color: var(--gold);
  border-color: var(--gold);
}

.row-tag.tag-fishing {
  color: var(--red);
  border-color: var(--red);
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  margin-top: 10px;
}

@media(min-width:760px) {
  .row-actions {
    grid-column: auto;
    margin-top: 0;
  }
}

.row-actions .btn {
  padding: 8px 14px;
  font-size: .7rem;
  box-shadow: 3px 3px 0 var(--gold);
}

.row-actions .btn-outline {
  box-shadow: 3px 3px 0 var(--red);
}

.row-actions .btn:hover {
  box-shadow: 1.5px 1.5px 0 var(--gold);
}

.row-actions .btn-outline:hover {
  box-shadow: 1.5px 1.5px 0 var(--red);
}

.row[hidden] {
  display: none;
}

/* filter bar */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}

.filter-btn {
  padding: 12px 20px;
  background: var(--bg);
  border: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-70);
  cursor: pointer;
  transition: transform .15s var(--ease);
}

.filter-btn:hover {
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--ink);
  color: var(--bg);
}

/* numbered rows (about-us / rtp guide) */
.numbered {
  border-top: 2px solid currentColor;
  position: relative;
  z-index: 1;
}

.num-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 2px solid currentColor;
}

.num-item .n {
  font-family: var(--mono);
  font-size: 1.2rem;
  color: var(--red);
}

.section--dark .num-item .n {
  color: var(--gold);
}

.num-item p {
  margin: 0;
}

.num-item strong {
  color: inherit;
}

/* compare split */
.compare {
  display: grid;
  gap: 0;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  margin: 32px 0;
  position: relative;
  z-index: 1;
}

@media(min-width:760px) {
  .compare {
    grid-template-columns: 1fr 1fr;
  }
}

.compare-col {
  padding: 30px 0;
}

@media(min-width:760px) {
  .compare-col {
    padding: 34px 40px;
  }

  .compare-col:first-child {
    border-right: 2px solid currentColor;
    padding-left: 0;
  }
}

.compare-col h3 {
  margin-bottom: 16px;
}

.compare-col ul {
  border-top: 1px solid var(--line);
}

.compare-col li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}

/* table */
.table-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border-top: 2px solid var(--ink);
  position: relative;
  z-index: 1;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

th,
td {
  padding: 15px 18px;
  text-align: left;
  font-size: .86rem;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

thead th {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-45);
  font-weight: 500;
}

tbody td:first-child {
  color: var(--ink);
  font-weight: 600;
}

tbody tr:hover td {
  background: rgba(189, 154, 97, .1);
}

/* RTP table on phones: no forced 600px width, tighter cells, game names may wrap; only the Layout column needs a sideways scroll */
@media(max-width:700px) {
  #rtp-table table {
    min-width: 0;
  }

  #rtp-table th,
  #rtp-table td {
    padding: 12px 12px;
  }

  #rtp-table tbody td:first-child {
    white-space: normal;
    min-width: 130px;
  }
}

/* RTP table rows are link targets from the games page: clear the fixed header and highlight the row */
tbody tr[id] {
  scroll-margin-top: 120px;
}

tbody tr:target td {
  background: rgba(189, 154, 97, .28);
}

/* calculator */
.calc-panel {
  background: var(--bg);
  border: 2px solid var(--ink);
  padding: 36px 28px;
  max-width: 520px;
  margin: 32px 0;
  box-shadow: 8px 8px 0 var(--gold);
  position: relative;
  z-index: 1;
}

.calc-row {
  margin-bottom: 20px;
}

.calc-row label {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-bottom: 10px;
}

.calc-row input,
.calc-row select {
  width: 100%;
  background: var(--bg);
  border: 2px solid var(--ink);
  padding: 12px 14px;
  font-family: var(--body);
  font-size: .95rem;
  color: var(--ink);
}

.calc-row input:focus,
.calc-row select:focus {
  outline: 2px solid var(--red);
  outline-offset: 0;
}

.calc-result {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.calc-result .stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  font-size: .88rem;
}

.calc-result strong {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--red);
}

.calc-disclaimer {
  margin-top: 18px;
  font-size: .78rem;
  color: var(--ink-45);
}

/* faq */
.faq {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.faq-item {
  border-bottom: 2px solid var(--ink);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-q .icon {
  font-family: var(--mono);
  color: var(--red);
  font-size: 1.2rem;
  flex: none;
  transition: transform .25s var(--ease);
}

.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}

.faq-a p {
  overflow: hidden;
  min-height: 0;
  font-size: .94rem;
  padding-right: 20px;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-a p {
  padding-bottom: 22px;
}

/* faq: index-card grid variant */
.faq-grid {
  display: grid;
  gap: 22px;
  max-width: none;
  position: relative;
  z-index: 1;
}

@media(min-width:760px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.faq-grid .faq-item {
  border: 2px solid var(--ink);
  padding: 0 24px;
  align-self: start;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.faq-grid .faq-item:nth-child(odd):hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--gold);
}

.faq-grid .faq-item:nth-child(even):hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--red);
}

.faq-grid .faq-q {
  align-items: flex-start;
  padding: 22px 0 20px;
  font-size: 1.02rem;
}

.faq-grid .faq-q .icon {
  margin-top: 2px;
}

.faq-grid .q-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.faq-grid .q-id {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--gold);
}

.faq-grid .faq-item:nth-child(even) .q-id {
  color: var(--red);
}

/* legal content */
.legal {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.legal h2 {
  font-size: 1.3rem;
  margin: 44px 0 14px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.legal h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-note {
  margin-top: 36px;
  padding: 20px 22px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  font-size: .86rem;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding-top: 70px;
  position: relative;
}

/* mobile sticky cta */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: var(--bg);
  border-top: 2px solid var(--ink);
  padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px));
}

.mobile-cta .btn {
  width: 100%;
  box-shadow: none;
}

@media(min-width:900px) {
  .mobile-cta {
    display: none;
  }
}

body {
  padding-bottom: 78px;
}

@media(min-width:900px) {
  body {
    padding-bottom: 0;
  }
}

.center {
  text-align: center;
}

/* ---------- suit motifs ---------- */
.suit {
  display: inline-block;
  line-height: 1;
}

.suit-spade {
  color: var(--ink);
}

.suit-heart,
.suit-diamond {
  color: var(--red);
}

.suit-club {
  color: var(--gold);
}

.suit-scatter {
  position: absolute;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1;
  opacity: .07;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.section--dark .suit-scatter,
.section--brand .suit-scatter {
  opacity: .12;
}

.footer-suits {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.footer-suits .suit-spade,
.footer-suits .suit-diamond {
  color: var(--bg);
  opacity: .85;
}

.footer-suits .suit-heart,
.footer-suits .suit-club {
  color: var(--red);
  opacity: .9;
}

/* ---------- decorative character art ---------- */
.decor-char {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  max-width: none;
}

.decor-fox,
.decor-dolphin,
.decor-dragon,
.decor-cocktail {
  z-index: 2;
}

.decor-warrior {
  width: 150px;
}

@media(min-width:901px) {
  .decor-warrior {
    width: 400px;
  }
}

.decor-cocktail {
  width: 220px;
}

@media(min-width:901px) {
  .decor-cocktail {
    width: 420px;
  }
}

.decor-777 {
  width: 450px;
}

@media(min-width:901px) {
  .decor-777 {
    width: 400px;
  }
}

.decor-dolphin--games {
  width: 170px;
}

@media(min-width:901px) {
  .decor-dolphin--games {
    width: 260px;
  }
}

@media(max-width:900px) {
  /* characters stay in their bottom corner but shrink to fit the section's bottom padding;
     --decor-w is the width, --decor-b the offset from the section's bottom edge */
  .decor-char {
    width: var(--decor-w, 96px) !important;
    bottom: var(--decor-b, 0px) !important;
  }

  /* the fox and the cowgirl stand beside a button on their left, so on narrow phones their width follows the screen */
  .decor-fox {
    --decor-w: min(140px, calc(98vw - 228px));
    --decor-b: -8px;
  }

  .decor-dolphin--login {
    --decor-w: 104px;
    --decor-b: 6px;
  }

  .decor-panda {
    --decor-w: 128px;
    --decor-b: -3px;
  }

  .decor-777 {
    --decor-w: 164px;
  }

  .decor-cowgirl {
    --decor-w: min(100px, calc(94vw - 216px));
  }

  .decor-cowgirl--hero {
    --decor-w: 66px;
    --decor-b: -12px;
  }

  .decor-dolphin--games {
    --decor-w: 136px;
  }

  .decor-warrior {
    --decor-w: 109px;
    --decor-b: -4px;
  }

  /* may overlap the calculator's bottom border; the disclaimer text stays clear above her */
  .decor-cocktail {
    --decor-w: 128px;
    --decor-b: -4px;
  }

  /* pinned to the footer's top-right: footer height changes as the text wraps, so bottom-anchoring slid it over the links */
  .decor-dragon {
    width: 160px !important;
    top: 6px !important;
    right: 2% !important;
    bottom: auto !important;
    transform: none;
  }
}

/* ---------- awards strip ---------- */

.awards-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(242, 242, 238, .6);
}

.awards-label .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  flex: none;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.awards-grid img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 2px solid var(--bg);
  transition: transform .25s var(--ease);
}

.awards-grid img:hover {
  transform: translateY(-4px);
}

@media(max-width:800px) {
  .awards-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-left: 24px;
    padding: 4px 24px 12px;
    margin: 0 -24px;
    scrollbar-width: none;
  }

  .awards-grid::-webkit-scrollbar {
    display: none;
  }

  .awards-grid img {
    flex: none;
    width: 260px;
    scroll-snap-align: start;
  }
}

/* awards block inside a light scene (homepage "What Is Spadegaming?") */
.awards-block {
  margin-top: 64px;
  position: relative;
  z-index: 1;
}

.awards-block .awards-label {
  justify-content: flex-start;
  color: var(--ink-45);
}

.awards-block .awards-grid img {
  border-color: var(--ink);
}

.awards-block .awards-note {
  margin: 18px 0 0;
  max-width: none;
  font-size: .85rem;
}

/* ---------- gameplay video (self-hosted; nothing is downloaded until play is pressed) ---------- */
.video-scene {
  display: grid;
  gap: 40px;
  position: relative;
  z-index: 1;
}

@media(min-width:900px) {
  .video-scene {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 56px;
  }
}

.video-frame {
  position: relative;
  aspect-ratio: 2/1;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--gold);
  overflow: hidden;
}

.video-frame--wide {
  aspect-ratio: 16/9;
}

.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--ink);
}

/* ---------- new releases strip ---------- */
.new-releases {
  background: var(--ink);
  padding: 48px 0 56px;
  overflow: hidden;
}

.new-releases .awards-label {
  margin-bottom: 28px;
  justify-content: flex-start;
}

.new-releases .ticker-viewport {
  padding: 0 24px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}

@media(min-width:900px) {
  .new-releases .ticker-viewport {
    padding: 0 56px;
  }
}

.new-releases .ticker-track {
  gap: 24px;
}

.new-releases:hover .ticker-track {
  animation-play-state: paused;
}

.release-card {
  flex: none;
  width: 320px;
  aspect-ratio: 16/9;
  border: 2px solid rgba(242, 242, 238, .35);
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}

.release-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.release-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

