:root {
  --bg: #080b12;
  --panel: #111722;
  --panel-2: #171f2e;
  --card: #1c2638;
  --gold: #ffd56a;
  --gold-2: #f4a629;
  --red: #ff4b55;
  --text: #f7f1df;
  --muted: #9aa5b8;
  --line: rgba(255, 213, 106, .14);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
}
body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 77, 85, .25), transparent 28%),
    radial-gradient(circle at 78% 2%, rgba(255, 213, 106, .18), transparent 24%),
    linear-gradient(180deg, #06070b 0%, #121623 100%);
  display: grid;
  place-items: start center;
}

button, a { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; }
.phone-shell {
  width: min(100%, 460px);
  max-width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 30px 90px rgba(0,0,0,.55);
}
.app-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(84, 34, 27, .42), transparent 260px),
    var(--bg);
}
.app-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 290px;
  background: radial-gradient(circle at 50% -12%, rgba(255, 201, 80, .22), transparent 58%);
  pointer-events: none;
}
.topbar, .wallet-card, .hero, .quick-grid, .notice, .section-head,
.game-tabs, .game-grid, .promo-row, .vip-card, .reward-board, .license { position: relative; z-index: 1; }
.topbar {
  height: 90px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: transparent;
  border-bottom: 0;
}

.topbar-icon-area {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.topbar-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 213, 106, .24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)),
    radial-gradient(circle at top, rgba(255, 213, 106, .18), transparent 65%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .04) inset,
    0 12px 28px rgba(0, 0, 0, .26),
    0 0 30px rgba(255, 122, 0, .24),
    0 0 20px rgba(255, 45, 85, .14) inset;
  position: relative;
  overflow: visible;
  isolation: isolate;
  animation: brandBounce 1.4s ease-in-out infinite;
  transform-origin: center;
}


.brand::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 213, 106, .28);
  pointer-events: none;
  z-index: 1;
}

.brand-image {
  display: block;
  width: 460px;
  height: 90px;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
}


.brand-orbit {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  pointer-events: none;
  overflow: visible;
}

.brand-orbit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 8px #fff,
    0 0 14px #ffe84d,
    0 0 24px #ff7a00,
    0 0 34px rgba(0, 217, 255, .72);
  offset-path: ellipse(50% 42% at 50% 50%);
  offset-rotate: 0deg;
  animation: brandOrbitPath 2.4s linear infinite, brandOrbitColor 2.4s linear infinite;
}

.brand-orbit::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,232,77,.15) 22%, rgba(255,122,0,.62) 58%, rgba(255,45,85,.92) 82%, rgba(255,255,255,.95) 100%);
  filter: blur(.2px);
  opacity: .95;
  offset-path: ellipse(50% 42% at 50% 50%);
  offset-rotate: 0deg;
  animation: brandOrbitPath 2.4s linear infinite, brandOrbitTail 2.4s linear infinite;
}

.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  color: #2a1400;
  background: linear-gradient(135deg, #fff0a7, #f6aa20 60%, #bb5b19);
  box-shadow: 0 6px 20px rgba(244,166,41,.4);
}
.brand-text {
  font-size: 24px;
  font-weight: 1000;
  letter-spacing: 1px;
  line-height: 1;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffe84d 10%, #ff7a00 22%, #ff2d55 36%, #00d9ff 50%, #7fff4d 64%, #ffcf33 78%, #ffffff 100%),
    linear-gradient(90deg, rgba(255,255,255,.28), rgba(255,255,255,0) 35%, rgba(255,255,255,.32) 65%, rgba(255,255,255,0));
  background-size: 360% auto, 220% 100%;
  background-position: 0% center, 0% center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.1px rgba(54, 16, 0, .92);
  paint-order: stroke fill;
  text-shadow:
    0 0 1px rgba(255, 255, 255, .18),
    0 0 6px rgba(255, 208, 64, .28),
    0 1px 0 rgba(0, 0, 0, .22);
  animation: vipGlow 1.9s linear infinite, vipFlow 2.6s linear infinite;
}

