@import url("auth.css");

:root {
  --bg-0: #14061f;
  --bg-1: #1c0a30;
  --bg-2: #2a1050;
  --panel: #241043;
  --line: rgba(245, 197, 24, .28);
  --gold: #f5c518;
  --gold-2: #ffe566;
  --pink: #ff4fa0;
  --text: #f4efff;
  --muted: rgba(244, 239, 255, .68);
  --radius: 14px;
  --max: 1320px;
  --font-ui: "Nunito", system-ui, sans-serif;
  --font-display: "Fredoka", "Baloo 2", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg-0);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 6, 31, .35) 0%, rgba(20, 6, 31, .55) 100%),
    url("../assets/bg.jpeg") center top / cover no-repeat fixed;
  background-position: center top, center top;
}

.page {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 16px 40px;
}

.site-header { padding: 12px 0 8px; }
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}
.header-actions { display: flex; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 8px;
  border: 0;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  letter-spacing: .3px;
}
.btn-login {
  background: linear-gradient(180deg, #7a3ae0, #4b1a9e);
  color: #fff;
  box-shadow: 0 3px 0 #2e0f66;
}
.btn-register {
  background: linear-gradient(180deg, #ffe566, #f0b400);
  color: #2a1048;
  box-shadow: 0 3px 0 #b8860b;
}

.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(180deg, rgba(48, 22, 96, .92), rgba(28, 12, 62, .96));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 12px;
  border: 1px solid rgba(186, 160, 255, .35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 8px 22px rgba(0, 0, 0, .28);
  overflow: hidden;
  min-height: 62px;
  padding: 6px 8px;
}
.nav-track {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  overflow-x: hidden;
  scrollbar-width: none;
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 2px 0;
  -webkit-overflow-scrolling: touch;
}
.nav-track::-webkit-scrollbar { display: none; }
.nav-item {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  width: auto;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12px;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 0;
  background: transparent;
}
.nav-ico {
  font-size: 14px;
  color: var(--gold);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
}
.nav-ico-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4));
  pointer-events: none;
}
.nav-item:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.nav-item.is-active {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 220, 120, .4);
}
.nav-item.is-active .nav-ico,
.nav-item:hover .nav-ico {
  color: var(--gold-2);
}
.nav-scroll {
  display: none !important;
}

.announce {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  padding: 9px 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(42, 18, 86, .95), rgba(58, 28, 110, .92) 50%, rgba(42, 18, 86, .95));
  border: 1px solid rgba(186, 160, 255, .32);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.announce-ico { color: #ffe566; font-size: 15px; }
.announce-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.announce-marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  to { transform: translateX(-100%); }
}
.announce-link {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  color: #ffe566;
  font-weight: 800;
  white-space: nowrap;
  margin-left: 8px;
  padding-left: 8px;
  background: linear-gradient(90deg, transparent, rgba(42, 18, 86, .95) 18%, rgba(42, 18, 86, .98));
}

.hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  aspect-ratio: 2.35 / 1;
  background: #1a0a2e;
}
.hero-track {
  display: flex;
  height: 100%;
  transition: transform .45s ease;
}
.hero-slide { flex: 0 0 100%; position: relative; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 32px);
  color: #fff;
  text-shadow: 0 3px 12px rgba(0,0,0,.6);
  max-width: 70%;
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(20, 6, 40, .65);
  color: var(--gold);
  cursor: pointer;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-nav.prev { left: 12px; }
.hero-nav.next { right: 12px; }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  padding: 0;
}
.hero-dots button.is-active { background: var(--gold); width: 18px; }

.live-wd {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 10px 0;
  padding: 0;
  min-height: 42px;
  border-radius: 999px;
  background: rgba(32, 22, 78, .5);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 6px 16px rgba(0, 0, 0, .22);
  overflow: hidden;
}
.live-wd-label {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0 22px 0 16px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  background: linear-gradient(180deg, #ff6eb8 0%, #e91e8c 55%, #c2185b 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .45px;
  white-space: nowrap;
  box-shadow: 4px 0 12px rgba(200, 20, 100, .35);
}
.live-wd-label i { font-size: 12px; }
.live-wd-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 12px 0 8px;
  white-space: nowrap;
}
.live-wd-track-inner {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.live-wd-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, .92);
  white-space: nowrap;
}
.live-wd-item b {
  color: #ffe566;
  font-weight: 800;
}
.live-wd-avatar {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center top;
  flex: 0 0 auto;
  display: block;
  background: linear-gradient(180deg, #ff9a3c, #ff4d4d);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .28);
}
.live-wd-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, .25), 0 0 8px #22c55e;
  flex: 0 0 auto;
}

