:root {
  --bg-0: #0b0f17;
  --bg-1: #101827;
  --card: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.10);
  --text: #eaf0ff;
  --muted: rgba(234, 240, 255, 0.72);
  --brand: #21e07a;
  --cyan: #23c7ff;
  --blue: #3b82f6;
  --purple: #a855f7;
  --pink: #ff4fd8;
  --orange: #ff8a00;
  --red: #ff3b30;
  --yellow: #ffd166;
  --hero-grad: linear-gradient(135deg, rgba(35,199,255,0.25), rgba(168,85,247,0.22), rgba(33,224,122,0.18));
  --btn-grad: linear-gradient(135deg, var(--brand), var(--cyan));
  --jackpot-grad: linear-gradient(135deg, rgba(255,138,0,0.20), rgba(255,79,216,0.18), rgba(59,130,246,0.16));
}

* { box-sizing: border-box; }
body {
  background: radial-gradient(circle at 10% 0, #17243d 0, var(--bg-0) 40%), var(--bg-0);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
}
body {
  top: 0 !important;
}
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame {
  display: none !important;
}
.skiptranslate.goog-te-gadget {
  color: transparent !important;
}
.goog-te-gadget-icon,
.goog-logo-link {
  display: none !important;
}
.goog-te-combo {
  background: #101827;
  color: var(--text);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 8px 10px;
  min-width: 220px;
}
.sticky-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 23, 0.75);
  border-bottom: 1px solid var(--stroke);
}

