.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 30px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--border);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(34,197,94,.18), rgba(96,165,250,.08) 52%, rgba(15,33,47,.95)),
    var(--surface);
  box-shadow: var(--shadow);
}

.home-hero:before {
  content: '';
  position: absolute;
  width: 26rem;
  height: 26rem;
  right: 10%;
  top: -15%;
  border-radius: 50%;
  background: rgba(34,197,94,.2);
  filter: blur(80px);
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
}

.home-hero-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.4rem, 6vw, 5.3rem);
  line-height: .96;
  letter-spacing: -.065em;
}

.home-hero-copy p {
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 0 24px;
}

.home-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.home-hero-image {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.home-hero-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,.38);
}

/* 7XBET code-based premium hero logo card */
.home-brand-card {
  position: relative;
  width: 100%;
  min-height: 350px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border-radius: 28px;
  border: 1px solid rgba(0, 153, 255, .35);
  background:
    radial-gradient(circle at 20% 20%, rgba(46, 231, 255, .22), transparent 20rem),
    radial-gradient(circle at 80% 70%, rgba(0, 71, 216, .36), transparent 18rem),
    linear-gradient(135deg, #061531 0%, #071e4f 48%, #031126 100%);
  box-shadow:
    0 24px 80px rgba(0, 100, 255, .32),
    inset 0 0 0 1px rgba(255, 255, 255, .06);
  overflow: hidden;
}

.home-brand-card:before {
  content: '';
  position: absolute;
  inset: -40%;
  background:
    linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, .18), transparent 65%);
  transform: rotate(12deg);
  animation: brand-shine 5s linear infinite;
}

.home-brand-card:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(255,255,255,.12), transparent 1.5rem),
    radial-gradient(circle at 92% 14%, rgba(0, 195, 255, .18), transparent 2rem),
    radial-gradient(circle at 50% 100%, rgba(0, 76, 255, .22), transparent 10rem);
  pointer-events: none;
}

.home-brand-logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.home-brand-logo span {
  font-size: clamp(5rem, 11vw, 8rem);
  line-height: 1;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: -0.12em;
  color: #fff;
  transform: skewX(-14deg);
  text-shadow:
    0 5px 0 #9ca3af,
    0 18px 32px rgba(0, 0, 0, .55),
    0 0 34px rgba(255, 255, 255, .2);
}

.home-brand-logo strong {
  font-size: clamp(4.5rem, 10vw, 7.4rem);
  line-height: 1;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: -0.08em;
  transform: skewX(-10deg);
  background: linear-gradient(180deg, #36f2ff 0%, #008cff 42%, #0042d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 18px 24px rgba(0, 102, 255, .45));
}

.home-brand-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #b9dcff;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
}

.home-section {
  display: grid;
  gap: 18px;
}

@keyframes brand-shine {
  0% {
    transform: translateX(-55%) rotate(12deg);
  }

  100% {
    transform: translateX(55%) rotate(12deg);
  }
}

@media (max-width: 1050px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-hero-image img {
    height: 280px;
  }

  .home-brand-card {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .home-hero {
    min-height: auto;
    padding: 22px;
    border-radius: 24px;
  }

  .home-hero-copy h1 {
    font-size: clamp(2.2rem, 13vw, 4rem);
  }

  .home-brand-card {
    min-height: 220px;
    border-radius: 22px;
  }

  .home-brand-logo {
    gap: 8px;
  }

  .home-brand-logo span {
    font-size: clamp(3.6rem, 18vw, 5rem);
  }

  .home-brand-logo strong {
    font-size: clamp(3.2rem, 16vw, 4.6rem);
  }

  .home-brand-card p {
    font-size: .68rem;
    letter-spacing: .12em;
    padding: 0 14px;
  }
}
/* Desktop colour fix: keep the same dark green/blue style as mobile */
.home-hero {
  color: #f8fafc !important;
  border-color: rgba(148, 163, 184, .16) !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(34, 197, 94, .18), transparent 18rem),
    radial-gradient(circle at 88% 18%, rgba(59, 130, 246, .14), transparent 22rem),
    linear-gradient(135deg, rgba(25, 116, 76, .42), rgba(12, 39, 75, .26) 55%, rgba(5, 19, 33, .94)),
    #071521 !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34) !important;
}

.home-hero:before {
  background: rgba(34, 197, 94, .18) !important;
}

.home-hero:after {
  content: '';
  position: absolute;
  width: 24rem;
  height: 24rem;
  left: 4%;
  bottom: -12%;
  border-radius: 50%;
  background: rgba(37, 99, 235, .16);
  filter: blur(85px);
}

.home-hero-copy h1,
.home-section h2,
.section-row-title h2,
.home-section-title,
.section-title {
  color: #f8fafc !important;
}

.home-hero-copy p,
.home-section p,
.page-header p {
  color: #cbd5e1 !important;
}

.page-eyebrow {
  color: #86efac !important;
}

.home-brand-card {
  border-color: rgba(0, 153, 255, .32) !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(46, 231, 255, .18), transparent 16rem),
    radial-gradient(circle at 82% 72%, rgba(0, 71, 216, .34), transparent 18rem),
    linear-gradient(135deg, #082042 0%, #0a3177 48%, #04152d 100%) !important;
  box-shadow:
    0 24px 70px rgba(0, 94, 255, .22),
    inset 0 0 0 1px rgba(255, 255, 255, .04) !important;
}

.home-section,
.sports-strip-section,
.live-sports-section {
  background: transparent !important;
  color: #f8fafc !important;
}

.sport-tile,
.live-match-row,
.game-card,
.card {
  background: linear-gradient(180deg, rgba(29, 36, 59, .96), rgba(21, 27, 45, .96)) !important;
  border-color: rgba(148, 163, 184, .12) !important;
  color: #f8fafc !important;
}

.live-match-header {
  background: #303446 !important;
}

.odd-cell {
  background: #676d84 !important;
  color: #fff !important;
}

.home-actions .btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  color: #03140a !important;
}

.home-actions .btn-soft {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(148,163,184,.16) !important;
  color: #f8fafc !important;
}

@media (min-width: 681px) {
  .home-hero {
    border-radius: 32px !important;
  }
}

@media (max-width: 560px) {
  .home-hero {
    width: 100% !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 15px 12px 12px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    gap: 12px !important;
  }

  .home-hero-copy h1 {
    font-size: clamp(2rem, 11vw, 3.35rem) !important;
    margin: 10px 0 12px !important;
  }

  .home-hero-copy p {
    margin-bottom: 16px !important;
    line-height: 1.55 !important;
  }

  .home-actions {
    gap: 8px !important;
  }

  .home-actions .btn {
    min-height: 35px !important;
    padding: 0 15px !important;
    border-radius: 12px !important;
  }

  .home-brand-card {
    min-height: 80px !important;
    border-radius: 15px !important;
    gap: 6px !important;
  }

  .home-brand-logo span {
    font-size: clamp(2.6rem, 13vw, 3.5rem) !important;
  }

  .home-brand-logo strong {
    font-size: clamp(2.35rem, 12vw, 3.25rem) !important;
  }

  .home-brand-card p {
    font-size: .56rem !important;
    letter-spacing: .11em !important;
  }
}


/* Logo display fix: hero card uses real logo file */
.home-brand-logo {
  width: min(88%, 520px);
}

.home-brand-logo img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 120, 255, .25));
}

@media (max-width: 560px) {
  .home-brand-logo {
    width: 88% !important;
  }

  .home-brand-logo img {
    max-height: 52px !important;
  }
}

/* Premium uploaded logo in home hero banner */
.home-brand-card {
  min-height: 190px !important;
  padding: 18px 18px 14px !important;
}

.home-brand-logo {
  width: min(96%, 720px) !important;
}

.home-brand-logo img {
  width: 100% !important;
  max-height: 190px !important;
  object-fit: contain !important;
  filter:
    drop-shadow(0 0 16px rgba(0, 195, 255, .45))
    drop-shadow(0 12px 24px rgba(0, 0, 0, .25)) !important;
}

@media (max-width: 560px) {
  .home-brand-card {
    min-height: 122px !important;
    padding: 10px 12px 8px !important;
  }

  .home-brand-logo {
    width: 96% !important;
  }

  .home-brand-logo img {
    max-height: 92px !important;
  }
}

/* Casino Lobby section under Live Sports */
.casino-lobby-section {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 18%, rgba(34, 197, 94, .16), transparent 18rem),
    radial-gradient(circle at 92% 12%, rgba(59, 130, 246, .14), transparent 20rem),
    linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(17, 24, 39, .90));
  box-shadow: var(--shadow);
  color: #f8fafc;
}

