/* ═══════════════════════════════════════════════════════════
   HAPPY HOUSE — Premium Dark Casino UI
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  /* Backgrounds */
  --bg-0: #0a0a12;
  --bg-1: #11111c;
  --bg-2: #181827;
  --bg-3: #1f1f30;
  --bg-4: #272740;

  /* Accents */
  --accent: #ffc531;            /* gold */
  --accent-2: #ff9500;          /* orange */
  --accent-dark: #b88200;
  --green: #00d26a;
  --red: #ff3b3b;
  --blue: #2ea4ff;
  --purple: #a06bff;

  /* Text */
  --text: #ffffff;
  --text-2: #c4c4d4;
  --text-3: #7e7e95;
  --text-4: #4e4e68;

  /* Borders */
  --border: rgba(255,255,255,0.06);
  --border-2: rgba(255,255,255,0.12);

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #ffd951 0%, #ff9500 100%);
  --grad-green: linear-gradient(135deg, #00e676 0%, #00b894 100%);
  --grad-blue: linear-gradient(135deg, #4fc3f7 0%, #1e88e5 100%);
  --grad-purple: linear-gradient(135deg, #b388ff 0%, #7c4dff 100%);
  --grad-red: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
  --shadow-gold: 0 8px 32px rgba(255, 149, 0, 0.35);
}

html, body {
  width: 100%;
  min-height: 100vh;
  background: var(--bg-0);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  overflow-x: hidden;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(255, 149, 0, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(160, 107, 255, 0.04) 0%, transparent 60%),
    var(--bg-0);
}

/* Icons */
.ic { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.ic-sm { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.ic-lg { width: 28px; height: 28px; fill: currentColor; flex-shrink: 0; }

button {
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
}

button:active { transform: scale(0.97); }

.app {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 14px 100px;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  padding-top: max(14px, env(safe-area-inset-top));
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-logo {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 12px rgba(255, 149, 0, 0.4));
}

.brand-logo-svg { width: 100%; height: 100%; }

.brand-text { line-height: 1.1; }

.brand-name {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--text);
}
.brand-name span { color: var(--accent); }

.brand-tag {
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 2.5px;
  font-weight: 600;
  margin-top: 2px;
}

.header-action {
  width: 42px; height: 42px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  position: relative;
}

.notif-dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--bg-2);
}

/* ═══════════════════════════════════════════════════════════
   BALANCE CARD
   ═══════════════════════════════════════════════════════════ */
.balance-card {
  position: relative;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  padding: 18px 18px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.balance-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255, 197, 49, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.balance-card-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.balance-main { flex: 1; min-width: 0; }

.balance-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-3);
  font-weight: 700;
  margin-bottom: 6px;
}

.balance-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.balance-value {
  font-size: 30px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 0%, #d4d4e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.balance-currency {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
}

.balance-sub {
  display: flex;
  gap: 8px;
}

.balance-sub-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  background: rgba(255,255,255,0.04);
  padding: 3px 8px;
  border-radius: 10px;
}

.balance-deposit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 18px;
  background: var(--grad-gold);
  color: #2a1a00;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(255, 149, 0, 0.4);
  min-width: 82px;
}

.balance-deposit .ic { width: 18px; height: 18px; }

.balance-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, transparent, rgba(255, 197, 49, 0.15), transparent);
  opacity: 0;
  animation: glow-sweep 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-sweep {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  50% { transform: translateX(100%); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   QUICK ACTIONS
   ═══════════════════════════════════════════════════════════ */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.qa {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.15s, border-color 0.15s;
}

.qa:active { transform: scale(0.95); }

.qa-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.qa-icon-green { background: var(--grad-green); }
.qa-icon-blue { background: var(--grad-blue); }
.qa-icon-purple { background: var(--grad-purple); }
.qa-icon-gold { background: var(--grad-gold); color: #2a1a00; }

.qa-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-2);
}

/* ═══════════════════════════════════════════════════════════
   HERO BANNER
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 180px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-md);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s;
}
.hero-slide.active { opacity: 1; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #2a1a4a;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,18,0.92) 0%, rgba(10,10,18,0.6) 50%, rgba(10,10,18,0.2) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 197, 49, 0.15);
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 10px;
  width: max-content;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 197, 49, 0.3);
}

.hero-title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.hero-title span {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 11px;
  color: var(--text-2);
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--grad-gold);
  color: #2a1a00;
  border-radius: 22px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(255, 149, 0, 0.35);
  width: max-content;
}

/* ═══════════════════════════════════════════════════════════
   NAV TABS
   ═══════════════════════════════════════════════════════════ */
.nav-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0 4px;
  margin-bottom: 10px;
  scrollbar-width: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }

.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text-3);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s;
}

.nav-tab.active {
  background: var(--bg-4);
  border-color: var(--accent);
  color: var(--text);
}
.nav-tab.active .ic-sm { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════
   PROVIDERS
   ═══════════════════════════════════════════════════════════ */
.providers-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0 8px;
  margin-bottom: 12px;
  scrollbar-width: none;
}
.providers-row::-webkit-scrollbar { display: none; }

.provider-chip {
  padding: 7px 12px;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: 16px;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.provider-chip.active {
  background: var(--text);
  color: var(--bg-0);
  border-color: var(--text);
}

/* ═══════════════════════════════════════════════════════════
   SECTION
   ═══════════════════════════════════════════════════════════ */
.section { margin-bottom: 24px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.section-badge {
  background: var(--bg-3);
  color: var(--text-2);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   GAMES GRID
   ═══════════════════════════════════════════════════════════ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.game {
  position: relative;
  aspect-ratio: 1 / 1.25;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
  transition: transform 0.18s;
  cursor: pointer;
  border: 1px solid var(--border);
}

.game:active { transform: scale(0.94); }

.game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.game:hover .game-img { transform: scale(1.06); }

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.95) 100%);
  pointer-events: none;
}

.game-name {
  position: absolute;
  bottom: 6px; left: 6px; right: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  line-height: 1.1;
  letter-spacing: -0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 2;
}