@keyframes brandOrbitPath {
  0% { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}

@keyframes brandOrbitColor {
  0% {
    background: #ffffff;
    box-shadow: 0 0 8px #fff, 0 0 14px #ffe84d, 0 0 24px #ff7a00, 0 0 34px rgba(0, 217, 255, .72);
  }
  25% {
    background: #ff2d55;
    box-shadow: 0 0 8px #fff, 0 0 14px #ff2d55, 0 0 24px #ff7a00, 0 0 34px #ffe84d;
  }
  50% {
    background: #00d9ff;
    box-shadow: 0 0 8px #fff, 0 0 14px #00d9ff, 0 0 24px #7fff4d, 0 0 34px #ffcf33;
  }
  75% {
    background: #7fff4d;
    box-shadow: 0 0 8px #fff, 0 0 14px #7fff4d, 0 0 24px #00d9ff, 0 0 34px #ff2d55;
  }
  100% {
    background: #ffffff;
    box-shadow: 0 0 8px #fff, 0 0 14px #ffe84d, 0 0 24px #ff7a00, 0 0 34px rgba(0, 217, 255, .72);
  }
}

@keyframes brandOrbitTail {
  0% { filter: hue-rotate(0deg) blur(.2px); opacity: .95; }
  25% { filter: hue-rotate(35deg) blur(.2px); opacity: 1; }
  50% { filter: hue-rotate(85deg) blur(.25px); opacity: .95; }
  75% { filter: hue-rotate(-35deg) blur(.2px); opacity: 1; }
  100% { filter: hue-rotate(0deg) blur(.2px); opacity: .95; }
}

@keyframes brandOrbitDot {
  0% {
    left: 50%;
    top: -5px;
    transform: translate(-50%, 0) scale(1);
    background: #ffffff;
    box-shadow: 0 0 7px #fff, 0 0 12px #ffe84d, 0 0 20px #ff7a00, 0 0 30px #00d9ff;
  }
  25% {
    left: calc(100% + 1px);
    top: 50%;
    transform: translate(-50%, -50%) scale(1.18);
    background: #ff2d55;
    box-shadow: 0 0 8px #fff, 0 0 14px #ff2d55, 0 0 24px #ff7a00, 0 0 34px #ffe84d;
  }
  50% {
    left: 50%;
    top: calc(100% - 5px);
    transform: translate(-50%, 0) scale(1);
    background: #00d9ff;
    box-shadow: 0 0 8px #fff, 0 0 14px #00d9ff, 0 0 24px #7fff4d, 0 0 34px #ffcf33;
  }
  75% {
    left: -1px;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.18);
    background: #7fff4d;
    box-shadow: 0 0 8px #fff, 0 0 14px #7fff4d, 0 0 24px #00d9ff, 0 0 34px #ff2d55;
  }
  100% {
    left: 50%;
    top: -5px;
    transform: translate(-50%, 0) scale(1);
    background: #ffffff;
    box-shadow: 0 0 7px #fff, 0 0 12px #ffe84d, 0 0 20px #ff7a00, 0 0 30px #00d9ff;
  }
}

@keyframes brandMeteorRing {
  0% { transform: rotate(0deg); filter: drop-shadow(0 0 7px rgba(255, 213, 106, .52)) drop-shadow(0 0 10px rgba(255, 122, 0, .24)); }
  35% { filter: drop-shadow(0 0 9px rgba(255, 45, 85, .5)) drop-shadow(0 0 12px rgba(255, 232, 77, .3)); }
  65% { filter: drop-shadow(0 0 9px rgba(0, 217, 255, .45)) drop-shadow(0 0 12px rgba(127, 255, 77, .26)); }
  100% { transform: rotate(360deg); filter: drop-shadow(0 0 7px rgba(255, 213, 106, .52)) drop-shadow(0 0 10px rgba(255, 122, 0, .24)); }
}