.casino-lobby-section:before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, .045), transparent 58% 100%);
  pointer-events: none;
}

.casino-lobby-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.casino-lobby-heading h2 {
  margin: 6px 0 8px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  letter-spacing: -.045em;
}

.casino-lobby-heading p {
  max-width: 720px;
  margin: 0;
  color: #cbd5e1 !important;
  line-height: 1.55;
}

.casino-lobby-view-all {
  flex: 0 0 auto;
  white-space: nowrap;
}

.casino-lobby-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.casino-lobby-card {
  min-height: 154px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, .17);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 14%, rgba(34, 197, 94, .15), transparent 7rem),
    linear-gradient(180deg, rgba(29, 36, 59, .96), rgba(15, 23, 42, .96));
  color: #f8fafc;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.casino-lobby-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 197, 94, .52);
  background:
    radial-gradient(circle at 18% 14%, rgba(34, 197, 94, .22), transparent 7rem),
    linear-gradient(180deg, rgba(30, 45, 63, .98), rgba(12, 23, 38, .98));
}

.casino-lobby-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 197, 94, .28);
  border-radius: 16px;
  background: rgba(34, 197, 94, .14);
  font-size: 1.3rem;
}

.casino-lobby-card h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.08rem;
  letter-spacing: -.02em;
}

.casino-lobby-card p {
  margin: 0;
  color: #a8b3c7 !important;
  font-size: .88rem;
  line-height: 1.45;
}

.casino-lobby-card strong {
  width: max-content;
  border: 1px solid rgba(34, 197, 94, .25);
  border-radius: 999px;
  padding: 7px 10px;
  color: #bbf7d0;
  background: rgba(34, 197, 94, .10);
  font-size: .82rem;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .casino-lobby-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .casino-lobby-section {
    padding: 16px 12px;
    border-radius: 20px;
  }

  .casino-lobby-heading {
    display: grid;
  }

  .casino-lobby-view-all {
    width: 100%;
    justify-content: center;
  }

  .casino-lobby-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .casino-lobby-card {
    min-height: 142px;
    padding: 13px;
    border-radius: 18px;
  }

  .casino-lobby-card p {
    display: none;
  }
}

/* Always-moving provider logo staircase. */
.home-provider-showcase {
  display: grid;
  gap: 10px;
  width: 100%;
  overflow: hidden;
}

.home-provider-showcase h2 {
  margin: 0;
  color: #eefcf4;
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  font-weight: 900;
  text-align: center;
}

.home-provider-marquee {
  position: relative;
  width: 100%;
  min-height: 118px;
  overflow: hidden;
  border: 1px solid rgba(34, 197, 94, .18);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(9, 28, 39, .96), rgba(5, 17, 27, .98));
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.home-provider-marquee-track {
  display: flex;
  width: max-content;
  padding: 16px 0 24px;
  animation: home-provider-marquee 110s linear infinite;
  will-change: transform;
}

.home-provider-marquee-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-right: 10px;
}

.home-provider-logo-item {
  display: grid;
  width: 112px;
  height: 66px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 14px;
  padding: 8px;
  background: radial-gradient(circle at 50% 0, rgba(34, 197, 94, .14), transparent 65%), rgba(10, 29, 41, .96);
  box-sizing: border-box;
}

.home-provider-logo-item:nth-child(4n + 2) { transform: translateY(10px); }
.home-provider-logo-item:nth-child(4n + 3) { transform: translateY(20px); }
.home-provider-logo-item:nth-child(4n) { transform: translateY(10px); }

.home-provider-logo-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, .34));
}

.home-provider-logo-item span {
  color: #dcfce7;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .05em;
}

@keyframes home-provider-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 680px) {
  .home-provider-showcase {
    gap: 8px;
  }

  .home-provider-showcase h2 {
    font-size: .98rem;
  }

  .home-provider-marquee {
    min-height: 104px;
    border-radius: 16px;
  }

  .home-provider-marquee-track {
    padding: 13px 0 21px;
  }

  .home-provider-logo-item {
    width: 94px;
    height: 57px;
    border-radius: 12px;
    padding: 6px;
  }

  .home-provider-logo-item:nth-child(4n + 2) { transform: translateY(8px); }
  .home-provider-logo-item:nth-child(4n + 3) { transform: translateY(16px); }
  .home-provider-logo-item:nth-child(4n) { transform: translateY(8px); }
}

@media (max-width: 420px) {
  .casino-lobby-grid {
    grid-template-columns: 1fr;
  }

  .casino-lobby-card {
    min-height: 112px;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .casino-lobby-card strong {
    grid-column: 1 / -1;
  }
}

/* Mobile Casino Lobby: 3 small cards per row */
@media (max-width: 720px) {
  .casino-lobby-section {
    gap: 10px !important;
    padding: 12px 9px !important;
    border-radius: 18px !important;
  }

  .casino-lobby-heading {
    gap: 8px !important;
  }

  .casino-lobby-heading h2 {
    margin: 4px 0 5px !important;
    font-size: 1.35rem !important;
  }

  .casino-lobby-heading p {
    display: none !important;
  }

  .casino-lobby-view-all {
    min-height: 32px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    font-size: .8rem !important;
  }

  .casino-lobby-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .casino-lobby-card {
    min-height: 96px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 6px !important;
    padding: 9px 6px !important;
    border-radius: 15px !important;
    text-align: center !important;
  }

  .casino-lobby-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
  }

  .casino-lobby-card h3 {
    margin: 0 !important;
    font-size: .72rem !important;
    line-height: 1.12 !important;
    letter-spacing: -.01em !important;
  }

  .casino-lobby-card p {
    display: none !important;
  }

  .casino-lobby-card strong {
    width: auto !important;
    grid-column: auto !important;
    padding: 4px 6px !important;
    border-radius: 999px !important;
    font-size: .6rem !important;
    line-height: 1 !important;
  }
}

@media (max-width: 420px) {
  .casino-lobby-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .casino-lobby-card {
    min-height: 90px !important;
    padding: 8px 5px !important;
  }

  .casino-lobby-icon {
    width: 31px !important;
    height: 31px !important;
    font-size: .95rem !important;
  }

  .casino-lobby-card h3 {
    font-size: .66rem !important;
  }

  .casino-lobby-card strong {
    font-size: .56rem !important;
    padding: 4px 5px !important;
  }
}

@media (max-width: 360px) {
  .casino-lobby-grid {
    gap: 6px !important;
  }

  .casino-lobby-card {
    min-height: 84px !important;
    padding: 7px 4px !important;
  }

  .casino-lobby-card h3 {
    font-size: .61rem !important;
  }

  .casino-lobby-card strong {
    font-size: .51rem !important;
  }
}

/* Casino Lobby Hot games under category */
.casino-hot-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 2px;
  padding: 14px;
  border: 1px solid rgba(245, 158, 11, .20);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 158, 11, .16), transparent 12rem),
    linear-gradient(180deg, rgba(30, 36, 54, .88), rgba(15, 23, 42, .86));
}

.casino-hot-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.casino-hot-heading span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fbbf24;
  font-size: .76rem;
  font-weight: 1000;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.casino-hot-heading h3 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 1.24rem;
  letter-spacing: -.03em;
}

.casino-hot-heading a {
  flex: 0 0 auto;
  color: #bbf7d0;
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}

.casino-hot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.casino-hot-card {
  min-height: 138px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, .15);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 23, 42, .92), rgba(2, 6, 23, .88));
  color: #fff;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}

.casino-hot-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, .42);
}

.casino-hot-media {
  height: 74px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 20%, rgba(34, 197, 94, .18), transparent 5rem),
    rgba(15, 23, 42, .9);
}

.casino-hot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #020617;
}

.casino-hot-fallback,
.casino-hot-media span {
  font-size: 2rem;
}

.casino-hot-card strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.2em;
  color: #fff;
  font-size: .84rem;
  line-height: 1.1;
}

.casino-hot-card em {
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(245, 158, 11, .13);
  color: #fde68a;
  font-size: .66rem;
  font-style: normal;
  font-weight: 900;
}

.casino-hot-loading {
  border: 1px dashed rgba(148, 163, 184, .2);
  border-radius: 16px;
  padding: 15px;
  color: #cbd5e1;
  text-align: center;
  font-size: .9rem;
}