h1,h2,h3,h4,h5,h6,.display-title { font-weight: 800; letter-spacing: 0.2px; }
.logo-stack { display: flex; flex-direction: column; gap: 4px; }
.logo-wrap { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--btn-grad); color: #001607;
}
.logo-text {
  background: linear-gradient(120deg, #ffffff 0%, #23c7ff 34%, #21e07a 68%, #ffd166 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: logo-glow 2.4s linear infinite;
}
@keyframes logo-glow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.btn-brand {
  background: var(--btn-grad); color: #04140d; border: 0; border-radius: 12px; font-weight: 800;
}
.btn-brand:hover { color: #04140d; filter: brightness(1.05); }
.btn-dark-soft {
  border: 1px solid var(--stroke); color: var(--text); background: rgba(255,255,255,.06); border-radius: 12px;
}
.wallet-chip,
.wallet-pill,
.wallet-home-banner,
.wallet-summary-card,
.deposit-promo-card,
.deposit-form-card,
.account-details-card {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(255,255,255,.05);
}
.wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-weight: 700;
}
.wallet-chip-label {
  color: var(--muted);
}
.account-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
}
.account-menu-toggle::after {
  margin-left: 2px;
}
.account-menu-icon,
.account-menu-head-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(35,199,255,.12);
  color: #bfeaff;
  font-size: 1.1rem;
}
.account-menu-name {
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-menu-dropdown {
  min-width: 260px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: #101827;
  box-shadow: 0 18px 40px rgba(0,0,0,.3);
}
.account-menu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 10px;
}
.account-menu-user-name {
  font-weight: 800;
  color: var(--text);
}
.account-menu-user-email {
  color: var(--muted);
  font-size: .85rem;
  word-break: break-word;
}
.account-menu-divider {
  height: 1px;
  background: var(--stroke);
  margin: 4px 0 8px;
}
.account-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.account-menu-link:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.wallet-pill {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  min-width: 220px;
}
.wallet-pill-label {
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.translate-shell {
  margin: 14px 0;
}
.translate-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
}
.translate-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.translate-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.translate-label {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 800;
}
.google-translate-element {
  display: flex;
  justify-content: flex-end;
}
.wallet-home-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.wallet-summary-card {
  padding: 12px;
}
.deposit-promo-card,
.deposit-form-card {
  padding: 22px;
}
.deposit-amount-card,
.deposit-placeholder-copy {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  padding: 18px;
}
.deposit-amount-display {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--yellow);
}
.deposit-promo-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(33,224,122,.16);
  color: #a2ffca;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.account-details-card {
  padding: 18px;
  margin-top: 18px;
}
.account-number-display {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--yellow);
}
.text-theme-orange {
  color: var(--orange);
}
.hero {
  border: 1px solid var(--stroke); background: var(--hero-grad); border-radius: 24px;
}
.hero-side-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
  background: rgba(4, 10, 20, 0.32);
}
.hero-image-link {
  position: relative;
  display: block;
  height: 100%;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(9,13,20,.82), rgba(9,13,20,.96));
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(4,10,20,.08), rgba(4,10,20,.34));
}
.hero-play-icon {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.35);
  color: #ffffff;
  font-size: 2.7rem;
  box-shadow: 0 0 28px rgba(35,199,255,.24);
  animation: hero-play-pulse 1.15s ease-in-out infinite;
}
.hero-play-icon i {
  transform: translateX(2px);
}
@keyframes hero-play-pulse {
  0%, 100% {
    transform: scale(1);
    background: rgba(255,255,255,.14);
  }
  50% {
    transform: scale(1.14);
    background: rgba(255,255,255,.24);
  }
}
.card-glass {
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: var(--card);
  backdrop-filter: blur(8px);
  margin-top: 12px;
}
.card-glow { box-shadow: 0 20px 50px rgba(35,199,255,0.2), inset 0 0 0 1px var(--stroke); }
.badge-soft {
  background: rgba(255,255,255,.12);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 0.82rem;
}
.claim-story-badge {
  border-radius: 16px;
  white-space: normal;
  max-width: 100%;
  line-height: 1.55;
  padding: 12px 22px;
}
.claim-queue-badge {
  border-radius: 14px;
  white-space: normal;
  line-height: 1.45;
  padding: 10px 14px;
}
.claim-queue-badge.is-active {
  background: linear-gradient(120deg, rgba(35,199,255,.28), rgba(33,224,122,.22));
  border: 1px solid rgba(35,199,255,.38);
}
.text-muted-light { color: var(--muted); }
.jackpot-panel {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,138,0,.26), rgba(255,79,216,.2), rgba(35,199,255,.2), rgba(33,224,122,.2));
  background-size: 240% 240%;
  animation: jackpot-panel-shift 7s ease-in-out infinite;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 16px 32px rgba(0,0,0,.18);
}
.swing-amount {
  display: block;
  width: 100%;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: .98;
  font-weight: 900;
  letter-spacing: .02em;
  color: #fff4c4;
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
  animation: jackpot-text-flash 1.15s steps(2, end) infinite;
}
@keyframes jackpot-panel-shift {
  0% { background-position: 0% 50%; }
  25% { background-position: 100% 50%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
  100% { background-position: 0% 50%; }
}
@keyframes jackpot-text-flash {
  0%, 55%, 100% {
    color: #fff4c4;
    text-shadow: 0 2px 18px rgba(0,0,0,.28), 0 0 18px rgba(255,244,196,.22);
  }
  56%, 82% {
    color: #7df9ff;
    text-shadow: 0 2px 18px rgba(0,0,0,.28), 0 0 18px rgba(125,249,255,.3);
  }
}

.category-tile {
  border-radius: 18px; padding: 16px; min-height: 135px; border: 1px solid var(--stroke);
}
.category-tile i { font-size: 1.5rem; margin-bottom: 8px; }
.category-tile h6 { font-weight: 800; margin-bottom: 4px; }
.category-tile p { margin: 0; color: var(--muted); font-size: .87rem; }
.promo-image-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}
.promo-image-tile {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.tile-cyan { background: linear-gradient(135deg, rgba(35,199,255,.2), rgba(35,199,255,.05)); }
.tile-purple { background: linear-gradient(135deg, rgba(168,85,247,.22), rgba(168,85,247,.05)); }
.tile-orange { background: linear-gradient(135deg, rgba(255,138,0,.25), rgba(255,138,0,.08)); }
.tile-pink { background: linear-gradient(135deg, rgba(255,79,216,.2), rgba(255,79,216,.05)); }

.number-grid-wrap { position: relative; }
.number-grid { display: grid; grid-template-columns: repeat(10,1fr); gap: 8px; }
.number-grid.is-shuffling .num-btn {
  transition: transform .22s ease, filter .22s ease;
  filter: brightness(1.2);
}
.num-btn {
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-radius: 12px;
  padding: 9px 6px;
  font-weight: 700;
}
.num-btn:disabled { cursor: not-allowed; opacity: 0.92; }
.num-btn.active { background: linear-gradient(135deg, rgba(35,199,255,.35), rgba(168,85,247,.35)); border-color: rgba(35,199,255,.8); }
.num-btn.matched { background: rgba(33,224,122,.8); color: #031a0e; border-color: rgba(33,224,122,.95); }
.num-btn.unmatched { background: rgba(255,59,48,.85); color: #fff; border-color: rgba(255,59,48,.95); }
.num-btn.shuffle-jump { animation: board-jump .24s ease; }
@keyframes board-jump {
  0% { transform: translate(0,0) scale(1); }
  45% { transform: translate(var(--jump-x, 0), var(--jump-y, -10px)) scale(1.08); }
  100% { transform: translate(0,0) scale(1); }
}
.board-shuffle-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: rgba(11, 15, 23, 0.55);
  pointer-events: none;
}
.board-shuffle-overlay.active .board-logo-pack {
  animation: logo-pulse .8s ease-in-out infinite;
}
.board-logo-pack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.board-logo-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.board-logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--btn-grad);
  color: #001607;
  box-shadow: 0 0 26px rgba(35, 199, 255, 0.55);
}
.board-logo-text {
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  background: linear-gradient(120deg, #ffffff 0%, #23c7ff 34%, #21e07a 68%, #ffd166 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: logo-glow 2.4s linear infinite;
}
.board-shuffle-countdown {
  margin-top: 0;
  font-weight: 900;
  font-size: 2.1rem;
  line-height: 1;
  background: linear-gradient(130deg, #ff4fd8, #23c7ff, #ffd166);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}
@keyframes logo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
}

.winning-numbers-wrap {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-weight: 700;
  background: rgba(255,255,255,.05);
}
.winning-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  margin-right: 6px;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.winning-num.is-matched {
  background: rgba(33,224,122,.9);
  color: #031a0e;
  font-weight: 900;
}
.selected-num.is-matched {
  background: rgba(33,224,122,.9);
  color: #031a0e;
  font-weight: 900;
}
.selected-num.is-missed {
  background: rgba(255,59,48,.9);
  color: #fff;
  font-weight: 900;
}
.cost-text strong { color: var(--yellow); font-weight: 900; }
.claim-select {
  background: #0b1220;
  border-color: rgba(255,255,255,0.2);
  color: #eaf0ff;
}
.claim-select:focus {
  background: #111a2c;
  color: #eaf0ff;
}
.claim-select option {
  background: #0b1220;
  color: #eaf0ff;
}
.claim-review-panel {
  background: #121c30;
  border: 1px solid rgba(255,255,255,0.16);
}
.claim-waiting-alert {
  border-radius: 16px;
}
.claim-countdown-panel {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.claim-countdown-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  margin-bottom: 10px;
}
.claim-countdown-value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 900;
  margin-bottom: 8px;
}
.claim-countdown-value span:first-child {
  font-size: 2.6rem;
  line-height: 1;
  color: var(--yellow);
}
.claim-countdown-unit {
  color: var(--text);
  font-size: 1rem;
}
.claim-countdown-note {
  color: var(--muted);
}
.claim-countdown-dots {
  display: inline-block;
  min-width: 14px;
}

.spin-stage {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(11,17,30,.92), rgba(10,14,24,.95));
  padding: 12px 10px 20px;
}
.spin-wheel-window {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  height: 258px;
  overflow: hidden;
  border-radius: 18px 18px 12px 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(circle at 50% 100%, rgba(255,255,255,.12), rgba(255,255,255,0) 64%);
  padding-top: 14px;
}
.spin-wheel {
  position: absolute;
  width: 480px;
  height: 480px;
  left: 50%;
  top: calc(100% + 12px);
  transform: translate(-50%, -50%) rotate(0deg);
  border-radius: 50%;
  border: 10px solid #1b2f49;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.28), inset 0 0 0 14px rgba(0,0,0,.14), 0 20px 30px rgba(0,0,0,.35);
}
.spin-wheel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: repeating-conic-gradient(from -90deg, rgba(7,10,17,.92) 0deg 1.6deg, transparent 1.6deg var(--spin-segment-angle, 45deg));
  pointer-events: none;
}
.spin-segment-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96px;
  --spin-node-image-width: 128px;
  --spin-node-image-height: 90px;
  --spin-node-price-width: 104px;
  transform-origin: center center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  z-index: 2;
  margin-left: 0;
}
.spin-segment-node img {
  width: var(--spin-node-image-width);
  height: var(--spin-node-image-height);
  max-width: var(--spin-node-image-width);
  max-height: var(--spin-node-image-height);
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.spin-sector-price {
  font-size: .66rem;
  font-weight: 900;
  line-height: 1.08;
  padding: 3px 6px;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  max-width: var(--spin-node-price-width);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
}
.spin-price-amount {
  display: block;
  width: 100%;
  text-align: center;
}
.spin-price-currency {
  display: block;
  margin-top: 2px;
  width: 100%;
  text-align: center;
}
.spin-empty-slot {
  width: 98px;
  color: #fff;
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .4px;
  text-shadow: 0 0 8px rgba(0,0,0,.5);
  line-height: 1.05;
}
.spin-wheel-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118px;
  height: 118px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.24);
  background: radial-gradient(circle at 35% 35%, #335b84, #14263c 70%);
  box-shadow: inset 0 0 22px rgba(255,255,255,.18);
  z-index: 3;
}
.spin-pointer {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 5;
  color: var(--yellow);
  text-shadow: 0 0 12px rgba(255, 209, 102, .65);
  font-size: 2.9rem;
}
.spin-win-modal-content {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 16px 46px rgba(0,0,0,.55);
}
.wallet-modal-content {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 16px 46px rgba(0,0,0,.55);
}
.wallet-modal-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #04140d;
  background: linear-gradient(135deg, var(--yellow), var(--brand));
}
.spin-congrats-icon {
  font-size: 2.2rem;
  animation: pop-icon .85s ease-in-out infinite;
}
.spin-win-image {
  width: 100%;
  max-width: 300px;
  height: 190px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
}
.spin-win-amount {
  color: var(--yellow);
  font-size: 1.2rem;
  font-weight: 900;
}