@keyframes vipGlow {
  0% {
    filter: hue-rotate(0deg) drop-shadow(0 0 2px rgba(255, 213, 106, .45)) drop-shadow(0 0 7px rgba(255, 200, 40, .32));
  }
  25% {
    filter: hue-rotate(18deg) drop-shadow(0 0 4px rgba(255, 80, 40, .58)) drop-shadow(0 0 10px rgba(255, 180, 0, .42));
  }
  50% {
    filter: hue-rotate(52deg) drop-shadow(0 0 7px rgba(0, 217, 255, .62)) drop-shadow(0 0 13px rgba(255, 122, 0, .46));
  }
  75% {
    filter: hue-rotate(-18deg) drop-shadow(0 0 5px rgba(255, 45, 85, .62)) drop-shadow(0 0 12px rgba(127, 255, 77, .38));
  }
  100% {
    filter: hue-rotate(0deg) drop-shadow(0 0 2px rgba(255, 213, 106, .45)) drop-shadow(0 0 7px rgba(255, 200, 40, .32));
  }
}

@keyframes vipFlow {
  0% { background-position: 0% center, -80% center; }
  25% { background-position: 70% center, 10% center; }
  50% { background-position: 145% center, 100% center; }
  75% { background-position: 210% center, 170% center; }
  100% { background-position: 300% center, 260% center; }
}

@keyframes brandUnderlineFlow {
  0% { background-position: 0% center; transform: scaleX(.72); filter: hue-rotate(0deg); }
  50% { background-position: 120% center; transform: scaleX(1); filter: hue-rotate(55deg); }
  100% { background-position: 260% center; transform: scaleX(.72); filter: hue-rotate(0deg); }
}

@keyframes brandBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  25% { transform: translateY(-2px) scale(1.02); }
  50% { transform: translateY(0) scale(1); }
  75% { transform: translateY(-1px) scale(1.01); }
}
.top-actions { display: flex; align-items: center; gap: 7px; }
.pill, .round {
  height: 30px; border-radius: 999px; padding: 0 12px;
  background: #222b3c; border: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}
.pill.gold { color: #331d00; font-weight: 800; background: linear-gradient(180deg, #ffe184, #f4a629); }
.round { width: 30px; padding: 0; }
.wallet-card {
  margin: 0;
  padding: 0 18px;
  height: 154px;
  display: block;
  position: relative;
  border-radius: 0;
  background: url('./img/jha00000446521597.png') center center / cover no-repeat;
  border: 0;
  box-shadow: none;
}

.wallet-top-icons {
  position: absolute;
  left: 18px;
  top: 36px;
  width: 62%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  column-gap: 9px;
  row-gap: 4px;
  padding-left: 2px;
}

.wallet-top-icons img {
  height: 22px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
  opacity: .96;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, .42)) drop-shadow(0 0 8px rgba(255, 213, 106, .16));
}

.wallet-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 178px;
  align-items: end;
  gap: 6px;
  overflow: visible;
}

.wallet-label {
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
  white-space: nowrap;
  min-width: 0;
  transform: translateY(0);
}

.wallet-icon-main {
  width: auto;
  height: 96px;
  max-width: 96px;
  object-fit: contain;
  display: block;
  margin-right: 6px;
}

.wallet-text-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  margin-bottom: 2px;
  filter: drop-shadow(0 0 4px rgba(255, 213, 106, .2));
}

.wallet-card p { margin: 0 0 1px; color: var(--gold); font-size: 19px; font-weight: 800; letter-spacing: .5px; text-shadow: 0 0 8px rgba(255, 213, 106, .18); }

.wallet-side-feature {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(0, 0);
}

.wallet-side-image {
  width: auto;
  height: 94px;
  max-width: 176px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .45)) drop-shadow(0 0 10px rgba(255, 213, 106, .14));
}