@media (max-width: 980px) {
  .casino-hot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .casino-hot-panel {
    gap: 9px !important;
    padding: 10px 8px !important;
    border-radius: 16px !important;
  }

  .casino-hot-heading h3 {
    font-size: 1rem !important;
  }

  .casino-hot-heading span {
    font-size: .66rem !important;
  }

  .casino-hot-heading a {
    font-size: .7rem !important;
  }

  .casino-hot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .casino-hot-card {
    min-height: 102px !important;
    gap: 5px !important;
    padding: 7px 5px !important;
    border-radius: 14px !important;
  }

  .casino-hot-media {
    height: 48px !important;
    border-radius: 11px !important;
  }

  .casino-hot-media span {
    font-size: 1.4rem !important;
  }

  .casino-hot-card strong {
    min-height: 2.1em !important;
    font-size: .64rem !important;
    line-height: 1.05 !important;
  }

  .casino-hot-card em {
    padding: 3px 5px !important;
    font-size: .5rem !important;
  }
}

@media (max-width: 360px) {
  .casino-hot-grid {
    gap: 6px !important;
  }

  .casino-hot-card {
    min-height: 96px !important;
    padding: 6px 4px !important;
  }

  .casino-hot-media {
    height: 44px !important;
  }

  .casino-hot-card strong {
    font-size: .58rem !important;
  }
}

/* Home page: hide Casino Lobby category cards, keep only Hot Games */
.casino-lobby-section-hot-only {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.casino-lobby-section-hot-only:before {
  display: none !important;
}

.casino-lobby-section-hot-only .casino-hot-panel {
  margin-top: 0 !important;
}

/* JILI real game images + premium moving reflection */
.casino-hot-card {
  overflow: hidden;
}

.casino-hot-media {
  position: relative;
  isolation: isolate;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .05),
    0 10px 24px rgba(0, 0, 0, .18);
}

.casino-hot-media img {
  transform: scale(1.01);
  transition: transform .28s ease, filter .28s ease;
}

.casino-hot-media::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: -55%;
  bottom: -55%;
  width: 45%;
  left: -72%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, .06) 34%,
    rgba(255, 255, 255, .42) 48%,
    rgba(255, 255, 255, .10) 62%,
    transparent 100%
  );
  transform: skewX(-22deg);
  filter: blur(.2px);
  pointer-events: none;
  animation: casino-hot-reflection 4.4s ease-in-out infinite;
}

.casino-hot-media::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .10), transparent 34%),
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .16), transparent 28%);
  mix-blend-mode: screen;
  opacity: .58;
  pointer-events: none;
}

.casino-hot-card:hover .casino-hot-media img {
  transform: scale(1.07);
  filter: saturate(1.12) contrast(1.04);
}

@keyframes casino-hot-reflection {
  0%, 18% {
    left: -72%;
    opacity: 0;
  }

  28% {
    opacity: .95;
  }

  58% {
    left: 128%;
    opacity: 0;
  }

  100% {
    left: 128%;
    opacity: 0;
  }
}

@media (min-width: 721px) {
  .casino-hot-media {
    height: 86px;
  }
}

@media (max-width: 720px) {
  .casino-hot-card {
    min-height: 112px !important;
  }

  .casino-hot-media {
    height: 58px !important;
  }

  .casino-hot-media::before {
    animation-duration: 5.2s;
  }
}

@media (max-width: 360px) {
  .casino-hot-media {
    height: 54px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .casino-hot-media::before {
    animation: none;
    display: none;
  }

  .casino-hot-media img {
    transition: none;
  }
}


/* Home page slot category banner under Hot Games */
.home-slot-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  overflow: hidden;
  min-height: clamp(96px, 15vw, 150px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(92, 9, 79, .92), rgba(163, 16, 115, .88));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .30),
    inset 0 0 0 1px rgba(255, 255, 255, .05);
  text-decoration: none;
  isolation: isolate;
}

.home-category-banner-icon {
  position: relative;
  z-index: 3;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  color: #ffe17b;
  background: rgba(4,12,24,.46);
  box-shadow: inset 0 0 18px rgba(255,255,255,.07);
}

.home-category-banner-copy {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 3px;
  color: #fff;
}

.home-category-banner-copy strong { font-size: clamp(1.1rem, 3vw, 1.55rem); }
.home-category-banner-copy small { color: rgba(255,255,255,.72); font-weight: 700; }

.home-slot-banner img {
  width: 100%;
  height: clamp(96px, 15vw, 150px);
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform .28s ease, filter .28s ease;
}

.home-slot-banner::before {
  content: '';
  position: absolute;
  inset: -42% -55%;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      transparent 38%,
      rgba(255, 255, 255, .08) 44%,
      rgba(255, 255, 255, .72) 50%,
      rgba(255, 255, 255, .12) 57%,
      transparent 64%
    );
  transform: translateX(-60%) rotate(8deg);
  animation: home-slot-banner-reflection 4.2s ease-in-out infinite;
  mix-blend-mode: screen;
}

.home-slot-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, .16), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(2,6,23,.10));
}

.home-slot-banner:hover img {
  transform: scale(1.045);
  filter: saturate(1.12) brightness(1.06);
}

.home-slot-banner-cta {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(2, 6, 23, .62);
  color: #fff;
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .03em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}

@keyframes home-slot-banner-reflection {
  0% { transform: translateX(-68%) rotate(8deg); opacity: 0; }
  18% { opacity: .72; }
  48% { opacity: .90; }
  76% { opacity: 0; }
  100% { transform: translateX(72%) rotate(8deg); opacity: 0; }
}

@media (max-width: 720px) {
  .home-slot-banner {
    min-height: 84px;
    border-radius: 18px;
    gap: 10px;
    padding: 12px;
  }

  .home-category-banner-icon { width: 46px; height: 46px; border-radius: 14px; }

  .home-slot-banner img {
    height: 84px;
  }

  .home-slot-banner-cta {
    right: 10px;
    bottom: 8px;
    padding: 6px 9px;
    font-size: .56rem;
  }
}

@media (max-width: 420px) {
  .home-slot-banner {
    min-height: 74px;
    border-radius: 16px;
  }

  .home-slot-banner img {
    height: 74px;
  }

  .home-slot-banner-cta {
    display: none;
  }
}

/* Home page stacked category banners under Hot Games */
.home-casino-banner-stack {
  display: grid;
  gap: 12px;
}

.home-category-banner {
  margin: 0;
}

.home-live-casino-banner {
  background: linear-gradient(135deg, rgba(30, 7, 45, .94), rgba(127, 29, 29, .88));
}

.home-live-casino-banner .home-slot-banner-cta {
  background: rgba(17, 24, 39, .66);
}

@media (max-width: 720px) {
  .home-casino-banner-stack {
    gap: 8px;
  }
}

/* Remove the big welcome hero copy block on Home page, keep only the 7XBET brand banner */
.home-hero {
  min-height: auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.home-hero::before,
.home-hero::after {
  display: none !important;
}

.home-hero-copy {
  display: none !important;
}

.home-hero-image {
  width: 100% !important;
}

.home-hero .home-brand-card {
  margin: 0 !important;
}

@media (max-width: 560px) {
  .home-hero {
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
  }
}


/* Home available games: show 2 games per row on mobile and desktop */
.home-featured-games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 768px) {
  .home-featured-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .home-featured-games-grid .game-card {
    min-width: 0 !important;
    border-radius: 14px !important;
  }

  .home-featured-games-grid .game-card-image {
    height: 92px !important;
  }

  .home-featured-games-grid .game-card-icon {
    top: 8px !important;
    right: 8px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
  }

  .home-featured-games-grid .game-card-content {
    min-height: 118px;
    padding: 10px !important;
    gap: 10px !important;
  }

  .home-featured-games-grid .game-card-content h3 {
    margin-bottom: 5px !important;
    font-size: 0.94rem !important;
    line-height: 1.15 !important;
  }

  .home-featured-games-grid .game-card-content p {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-featured-games-grid .game-card-action {
    font-size: 0.88rem !important;
  }
}

@media (max-width: 380px) {
  .home-featured-games-grid {
    gap: 8px !important;
  }

  .home-featured-games-grid .game-card-image {
    height: 84px !important;
  }

  .home-featured-games-grid .game-card-content {
    min-height: 108px;
    padding: 9px !important;
  }

  .home-featured-games-grid .game-card-content h3 {
    font-size: 0.86rem !important;
  }

  .home-featured-games-grid .game-card-content p {
    font-size: 0.68rem !important;
  }
}

/* Home page Crush Game banner: between Live Sports and Hot Games */
.home-crush-banner-section {
  position: relative;
  width: 100%;
  margin: 8px 0 14px;
  padding: 0;
  color: #ffffff;
  isolation: isolate;
}

.home-crush-banner-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 6px;
  padding: 0 4px;
}

.home-crush-banner-heading h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.24rem;
  font-weight: 1000;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

