/* ==============================
   MEGA SLOTS 888 - Game Styles
   Win888 Casino
   ============================== */

/* ---- Shell ---- */
.slots-shell {
  background: #0a0515 !important;
  font-family: 'Poppins', sans-serif;
}

/* ---- Jackpot Ticker ---- */
.jackpot-ticker {
  background: linear-gradient(135deg, #1a0a00, #2a1500, #1a0a00);
  border-bottom: 1px solid rgba(255,165,0,0.4);
  border-top: 1px solid rgba(255,165,0,0.2);
  padding: 10px 16px;
  overflow: hidden;
}
.jackpot-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
}
.jackpot-label { color: #8a95a5; font-size: 12px; text-transform: uppercase; }
.jackpot-amount {
  color: #FFD700;
  font-size: 18px;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(255,215,0,0.8);
  transition: all 0.3s;
}
.jackpot-pulse { animation: jackpot-pulse 0.4s ease-out; }
@keyframes jackpot-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); color: #fff; }
  100% { transform: scale(1); }
}
@keyframes flame {
  from { transform: scale(1) rotate(-5deg); }
  to { transform: scale(1.2) rotate(5deg); color: #ff4444; }
}

/* ---- Live Wins Bar ---- */
.live-wins-bar {
  background: rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(255,107,53,0.2);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.live-tag {
  color: #FF6B35;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.live-dot {
  color: #FF6B35;
  font-size: 8px;
  animation: blink 1s ease infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.wins-scroller {
  display: flex;
  gap: 24px;
  color: #FFD700;
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  animation: scroll-left 30s linear infinite;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.win-tick-item { white-space: nowrap; }
.win-tick-sep { color: rgba(255,255,255,0.3); margin: 0 8px; }

/* ---- Slot Machine Container ---- */
.slot-machine-container {
  background: linear-gradient(180deg, #0f0a1f 0%, #0a0515 100%);
  border: 2px solid rgba(255,107,53,0.3);
  border-radius: 20px;
  margin: 16px;
  padding: 0 0 16px;
  position: relative;
  box-shadow: 0 0 40px rgba(255,107,53,0.15), inset 0 0 60px rgba(0,0,0,0.5);
  overflow: hidden;
}

.machine-top {
  background: linear-gradient(135deg, #1a0530, #200a50, #1a0530);
  padding: 16px 20px 12px;
  border-bottom: 2px solid rgba(255,107,53,0.4);
  text-align: center;
  position: relative;
}
.machine-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,215,0,0.03) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
.machine-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 4px;
}
.machine-title {
  color: #FFD700;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(255,215,0,0.7);
  text-transform: uppercase;
}
.machine-subtitle {
  color: #8a95a5;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.info-btn {
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.4);
  color: #FF6B35;
  border-radius: 50%;
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.info-btn:hover { background: rgba(255,107,53,0.3); transform: scale(1.1); }

/* ---- Reels Wrapper ---- */
.reels-wrapper {
  position: relative;
  padding: 20px 16px 16px;
  background: linear-gradient(180deg, #050210 0%, #0a0520 100%);
  border-bottom: 2px solid rgba(255,107,53,0.3);
}

.reels-track {
  display: flex;
  gap: 8px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.reel {
  flex: 1;
  background: linear-gradient(180deg, #0a0320 0%, #06011a 100%);
  border: 2px solid rgba(255,107,53,0.3);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 260px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5), 0 0 10px rgba(255,107,53,0.1);
}

/* Reel highlight glow */
.reel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 30px;
  background: linear-gradient(180deg, rgba(255,107,53,0.1) 0%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}
.reel::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30px;
  background: linear-gradient(0deg, rgba(255,107,53,0.1) 0%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

.reel-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  transition: none;
}

/* Middle row highlight */
.reels-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 88px;
  transform: translateY(-50%);
  background: rgba(255,215,0,0.03);
  border-top: 1px solid rgba(255,215,0,0.15);
  border-bottom: 1px solid rgba(255,215,0,0.15);
  pointer-events: none;
  z-index: 3;
}

/* ---- Symbol Cell ---- */
.symbol-cell {
  position: relative;
  border-radius: 10px;
  border: 2px solid rgba(255,215,0,0.3);
  padding: 8px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  min-height: 78px;
}
.symbol-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.symbol-emoji {
  font-size: 32px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.symbol-name {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.symbol-badge {
  position: absolute;
  top: 2px; right: 2px;
  font-size: 7px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.wild-badge {
  background: linear-gradient(135deg, #FF6B35, #FF4500);
  color: #fff;
}
.scatter-badge {
  background: linear-gradient(135deg, #E91E63, #9C27B0);
  color: #fff;
}

/* Spinning animation */
.reel-inner.spinning .symbol-cell {
  animation: reel-blur 0.1s linear infinite;
}
@keyframes reel-blur {
  0% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.7; transform: translateY(-4px); }
  100% { opacity: 1; transform: translateY(0); }
}
.reel-inner.stopping {
  animation: reel-stop-bounce 0.3s ease-out;
}
@keyframes reel-stop-bounce {
  0% { transform: translateY(-8px); }
  60% { transform: translateY(4px); }
  100% { transform: translateY(0); }
}

/* Winning cell */
.winning-cell {
  animation: winning-flash 0.5s ease infinite alternate !important;
  border-color: #FFD700 !important;
  box-shadow: 0 0 20px rgba(255,215,0,0.6), inset 0 0 15px rgba(255,215,0,0.2) !important;
  z-index: 5;
}
@keyframes winning-flash {
  from { transform: scale(1); box-shadow: 0 0 15px rgba(255,215,0,0.4); }
  to { transform: scale(1.05); box-shadow: 0 0 30px rgba(255,215,0,0.8); }
}
.scatter-win { border-color: #E91E63 !important; }

/* ---- Win Display ---- */
.win-display {
  background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,107,53,0.1));
  border: 2px solid rgba(255,215,0,0.5);
  border-radius: 12px;
  margin: 12px 16px;
  padding: 16px;
  text-align: center;
}
.win-label {
  color: #8a95a5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.win-amount-display, #win-amount-display {
  color: #FFD700;
  font-size: 28px;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(255,215,0,0.8);
  margin: 4px 0;
}
.win-lines-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
}
.win-line-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.wl-sym { font-size: 16px; }
.wl-name { color: #ccc; }
.wl-mult { color: #FF6B35; font-weight: 700; }
.wl-win { color: #FFD700; font-weight: 700; }
.win-pulse { animation: win-pulse-anim 0.5s ease; }
@keyframes win-pulse-anim {
  0% { transform: scale(0.9); opacity: 0; }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); opacity: 1; }
}

/* ---- Paylines Bar ---- */
.paylines-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 0;
}
.pl-label {
  color: #8a95a5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}
.pl-btns { display: flex; gap: 6px; }
.pl-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: #8a95a5;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.pl-btn:hover { background: rgba(255,107,53,0.15); border-color: rgba(255,107,53,0.4); color: #FF6B35; }
.pl-btn-active {
  background: rgba(255,107,53,0.2) !important;
  border-color: #FF6B35 !important;
  color: #FF6B35 !important;
  box-shadow: 0 0 10px rgba(255,107,53,0.3);
}

/* ---- Slots Controls ---- */
.slots-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}
.bet-control, .auto-control {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ctrl-label {
  color: #8a95a5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.bet-row, .auto-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bet-adj-btn {
  width: 32px; height: 32px;
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.4);
  color: #FF6B35;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.bet-adj-btn:hover { background: rgba(255,107,53,0.3); transform: scale(1.1); }
.bet-adj-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.bet-display {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 10px;
  padding: 6px 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 80px;
  justify-content: center;
}
.bet-currency { color: #8a95a5; font-size: 10px; font-weight: 700; }
.bet-value { color: #FFD700; font-size: 18px; font-weight: 900; }
.total-bet-lbl {
  color: #8a95a5;
  font-size: 10px;
  font-weight: 600;
}
.total-bet-lbl strong { color: #FF6B35; }

/* ---- Spin Button ---- */
.spin-btn-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.spin-btn {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #FF4500, #CC3300);
  border: 4px solid rgba(255,215,0,0.5);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.2s;
  box-shadow: 0 6px 20px rgba(255,107,53,0.5), 0 0 30px rgba(255,107,53,0.3);
  animation: spin-btn-glow 2s ease-in-out infinite;
}
@keyframes spin-btn-glow {
  0%, 100% { box-shadow: 0 6px 20px rgba(255,107,53,0.5), 0 0 20px rgba(255,107,53,0.3); }
  50% { box-shadow: 0 6px 30px rgba(255,107,53,0.8), 0 0 40px rgba(255,107,53,0.5); }
}
.spin-btn:hover:not(:disabled) {
  transform: scale(1.05);
  border-color: rgba(255,215,0,0.9);
}
.spin-btn:active:not(:disabled) { transform: scale(0.95); }
.spin-btn:disabled { opacity: 0.6; cursor: not-allowed; animation: none; }
.spin-btn-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.spin-icon { font-size: 20px; }
.spinning-active { background: linear-gradient(135deg, #666, #444) !important; animation: none !important; }

.free-spins-badge {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  border: 1px solid rgba(76,175,80,0.5);
  color: #fff;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: badge-bounce 1s ease-in-out infinite;
}
@keyframes badge-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ---- Auto Control ---- */
.auto-select {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 13px;
  outline: none;
}
.auto-btn {
  background: rgba(33,150,243,0.15);
  border: 1px solid rgba(33,150,243,0.4);
  color: #2196F3;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.auto-btn:hover { background: rgba(33,150,243,0.3); }
.auto-remaining {
  color: #8a95a5;
  font-size: 10px;
  font-weight: 600;
}

/* ---- Stats Bar ---- */
.stats-bar {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  margin-top: 4px;
}
.stat-item {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
}
.stat-label {
  display: block;
  color: #8a95a5;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.stat-value {
  display: block;
  color: #FFD700;
  font-size: 11px;
  font-weight: 700;
}
.balance-win-flash { animation: balance-flash 0.8s ease-out; }
@keyframes balance-flash {
  0% { color: #FFD700; }
  50% { color: #00FF7F; transform: scale(1.1); }
  100% { color: #FFD700; }
}

/* ---- Quick Bets ---- */
.quick-bets {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-bets::-webkit-scrollbar { display: none; }
.qb-label {
  color: #8a95a5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  text-transform: uppercase;
}
.qb-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ccc;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.qb-btn:hover { background: rgba(255,215,0,0.1); border-color: rgba(255,215,0,0.4); color: #FFD700; }
.qb-active {
  background: rgba(255,215,0,0.15) !important;
  border-color: #FFD700 !important;
  color: #FFD700 !important;
}

/* ---- Sound Toggle ---- */
.sound-toggle {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 44px; height: 44px;
  background: rgba(10,5,21,0.9);
  border: 2px solid rgba(255,107,53,0.4);
  color: #FF6B35;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: all 0.2s;
}
.sound-toggle:hover { border-color: #FF6B35; transform: scale(1.1); }

/* ---- Game Disabled ---- */
.game-disabled-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 50;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

/* ---- Modals ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.modal-box {
  background: linear-gradient(135deg, #0f0525, #1a0840);
  border: 2px solid rgba(255,107,53,0.4);
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.modal-head h2 {
  color: #FFD700;
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}
.modal-close {
  background: rgba(255,90,90,0.15);
  border: 1px solid rgba(255,90,90,0.3);
  color: #ff6b6b;
  border-radius: 8px;
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { background: rgba(255,90,90,0.3); }

/* ---- Paytable ---- */
.paytable-modal-box {
  border-color: rgba(255,215,0,0.4);
}
.paytable-content { padding: 20px; }
.paytable-intro {
  color: #8a95a5;
  font-size: 13px;
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}
.paytable-intro p { margin: 4px 0; }
.paytable-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.paytable-table th {
  color: #FFD700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(255,215,0,0.2);
  text-align: center;
}
.paytable-row { border-bottom: 1px solid rgba(255,255,255,0.05); }
.paytable-row:hover { background: rgba(255,255,255,0.02); }
.paytable-row td { padding: 10px 6px; text-align: center; color: #ccc; }
.pt-sym-cell {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  flex-direction: column;
  border: 2px solid;
  position: relative;
}
.sym-type-badge {
  font-size: 7px;
  font-weight: 800;
  padding: 1px 3px;
  border-radius: 3px;
  position: absolute;
  bottom: -2px; right: -4px;
}
.sym-type-badge.wild { background: #FF6B35; color: #fff; }
.sym-type-badge.scatter { background: #E91E63; color: #fff; }
.pt-mult {
  color: #FFD700;
  font-weight: 700;
  background: rgba(255,215,0,0.1);
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
}
.pt-top {
  color: #FF6B35;
  background: rgba(255,107,53,0.1);
  font-size: 15px;
}
.pt-none { color: #555; }
.paytable-notes {
  margin-top: 16px;
  padding: 12px;
  background: rgba(255,215,0,0.03);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: 10px;
  color: #8a95a5;
  font-size: 12px;
}
.paytable-notes p { margin: 4px 0; }
.paytable-notes strong { color: #FFD700; }

/* ---- Jackpot Modal ---- */
.jackpot-modal-box {
  border-color: rgba(255,215,0,0.6);
  background: linear-gradient(135deg, #1a0a00, #2a1500) !important;
  text-align: center;
  padding: 40px 32px;
}
.jackpot-win-animation { position: relative; }
.jackpot-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.confetti-piece {
  position: absolute;
  top: -20px;
  animation: confetti-fall 2.5s ease-in infinite;
}
@keyframes confetti-fall {
  from { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  to { transform: translateY(400px) rotate(720deg); opacity: 0; }
}
.jackpot-crown {
  font-size: 60px;
  animation: crown-bounce 0.5s ease infinite alternate;
  margin-bottom: 16px;
}
.jackpot-crown i { color: #FFD700; text-shadow: 0 0 30px rgba(255,215,0,0.8); }
@keyframes crown-bounce {
  from { transform: scale(1) rotate(-5deg); }
  to { transform: scale(1.15) rotate(5deg); }
}
.jackpot-win-title {
  color: #FFD700;
  font-size: 48px;
  font-weight: 900;
  margin: 0;
  text-shadow: 0 0 30px rgba(255,215,0,0.8);
  animation: title-glow 0.8s ease infinite alternate;
}
@keyframes title-glow {
  from { text-shadow: 0 0 20px rgba(255,215,0,0.6); }
  to { text-shadow: 0 0 40px rgba(255,215,0,1), 0 0 60px rgba(255,165,0,0.8); }
}
.jackpot-win-amount {
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  margin: 8px 0;
}
.jackpot-win-sub { color: #FF6B35; font-size: 14px; margin-bottom: 24px; }
.jackpot-collect-btn {
  padding: 16px 48px;
  font-size: 18px;
  font-weight: 800;
  border-radius: 14px;
}

/* ---- Big Win Modal ---- */
.bigwin-modal-box {
  border-color: rgba(255,215,0,0.5);
  text-align: center;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}
.bigwin-coins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.rain-coin {
  position: absolute;
  top: -40px;
  animation: coin-fall 2s ease-in infinite;
}
@keyframes coin-fall {
  from { transform: translateY(0) rotate(0deg); opacity: 1; }
  to { transform: translateY(500px) rotate(360deg); opacity: 0.2; }
}
.bigwin-icon { font-size: 64px; margin-bottom: 12px; animation: bounce-big 0.6s ease infinite alternate; }
@keyframes bounce-big {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}
.bigwin-title {
  color: #FFD700;
  font-size: 36px;
  font-weight: 900;
  margin: 0;
  text-shadow: 0 0 20px rgba(255,215,0,0.7);
}
.bigwin-amount {
  color: #FF6B35;
  font-size: 32px;
  font-weight: 900;
  margin: 12px 0 24px;
}
.bigwin-collect-btn { padding: 14px 40px; font-size: 16px; border-radius: 12px; }

/* ---- Free Spin Modal ---- */
.freespin-modal-box {
  border-color: rgba(76,175,80,0.5);
  text-align: center;
  padding: 40px 32px;
}
.freespin-icon { font-size: 60px; margin-bottom: 16px; animation: spin 2s linear infinite; }
.freespin-content h2 { color: #4CAF50; font-size: 32px; margin: 0 0 12px; }
.freespin-count {
  color: #FFD700;
  font-size: 28px;
  font-weight: 900;
  background: rgba(255,215,0,0.1);
  border: 2px solid rgba(255,215,0,0.3);
  border-radius: 12px;
  padding: 8px 24px;
  display: inline-block;
  margin-bottom: 16px;
}
.freespin-content p { color: #8a95a5; margin-bottom: 20px; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ---- History / Leaderboard ---- */
.spin-history-section, .leaderboard-section {
  padding: 0 16px 8px;
}
.history-table-el {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.history-table-el th {
  color: #8a95a5;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.history-table-el td { padding: 8px 6px; text-align: center; color: #ccc; border-bottom: 1px solid rgba(255,255,255,0.04); }
.win-positive { color: #4CAF50 !important; font-weight: 700; }
.win-zero { color: #8a95a5 !important; }
.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  margin-bottom: 8px;
}
.lb-rank { font-size: 20px; width: 32px; text-align: center; }
.lb-name { flex: 1; color: #fff; font-weight: 600; font-size: 14px; }
.lb-right { text-align: right; }
.lb-win { display: block; color: #FFD700; font-weight: 700; font-size: 14px; }
.lb-spins { display: block; color: #8a95a5; font-size: 11px; }

/* ---- Toast ---- */
.game-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(10,5,21,0.95);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  z-index: 1000;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-error { border-color: rgba(255,90,90,0.5); }
.toast-error i { color: #ff5a5a; }
.toast-success { border-color: rgba(76,175,80,0.5); }
.toast-success i { color: #4CAF50; }
.toast-info i { color: #2196F3; }

/* ---- Paylines SVG ---- */
.paylines-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 4;
}

/* ---- Win Flash ---- */
.win-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
}

/* ---- Admin Slots Styles ---- */
.jackpot-display-big {
  color: #FFD700;
  font-size: 40px;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(255,215,0,0.6);
}
.badge-weight {
  background: rgba(33,150,243,0.15);
  border: 1px solid rgba(33,150,243,0.3);
  color: #2196F3;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
}
.badge-wild { background: rgba(255,107,53,0.15); border: 1px solid rgba(255,107,53,0.3); color: #FF6B35; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.badge-scatter { background: rgba(233,30,99,0.15); border: 1px solid rgba(233,30,99,0.3); color: #E91E63; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.badge-normal { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); color: #8a95a5; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.badge-active { background: rgba(76,175,80,0.15); border: 1px solid rgba(76,175,80,0.3); color: #4CAF50; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.badge-inactive { background: rgba(255,90,90,0.1); border: 1px solid rgba(255,90,90,0.2); color: #ff6b6b; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.badge-jackpot { background: rgba(255,215,0,0.2); border: 1px solid rgba(255,215,0,0.4); color: #FFD700; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 700; animation: jackpot-pulse 0.5s ease infinite alternate; }
.config-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.empty-state { text-align: center; color: #8a95a5; padding: 32px; font-size: 14px; }