.wallet-cashback-copy {
  margin-top: -4px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.cashback-rate {
  color: #fff3b5;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .78), 0 0 10px rgba(255, 213, 106, .36);
}

.cashback-pill {
  min-width: 92px;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #351900;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1;
  background: linear-gradient(180deg, #fff3ad 0%, #ffd45f 35%, #f4a629 72%, #bd5e13 100%);
  border: 1px solid rgba(255, 246, 181, .9);
  box-shadow:
    0 8px 16px rgba(244, 166, 41, .26),
    0 0 18px rgba(255, 213, 106, .22),
    inset 0 1px 0 rgba(255, 255, 255, .72),
    inset 0 -8px 14px rgba(124, 48, 0, .16);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 210px;
  border-radius: 0;
  border: 1px solid rgba(255, 213, 106, .18);
  box-shadow: inset 0 0 40px rgba(255,213,106,.08), 0 15px 35px rgba(0,0,0,.35);
  background: #111722;
  touch-action: pan-y;
}

.hero-track {
  display: flex;
  width: 100%;
  height: 210px;
  transition: transform .45s ease;
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #111722;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-nav {
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .38);
  color: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 213, 106, .32);
  font-size: 16px;
  line-height: 1;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition: opacity .22s ease, transform .22s ease, background .22s ease;
}

.hero-nav.prev { left: 8px; }
.hero-nav.next { right: 8px; }

.hero-carousel.show-controls .hero-nav,
.hero-carousel:hover .hero-nav {
  opacity: .9;
  pointer-events: auto;
}

.hero-nav:active {
  transform: translateY(-50%) scale(.9);
  background: rgba(255, 213, 106, .28);
}

.game-carousel {
  margin: 0 0 12px;
  padding: 0;
  border-radius: 0;
  border: 1px solid rgba(255, 213, 106, .18);
  box-shadow: inset 0 0 34px rgba(255, 213, 106, .08), 0 15px 35px rgba(0, 0, 0, .28);
  background: #111722;
}

.game-carousel .hero-track {
  position: relative;
  width: 100%;
  height: 0;
}

.game-carousel .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  min-width: 100%;
  flex: none;
  opacity: 0;
  transition: opacity .6s ease;
}

.game-carousel .hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.game-carousel .hero-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: transparent;
  user-select: none;
  -webkit-user-drag: none;
}

.game-carousel .hero-nav {
  display: none;
}
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.quick-grid a {
  text-decoration: none; min-height: 86px; padding: 9px 5px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--panel-2), #111722);
  border: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-align: center;
}
.quick-grid b { font-size: 12px; }
.quick-grid small { color: var(--muted); font-size: 10px; line-height: 1.2; }
.icon {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 12px;
  font-weight: 900; font-size: 13px; color: white;
}
.red { background: linear-gradient(135deg, #ff4459, #a31324); }
.orange { background: linear-gradient(135deg, #ffc64c, #c56a12); }
.violet { background: linear-gradient(135deg, #a76bff, #5032b8); }
.cyan { background: linear-gradient(135deg, #37d7ff, #1e729b); }
.notice {
  margin: 0;
  padding: 12px 18px 16px 12px;
  height: calc(100vw * 268 / 547);
  max-height: calc(460px * 268 / 547);
  min-height: 0;
  border-radius: 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 8, 14, .78) 0%, rgba(5, 8, 14, .36) 48%, rgba(5, 8, 14, .72) 100%),
    url('./lunbo/beij/3.png') center center / 100% 100% no-repeat;
  color: #f7f1df;
  font-size: 12px;
  border: 1px solid rgba(255, 213, 106, .22);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, .34),
    inset 0 0 26px rgba(255, 213, 106, .10);
}

.notice::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, .08);
  pointer-events: none;
}

.notice::after {
  content: "";
  position: absolute;
  left: -18%;
  top: -70%;
  width: 58%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 106, .16), transparent);
  transform: rotate(18deg);
  animation: noticeShine 3.8s ease-in-out infinite;
  pointer-events: none;
}

.notice-wave {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  width: 100%;
  color: #fff3c6;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
  text-shadow: 0 2px 7px rgba(0, 0, 0, .72), 0 0 12px rgba(255, 213, 106, .42);
}

.notice-title {
  display: flex;
  flex: 0 0 auto;
  color: #ffd56a;
  font-size: 12px;
  font-weight: 1000;
  line-height: 1;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, .85),
    0 0 10px rgba(255, 213, 106, .72),
    0 0 18px rgba(255, 75, 85, .35);
}