.home-crush-banner-link {
  position: relative;
  display: block;
  width: 100%;
  height: 130px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(245, 158, 11, .34);
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, .16), transparent 14rem),
    linear-gradient(135deg, #050505, #101827);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, .32),
    0 0 22px rgba(245, 158, 11, .14),
    inset 0 0 0 1px rgba(255, 255, 255, .04);
  text-decoration: none;
  transform: translateZ(0);
}

.home-crush-banner-link::before {
  content: '';
  position: absolute;
  inset: -48% -55%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, .07) 44%,
    rgba(255, 255, 255, .55) 50%,
    rgba(255, 255, 255, .10) 57%,
    transparent 64%
  );
  transform: translateX(-72%) rotate(8deg);
  mix-blend-mode: screen;
  animation: home-crush-banner-shine 4.8s ease-in-out infinite;
}

.home-crush-banner-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, .12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(2, 6, 23, .08));
}

.home-crush-banner-image {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #050505;
  transition: transform .28s ease, filter .28s ease;
}

.home-crush-banner-link:hover .home-crush-banner-image {
  transform: scale(1.018);
  filter: saturate(1.08) brightness(1.04);
}

.home-crush-banner-link:active {
  transform: scale(.992);
}

@keyframes home-crush-banner-shine {
  0% { transform: translateX(-72%) rotate(8deg); opacity: 0; }
  18% { opacity: .62; }
  48% { opacity: .84; }
  76% { opacity: 0; }
  100% { transform: translateX(72%) rotate(8deg); opacity: 0; }
}

@media (max-width: 768px) {
  .home-crush-banner-section {
    margin: 7px 0 11px !important;
    padding: 0 !important;
  }

  .home-crush-banner-heading {
    margin: 0 0 5px !important;
    padding: 0 2px !important;
  }

  .home-crush-banner-heading h3 {
    font-size: 1.02rem !important;
  }

  .home-crush-banner-link {
    height: 86px !important;
    border-radius: 12px !important;
    box-shadow:
      0 10px 24px rgba(0, 0, 0, .30),
      0 0 16px rgba(245, 158, 11, .12),
      inset 0 0 0 1px rgba(255, 255, 255, .04) !important;
  }
}

@media (max-width: 420px) {
  .home-crush-banner-section {
    margin: 6px 0 10px !important;
  }

  .home-crush-banner-link {
    height: 78px !important;
    border-radius: 10px !important;
  }
}

@media (max-width: 360px) {
  .home-crush-banner-link {
    height: 72px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-crush-banner-link::before {
    animation: none;
    display: none;
  }

  .home-crush-banner-image {
    transition: none;
  }
}


/* =========================================================
   7XBET compact mobile home layout
   - smaller brand banner
   - tighter section spacing
   - sportsbook rail above the fold loads visibly compact
   ========================================================= */
@media (max-width: 768px) {
  body:has(.home-brand-card) {
    overflow-x: hidden;
  }

  body:has(.home-brand-card) .main-content,
  body:has(.home-brand-card) main {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .home-page,
  .dashboard-page.home-page {
    gap: 14px !important;
  }

  .home-hero {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .home-hero::before,
  .home-hero::after,
  .home-hero:before,
  .home-hero:after {
    display: none !important;
  }

  .home-hero-copy {
    display: none !important;
  }

  .home-hero-image {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  .home-hero .home-brand-card,
  .home-brand-card {
    min-height: 132px !important;
    height: 132px !important;
    width: 100% !important;
    border-radius: 17px !important;
    gap: 6px !important;
    padding: 12px 14px !important;
    box-shadow: 0 12px 34px rgba(0, 100, 255, .22), inset 0 0 0 1px rgba(255,255,255,.05) !important;
  }

  .home-brand-logo {
    width: 100% !important;
    min-height: 0 !important;
  }

  .home-brand-logo img {
    max-width: min(68vw, 250px) !important;
    width: auto !important;
    max-height: 76px !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .home-brand-card p {
    margin: 0 !important;
    font-size: .62rem !important;
    line-height: 1 !important;
    letter-spacing: .20em !important;
    white-space: nowrap !important;
  }

  .home-crush-banner-section {
    margin-top: 2px !important;
    gap: 6px !important;
  }

  .home-crush-banner-heading h3,
  .casino-hot-heading h3 {
    font-size: 1.02rem !important;
    line-height: 1.05 !important;
  }

  .home-crush-banner-link,
  .home-crush-banner-image {
    min-height: 68px !important;
    height: 68px !important;
    border-radius: 11px !important;
  }

  .casino-lobby-section,
  .casino-lobby-section-hot-only,
  .casino-hot-panel {
    margin-top: 0 !important;
    border-radius: 16px !important;
  }

  .casino-hot-panel {
    padding: 12px !important;
  }

  .casino-hot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .casino-hot-card {
    min-height: 98px !important;
    padding: 7px 6px !important;
    border-radius: 12px !important;
  }

  .casino-hot-media {
    height: 46px !important;
    border-radius: 9px !important;
  }

  .casino-hot-card strong {
    font-size: .58rem !important;
    line-height: 1.05 !important;
    min-height: 2em !important;
  }

  .casino-hot-card em {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .home-hero .home-brand-card,
  .home-brand-card {
    height: 118px !important;
    min-height: 118px !important;
    border-radius: 15px !important;
  }

  .home-brand-logo img {
    max-height: 66px !important;
    max-width: min(70vw, 220px) !important;
  }

  .home-brand-card p {
    font-size: .55rem !important;
    letter-spacing: .16em !important;
  }

  .home-crush-banner-link,
  .home-crush-banner-image {
    height: 60px !important;
    min-height: 60px !important;
  }
}


/* Final mobile home banner + premium promo bar carousel */
.home-promo-bar {
  position: relative;
  width: min(1240px, 100%);
  margin: -4px auto 2px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(95, 210, 255, .22);
  background:
    radial-gradient(circle at 12% 35%, rgba(34, 197, 94, .18), transparent 18rem),
    linear-gradient(135deg, rgba(7, 23, 43, .98), rgba(10, 25, 55, .96));
  box-shadow:
    0 14px 38px rgba(0, 0, 0, .32),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  isolation: isolate;
}

.home-promo-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.13), transparent 18%, transparent 80%, rgba(255,255,255,.08)),
    linear-gradient(180deg, rgba(255,255,255,.10), transparent 44%, rgba(0,0,0,.18));
  mix-blend-mode: screen;
}

.home-promo-bar::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: 3;
  pointer-events: none;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, .08);
}

.home-promo-bar-track {
  display: flex;
  width: 100%;
  contain: layout paint;
}

.home-promo-bar-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: block;
  overflow: hidden;
  background: rgba(7, 16, 32, .92);
}

.home-promo-bar-slide img {
  width: 100%;
  height: clamp(86px, 12vw, 142px);
  object-fit: cover;
  object-position: center;
}

.home-promo-bar-dots {
  position: absolute;
  right: 12px;
  bottom: 7px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(2, 8, 20, .72);
  backdrop-filter: none;
}

.home-promo-bar-dots span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .38);
  transition: width .25s ease, background .25s ease;
}

.home-promo-bar-dots span.is-active {
  width: 14px;
  background: #7cff6b;
}

@media (max-width: 560px) {
  .home-hero .home-brand-card,
  .home-brand-card {
    min-height: 104px !important;
    height: 104px !important;
    padding: 8px 12px 7px !important;
    gap: 4px !important;
    border-radius: 15px !important;
  }

  .home-brand-logo img {
    max-height: 64px !important;
    max-width: min(66vw, 224px) !important;
  }

  .home-brand-card p {
    font-size: .54rem !important;
    line-height: 1 !important;
    letter-spacing: .17em !important;
  }

  .home-promo-bar {
    width: auto !important;
    margin: -5px max(8px, env(safe-area-inset-left)) 4px max(8px, env(safe-area-inset-right)) !important;
    border-radius: 14px !important;
  }

  .home-promo-bar::after {
    border-radius: 13px !important;
  }

  .home-promo-bar-slide img {
    height: clamp(52px, 15vw, 66px) !important;
  }

  .home-promo-bar-dots {
    right: 8px;
    bottom: 4px;
    gap: 3px;
    padding: 3px 5px;
  }

  .home-promo-bar-dots span {
    width: 4px;
    height: 4px;
  }

  .home-promo-bar-dots span.is-active {
    width: 11px;
  }
}

