:root {
  color-scheme: dark;
  --ink: #02040a;
  --panel: #08101a;
  --panel-soft: #0b1420;
  --line: #283240;
  --white: #f5f7fa;
  --gold: #f7c948;
  --green: #19d85b;
  --green-deep: #0b7e32;
  --gray: #8d99a8;
  --muted: #637080;
  --magenta: #c547e8;
 /* --display: 'Arial Narrow', 'Roboto Condensed', 'Helvetica Neue Condensed', sans-serif;*/
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 50% -10%, rgba(88, 34, 150, 0.14), transparent 40rem),
    #010207;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-cta:focus-visible {
  outline: 3px solid rgba(245, 247, 250, 0.88);
  outline-offset: 3px;
}

.site-stage {
  min-height: 100vh;
}

.mobile-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 7%, rgba(105, 37, 203, 0.14), transparent 18rem),
    linear-gradient(180deg, #02050a 0%, #03070c 54%, #02040a 100%);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.78);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: 18px 18px 18px;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 71, 232, 0.12);
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: -110px;
  right: -70px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 71, 232, 0.2), rgba(49, 20, 91, 0.06) 46%, transparent 70%);
  animation: hero-ambient-pulse 5.8s ease-in-out infinite;
  content: '';
  pointer-events: none;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -28px;
  bottom: 20px;
  width: 260px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 201, 72, 0.54), transparent);
  content: '';
}