.attempt-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  pointer-events: auto;
}
.attempt-card {
  width: min(720px, 92vw);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: rgba(12, 20, 34, 0.92);
  text-align: center;
  padding: 22px 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.attempt-icon {
  font-size: 2.25rem;
  margin-bottom: 10px;
  animation: pop-icon .85s ease-in-out infinite;
}
@keyframes pop-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
.attempt-text {
  font-size: 1.12rem;
  font-weight: 800;
}
.claim-pulse-btn {
  background: linear-gradient(120deg, #ffb703, #ff4fd8, #23c7ff, #21e07a);
  background-size: 220% 220%;
  color: #04140d;
  border: 0;
  padding: 10px 26px;
  border-radius: 999px;
  animation: claim-shift 1.2s linear infinite;
}
@keyframes claim-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.fireworks-layer {
  position: fixed;
  inset: 0;
  z-index: 1150;
  pointer-events: none;
}
.firework {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  animation: firework-pop .85s ease-out forwards;
}
@keyframes firework-pop {
  0% { transform: scale(0.2); opacity: 1; box-shadow: 0 0 0 0 currentColor; }
  100% { transform: scale(2.4); opacity: 0; box-shadow: 0 0 0 34px transparent; }
}

.recent-winner-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  text-align: center;
  overflow: hidden;
  min-height: 100%;
}
.recent-winner-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}
.recent-winner-frame {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 2px solid rgba(35,199,255,.85);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 0 22px rgba(35,199,255,.24);
  opacity: 0;
  transform: scale(1);
  animation: winner-frame-cycle 3.9s ease-in-out infinite;
  animation-delay: calc(var(--winner-delay, 0) * 1.3s);
  pointer-events: none;
}
.winner-amount { font-weight: 900; font-size: 1.2rem; color: var(--yellow); }
@keyframes winner-frame-cycle {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  12% {
    opacity: 1;
    transform: scale(1);
  }
  32% {
    opacity: 1;
    transform: scale(1.035);
  }
  48% {
    opacity: 0;
    transform: scale(1);
  }
}