@media (max-width: 380px) {
  .home-hero .home-brand-card,
  .home-brand-card {
    min-height: 96px !important;
    height: 96px !important;
  }

  .home-brand-logo img {
    max-height: 58px !important;
    max-width: min(68vw, 205px) !important;
  }

  .home-promo-bar-slide img {
    height: 50px !important;
  }
}
/* 7XBET exact mobile promo bar no-crop fix */
@media (max-width: 768px) {
  .home-promo-bar {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 62px !important;
    margin: 10px auto 14px auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .home-promo-bar-track,
  .home-promo-bar-slide {
    width: 100% !important;
    height: 100% !important;
    min-height: 58px !important;
    max-height: 62px !important;
  }

  .home-promo-bar-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    transform: none !important;
  }

  .home-promo-bar-dots {
    bottom: 6px !important;
    right: 14px !important;
    left: auto !important;
    transform: none !important;
  }
}

/* 2026-06-02: Promo banner full-width fix
   The promotion images are 1200x280. Keep the carousel at the same ratio so
   left/right sides are not hidden and the image fills the full banner area. */
.home-promo-bar {
  aspect-ratio: 1200 / 280 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

.home-promo-bar-track,
.home-promo-bar-slide {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
}

.home-promo-bar-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  transform: none !important;
}

@media (max-width: 768px) {
  .home-promo-bar {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    aspect-ratio: 1200 / 280 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 10px auto 14px auto !important;
    border-radius: 14px !important;
  }

  .home-promo-bar-track,
  .home-promo-bar-slide {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .home-promo-bar-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}
/* 2026-06-02: Final slim full-width promo banner fix */
@media (max-width: 768px) {
  .home-promo-bar {
    width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
    aspect-ratio: auto !important;

    margin-left: 50% !important;
    margin-right: 0 !important;
    transform: translateX(-50%) !important;

    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .home-promo-bar-track,
  .home-promo-bar-slide {
    width: 100% !important;
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
  }

  .home-promo-bar-slide img {
    width: 100% !important;
    height: 76px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    transform: none !important;
  }

  .home-promo-bar-dots {
    right: 12px !important;
    bottom: 5px !important;
    transform: scale(0.82) !important;
  }
}


/* =========================================================
   Home Free Spin premium banner
   Place: under promo carousel, above sports categories
   ========================================================= */
.home-free-spin-section {
  position: relative;
  width: 100%;
  margin: -2px 0 6px;
  isolation: isolate;
}

.home-free-spin-card {
  position: relative;
  min-height: 106px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  padding: 14px 16px;
  border: 1px solid rgba(255, 214, 102, .38);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 214, 102, .22), transparent 11rem),
    radial-gradient(circle at 86% 34%, rgba(34, 211, 238, .22), transparent 12rem),
    linear-gradient(135deg, rgba(19, 32, 61, .98), rgba(7, 35, 49, .96) 52%, rgba(27, 19, 54, .98));
  color: #ffffff;
  text-decoration: none;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, .32),
    0 0 26px rgba(245, 158, 11, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .055);
  transform: translateZ(0);
}

.home-free-spin-card::before {
  content: '';
  position: absolute;
  inset: -70% -55%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, .08) 44%,
    rgba(255, 255, 255, .66) 50%,
    rgba(255, 255, 255, .12) 57%,
    transparent 64%
  );
  transform: translateX(-72%) rotate(8deg);
  mix-blend-mode: screen;
  animation: home-free-spin-shine 4.6s ease-in-out infinite;
}

.home-free-spin-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 38%),
    radial-gradient(circle at 74% 15%, rgba(255,255,255,.16), transparent 20%);
}

.home-free-spin-logo-wrap,
.home-free-spin-copy,
.home-free-spin-mini-wheel,
.home-free-spin-card em {
  position: relative;
  z-index: 3;
}

.home-free-spin-logo-wrap {
  width: 94px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(34, 211, 238, .28);
  background:
    radial-gradient(circle at 50% 18%, rgba(34, 211, 238, .24), transparent 4rem),
    rgba(2, 6, 23, .24);
  box-shadow: inset 0 0 18px rgba(255,255,255,.04);
}

.home-free-spin-logo-wrap img {
  width: 86px;
  max-height: 54px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px rgba(34, 211, 238, .44))
    drop-shadow(0 8px 12px rgba(0, 0, 0, .25));
}

.home-free-spin-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.home-free-spin-copy span {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 214, 102, .24);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255, 214, 102, .12);
  color: #ffe18a;
  font-size: .68rem;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.home-free-spin-copy strong {
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(1.5rem, 4.6vw, 2.4rem);
  line-height: .98;
  font-weight: 1000;
  letter-spacing: -.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 8px 22px rgba(0,0,0,.36);
}

.home-free-spin-copy small {
  overflow: hidden;
  color: #c7d2fe;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-free-spin-mini-wheel {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 6px solid #facc15;
  border-radius: 999px;
  background:
    conic-gradient(from -90deg,
      #0ea5e9 0 45deg,
      #1e293b 45deg 90deg,
      #0f766e 90deg 135deg,
      #0ea5e9 135deg 180deg,
      #1e293b 180deg 225deg,
      #0891b2 225deg 270deg,
      #0f766e 270deg 315deg,
      #0ea5e9 315deg 360deg);
  box-shadow:
    0 8px 20px rgba(0,0,0,.28),
    inset 0 0 0 2px rgba(255,255,255,.16);
}

.home-free-spin-mini-wheel::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 28%, #ff8a8a, #e11d48 52%, #7f1024);
  border: 3px solid #fde68a;
  box-shadow: 0 0 12px rgba(253, 230, 138, .7);
}

.home-free-spin-mini-wheel i,
.home-free-spin-mini-wheel b {
  position: absolute;
  z-index: 2;
  color: #ffffff;
  font-style: normal;
  font-weight: 1000;
  text-shadow: 1px 2px 0 rgba(0,0,0,.9);
}

.home-free-spin-mini-wheel i {
  transform: translate(-20px, -20px) rotate(-18deg);
  font-size: .8rem;
}

.home-free-spin-mini-wheel b {
  transform: translate(22px, 22px) rotate(16deg);
  font-size: .9rem;
}

.home-free-spin-card em {
  min-width: 58px;
  border-radius: 999px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #231306;
  font-size: .78rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: .08em;
  text-align: center;
  box-shadow: 0 8px 20px rgba(249, 115, 22, .28);
}

.home-free-spin-card:hover {
  border-color: rgba(255, 214, 102, .64);
  transform: translateY(-1px);
}

.home-free-spin-card:active {
  transform: scale(.992);
}

@keyframes home-free-spin-shine {
  0% { transform: translateX(-72%) rotate(8deg); opacity: 0; }
  18% { opacity: .58; }
  48% { opacity: .9; }
  76% { opacity: 0; }
  100% { transform: translateX(72%) rotate(8deg); opacity: 0; }
}