.notice-text {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
  color: #ffffff;
  font-size: 14px;
  white-space: nowrap;
  transform: scaleX(1);
  transform-origin: left center;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, .82),
    0 0 10px rgba(255, 213, 106, .32);
}

.notice-corner {
  position: absolute;
  left: 10px;
  bottom: 8px;
  z-index: 1;
  width: auto;
  height: 180px;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5));
}

.notice-actions {
  position: absolute;
  right: 15px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 186px;
  padding: 8px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 224, 130, .18), rgba(255, 75, 85, .08) 42%, rgba(4, 7, 12, .12)),
    rgba(6, 8, 14, .28);
  border: 1px solid rgba(255, 213, 106, .22);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, .32),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(3px);
}

.notice-actions::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 246, 181, .68), rgba(255, 79, 93, .22), rgba(255, 213, 106, .08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.notice-action {
  min-height: 40px;
  padding: 0 13px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .2px;
  white-space: nowrap;
  border: 1px solid rgba(255, 213, 106, .48);
  transform: skewX(-8deg);
  box-shadow:
    0 9px 18px rgba(0, 0, 0, .38),
    inset 0 1px 0 rgba(255, 255, 255, .28),
    inset 0 -10px 18px rgba(0, 0, 0, .16);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.notice-action > span {
  position: relative;
  z-index: 1;
  transform: skewX(8deg);
}

.notice-action::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  pointer-events: none;
}

.notice-action::after {
  content: "";
  position: absolute;
  top: -42%;
  left: -62%;
  width: 46%;
  height: 185%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: rotate(19deg);
  animation: actionShine 2.9s ease-in-out infinite;
  pointer-events: none;
}

.notice-action:active {
  transform: skewX(-8deg) translateY(1px) scale(.98);
}

.notice-action.vip-service {
  color: #ffe8a2;
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 222, 119, .32), transparent 28%),
    linear-gradient(135deg, rgba(112, 15, 24, .98), rgba(45, 14, 18, .92) 48%, rgba(13, 14, 22, .94));
  text-shadow: 0 1px 4px rgba(0, 0, 0, .78), 0 0 10px rgba(255, 213, 106, .34);
}

.notice-action.game-entry {
  color: #3a1700;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, .78), transparent 18%),
    linear-gradient(180deg, #fff3ad 0%, #ffd45f 35%, #f4a629 72%, #bd5e13 100%);
  border-color: rgba(255, 246, 181, .92);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .52);
  box-shadow:
    0 10px 22px rgba(244, 166, 41, .28),
    0 0 20px rgba(255, 213, 106, .3),
    inset 0 1px 0 rgba(255, 255, 255, .78),
    inset 0 -12px 18px rgba(124, 48, 0, .18);
  animation: actionPulse 2.2s ease-in-out infinite;
}