.campaign-carousel {
  position: relative;
  z-index: 1;
  margin-top: 47px;
  border-radius: 12px;
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(197, 71, 232, 0.08);
  touch-action: pan-y;
  animation: campaign-banner-enter 780ms 90ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.campaign-track {
  position: relative;
  overflow: hidden;
  aspect-ratio: 750 / 272;
  border: 1px solid rgba(247, 201, 72, 0.34);
  border-radius: 12px;
  background: #080d18;
}

.campaign-slide {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(4%, 0, 0) scale(1.01);
  transition: opacity 520ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.campaign-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.campaign-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-slide:focus-visible {
  outline: 3px solid rgba(245, 247, 250, 0.92);
  outline-offset: -4px;
}

.carousel-dots {
  position: absolute;
  z-index: 4;
  right: 8px;
  bottom: 3px;
  display: flex;
  align-items: center;
}

.carousel-dot {
  position: relative;
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.carousel-dot::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.72);
  content: '';
  transform: translate(-50%, -50%);
  transition: width 220ms ease, background 220ms ease;
}

.carousel-dot.is-active::after {
  width: 17px;
  background: #f7c948;
}

.carousel-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-orbit {
  position: absolute;
  z-index: -2;
  top: -70px;
  right: -112px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(197, 71, 232, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(92, 34, 174, 0.08);
  animation: hero-orbit-breathe 6.4s ease-in-out infinite;
}

.brand-crop {
  position: absolute;
  z-index: 3;
  top: 21px;
  left: 18px;
  width: 126px;
  height: 33px;
  background: url('assets/pbv88-logo-official.png') left top / 126px auto no-repeat;
  animation: brand-enter 720ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.jackpot-crop {
    position: absolute;
    z-index: -1;
    top: -1px;
    right: -70px;
    width: 310px;
    height: 310px;
    background: url(assets/maingpx.png);
    background-repeat: no-repeat;
    background-size: 95%;
    background-position: center;
    filter: drop-shadow(2px 4px 9px #341a8b);
    animation: jackpot-hero-enter 980ms 100ms cubic-bezier(0.16, 1, 0.3, 1) backwards, jackpot-hero-float 5.2s 1.1s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 0;
  text-align: center;
}

.eyebrow,
.hero h1,
.section-heading h2,
.top-title h3,
.compact-main h3,
.recent-heading h2 {
  font-family: var(--display);
  font-stretch: condensed;
}

.eyebrow {
  width: 180px;
  margin: 0;
  color: var(--white);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
  animation: hero-copy-enter 620ms 130ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero h1 {
    width: 235px;
    margin: 6px 0 0;
    color: var(--white);
    font-size: clamp(20px, 9.5vw, 28px);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.3em;
    text-shadow: 0 3px 18px #000;
    animation: hero-copy-enter 700ms 210ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 9px;
  font-family: var(--display);
  font-weight: 850;
  letter-spacing: 0.035em;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  touch-action: manipulation;
}

.hero-cta {
  position: relative;
  isolation: isolate;
  gap: 6px;
  min-width: 216px;
  margin-top: 12px;
  padding: 0 16px;
  border: 1px solid rgba(47, 242, 103, 0.62);
  color: #fff;
  background: linear-gradient(180deg, #16a43f 0%, #087526 100%);
  box-shadow: 0 9px 24px rgba(6, 108, 36, 0.24);
  font-size: 17px;
  text-decoration: none;
  overflow: hidden;
  animation: hero-copy-enter 720ms 330ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-cta::after {
  position: absolute;
  z-index: 0;
  top: -60%;
  left: -45%;
  width: 32%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  animation: cta-metal-sweep 7.2s 1.4s ease-in-out infinite;
  content: '';
  pointer-events: none;
  transform: rotate(18deg);
}

    .hero-cta > span,
    .hero-cta > svg {
        position: relative;
        z-index: 1;
        font-family: 'BeVietnamPro' !important;
    }

.hero-cta svg {
  width: 18px;
  height: 18px;
}

.hero-cta:active {
  transform: translateY(1px) scale(0.99);
}

@keyframes brand-enter {
  from { opacity: 0; transform: translate3d(-18px, -5px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes jackpot-hero-enter {
  from { opacity: 0; transform: translate3d(28px, 8px, 0) scale(0.9); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes jackpot-hero-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.3deg); }
  50% { transform: translate3d(0, -7px, 0) rotate(0.6deg); }
}

@keyframes hero-copy-enter {
  from { opacity: 0; transform: translate3d(0, 15px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes campaign-banner-enter {
  from { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.98); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes hero-ambient-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes hero-orbit-breathe {
  0%, 100% { border-color: rgba(197, 71, 232, 0.1); transform: scale(0.96); }
  50% { border-color: rgba(247, 201, 72, 0.2); transform: scale(1.04); }
}

@keyframes cta-metal-sweep {
  0%, 58% { left: -45%; opacity: 0; }
  64% { opacity: 0.75; }
  82% { left: 118%; opacity: 0.5; }
  100% { left: 118%; opacity: 0; }
}

.kpi-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 14px;
  padding: 15px 8px;
  border: 1px solid #2f3945;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10, 18, 27, 0.94), rgba(4, 10, 16, 0.98));
}

.kpi-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 7px;
  border-right: 1px solid #39424e;
}

.kpi-item:nth-child(2) {
  border-right: 0;
}

.kpi-item > svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: #98a1aa;
  stroke-width: 1.55;
}

.kpi-item div {
  min-width: 0;
}

.kpi-item strong,
.kpi-item span {
  display: block;
  white-space: nowrap;
}

.kpi-item strong {
  color: var(--white);
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.kpi-money strong {
  color: var(--gold);
}

.kpi-live-value {
  display: inline-block;
  transform-origin: center bottom;
  font-variant-numeric: tabular-nums;
  will-change: transform, opacity;
}

.kpi-money strong.kpi-money-value {
  font-size: 12px;
  letter-spacing: 0;
  white-space: nowrap;
}

.kpi-live-value.kpi-tick {
  animation: kpi-tick 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes kpi-tick {
  0% {
    opacity: 0.45;
    transform: translateY(6px) scale(0.94);
  }

  45% {
    opacity: 1;
    transform: translateY(-1px) scale(1.04);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.kpi-item span {
    margin-top: 5px;
    overflow: hidden;
    color: var(--gray);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-overflow: ellipsis;
    font-family: 'BeVietnamPro' !important;
}

.kpi-money span {
  max-width: 150px;
  overflow: visible;
  line-height: 1.25;
  text-overflow: clip;
  white-space: normal;
}

.update-line {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  color: var(--gray);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 740;
  letter-spacing: 0.07em;
}

.update-line svg {
  width: 15px;
  height: 15px;
  color: var(--gray);
}

.update-line i {
  position: relative;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(25, 216, 91, 0.22);
  animation: live-dot 2.4s ease-out infinite;
}

@keyframes live-dot {
  0%, 45%, 100% { box-shadow: 0 0 0 0 rgba(25, 216, 91, 0); }
  58% { box-shadow: 0 0 0 5px rgba(25, 216, 91, 0.12); }
}

.ranking-section {
  scroll-margin-top: 12px;
  padding: 0 14px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 5px 1px 10px;
}

.section-heading > div {
  min-width: 0;
}

.section-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.16em;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(16px, 6vw, 25px);
    letter-spacing: 0.015em;
    line-height: 1;
}

.section-heading > svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  stroke-width: 1.5;
}

.top-card,
.compact-card,
.recent-section {
  border: 1px solid #303a46;
  background: linear-gradient(145deg, rgba(9, 18, 28, 0.98), rgba(3, 8, 14, 0.98));
}

.top-card {
  position: relative;
  padding: 13px;
  overflow: hidden;
  border-color: #48515c;
  border-radius: 16px;
}

.top-card > * {
  position: relative;
  z-index: 1;
}

.top-card::before {
  position: absolute;
  top: -75px;
  left: 70px;
  width: 230px;
  height: 150px;
  border-radius: 50%;
  background: rgba(247, 201, 72, 0.07);
  filter: blur(28px);
  content: '';
  pointer-events: none;
}

.top-card::after {
  position: absolute;
  z-index: 0;
  top: -45%;
  left: -56%;
  width: 28%;
  height: 190%;
  background: linear-gradient(90deg, transparent, rgba(247, 201, 72, 0.14), rgba(255, 241, 178, 0.3), transparent);
  animation: none;
  content: '';
  pointer-events: none;
  transform: rotate(16deg);
}

.top-card.is-promoted::after {
  animation: top-card-gold-sweep 920ms cubic-bezier(0.16, 1, 0.3, 1);
}

.top-card.leader-focus::after {
  animation: top-card-gold-sweep 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.top-card.leader-focus .game-art {
  animation: leader-art-focus 1050ms cubic-bezier(0.16, 1, 0.3, 1);
}

.top-card.leader-focus .rank-medal {
  animation: medal-breathe 1050ms ease-out;
}

@keyframes leader-art-focus {
  0%, 100% { border-color: #4b5663; filter: saturate(1); transform: scale(1); }
  48% { border-color: rgba(247, 201, 72, 0.78); filter: saturate(1.16) brightness(1.05); transform: scale(1.025); }
}

@keyframes top-card-gold-sweep {
  0%, 62% { left: -56%; opacity: 0; }
  68% { opacity: 1; }
  88% { left: 126%; opacity: 0.7; }
  100% { left: 126%; opacity: 0; }
}

.top-card-lead {
  position: relative;
  display: grid;
  grid-template-columns: 48px 94px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.rank-medal {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(247, 201, 72, 0.74);
    border-radius: 50% 50%;
    color: var(--gold);
    background: radial-gradient(circle, #4e3706 0%, #160f03 64%, #070704 100%);
    box-shadow: 0 0 0 3px rgba(247, 201, 72, 0.08);
    animation: none;
}

.top-card.is-promoted .rank-medal {
  animation: medal-promote 820ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes medal-promote {
  0% { box-shadow: 0 0 0 2px rgba(247, 201, 72, 0.05); transform: scale(0.9); }
  52% { box-shadow: 0 0 0 5px rgba(247, 201, 72, 0.16), 0 0 26px rgba(247, 201, 72, 0.28); transform: scale(1.07); }
  100% { box-shadow: 0 0 0 3px rgba(247, 201, 72, 0.08); transform: scale(1); }
}

@keyframes medal-breathe {
  0%, 100% { box-shadow: 0 0 0 3px rgba(247, 201, 72, 0.07), 0 0 0 rgba(247, 201, 72, 0); }
  50% { box-shadow: 0 0 0 4px rgba(247, 201, 72, 0.12), 0 0 22px rgba(247, 201, 72, 0.18); }
}

[data-ranking] {
  transition: opacity 180ms ease, transform 180ms ease, border-color 260ms ease;
}

[data-ranking].is-live-updated {
  animation: card-live-pulse 620ms ease-out;
}

@keyframes card-live-pulse {
  0%, 100% { border-color: #303a46; box-shadow: 0 0 0 rgba(25, 216, 91, 0); }
  44% { border-color: rgba(25, 216, 91, 0.46); box-shadow: inset 0 0 20px rgba(25, 216, 91, 0.045); }
}

[data-ranking].game-change-out {
  opacity: 0.42;
  transform: translate3d(0, 7px, 0) scale(0.99);
}

[data-ranking].game-change-in {
  animation: game-change-in 520ms cubic-bezier(0.16, 1, 0.3, 1) var(--rank-delay, 0ms) both;
}

[data-ranking].game-change-in.rank-position-changed {
  animation:
    game-change-in 520ms cubic-bezier(0.16, 1, 0.3, 1) var(--rank-delay, 0ms) both,
    rank-position-accent 760ms ease-out var(--rank-delay, 0ms);
}

@keyframes game-change-in {
  0% { opacity: 0.35; transform: translate3d(0, -8px, 0) scale(0.985); }
  62% { opacity: 1; transform: translate3d(0, 1px, 0) scale(1.004); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes rank-position-accent {
  0%, 100% { border-color: #303d4b; }
  42% { border-color: rgba(247, 201, 72, 0.72); }
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.985);
  transition:
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.rank-medal span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.rank-medal strong {
  margin-top: -1px;
  font-family: var(--display);
/*  font-size: 5vw;*/
  line-height: 1;
}

.game-art {
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #4b5663;
  border-radius: 11px;
  background-color: #111927;
  background-image: url('assets/pbv88-v8-reference.png');
  background-repeat: no-repeat;
}

.top-card .game-art {
  width: 94px;
  height: 94px;
}

.art-sweet {
  background-position: -85px -364px;
  background-size: 500px auto;
}

.art-olympus {
  background-position: -130px -933px;
  background-size: 863px auto;
}

.art-mahjong {
  background-position: -130px -1047px;
  background-size: 863px auto;
}

.art-tiger {
  background-position: -130px -1160px;
  background-size: 863px auto;
}

.art-super-ace {
  background-position: -130px -1280px;
  background-size: 863px auto;
}

.game-art[class*="art-pool-"] {
  background-position: center;
  background-size: cover;
  image-rendering: auto;
}

.art-pool-pg-mahjong-ways-2 { background-image: url('assets/game-covers/pg-mahjong-ways-2.jpg'); }
.art-pool-pg-caishen-wins { background-image: url('assets/game-covers/pg-caishen-wins.jpg'); }
.art-pool-pg-wild-bandito { background-image: url('assets/game-covers/pg-wild-bandito.png'); }
.art-pool-pg-fortune-ox { background-image: url('assets/game-covers/pg-fortune-ox.jpg'); }
.art-pool-pg-treasures-of-aztec { background-image: url('assets/game-covers/pg-treasures-of-aztec.jpg'); }
.art-pool-pp-gates-of-olympus { background-image: url('assets/game-covers/pp-gates-of-olympus.png'); }
.art-pool-pp-sweet-bonanza { background-image: url('assets/game-covers/pp-sweet-bonanza.png'); }
.art-pool-pp-dog-house-megaways { background-image: url('assets/game-covers/pp-dog-house-megaways.png'); }
.art-pool-pp-sugar-rush { background-image: url('assets/game-covers/pp-sugar-rush.png'); }
.art-pool-pp-big-bass-bonanza { background-image: url('assets/game-covers/pp-big-bass-bonanza.png'); }
.art-pool-jili-super-ace { background-image: url('assets/game-covers/jili-super-ace.png'); }
.art-pool-jili-roma-x { background-image: url('assets/game-covers/jili-roma-x.png'); }
.art-pool-jili-caishen { background-image: url('assets/game-covers/jili-caishen.png'); }
.art-pool-jili-magic-lamp { background-image: url('assets/game-covers/jili-magic-lamp.png'); }
.art-pool-jili-bone-fortune { background-image: url('assets/game-covers/jili-bone-fortune.png'); }
.art-pool-fc-money-tree-dozer { background-image: url('assets/game-covers/fc-money-tree-dozer.webp'); }
.art-pool-fc-chinese-new-year { background-image: url('assets/game-covers/fc-chinese-new-year.webp'); }
.art-pool-fc-super-elements { background-image: url('assets/game-covers/fc-super-elements.webp'); }
.art-pool-fc-night-market { background-image: url('assets/game-covers/fc-night-market.webp'); }
.art-pool-fc-star-hunter { background-image: url('assets/game-covers/fc-star-hunter.webp'); }
.art-pool-jdb-caishen-party { background-image: url('assets/game-covers/jdb-caishen-party.jpg'); }
.art-pool-jdb-caishen-coming { background-image: url('assets/game-covers/jdb-caishen-coming.jpg'); }
.art-pool-jdb-open-sesame-ii { background-image: url('assets/game-covers/jdb-open-sesame-ii.jpg'); }
.art-pool-jdb-birdsparty-deluxe { background-image: url('assets/game-covers/jdb-birdsparty-deluxe.jpg'); }
.art-pool-jdb-lucky-dragons { background-image: url('assets/game-covers/jdb-lucky-dragons.webp'); }

.top-title {
  min-width: 0;
}

    .top-title h3,
    .compact-main h3 {
        margin: 0;
        /*color: var(--white);
        font-weight: 850;*/
        font-family: 'BeVietnamPro' !important;
        font-weight: bold;
        padding-top: 10px;
        /*background: linear-gradient(179deg, #fcf699 56%, #edb108 64%, #fcf11a 74%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0px 1px 0px #8b2100) drop-shadow(0px 0px 0px #8b2100) drop-shadow(2px 0px 0px #8b2100);
        -webkit-text-stroke: .3px #ffffff;*/
        background: repeating-linear-gradient(178deg, #fcf699 56%, #edb108 64%, #fcf11a 74%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0px 1px 0px #8b2100) drop-shadow(0px 0px 0px #8b2100) drop-shadow(2px 0px 0px #8b2100);
        -webkit-text-stroke: .1px #FFC107;
    }

    .top-title h3 {
        font-size: clamp(13px, 3.5vw, 16px);
        line-height: 0.98;
    }

.top-title p,
.compact-main p {
  margin: 6px 0 0;
  color: var(--gray);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.hot-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin-top: 9px;
  padding: 0 8px;
  border: 1px solid var(--magenta);
  border-radius: 6px;
  color: #ec83ff;
  background: rgba(197, 71, 232, 0.06);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.1em;
}

.top-metrics {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr 0.75fr;
  gap: 6px;
  margin-top: 13px;
  padding: 11px 0;
  border-top: 1px solid #26313e;
  border-bottom: 1px solid #26313e;
}

.metric {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  padding-right: 5px;
  border-right: 1px solid #303a45;
}

.metric:last-child {
  padding-right: 0;
  border-right: 0;
}

.metric svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--gray);
  stroke-width: 1.6;
}

.metric span,
.metric strong {
  display: block;
}

.metric span {
  min-width: 0;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.2;
}

.metric strong {
  margin-bottom: 3px;
  color: var(--white);
  font-family: var(--display);
  font-size: 15px;
  white-space: nowrap;
}

.metric strong.ranking-live-value {
  display: block;
  transform-origin: left center;
  animation: ranking-number-tick 420ms cubic-bezier(0.16, 1, 0.3, 1);
  font-variant-numeric: tabular-nums;
}

@keyframes ranking-number-tick {
  0% {
    opacity: 0.46;
    transform: translateY(4px) scale(0.96);
  }

  55% {
    opacity: 1;
    transform: translateY(-1px) scale(1.03);
  }

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

.metric-jackpot strong {
  color: var(--gold);
}

.daily-win-label {
  display: block;
  color: var(--gray);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.metric-trend svg,
.metric-trend strong {
  color: var(--green);
}

.card-momentum {
  display: block;
  width: var(--momentum, 50%);
  height: 2px;
  margin-top: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(99, 112, 128, 0.32), rgba(247, 201, 72, 0.72));
  box-shadow: 0 0 8px rgba(247, 201, 72, 0.12);
  transition: width 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.compact-list {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.compact-card {
  position: relative;
  min-height: 146px;
  padding: 10px 11px 9px;
  overflow: hidden;
  border-radius: 13px;
}

.compact-card.rank-position-changed::before {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 9px;
  min-width: 34px;
  padding: 4px 6px;
  border: 1px solid rgba(25, 216, 91, 0.34);
  border-radius: 999px;
  color: #7cf2a4;
  background: rgba(3, 18, 10, 0.9);
  content: attr(data-rank-move);
  font-family: 'BeVietnamPro', sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  animation: rank-move-chip 1450ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes rank-move-chip {
  0% { opacity: 0; transform: translate3d(0, 5px, 0) scale(0.86); }
  18%, 72% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(0, -4px, 0) scale(0.96); }
}

.compact-head {
  display: grid;
  grid-template-columns: 28px 68px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.rank-number {
  color: #abb3bc;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.compact-card .game-art {
  width: 68px;
  height: 68px;
}

.compact-main {
  min-width: 0;
}

    .compact-main h3 {
        font-size: clamp(12px, 3.5vw, 15px);
        line-height: 1.06;
    }

.compact-main p {
  margin-top: 4px;
  font-size: 10px;
}

.compact-metrics {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr 0.75fr;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #26313e;
}

.compact-metrics .metric strong {
  font-size: 14px;
}

.recent-section {
  margin: 14px;
  padding: 12px 10px 7px;
  border-radius: 14px;
}

.recent-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 2px 9px;
}

.recent-heading svg {
  width: 20px;
  height: 20px;
  color: var(--magenta);
}

.recent-heading h2 {
  margin: 0;
  color: #e66bf8;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.recent-list {
  display: grid;
  gap: 5px;
  overflow: hidden;
}

.win-row.is-new {
  animation: jackpot-row-enter 540ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes jackpot-row-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, -12px, 0);
    border-color: rgba(230, 107, 248, 0.42);
  }

  58% {
    opacity: 1;
    transform: translate3d(0, 1px, 0);
    border-color: rgba(230, 107, 248, 0.24);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.win-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 7px;
  border: 1px solid #212d39;
  border-radius: 9px;
  background: rgba(2, 7, 12, 0.58);
}

.win-row:first-child {
  border-color: rgba(230, 107, 248, 0.38);
  background: linear-gradient(90deg, rgba(197, 71, 232, 0.1), rgba(2, 7, 12, 0.58) 45%);
}

.win-row .game-art {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.win-row > div,
.win-row > p {
  min-width: 0;
  margin: 0;
}

.win-row strong,
.win-row span {
  display: block;
}

.win-row > div strong {
  font-size: 14px;
  letter-spacing: 0.015em;
}

    .win-row > div span {
        margin-top: 3px;
        color: var(--gray);
        font-size: 10px;
        font-family: 'BeVietnamPro' !important;
    }

.win-row > p {
  text-align: right;
}

    .win-row > p strong {
        color: var(--gold);
        /*font-family: var(--display);*/
        font-family: 'BeVietnamPro' !important;
        font-size: 12px;
        letter-spacing: 0.025em;
    }

    .win-row > p span {
        margin-top: 3px;
        color: var(--gray);
        font-size: 8px;
        font-family: 'BeVietnamPro' !important;
    }

.site-footer {
  margin: 0 14px;
  border-top: 1px solid #252e39;
}

.telegram-link {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: var(--white);
  text-decoration: none;
}

.telegram-link:focus-visible {
  outline: 3px solid rgba(34, 158, 217, 0.72);
  outline-offset: 2px;
}

.telegram-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #229ed9;
  box-shadow: 0 7px 20px rgba(34, 158, 217, 0.18);
}

.telegram-icon svg {
  width: 19px;
  height: 19px;
  margin-left: -2px;
}

.telegram-link > span:last-child {
  display: block;
}

.telegram-link strong,
.telegram-link small {
  display: block;
}

.telegram-link strong {
    /*font-family: var(--display);*/
    font-family: 'BeVietnamPro' !important;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.telegram-link small {
  margin-top: 3px;
  color: var(--gray);
  font-size: 9px;
}

.responsible-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 88px;
  padding: 12px 0 20px;
  border-top: 1px solid #252e39;
  color: #b4bbc3;
}

.responsible-footer svg {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: #7d8791;
  stroke-width: 1.4;
}

.responsible-footer strong,
.responsible-footer span {
  display: block;
}

    .responsible-footer strong {
        /*font-family: var(--display);*/
        font-family: 'BeVietnamPro' !important;
        font-size: 15px;
        letter-spacing: 0.09em;
    }

.responsible-footer span {
  margin-top: 5px;
  color: #727d89;
  font-size: 10px;
  line-height: 1.4;
}

@media (hover: hover) {
  .hero-cta:hover {
    background: linear-gradient(180deg, #1aba49, #0a8330);
  }

}

@media (max-width: 374px) {
  .hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand-crop {
    left: 14px;
    width: 116px;
    background-size: 116px auto;
  }

  .hero-cta {
    min-width: 207px;
    padding: 0 13px;
    font-size: 16px;
  }

  .kpi-item {
    display: block;
    padding: 0 5px;
    text-align: center;
  }

  .kpi-item > svg {
    width: 20px;
    height: 20px;
    margin: 0 auto 6px;
  }

  .kpi-item strong {
    font-size: 15px;
  }

  .kpi-money strong.jackpot-live {
    font-size: 14px;
  }

  .top-card-lead {
    grid-template-columns: 42px 86px minmax(0, 1fr);
    gap: 8px;
  }

  .rank-medal {
   /* width: 42px;
    height: 53px;*/
  }

  .rank-medal strong {
    font-size: 23px;
  }

  .top-card .game-art {
    width: 86px;
    height: 86px;
  }

  .top-title h3 {
    font-size: 14px;
  }

  .compact-card {
    padding: 8px;
  }

  .compact-head {
    grid-template-columns: 26px 60px minmax(0, 1fr);
    gap: 7px;
  }

  .compact-card .game-art {
    width: 60px;
    height: 60px;
  }

  .rank-number {
    font-size: 21px;
  }

  .compact-main h3 {
    font-size: 15px;
  }

  .compact-metrics {
    gap: 4px;
  }

  .compact-metrics .metric strong {
    font-size: 11px;
  }

  .win-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 7px;
  }

  .win-row .game-art {
    width: 40px;
    height: 40px;
  }

  .win-row > p strong {
    font-size: 12px;
  }

  .win-row > div strong {
    font-size: 11px;
  }
}

@media (min-width: 700px) {
  .site-stage {
    padding: 26px 0;
  }

  .mobile-shell {
    border: 1px solid #242d38;
    border-radius: 24px;
  }
}

/* Motion comparison modes keep the same layout and isolate one behavior per URL. */
html.motion-lab *,
html.motion-lab *::before,
html.motion-lab *::after {
  animation: none !important;
  transition: none !important;
}

html.motion-lab:not([data-motion="heat"]):not([data-motion="calm"]) .card-momentum {
  display: none;
}

html[data-motion="top1"] .top-card.leader-focus::after {
  animation: top-card-gold-sweep 1100ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html[data-motion="top1"] .top-card.leader-focus .game-art {
  animation: leader-art-focus 1050ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html[data-motion="top1"] .top-card.leader-focus .rank-medal {
  animation: medal-breathe 1050ms ease-out !important;
}

html[data-motion="numbers"] .kpi-live-value.kpi-tick {
  animation: kpi-tick 560ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html[data-motion="numbers"] .metric strong.ranking-live-value {
  animation: ranking-number-tick 420ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html[data-motion="numbers"] [data-ranking].is-live-updated {
  animation: card-live-pulse 620ms ease-out !important;
}

html[data-motion="heat"] .card-momentum {
  transition: width 720ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html[data-motion="jackpot"] .win-row.is-new {
  animation: jackpot-row-enter 540ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html[data-motion="calm"] .top-card.leader-focus::after {
  animation: calm-gold-sweep 760ms ease-out !important;
}

html[data-motion="calm"] .top-card.leader-focus .game-art,
html[data-motion="calm"] .top-card.leader-focus .rank-medal {
  animation: calm-focus 360ms ease-out !important;
}

html[data-motion="calm"] .kpi-live-value.kpi-tick,
html[data-motion="calm"] .metric strong.ranking-live-value {
  animation: calm-number-fade 240ms ease-out !important;
}

html[data-motion="calm"] [data-ranking].is-live-updated {
  animation: calm-card-border 320ms ease-out !important;
}

html[data-motion="calm"] .card-momentum {
  transition: width 360ms ease-out !important;
}

html[data-motion="calm"] .win-row.is-new {
  animation: calm-row-fade 240ms ease-out !important;
}

@keyframes calm-gold-sweep {
  0% { left: -56%; opacity: 0; }
  28% { opacity: 0.46; }
  100% { left: 126%; opacity: 0; }
}

@keyframes calm-focus {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.07) saturate(1.06); }
}

@keyframes calm-number-fade {
  0% { opacity: 0.55; }
  100% { opacity: 1; }
}

@keyframes calm-card-border {
  0%, 100% { border-color: #303a46; }
  50% { border-color: rgba(247, 201, 72, 0.38); }
}

@keyframes calm-row-fade {
  0% { opacity: 0.42; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-cta {
    transition: none;
  }

  .hero::before,
  .hero-orbit,
  .brand-crop,
  .jackpot-crop,
  .campaign-carousel,
  .eyebrow,
  .hero h1,
  .hero-cta,
  .hero-cta::after,
  .top-card::after,
  .rank-medal,
  .top-card.is-promoted::after,
  .top-card.is-promoted .rank-medal,
  .top-card.leader-focus::after,
  .top-card.leader-focus .game-art,
  .top-card.leader-focus .rank-medal,
  .update-line i,
  [data-ranking].is-live-updated,
  [data-ranking].game-change-in,
  [data-ranking].game-change-in.rank-position-changed,
  .win-row.is-new {
    animation: none;
  }

  [data-ranking],
  [data-ranking].game-change-out,
  .campaign-slide,
  .carousel-dot::after {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .kpi-live-value.kpi-tick {
    animation: none;
  }

  .metric strong.ranking-live-value {
    animation: none;
  }

  .recent-list,
  .recent-list.is-shifting {
    animation: none;
  }

  .card-momentum {
    transition: none;
  }

  html[data-motion] *,
  html[data-motion] *::before,
  html[data-motion] *::after {
    animation: none !important;
    transition: none !important;
  }
}
@font-face {
    font-family: 'BeVietnamPro';
    src: url('./assets/BeVietnamPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
.gradient-title {
   /* font-family: 'BeVietnamPro' !important;
    font-weight: bold;
    padding-top: 10px;
    background: linear-gradient(179deg, #fcf699 56%, #edb108 64%, #fcf11a 74%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 1px 0px #8b2100) drop-shadow(0px 0px 0px #8b2100) drop-shadow(2px 0px 0px #8b2100);
    -webkit-text-stroke: .3px #ffffff;*/
    font-family: 'BeVietnamPro' !important;
    font-weight: bold;
    padding-top: 10px;
    background: repeating-linear-gradient(178deg, #fcf699 56%, #edb108 64%, #fcf11a 74%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 1px 0px #8b2100) drop-shadow(0px 0px 0px #8b2100) drop-shadow(2px 0px 0px #8b2100);
    -webkit-text-stroke: .1px #FFC107;
}