@media (max-width: 768px) {
  .home-free-spin-section {
    margin: -4px 0 2px !important;
  }

  .home-free-spin-card {
    min-height: 76px !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 9px !important;
    padding: 10px 11px !important;
    border-radius: 16px !important;
    box-shadow:
      0 11px 26px rgba(0, 0, 0, .30),
      0 0 18px rgba(245, 158, 11, .10),
      inset 0 0 0 1px rgba(255, 255, 255, .05) !important;
  }

  .home-free-spin-logo-wrap {
    width: 58px !important;
    height: 48px !important;
    border-radius: 15px !important;
  }

  .home-free-spin-logo-wrap img {
    width: 54px !important;
    max-height: 40px !important;
  }

  .home-free-spin-copy {
    gap: 1px !important;
  }

  .home-free-spin-copy span {
    padding: 3px 7px !important;
    font-size: .52rem !important;
    letter-spacing: .10em !important;
  }

  .home-free-spin-copy strong {
    font-size: 1.25rem !important;
    line-height: 1 !important;
  }

  .home-free-spin-copy small {
    font-size: .62rem !important;
  }

  .home-free-spin-mini-wheel {
    width: 48px !important;
    height: 48px !important;
    border-width: 4px !important;
  }

  .home-free-spin-mini-wheel::before {
    width: 16px !important;
    height: 16px !important;
    border-width: 2px !important;
  }

  .home-free-spin-mini-wheel i {
    transform: translate(-14px, -14px) rotate(-18deg) !important;
    font-size: .55rem !important;
  }

  .home-free-spin-mini-wheel b {
    transform: translate(14px, 14px) rotate(16deg) !important;
    font-size: .6rem !important;
  }

  .home-free-spin-card em {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .home-free-spin-card {
    min-height: 70px !important;
    gap: 7px !important;
    padding: 9px 9px !important;
  }

  .home-free-spin-logo-wrap {
    width: 50px !important;
    height: 43px !important;
  }

  .home-free-spin-logo-wrap img {
    width: 48px !important;
    max-height: 36px !important;
  }

  .home-free-spin-copy strong {
    font-size: 1.12rem !important;
  }

  .home-free-spin-copy small {
    font-size: .56rem !important;
  }

  .home-free-spin-mini-wheel {
    width: 42px !important;
    height: 42px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-free-spin-card::before {
    animation: none;
    display: none;
  }
}


/* UI fix: make Home Hot Games images taller and move game names slightly down */
.home-hot-games .game-card-media,
.home-hot-games .hot-game-card-media,
.hot-games .game-card-media,
.hot-games .hot-game-card-media,
.hot-games-grid .game-card-media,
.hot-games-grid .hot-game-card-media,
.home-page .jili-game-card-media,
.home-page .game-card-media {
  min-height: 84px !important;
  height: 84px !important;
}

.home-hot-games .game-card-media img,
.home-hot-games .hot-game-card-media img,
.hot-games .game-card-media img,
.hot-games .hot-game-card-media img,
.hot-games-grid .game-card-media img,
.hot-games-grid .hot-game-card-media img,
.home-page .jili-game-card-media img,
.home-page .game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hot-games .game-card-body,
.home-hot-games .hot-game-card-body,
.hot-games .game-card-body,
.hot-games .hot-game-card-body,
.hot-games-grid .game-card-body,
.hot-games-grid .hot-game-card-body,
.home-page .jili-game-card-body,
.home-page .game-card-body {
  padding-top: 12px !important;
}

.home-hot-games .game-card-body h3,
.home-hot-games .hot-game-card-body h3,
.hot-games .game-card-body h3,
.hot-games .hot-game-card-body h3,
.hot-games-grid .game-card-body h3,
.hot-games-grid .hot-game-card-body h3,
.home-page .jili-game-card-body h3,
.home-page .game-card-body h3 {
  margin-top: 6px !important;
  transform: translateY(4px);
}

@media (max-width: 680px) {
  .home-hot-games .game-card-media,
  .home-hot-games .hot-game-card-media,
  .hot-games .game-card-media,
  .hot-games .hot-game-card-media,
  .hot-games-grid .game-card-media,
  .hot-games-grid .hot-game-card-media,
  .home-page .jili-game-card-media,
  .home-page .game-card-media {
    min-height: 96px !important;
    height: 96px !important;
  }
}


/* FINAL UI FIX: Home Hot Games mobile image + title spacing */
.hot-grid .hot-card {
  display: flex !important;
  flex-direction: column !important;
}

.hot-grid .hot-card .hot-media,
.hot-card .hot-media {
  height: 112px !important;
  min-height: 112px !important;
  max-height: none !important;
  flex: 0 0 112px !important;
  border-radius: 14px 14px 0 0 !important;
  overflow: hidden !important;
}

.hot-grid .hot-card .hot-media img,
.hot-card .hot-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

.hot-grid .hot-card .hot-card-title,
.hot-card .hot-card-title,
.hot-grid .hot-card h3,
.hot-card h3 {
  display: block !important;
  margin: 12px 10px 0 !important;
  padding-top: 4px !important;
  line-height: 1.18 !important;
  transform: translateY(6px) !important;
}

/* keep card height balanced after image increase */
.hot-grid .hot-card,
.hot-card {
  min-height: 176px !important;
}

@media (max-width: 680px) {
  .hot-grid .hot-card .hot-media,
  .hot-card .hot-media {
    height: 118px !important;
    min-height: 118px !important;
    flex-basis: 118px !important;
  }

  .hot-grid .hot-card,
  .hot-card {
    min-height: 190px !important;
  }

  .hot-grid .hot-card .hot-card-title,
  .hot-card .hot-card-title,
  .hot-grid .hot-card h3,
  .hot-card h3 {
    margin-top: 13px !important;
    transform: translateY(7px) !important;
  }
}


/* Home New Game + Most Popular horizontal rails */
.home-game-rail-section {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.home-game-rail-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.home-game-rail-heading span {
  display: inline-flex;
  color: #86efac;
  font-size: .72rem;
  font-weight: 1000;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.home-game-rail-heading h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: -.04em;
}

.home-game-rail-heading a {
  flex: 0 0 auto;
  color: #bbf7d0;
  font-size: .86rem;
  font-weight: 900;
  text-decoration: none;
}

.home-game-rail-scroll {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 20px) / 3);
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 8px;
  -webkit-overflow-scrolling: touch;
}

.home-game-rail-scroll::-webkit-scrollbar {
  height: 6px;
}

.home-game-rail-scroll::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, .10);
  border-radius: 999px;
}

.home-game-rail-scroll::-webkit-scrollbar-thumb {
  background: rgba(34, 197, 94, .55);
  border-radius: 999px;
}

.home-game-rail-card {
  min-height: 152px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 23, 42, .95), rgba(2, 6, 23, .90));
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}

.home-game-rail-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 197, 94, .45);
}

.home-game-rail-media {
  position: relative;
  height: 82px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 20%, rgba(34, 197, 94, .18), transparent 6rem),
    rgba(15, 23, 42, .92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.home-game-rail-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #020617;
}

.home-game-rail-media b {
  position: absolute;
  left: 7px;
  top: 7px;
  min-width: 26px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #052e16;
  background: linear-gradient(135deg, #bbf7d0, #22c55e);
  font-size: .7rem;
  font-weight: 1000;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .28);
}

.home-game-rail-card strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.15em;
  color: #fff;
  font-size: .82rem;
  line-height: 1.08;
}

.home-game-rail-card small {
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(34, 197, 94, .12);
  color: #bbf7d0;
  font-size: .62rem;
  font-weight: 900;
}

.home-game-rail-fallback {
  font-size: 1.9rem;
}

@media (min-width: 900px) {
  .home-game-rail-scroll {
    grid-auto-columns: calc((100% - 34px) / 4);
  }
}

@media (max-width: 720px) {
  .home-game-rail-section {
    gap: 9px;
    padding: 10px 8px;
    border-radius: 16px;
  }

  .home-game-rail-scroll {
    grid-auto-columns: calc((100% - 14px) / 3);
    gap: 7px;
  }

  /* Scrollable home rails: 1xBet-style full-width viewport with end padding only. */
  .home-new-games-rail,
  .home-popular-games-rail {
    overflow: visible;
  }

  .home-new-games-rail .home-game-rail-scroll,
  .home-popular-games-rail .home-game-rail-scroll {
    width: 100vw;
    max-width: none;
    margin-left: calc(-8px - max(10px, var(--app-safe-left)));
    margin-right: 0;
    padding-left: calc(8px + max(10px, var(--app-safe-left)));
    padding-right: calc(8px + max(10px, var(--app-safe-right)));
    scroll-padding-left: 0;
    scroll-padding-right: 0;
  }

  .home-game-rail-card {
    min-height: 126px;
    gap: 6px;
    padding: 7px 5px;
    border-radius: 14px;
  }

  .home-game-rail-media {
    height: 62px;
    border-radius: 11px;
  }

  .home-game-rail-card strong {
    min-height: 2.1em;
    font-size: .64rem;
    line-height: 1.05;
  }

  .home-game-rail-card small {
    display: none;
  }

  .home-game-rail-heading h3 {
    font-size: 1.08rem;
  }

  .home-game-rail-heading span,
  .home-game-rail-heading a {
    font-size: .66rem;
  }
}

@media (max-width: 360px) {
  .home-game-rail-scroll {
    gap: 6px;
  }

  .home-game-rail-card {
    min-height: 118px;
    padding: 6px 4px;
  }

  .home-game-rail-media {
    height: 58px;
  }

  .home-game-rail-card strong {
    font-size: .58rem;
  }
}


/* FINAL FIX: remove ranking badges and bottom empty space in Home New/Popular rails */
.home-game-rail-media b,
.home-game-rail-card small {
  display: none !important;
}

.home-game-rail-card {
  min-height: 0 !important;
  height: auto !important;
  align-content: start !important;
  gap: 7px !important;
  padding-bottom: 8px !important;
}

.home-game-rail-card strong {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 1px !important;
}

@media (max-width: 720px) {
  .home-game-rail-card {
    min-height: 0 !important;
    height: auto !important;
    gap: 5px !important;
    padding: 6px 5px 7px !important;
  }

  .home-game-rail-media {
    height: 70px !important;
  }

  .home-game-rail-card strong {
    min-height: 0 !important;
    line-height: 1.08 !important;
  }
}

@media (max-width: 360px) {
  .home-game-rail-card {
    min-height: 0 !important;
    height: auto !important;
  }

  .home-game-rail-media {
    height: 66px !important;
  }
}


/* UI MOVE FIX: Promo banner moved below Most Popular Games */
.home-popular-games-rail + .home-promo-bar {
  margin-top: -2px;
}