.jackpot {
  position: relative;
  display: block;
  margin: 6px 0 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  overflow: visible;
  line-height: 0;
}
.jp-banner {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.jp-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  line-height: normal;
}
/* Text already baked into jackpot art */
.jackpot-label {
  display: none !important;
}
/* Centered inside the gold-framed purple bar */
.jackpot-amount {
  position: absolute;
  left: 20%;
  width: 50%;
  top: 68%;
  transform: translateY(-50%);
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(15px, 2.6vw, 38px);
  line-height: 1;
  color: #fff;
  text-shadow:
    0 2px 0 rgba(60, 10, 100, .5),
    0 4px 14px rgba(0, 0, 0, .5);
  white-space: nowrap;
}
/* Text over the pink pill already in the art */
.btn-jackpot {
  position: absolute;
  left: 73.5%;
  right: auto;
  top: 70%;
  width: 21%;
  height: 26%;
  min-height: 22px;
  transform: translateY(-50%);
  pointer-events: auto;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-weight: 900;
  font-size: clamp(7px, .85vw, 11px);
  letter-spacing: .12px;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
  cursor: pointer;
  box-shadow: none;
  white-space: nowrap;
}
.btn-jackpot:hover {
  filter: brightness(1.08);
}

.cat-panel {
  margin: 10px 0 14px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  box-shadow: none;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
}
.cat-tile {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1.15 / 1;
  border: 1.5px solid rgba(140, 180, 255, .35);
  background: #1a0a36;
  box-shadow:
    0 0 0 1px rgba(120, 80, 200, .15),
    0 8px 18px rgba(0, 0, 0, .3);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.cat-tile:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
}
.cat-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 30%;
  display: block;
  padding: 6% 8% 28%;
  box-sizing: border-box;
  background: radial-gradient(circle at 40% 28%, #3a1a70, #14082e 75%);
}
.cat-tile#casino img {
  object-fit: contain;
  object-position: center 30%;
  padding: 6% 8% 28%;
}
.cat-tile#togel {
  border-color: rgba(140, 180, 255, .35);
  box-shadow:
    0 0 0 1px rgba(120, 80, 200, .15),
    0 8px 18px rgba(0, 0, 0, .3);
}
.cat-tile span,
.cat-tile-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 16px 10px 12px;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 2, 20, .55) 28%, rgba(8, 2, 20, .92) 100%);
}
.cat-tile-copy strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-size: clamp(13px, 1.35vw, 16px);
  letter-spacing: .7px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
  font-style: normal;
}
.cat-tile-copy > em {
  font-style: normal;
  font-size: clamp(10px, .95vw, 12px);
  font-weight: 700;
  color: rgba(245, 235, 255, .85);
  letter-spacing: .1px;
  line-height: 1.25;
}
.cat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
  font-style: normal;
  letter-spacing: .4px;
  line-height: 1.2;
}
.cat-badge.is-hot {
  background: linear-gradient(180deg, #ff5a7a, #e11d48);
  color: #fff;
}
.cat-badge.is-live {
  background: linear-gradient(180deg, #34d399, #059669);
  color: #fff;
}
.cat-tile#togel .cat-tile-copy {
  background: linear-gradient(180deg, transparent 0%, rgba(8, 2, 20, .55) 28%, rgba(8, 2, 20, .92) 100%);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 0 10px;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold-2);
}
.section-head a {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}
.section-head a:hover { color: var(--gold); }