.dark-modal { background: #0f1728; border: 1px solid var(--stroke); color: var(--text); }
.admin-claim-thumb {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.05);
}
.admin-claim-doc-thumb {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  color: var(--text);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .82rem;
}
.admin-claim-doc-thumb i {
  color: var(--orange);
  font-size: 1.45rem;
}
.admin-claim-preview-modal {
  min-height: 70vh;
}
.admin-claim-preview-body {
  text-align: center;
}
.admin-claim-preview-image {
  max-width: 100%;
  max-height: 72vh;
  border-radius: 18px;
}
.admin-claim-preview-frame {
  width: 100%;
  min-height: 72vh;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: #fff;
}
.form-control,.form-select {
  background: rgba(255,255,255,.08); border: 1px solid var(--stroke); color: var(--text);
}
.form-control:focus,.form-select:focus { box-shadow: 0 0 0 .2rem rgba(35,199,255,.16); border-color: var(--cyan); background: rgba(255,255,255,.1); color: var(--text); }
.form-control::placeholder { color: rgba(234,240,255,.55); }
.country-state-form .form-select {
  background-color: rgba(255,255,255,.08);
  color: var(--text);
}
.country-state-form .form-select option {
  background: #101827;
  color: var(--text);
}
.country-state-form .form-select option[value=""] {
  color: var(--muted);
}
.dark-modal .form-select {
  background-color: rgba(255,255,255,.08);
  color: var(--text);
}
.dark-modal .form-select option {
  background: #101827;
  color: var(--text);
}
.dark-modal .form-select option[value=""] {
  color: var(--muted);
}
.admin-payout-country-select {
  background-color: rgba(255,255,255,.08);
  color: var(--text);
}
.admin-payout-country-select option {
  background: #101827;
  color: var(--text);
}
.admin-payout-form {
  width: 100%;
}
.admin-role-select option {
  color: #f6fbff;
}
.admin-role-select .role-option-admin {
  background: #113352;
  color: #d9f2ff;
}
.admin-role-select .role-option-super {
  background: #3f2408;
  color: #ffe6b8;
}
.password-field-wrap {
  position: relative;
}
.password-field-wrap .form-control {
  padding-right: 2.3rem;
}
.password-toggle-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(11,15,23,.55);
  color: #bfeaff;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 8px;
  z-index: 5;
}
.password-toggle-btn:hover {
  color: #04140d !important;
  background: rgba(191,234,255,.9);
  border-color: rgba(35,199,255,.55);
}
.password-toggle-btn:hover i {
  color: #04140d !important;
}