.game-provider {
  position: absolute;
  bottom: 18px; left: 6px;
  font-size: 7px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

.game-badge {
  position: absolute;
  top: 6px; left: 6px;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.5px;
  z-index: 3;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.game-badge.hot { background: var(--grad-red); color: #fff; }
.game-badge.new { background: var(--grad-blue); color: #fff; }
.game-badge.top { background: var(--grad-gold); color: #2a1a00; }
.game-badge .ic-sm { width: 9px; height: 9px; }

/* ═══════════════════════════════════════════════════════════
   JACKPOT
   ═══════════════════════════════════════════════════════════ */
.jackpot-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, #3d1a00, #8a4500 50%, #3d1a00);
  border: 1px solid rgba(255, 197, 49, 0.3);
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}

.jackpot-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 100, 0.15), transparent);
  animation: jackpot-shine 3s ease-in-out infinite;
}

@keyframes jackpot-shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.jackpot-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.jackpot-value {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 10px rgba(255, 197, 49, 0.6);
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.app-footer {
  padding: 20px 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.stat-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
}

.stat-v {
  font-size: 17px;
  font-weight: 900;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-l {
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 1px;
  margin-top: 3px;
  font-weight: 600;
}

.footer-text {
  text-align: center;
  font-size: 10px;
  color: var(--text-4);
  line-height: 1.6;
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}
.loader.hide { opacity: 0; pointer-events: none; }

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-spinner {
  width: 56px; height: 56px;
  border: 3px solid rgba(255, 197, 49, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader-brand {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--text);
}
.loader-brand span { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════════ */
.modal-bd {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-bd.show { opacity: 1; pointer-events: auto; }

.modal {
  width: 100%;
  max-width: 500px;
  background: var(--bg-1);
  border-radius: 24px 24px 0 0;
  padding: 20px 20px max(30px, env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}
.modal-bd.show .modal { transform: translateY(0); }

.modal-handle {
  width: 40px; height: 4px;
  background: var(--border-2);
  border-radius: 2px;
  margin: -8px auto 16px;
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: var(--bg-3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  z-index: 2;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-right: 40px;
}

.modal-sub {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Deposit modal specifics */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.amount-btn {
  padding: 16px 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  transition: all 0.15s;
}

.amount-btn.selected {
  background: var(--grad-gold);
  color: #2a1a00;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 149, 0, 0.4);
}

.amount-input-wrap {
  position: relative;
  margin-bottom: 16px;
}

.amount-input {
  width: 100%;
  padding: 16px 60px 16px 18px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  outline: none;
  font-family: inherit;
}
.amount-input:focus { border-color: var(--accent); }

.amount-input-cur {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
  pointer-events: none;
}

.currency-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
  background: var(--bg-2);
  padding: 4px;
  border-radius: 14px;
}

.cur-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 700;
}
.cur-tab.active {
  background: var(--bg-4);
  color: var(--text);
}

.btn-primary {
  width: 100%;
  padding: 16px;
  background: var(--grad-gold);
  color: #2a1a00;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px rgba(255, 149, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.btn-secondary {
  width: 100%;
  padding: 16px;
  background: var(--bg-3);
  color: var(--text);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  z-index: 10000;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s;
  max-width: 90%;
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-color: var(--green); }
.toast.error { border-color: var(--red); }

/* History list */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-2);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.history-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.history-game {
  font-size: 13px;
  font-weight: 700;
}
.history-time {
  font-size: 10px;
  color: var(--text-3);
}

.history-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.history-bet {
  font-size: 10px;
  color: var(--text-3);
}
.history-win {
  font-size: 14px;
  font-weight: 800;
}
.history-win.positive { color: var(--green); }
.history-win.negative { color: var(--red); }
/* ═══════════════════════════════════════════ */
/*                LIVE FEED                     */
/* ═══════════════════════════════════════════ */
.live-feed-section {
  margin: 16px 16px 18px;
}
.lf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 2px;
}
.lf-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #fff;
}
.lf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3d5a;
  box-shadow: 0 0 0 0 rgba(255, 61, 90, 0.8);
  animation: lf-pulse 1.6s ease-out infinite;
}
@keyframes lf-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 61, 90, 0.85); }
  100% { box-shadow: 0 0 0 12px rgba(255, 61, 90, 0); }
}
.lf-online {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  font-weight: 600;
}
.lf-online #lf-online { color: #36d984; font-weight: 800; }

.live-feed {
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  padding: 8px 0;
  position: relative;
}
.live-feed::before,
.live-feed::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 32px;
  z-index: 2;
  pointer-events: none;
}
.live-feed::before { left: 0; background: linear-gradient(90deg, #0b0b14, transparent); }
.live-feed::after  { right: 0; background: linear-gradient(270deg, #0b0b14, transparent); }

.lf-track {
  display: flex;
  gap: 10px;
  padding: 0 12px;
  animation: lf-scroll 55s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
@keyframes lf-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.live-feed:hover .lf-track { animation-play-state: paused; }

.lf-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  min-width: 230px;
  transition: all .2s;
}
.lf-item:hover {
  background: rgba(255,197,49,.08);
  border-color: rgba(255,197,49,.3);
  transform: translateY(-2px);
}
.lf-item.big { border-color: rgba(255,197,49,.5); background: linear-gradient(135deg, rgba(255,197,49,.12), rgba(255,197,49,.03)); }
.lf-item.mega { border-color: rgba(255,61,90,.6); background: linear-gradient(135deg, rgba(255,61,90,.15), rgba(255,197,49,.05)); box-shadow: 0 0 20px rgba(255,61,90,.2); }

.lf-img {
  width: 40px; height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255,255,255,.05);
}
.lf-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lf-user { font-size: 11px; color: rgba(255,255,255,.65); font-weight: 600; }
.lf-game { font-size: 12px; color: #fff; font-weight: 700; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.lf-amount {
  margin-left: auto;
  font-size: 13px;
  font-weight: 800;
  color: #ffc531;
  font-variant-numeric: tabular-nums;
}
.lf-item.big .lf-amount { color: #ffdc6e; font-size: 14px; }
.lf-item.mega .lf-amount { color: #ff6b85; font-size: 15px; text-shadow: 0 0 12px rgba(255,107,133,.5); }