.provider-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
  padding: 12px 14px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  border: 1px solid rgba(255, 220, 160, .14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 8px 20px rgba(0, 0, 0, .28);
}
/* Warm temple glow strip behind provider pills (matches reference) */
.provider-bar::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: 0;
  background:
    url("../assets/bg.jpeg") center 48% / cover no-repeat;
  filter: blur(2px) saturate(1.45) brightness(1.18);
  transform: scale(1.12);
  pointer-events: none;
}
.provider-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      100deg,
      rgba(32, 12, 58, .42) 0%,
      rgba(70, 32, 70, .22) 32%,
      rgba(140, 78, 28, .28) 52%,
      rgba(55, 28, 80, .26) 72%,
      rgba(32, 12, 58, .42) 100%
    );
  pointer-events: none;
}
.provider-bar > * {
  position: relative;
  z-index: 1;
}
.provider-title {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px 0 8px;
  border-radius: 999px;
  background: rgba(28, 14, 62, .82);
  border: 1px solid rgba(186, 160, 255, .32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(0, 0, 0, .2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.provider-title-ico {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 32% 28%, #9ae6ff 0%, #5b8cff 38%, transparent 55%),
    radial-gradient(circle at 70% 70%, #7c3aed, #2e1065 70%);
  color: #ffd24a;
  font-size: 12px;
  border: 1px solid rgba(255, 210, 74, .4);
  box-shadow: 0 0 10px rgba(91, 47, 212, .5);
}
.provider-title-text {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .55px;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}
.provider-track-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.provider-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0;
  scrollbar-width: none;
  scroll-behavior: smooth;
  cursor: grab;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}
.provider-row.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}
.provider-row::-webkit-scrollbar { display: none; }
.provider-pill {
  flex: 0 0 auto;
  width: 132px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  border-radius: 10px;
  background: rgba(28, 14, 62, .82);
  border: 1px solid rgba(170, 140, 230, .38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .15s ease, background .15s ease;
}
.provider-pill:hover {
  border-color: rgba(210, 180, 255, .55);
  background: rgba(40, 22, 84, .9);
}
.provider-pill img {
  max-height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 1;
  pointer-events: none;
}
/* Light logos with black plate → knock out black */
.provider-pill img.logo-light {
  mix-blend-mode: screen;
  filter: none;
}
/* Dark glyphs on transparent → flip to white */
.provider-pill img.logo-dark {
  mix-blend-mode: normal;
  filter: brightness(0) invert(1);
}
.provider-next {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(186, 160, 255, .35);
  border-radius: 999px;
  background: rgba(28, 14, 62, .82);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.provider-next:hover {
  background: rgba(48, 26, 96, .95);
}

.section-head-popular,
.section-head-casino {
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}
.section-head-popular h2,
.section-head-casino h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: rgba(28, 14, 62, .88);
  border: 1px solid rgba(186, 160, 255, .32);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .45px;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.section-head-popular h2 i {
  color: #ffd24a;
  font-size: 13px;
}
.section-head-casino h2 i {
  color: #ffd24a;
  font-size: 12px;
}
.games-panel .section-head a {
  color: #ffe566;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

.games-panel {
  position: relative;
  margin: 12px 0 16px;
  padding: 14px 14px 16px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  border: 1.5px solid rgba(245, 197, 24, .42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 0 0 1px rgba(245, 197, 24, .12),
    0 10px 24px rgba(0, 0, 0, .28);
}
.games-panel::before {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: 0;
  background: url("../assets/bg.jpeg") center 55% / cover no-repeat;
  filter: blur(2px) saturate(1.4) brightness(1.12);
  transform: scale(1.1);
  pointer-events: none;
}
.games-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      160deg,
      rgba(18, 6, 40, .55) 0%,
      rgba(40, 18, 70, .38) 40%,
      rgba(90, 48, 28, .28) 62%,
      rgba(18, 6, 40, .52) 100%
    );
  pointer-events: none;
}
.games-panel > * {
  position: relative;
  z-index: 1;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items: start;
}
.game-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 14px;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: transform .18s ease, filter .18s ease;
}
.game-card:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}
.game-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  line-height: 0;
  border-radius: 16px;
  overflow: hidden;
}
.game-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 2.5px solid #fff;
  border-radius: 16px;
  box-sizing: border-box;
  background: #1a0a36;
  transition: transform .25s ease, border-color .2s ease;
}
.game-card:hover .game-thumb img {
  transform: scale(1.04);
  border-color: #f5c518;
}
.game-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(8, 4, 24, .48);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
  z-index: 1;
}
.game-card:hover .game-thumb::after {
  opacity: 1;
}
.play-now {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -40%);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .4px;
  line-height: 1;
  color: #3a2200;
  background: linear-gradient(180deg, #ffd24a 0%, #f5c518 100%);
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: 0 3px 0 #b8860b, 0 6px 14px rgba(0, 0, 0, .35);
  transition: opacity .2s ease, transform .2s ease;
}
.game-card:hover .play-now {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.game-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  min-width: 28px;
  height: 20px;
  padding: 0 5px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 4, 24, .72);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .2px;
  line-height: 1;
  pointer-events: none;
}
.game-card figcaption {
  padding: 8px 4px 2px;
  background: transparent;
}
.game-card strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 2px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
}
.game-card figcaption > span {
  display: block;
  font-size: 10px;
  color: rgba(230, 220, 255, .88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
}
.casino-grid {
  grid-template-columns: repeat(7, 1fr);
}
.casino-grid .game-thumb img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 16px;
}
.trust-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #3a1a78;
  border: 1px solid rgba(255, 220, 120, .28);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.trust-card i {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffd400;
  margin: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35));
}
.trust-card > div { min-width: 0; }
.trust-card strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #ffd400;
  line-height: 1.25;
}
.trust-card p {
  margin: 0;
  font-size: 12px;
  color: #fff;
  line-height: 1.4;
  opacity: .92;
}