.mobile-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(5,1fr);
  background: rgba(9,13,20,.96); border-top: 1px solid var(--stroke); padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}
.mobile-bottom-nav .nav-item {
  color: #aeb7ce; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: .75rem; background: transparent; border: 0; width: 100%;
}
.mobile-bottom-nav .nav-item i { font-size: 1.5rem; line-height: 1; }
.mobile-bottom-nav .nav-item span {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1.1;
}
.mobile-bottom-nav .nav-item.active { color: var(--blue); font-weight: 700; }

.drawer {
  position: fixed; left: -300px; top: 0; bottom: 0; width: 280px; z-index: 2100;
  background: #101827; border-right: 1px solid var(--stroke); padding: 18px; transition: left .24s ease;
}
.drawer.open { left: 0; }
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; z-index: 2050;
}
.drawer-backdrop.show { display: block; }
.drawer-link { display: block; color: var(--text); text-decoration: none; padding: 10px 0; border-bottom: 1px dashed var(--stroke); }
.drawer-link.active {
  color: #fff;
  font-weight: 800;
  background: rgba(35,199,255,.14);
  box-shadow: inset 0 0 0 1px rgba(35,199,255,.28);
}
.page-top-gap {
  margin-top: 14px;
}
.user-sidebar-wrap { margin-top: 0; }
.user-sidebar-wrap .drawer-link:hover { color: #fff; opacity: 0.95; }
.user-sidebar {
  background: linear-gradient(165deg, rgba(16,24,39,.95), rgba(10,14,22,.95));
  border: 1px solid rgba(35,199,255,.18);
  margin-top: 0;
}
.user-sidebar-head {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--stroke);
  padding-bottom: 10px;
}
.user-menu-link {
  border-radius: 10px;
  border-bottom: 0;
  margin-bottom: 4px;
  padding: 10px 12px;
  background: rgba(255,255,255,.03);
}
.user-menu-link:hover {
  background: linear-gradient(120deg, rgba(35,199,255,.25), rgba(168,85,247,.2));
}