.home-popular-games-rail + .home-promo-bar + .auth-message,
.home-popular-games-rail + .home-promo-bar + .grid-4,
.home-popular-games-rail + .home-promo-bar + .home-section {
  margin-top: 0;
}

@media (max-width: 680px) {
  .home-popular-games-rail + .home-promo-bar {
    margin-top: -4px;
  }
}
/* Preview: compact casino category row between Crush and New Game */
.home-casino-category-section {
  --home-category-section-x: 10px;
  min-width: 0;
  padding: 10px var(--home-category-section-x);
  overflow: hidden;
  display: grid;
  gap: 10px;
}

.home-casino-category-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -.04em;
}

@media (max-width: 759px) {
  .home-casino-category-section {
    overflow: visible;
  }

  .home-casino-category-section .casino-category-strip {
    overflow: visible;
  }

  .home-casino-category-section .casino-category-strip__scroller {
    width: 100vw;
    max-width: none;
    margin-left: calc(0px - var(--home-category-section-x) - max(10px, var(--app-safe-left)));
    margin-right: 0;
    padding-left: calc(var(--home-category-section-x) + max(10px, var(--app-safe-left)));
    padding-right: calc(var(--home-category-section-x) + max(10px, var(--app-safe-right)));
    scroll-snap-type: none;
    scroll-padding: 0;
  }

  .home-casino-category-section .casino-category-tile {
    scroll-snap-align: none;
  }
}

@media (max-width: 520px) {
  .home-casino-category-section {
    --home-category-section-x: 8px;
    padding: 9px var(--home-category-section-x) 7px;
    gap: 9px;
  }

  .home-casino-category-title {
    font-size: 1.08rem;
  }
}



/* Provider alternation update: Hot uses the same card geometry as New/Popular. */
.home-hot-games-rail .home-game-rail-heading span,
.home-hot-games-rail .home-game-rail-heading a {
  color: #fed7aa;
}

/* Reduce the upper bezel above the New Game cards without changing the rail cards. */
.home-new-games-rail {
  gap: 7px;
  padding-top: 8px;
}

.home-new-games-rail .home-game-rail-heading h3 {
  margin-top: 1px;
}

@media (max-width: 720px) {
  .home-new-games-rail {
    gap: 5px;
    padding-top: 5px;
  }

  .home-new-games-rail .home-game-rail-heading h3 {
    margin-top: 0;
  }
}


/* Hot Games daily rotation: show all 12 cards as a full grid, not a 3-card rail. */
.home-hot-games-rail .home-game-rail-scroll {
  grid-auto-flow: row;
  grid-auto-columns: unset;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
  scroll-snap-type: none;
  padding-bottom: 2px;
}

.home-hot-games-rail .home-game-rail-card {
  width: 100%;
  min-width: 0;
}

@media (min-width: 900px) {
  .home-hot-games-rail .home-game-rail-scroll {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* UNIFIED HOME GAME RAIL CARDS */
.home-game-rail-card {
  display: flex !important;
  flex-direction: column !important;
  align-self: start;
  height: fit-content !important;
  min-height: 0 !important;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 14px !important;
}

.home-game-rail-media {
  position: relative;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 7 / 8;
  border-radius: 0 !important;
  flex: 0 0 auto;
  overflow: hidden;
}

.home-game-rail-media img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.home-game-rail-favourite {
  position: absolute;
  z-index: 8;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  color: #fff;
  background: rgba(8, 19, 27, .78);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.home-game-rail-favourite.is-favourite {
  color: #ffd54a;
  background: rgba(8, 19, 27, .9);
}

.home-game-rail-card > strong {
  display: block !important;
  width: 100%;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 5px 7px 6px !important;
  overflow: hidden;
  color: #fff;
  font-size: .86rem !important;
  font-weight: 800;
  line-height: 1.1 !important;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 720px) {
  .home-game-rail-scroll,
  .home-hot-games-rail .home-game-rail-scroll {
    gap: 6px !important;
  }

  .home-new-games-rail .home-game-rail-scroll,
  .home-popular-games-rail .home-game-rail-scroll {
    grid-auto-columns: calc((100vw - max(10px, var(--app-safe-left)) - max(10px, var(--app-safe-right)) - 32px) / 3) !important;
  }

  .home-hot-games-rail .home-game-rail-scroll {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .home-game-rail-card {
    border-radius: 12px !important;
  }

  .home-game-rail-media {
    height: auto !important;
    aspect-ratio: 7 / 8;
  }

  .home-game-rail-favourite {
    top: 6px;
    right: 6px;
    width: 29px;
    height: 29px;
    border-radius: 9px;
  }

  .home-game-rail-card > strong {
    padding: 4px 6px 5px !important;
    font-size: .74rem !important;
    line-height: 1.08 !important;
  }
}

/*
 * Mobile viewport containment
 * The promo carousel already lives inside the padded Home grid. Using 100vw
 * here expanded the grid track past its container and shifted every Home card
 * toward the right edge.
 */
@media (max-width: 768px) {
  .home-page,
  .home-page > * {
    min-width: 0;
    max-width: 100%;
  }

  .home-page .home-promo-bar {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
  }
}

/* =========================================================
   Home deposit offer banners
   - two responsive promotional cards above Pre-match
   - CSS-only artwork; no external assets or backend changes
   ========================================================= */
.home-bonus-banner-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.home-bonus-banner {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 142px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-areas:
    "icon copy"
    "action action";
  align-items: center;
  gap: 10px 14px;
  padding: 20px 22px 17px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: translateZ(0);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-bonus-banner::before {
  content: '';
  position: absolute;
  z-index: -2;
  width: 210px;
  height: 210px;
  right: -72px;
  bottom: -112px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  filter: blur(2px);
}

.home-bonus-banner::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(118deg, transparent 0 35%, rgba(255, 255, 255, .10) 48%, transparent 61% 100%);
  transform: translateX(-115%);
  transition: transform .65s ease;
  pointer-events: none;
}

.home-bonus-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .34);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .31), inset 0 1px 0 rgba(255, 255, 255, .10);
}

.home-bonus-banner:hover::after {
  transform: translateX(115%);
}

.home-bonus-banner:active {
  transform: translateY(0);
}

.home-bonus-banner:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .92);
  outline-offset: 3px;
}

.home-first-deposit-banner {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 224, 117, .30), transparent 11rem),
    radial-gradient(circle at 88% 88%, rgba(251, 146, 60, .28), transparent 12rem),
    linear-gradient(135deg, #4b1d80 0%, #7b2cbf 48%, #bd4f1b 100%);
}

.home-cashback-deposit-banner {
  background:
    radial-gradient(circle at 12% 12%, rgba(94, 234, 212, .27), transparent 11rem),
    radial-gradient(circle at 90% 88%, rgba(34, 197, 94, .25), transparent 12rem),
    linear-gradient(135deg, #073c4c 0%, #087f73 50%, #15803d 100%);
}

.home-bonus-banner-icon {
  grid-area: icon;
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 17px;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 22px rgba(0, 0, 0, .17);
  backdrop-filter: blur(8px);
}

.home-bonus-banner-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
  min-width: 0;
  display: grid;
  gap: 3px;
}

.home-bonus-banner-kicker {
  color: rgba(255, 255, 255, .78);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .17em;
  line-height: 1.1;
}