.footer {
  margin-top: 10px;
  margin-bottom: 18px;
  padding: 22px 22px 20px;
  border-radius: 16px;
  background: #2c165d;
  border: 1px solid rgba(255, 220, 120, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.35fr .95fr;
  gap: 22px 20px;
  align-items: start;
}
.footer h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #ffd400;
}
.footer h4.footer-subhead { margin-top: 18px; }
.footer-block { margin-bottom: 14px; }
.footer-block:last-child { margin-bottom: 0; }
.footer-block strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  color: #ffd400;
}
.footer-block p,
.footer p {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, .88);
  line-height: 1.55;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  color: #fff;
  line-height: 1.35;
}
.footer-links a i {
  font-size: 10px;
  color: #ffd400;
  width: 10px;
}
.footer-links a:hover { color: #ffd400; }
.pay-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.pay-grid img {
  height: 30px;
  width: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  padding: 3px 4px;
}
.footer-powered {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.footer-powered span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .6px;
  color: #ffd400;
}
.footer-powered img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
.browser-row,
.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.browser-row a,
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #fff;
  font-size: 16px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .55);
  transition: background .15s ease, border-color .15s ease;
}
.browser-row a:hover,
.social-row a:hover {
  background: rgba(255, 212, 0, .18);
  border-color: #ffd400;
  color: #ffd400;
}
.browser-row a.is-chrome { color: #4285f4; border-color: rgba(255,255,255,.45); background: #fff; }
.browser-row a.is-firefox { color: #ff7139; border-color: rgba(255,255,255,.45); background: #fff; }
.browser-row a.is-safari { color: #00a1e0; border-color: rgba(255,255,255,.45); background: #fff; }
.browser-row a.is-edge { color: #0078d4; border-color: rgba(255,255,255,.45); background: #fff; }
.footer-bottom { display: none; }

.m-topbar,
.m-drawer,
.m-drawer-backdrop,
.m-bottom-nav,
.m-cats,
.m-fab-chat { display: none; }

.desktop-only { display: block; }

@media (max-width: 1000px) {
  .game-grid,
  .casino-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cat-panel { padding: 8px; border-radius: 14px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .game-grid,
  .casino-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-row { grid-template-columns: 1fr; }
  .jackpot {
    margin: 4px 0 8px;
    padding: 0;
    border-radius: 0;
  }
  .jp-overlay { inset: 0; }
  .jackpot-label { display: none !important; }
  .jackpot-amount { left: 18%; width: 50%; top: 56%; }
  .btn-jackpot { left: 73.5%; right: auto; width: 21%; height: 26%; top: 70%; }
  .hero { aspect-ratio: 16 / 9; }
}