.site-footer {
  border-top: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(9,13,20,.8), rgba(9,13,20,.96));
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-card {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: transparent;
  padding: 12px;
}
.footer-link {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: .92rem;
  margin-bottom: 6px;
}
.footer-link:hover {
  color: var(--cyan);
}

.admin-body { background: var(--bg-0); color: var(--text); }
.admin-sidebar { background: #0f1524; border-right: 1px solid var(--stroke); }
.admin-sidebar .text-muted { color: #9aa8c4 !important; }
.admin-drawer {
  position: fixed;
  left: -300px;
  top: 0;
  bottom: 0;
  width: 280px;
  z-index: 1300;
  background: #101827;
  border-right: 1px solid var(--stroke);
  padding: 18px;
  transition: left .24s ease;
}
.admin-drawer.open { left: 0; }
.admin-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.58);
  display: none;
  z-index: 1250;
}
.admin-drawer-backdrop.show { display: block; }
.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  display: none;
  background: rgba(0,0,0,.58);
}
.admin-sidebar-backdrop.show { display: block; }
.sidebar-link { display: block; color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 10px; margin-bottom: 4px; }
.sidebar-link:hover { background: rgba(255,255,255,.07); }
.sidebar-link.active {
  color: #fff;
  font-weight: 800;
  background: rgba(35,199,255,.14);
  box-shadow: inset 0 0 0 1px rgba(35,199,255,.28);
}
.metric-card { background: var(--card); border:1px solid var(--stroke); border-radius: 14px; padding:14px; }
.support-block { border-radius: 14px; border:1px solid var(--stroke); background: rgba(35,199,255,.08); }
.table-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.table-tools .table-search-input {
  max-width: 320px;
}

@media (max-width: 991.98px) {
  .number-grid { grid-template-columns: repeat(5,1fr); }
  .display-title { font-size: 1.75rem; }
  .admin-sidebar-shell {
    position: fixed;
    left: -300px;
    top: 0;
    bottom: 0;
    width: 280px;
    z-index: 1200;
    transition: left .25s ease;
    overflow-y: auto;
  }
  .admin-sidebar-shell.open {
    left: 0;
  }
}
@media (min-width: 992px) {
  .user-sidebar-wrap {
    display: flex;
  }
  .user-sidebar {
    flex: 1;
    min-height: calc(100vh - 130px);
  }
}
@media (max-width: 767.98px) {
  .sticky-site-header {
    top: env(safe-area-inset-top);
    padding-top: calc(1rem + env(safe-area-inset-top));
  }
  .translate-card {
    flex-direction: column;
    align-items: stretch;
  }
  .google-translate-element {
    justify-content: stretch;
  }
  .goog-te-combo {
    width: 100%;
  }
  .site-footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
  .spin-wheel-window {
    height: 222px;
  }
  .hero-image-link,
  .hero-side-image {
    min-height: 260px;
  }
  .spin-wheel {
    width: 390px;
    height: 390px;
    top: calc(100% + 10px);
  }
  .spin-segment-node {
    width: 76px;
    --spin-node-image-width: 104px;
    --spin-node-image-height: 73px;
    --spin-node-price-width: 84px;
    gap: 4px;
  }
  .spin-segment-node img {
    width: var(--spin-node-image-width);
    height: var(--spin-node-image-height);
    max-width: var(--spin-node-image-width);
  }
  .spin-wheel-hub {
    width: 98px;
    height: 98px;
  }
  .spin-empty-slot {
    font-size: .76rem;
  }
  .spin-sector-price {
    font-size: .6rem;
    max-width: 82px;
    font-size: .54rem;
  }
  .spin-win-image {
    height: 160px;
  }
}
@media (min-width: 768px) {
  .mobile-bottom-nav { display: none; }
  .admin-drawer,
  .admin-drawer-backdrop { display: none; }
}