.home-bonus-banner-copy strong {
  display: block;
  max-width: 82%;
  color: #fff;
  font-size: clamp(1.08rem, 2.2vw, 1.42rem);
  font-weight: 850;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.home-bonus-banner-copy strong b {
  color: #fff4b5;
  font: inherit;
  text-shadow: 0 1px 14px rgba(255, 230, 128, .20);
}

.home-cashback-deposit-banner .home-bonus-banner-copy strong b {
  color: #b7ffe0;
  text-shadow: 0 1px 14px rgba(94, 234, 212, .20);
}

.home-bonus-banner-copy small {
  overflow: hidden;
  color: rgba(255, 255, 255, .74);
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-bonus-banner-action {
  grid-area: action;
  position: relative;
  z-index: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  background: rgba(4, 10, 20, .20);
  color: #fff;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.home-bonus-banner-action svg {
  transition: transform .2s ease;
}

.home-bonus-banner:hover .home-bonus-banner-action svg {
  transform: translateX(2px);
}

.home-bonus-banner-rate {
  position: absolute;
  z-index: 0;
  top: -13px;
  right: -5px;
  color: rgba(255, 255, 255, .10);
  font-size: clamp(4.4rem, 7.6vw, 7rem);
  font-weight: 1000;
  letter-spacing: -.09em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 720px) {
  .home-bonus-banner-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .home-bonus-banner {
    min-height: 104px;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas:
      "icon copy"
      "icon action";
    gap: 5px 11px;
    padding: 13px 15px;
    border-radius: 16px;
  }

  .home-bonus-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .home-bonus-banner-icon svg {
    width: 24px;
    height: 24px;
  }

  .home-bonus-banner-kicker {
    font-size: .55rem;
    letter-spacing: .14em;
  }

  .home-bonus-banner-copy strong {
    max-width: 76%;
    font-size: 1rem;
  }

  .home-bonus-banner-copy small {
    max-width: 78%;
    font-size: .64rem;
  }

  .home-bonus-banner-action {
    min-height: 25px;
    padding-inline: 9px;
    font-size: .64rem;
  }

  .home-bonus-banner-rate {
    top: 4px;
    right: 5px;
    font-size: 3.7rem;
    opacity: .92;
  }
}

@media (max-width: 380px) {
  .home-bonus-banner {
    min-height: 98px;
    padding: 11px 12px;
  }

  .home-bonus-banner-copy strong {
    font-size: .93rem;
  }

  .home-bonus-banner-copy small {
    font-size: .59rem;
  }

  .home-bonus-banner-rate {
    font-size: 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-bonus-banner,
  .home-bonus-banner::after,
  .home-bonus-banner-action svg {
    transition: none;
  }
}

/* Exact production fix: full artwork, compact gaps and restrained corners. */
.home-bonus-carousel-section {
  width: 100%;
  margin: 0;
}

.home-bonus-carousel-shell,
.home-bonus-carousel-viewport,
.home-bonus-carousel-track {
  width: 100%;
  min-width: 0;
}

.home-bonus-carousel-shell {
  position: relative;
}

.home-bonus-carousel-viewport {
  overflow: hidden;
  border-radius: 10px;
  line-height: 0;
}

.home-bonus-carousel-track {
  display: flex;
  align-items: flex-start;
  transition: transform .78s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.home-bonus-carousel-slide {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #06152f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  line-height: 0;
  text-decoration: none;
}

.home-bonus-carousel-slide::before {
  content: none;
}

.home-bonus-carousel-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #06152f;
}

@media (max-width: 780px) {
  .home-bonus-carousel-viewport,
  .home-bonus-carousel-slide,
  .home-bonus-carousel-image {
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .home-bonus-carousel-viewport,
  .home-bonus-carousel-slide,
  .home-bonus-carousel-image {
    border-radius: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-bonus-carousel-track,
  .home-bonus-carousel-slide {
    transition: none;
  }
}

/* Public performance: lightweight promo rendering */
.home-promo-bar-dots span[role='button'] {
  cursor: pointer;
}

.home-promo-bar-dots span[role='button']:focus-visible {
  outline: 2px solid #7cff6b;
  outline-offset: 2px;
}

.home-promo-bar.is-lightweight {
  box-shadow:
    0 8px 22px rgba(0, 0, 0, .24),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}

.home-promo-bar.is-lightweight::before {
  display: none;
}

.home-promo-bar.is-lightweight .home-promo-bar-dots {
  background: rgba(2, 8, 20, .82);
}

/* HOME CRUSH FOUR CIRCLES FINAL START */
.home-crush-circle-section {
  width: 100%;
  margin: 8px 0 14px;
}

.home-crush-circle-heading {
  display: flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 0 4px;
}

.home-crush-circle-heading h3 {
  margin: 0;
  color: #fff;
  font-size: 1.24rem;
  font-weight: 1000;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.home-crush-circle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  width: 100%;
  max-width: 620px;
}

.home-crush-circle-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.home-crush-circle-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(80, 240, 190, .45);
  background: #071827;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, .28),
    0 0 16px rgba(40, 220, 190, .12);
  transform: translateZ(0);
}

.home-crush-circle-media > img,
.home-crush-circle-media > .provider-game-artwork {
  width: 100%;
  height: 100%;
}

.home-crush-circle-media > img {
  display: block;
  object-fit: cover;
}

.home-crush-circle-media .provider-game-artwork {
  border-radius: 50%;
}

.home-crush-circle-media .provider-game-artwork__logo {
  max-width: 74%;
  max-height: 74%;
}

.home-crush-circle-card strong {
  display: block;
  width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: .82rem;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-crush-circle-card:active .home-crush-circle-media {
  transform: scale(.96);
}

@media (max-width: 768px) {
  .home-crush-circle-section {
    margin: 7px 0 12px !important;
  }

  .home-crush-circle-heading {
    margin-bottom: 7px !important;
    padding: 0 2px !important;
  }

  .home-crush-circle-heading h3 {
    font-size: 1.02rem !important;
  }

  .home-crush-circle-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    max-width: none !important;
  }

  .home-crush-circle-card {
    gap: 5px !important;
  }

  .home-crush-circle-card strong {
    font-size: .72rem !important;
  }

  .home-crush-circle-media {
    border-width: 2px !important;
  }
}

@media (max-width: 420px) {
  .home-crush-circle-grid {
    gap: 6px !important;
  }

  .home-crush-circle-card strong {
    font-size: .67rem !important;
  }
}

@media (max-width: 360px) {
  .home-crush-circle-grid {
    gap: 5px !important;
  }

  .home-crush-circle-card strong {
    font-size: .62rem !important;
  }
}
/* HOME CRUSH FOUR CIRCLES FINAL END */


.home-managed-banner {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
}
.home-managed-banner picture,
.home-managed-banner img { display: block; width: 100%; }
.home-managed-banner img { max-height: 440px; object-fit: cover; }
.home-managed-crush img { max-height: 320px; }
.home-dynamic-bonus-slide {
  min-height: 180px;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(85, 41, 255, .92), rgba(20, 12, 64, .96));
}
.home-dynamic-bonus-slide strong { font-size: clamp(24px, 4vw, 46px); }
.home-dynamic-bonus-slide span { font-size: clamp(14px, 2vw, 20px); opacity: .82; }
@media (max-width: 767px) {
  .home-managed-banner { border-radius: 14px; }
  .home-managed-banner img { max-height: 300px; }
  .home-dynamic-bonus-slide { min-height: 120px; padding: 18px; }
}

/* Keep layout boxes measured while scrolling; only the logo strip uses skipped rendering. */
@supports (content-visibility: auto) {
  .home-provider-showcase {
    content-visibility: auto;
    contain-intrinsic-size: auto 131px;
  }
  @media (min-width: 681px) {
    .home-provider-showcase {
      contain-intrinsic-size: auto 153px;
    }
  }
}

/* Mobile scroll performance: remove repeated backdrop/filter raster work while preserving layout. */
@media (max-width: 768px) {
  .home-game-rail-favourite,
  .home-slot-banner-cta {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(8, 19, 27, .96);
  }

  .home-crush-circle-media {
    box-shadow: 0 4px 10px rgba(0, 0, 0, .22);
  }

  .home-game-rail-media b {
    box-shadow: none;
  }
}

/* Deferred Popular cards reuse the normal media box for exact geometry. */
/* Low-end phone rendering: reserve exact Popular Games geometry while skipping off-screen paint. */
@supports (content-visibility: auto) {
  @media (max-width: 720px) {
    .home-popular-games-rail {
      content-visibility: auto;
      contain-intrinsic-size: auto calc(36.6667vw + 65.5px);
    }
  }
}

/* MOBILE HOME HORIZONTAL RAIL ALIGNMENT
   Keep New Games and Casino Categories on the exact same viewport rail
   boundaries as Most Popular, while keeping headings inside the content inset. */
@media (max-width: 720px) {
  .home-new-games-rail,
  .home-popular-games-rail,
  .home-casino-category-section {
    --home-mobile-rail-left: calc(8px + max(10px, var(--app-safe-left)));
    --home-mobile-rail-right: calc(8px + max(10px, var(--app-safe-right)));
  }

  .home-new-games-rail .home-game-rail-scroll,
  .home-popular-games-rail .home-game-rail-scroll,
  .home-casino-category-section .casino-category-strip__scroller {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(-1 * var(--home-mobile-rail-left)) !important;
    margin-right: 0 !important;
    padding-left: var(--home-mobile-rail-left) !important;
    padding-right: var(--home-mobile-rail-right) !important;
    box-sizing: border-box !important;
    scroll-padding-inline: 0 !important;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .home-new-games-rail .home-game-rail-heading,
  .home-popular-games-rail .home-game-rail-heading {
    width: calc(100vw - var(--home-mobile-rail-left) - var(--home-mobile-rail-right)) !important;
    max-width: calc(100vw - var(--home-mobile-rail-left) - var(--home-mobile-rail-right)) !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .home-game-rail-heading > div {
    min-width: 0;
  }

  .home-game-rail-heading a {
    margin-right: 0 !important;
  }
}