.action-icon {
  width: 19px;
  height: 19px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  color: #3c1500;
  background: linear-gradient(180deg, #fff1aa, #f4a629);
  font-size: 11px;
  line-height: 1;
  box-shadow: 0 0 8px rgba(255, 213, 106, .38);
}

@keyframes actionShine {
  0%, 42% { left: -62%; opacity: 0; }
  54% { opacity: .95; }
  74%, 100% { left: 118%; opacity: 0; }
}

@keyframes actionPulse {
  0%, 100% { filter: saturate(1) brightness(1); }
  50% { filter: saturate(1.15) brightness(1.06); }
}

.notice-wave span {
  display: inline-block;
  animation: noticeWave 2.2s cubic-bezier(.45, 0, .55, 1) infinite;
  will-change: transform;
}

.notice-wave span:nth-child(1) { animation-delay: 0s; }
.notice-wave span:nth-child(2) { animation-delay: .06s; }
.notice-wave span:nth-child(3) { animation-delay: .12s; }
.notice-wave span:nth-child(4) { animation-delay: .18s; }
.notice-wave span:nth-child(5) { animation-delay: .24s; }
.notice-wave span:nth-child(6) { animation-delay: .30s; }
.notice-wave span:nth-child(7) { animation-delay: .36s; }
.notice-wave span:nth-child(8) { animation-delay: .42s; }
.notice-wave span:nth-child(9) { animation-delay: .48s; }
.notice-wave span:nth-child(10) { animation-delay: .54s; }
.notice-wave span:nth-child(11) { animation-delay: .60s; }
.notice-wave span:nth-child(12) { animation-delay: .66s; }
.notice-wave span:nth-child(13) { animation-delay: .72s; }
.notice-wave span:nth-child(14) { animation-delay: .78s; }
.notice-wave span:nth-child(15) { animation-delay: .84s; }
.notice-wave span:nth-child(16) { animation-delay: .90s; }
.notice-wave span:nth-child(17) { animation-delay: .96s; }
.notice-wave span:nth-child(18) { animation-delay: 1.02s; }
.notice-wave span:nth-child(19) { animation-delay: 1.08s; }
.notice-wave span:nth-child(20) { animation-delay: 1.14s; }
.notice-wave span:nth-child(21) { animation-delay: 1.20s; }
.notice-wave span:nth-child(22) { animation-delay: 1.26s; }
.notice-wave span:nth-child(23) { animation-delay: 1.32s; }
.notice-wave span:nth-child(24) { animation-delay: 1.38s; }
.notice-wave span:nth-child(25) { animation-delay: 1.44s; }
.notice-wave span:nth-child(26) { animation-delay: 1.50s; }
.notice-wave span:nth-child(27) { animation-delay: 1.56s; }

@keyframes noticeWave {
  0%, 100% { transform: translateY(0); color: #dce4ef; text-shadow: 0 0 0 rgba(255,255,255,0); }
  20% { transform: translateY(-2px); }
  40% { transform: translateY(-4px); color: #f6efe0; text-shadow: 0 0 8px rgba(255, 213, 106, .18); }
  60% { transform: translateY(-2px); }
  80% { transform: translateY(0); }
}
.carousel-bottom-bg {
  height: 80px;
  margin: 0;
  background: url('./lunbo/beij/3.png') center center / cover no-repeat;
}

.section-head {
  margin: 0 12px 10px; display: flex; align-items: end; justify-content: space-between;
}
.section-head p { margin: 0 0 2px; color: var(--gold); text-transform: uppercase; font-size: 10px; letter-spacing: 1px; }
.section-head h2 { margin: 0; font-size: 21px; }
.section-head button {
  padding: 7px 10px; border-radius: 999px; background: #202a3d; color: var(--muted); font-size: 12px;
}
.game-tabs {
  margin: 0 12px 12px; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px;
}
.game-tabs::-webkit-scrollbar { display: none; }
.game-tabs button {
  white-space: nowrap; padding: 8px 12px; border-radius: 999px;
  background: #161e2d; color: var(--muted); font-size: 12px;
}
.game-tabs .active { color: #2d1700; background: linear-gradient(180deg, #ffe184, #f4a629); font-weight: 900; }
.game-grid {
  margin: 0 12px 14px; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 9px;
}
.game-card {
  min-height: 116px; padding: 12px; border-radius: 17px; overflow: hidden;
  background: linear-gradient(180deg, #1b2537, #111823);
  border: 1px solid rgba(255,255,255,.06);
  position: relative;
}
.game-card.featured { grid-row: span 2; min-height: 241px; background: linear-gradient(160deg, #48201a, #131927 55%, #322411); }
.game-card img { width: 42px; height: 42px; object-fit: contain; margin-bottom: 10px; }
.game-card.featured span {
  width: 58px; height: 58px; border-radius: 19px; display:grid; place-items:center;
  background: linear-gradient(135deg, #ff5b61, #ffd56a); color:#341700; font-size:24px; font-weight:1000;
}
.spark { position:absolute; width:120px; height:120px; right:-42px; top:-35px; border-radius:50%; background:rgba(255,213,106,.16); }
.game-card h3 { margin: 0 0 5px; font-size: 14px; }
.game-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.promo-row { margin: 0 12px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.promo { padding: 16px 13px; min-height: 112px; border-radius: 18px; border: 1px solid var(--line); background: #1b2537; }
.promo p { margin:0 0 4px; color: var(--gold); font-size: 10px; text-transform: uppercase; }
.promo h3 { margin: 0 0 12px; font-size: 20px; }
.promo span { color: #dfd6c2; font-size: 12px; }
.bg1 { background: radial-gradient(circle at 80% 20%, rgba(255,213,106,.26), transparent 45%), linear-gradient(135deg, #3f1418, #151c2a); }
.bg2 { background: radial-gradient(circle at 80% 20%, rgba(255,75,85,.24), transparent 45%), linear-gradient(135deg, #362309, #151c2a); }
.vip-card, .reward-board, .license {
  margin: 0 12px 14px; padding: 13px; border-radius: 18px;
  background: linear-gradient(180deg, var(--panel-2), #111722);
  border: 1px solid rgba(255,255,255,.07);
}
.vip-card { display:flex; justify-content: space-between; align-items:center; }
.vip-left { display:flex; align-items:center; gap: 12px; }
.vip-left img { width: 42px; height: 42px; }
.vip-left p, .vip-left h3, .vip-left small { margin: 0; }
.vip-left p, .vip-left small { color: var(--muted); font-size: 11px; }
.vip-left h3 { color: var(--gold); font-size: 19px; }
.vip-card button { border-radius: 999px; padding: 8px 14px; color:#2d1700; background: var(--gold); font-weight:900; }
.tight { margin: 0 0 12px; }
.reward-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.reward-grid div { min-height:76px; border-radius:14px; background:#202a3d; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; font-size:12px; text-align:center; }
.reward-grid img { width:34px; height:34px; object-fit:contain; }
.badge { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; color:#361800; font-weight:900; background:linear-gradient(180deg,#ffe184,#f4a629); }
.license { display:flex; gap:12px; align-items:center; }
.license img { width:54px; height:54px; object-fit:contain; }
.license h3, .license p { margin:0; }
.license h3 { margin-bottom:5px; }
.license p { color:var(--muted); font-size:12px; line-height:1.5; }
.bottom-space { height: 82px; }
.tabbar {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(100%, 460px); height: 66px; padding: 8px 6px 6px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(15, 20, 31, .94); backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255,255,255,.08); z-index: 5;
}
.tabbar a { text-decoration:none; display:flex; flex-direction:column; align-items:center; gap:3px; color:#7f8ba0; font-size:11px; }
.tabbar span { font-size:18px; }
.tabbar .active { color: var(--gold); font-weight:900; }
.mobile-entry-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(6px);
}

.mobile-entry-modal.show {
  display: flex;
}

.mobile-entry-dialog {
  width: min(100%, 342px);
  padding: 22px 18px 18px;
  border-radius: 22px;
  color: #fff4cf;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 213, 106, .24), transparent 52%),
    linear-gradient(180deg, rgba(36, 22, 20, .98), rgba(10, 13, 20, .98));
  border: 1px solid rgba(255, 213, 106, .38);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, .58),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 0 28px rgba(255, 213, 106, .14);
}

.mobile-entry-dialog h3 {
  margin: 0 0 12px;
  color: #ffd56a;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: 1px;
  text-shadow: 0 0 14px rgba(255, 213, 106, .42);
}

.mobile-entry-dialog p {
  margin: 0;
  color: #f7e8bd;
  font-size: 15px;
  line-height: 1.65;
}

.mobile-entry-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 10px;
}

.mobile-entry-actions button {
  height: 40px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.modal-cancel {
  color: #d8dce6;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}

.modal-confirm {
  color: #361800;
  background: linear-gradient(180deg, #fff3ad 0%, #ffd45f 38%, #f4a629 100%);
  border: 1px solid rgba(255, 246, 181, .85);
  box-shadow: 0 8px 18px rgba(244, 166, 41, .24), inset 0 1px 0 rgba(255, 255, 255, .7);
}

@media (max-width: 430px) {
  .topbar {
    height: clamp(72px, 20vw, 86px);
    padding: 0 6px;
  }

  .brand-image {
    width: calc(100vw - 78px);
    height: clamp(72px, 20vw, 86px);
  }

  .topbar-icon-area {
    width: clamp(58px, 17vw, 72px);
    height: clamp(72px, 20vw, 86px);
  }

  .topbar-icon {
    width: clamp(40px, 12vw, 50px);
    height: clamp(40px, 12vw, 50px);
  }

  .wallet-card {
    padding: 0 10px;
  }

  .wallet-top-icons {
    left: 12px;
    width: 56%;
    column-gap: 6px;
  }

  .wallet-top-icons img {
    height: 20px;
    max-width: 58px;
  }

  .wallet-content {
    left: 12px;
    right: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(118px, 37vw);
    gap: 4px;
    overflow: hidden;
  }

  .wallet-card p {
    font-size: 17px;
  }

  .wallet-text-icon {
    width: 22px;
    height: 22px;
  }

  .wallet-side-image {
    height: clamp(68px, 22vw, 86px);
    max-width: 100%;
  }

  .wallet-cashback-copy {
    gap: 4px;
    transform: scale(.92);
    transform-origin: center top;
  }

  .cashback-rate,
  .cashback-pill {
    font-size: 12px;
  }

  .cashback-pill {
    min-width: 78px;
    height: 23px;
    padding: 0 8px;
  }

  .notice {
    padding: 10px 10px 14px;
  }

  .notice-wave {
    font-size: 12px;
    gap: 2px;
  }

  .notice-text {
    font-size: 12px;
    transform: scaleX(.86);
  }

  .notice-corner {
    left: 4px;
    bottom: 4px;
    height: clamp(118px, 39vw, 158px);
  }

  .notice-actions {
    right: 8px;
    bottom: 10px;
    width: min(156px, 42vw);
    gap: 10px;
    padding: 6px;
  }

  .notice-action {
    min-height: 34px;
    padding: 0 8px;
    border-radius: 13px;
    font-size: 12px;
  }

  .action-icon {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 390px) {
  .brand-text { font-size: 16px; }
  .top-actions { gap:4px; }
  .pill { padding: 0 9px; }
  .hero img { right: -180px; }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .game-card.featured { grid-column: span 2; min-height: 160px; }
  .quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap:6px; }
  .quick-grid a { padding:8px 3px; }

  .wallet-content {
    grid-template-columns: minmax(0, 1fr) minmax(108px, 35vw);
  }

  .wallet-top-icons img {
    height: 18px;
    max-width: 52px;
  }

  .wallet-card p {
    font-size: 15px;
  }

  .wallet-cashback-copy {
    transform: scale(.84);
  }

  .notice-text {
    transform: scaleX(.78);
  }

  .notice-actions {
    width: min(142px, 41vw);
    gap: 8px;
  }

  .notice-action {
    min-height: 31px;
    font-size: 11px;
  }
}
