/* 
  DIAMOND SLOT - LUXURY CASINO STYLING FOR GOLDENX CASINO
*/

:root {
  --bg-dark: #07070B;
  --bg-purple: #120924;
  --gold-primary: #D4AF37;
  --gold-bright: #FFD966;
  --gold-light: #FFF3A8;
  --gold-dark: #8B6508;
  --cyan-glow: #7DEBFF;
  --cyan-deep: #00A2FF;
  --white: #FFFFFF;
  --font-main: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-luxury: 'Cinzel', Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-dark);
  color: var(--white);
  font-family: var(--font-main);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Background Atmosphere */
.game-backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, #1a0f35 0%, #0c071a 50%, #05040a 100%);
  z-index: 0;
  pointer-events: none;
}

.bg-ornament-rays {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(
    from 0deg at 50% 40%,
    rgba(212, 175, 55, 0.03) 0deg 10deg,
    transparent 10deg 20deg
  );
  opacity: 0.7;
}

/* Particle Canvas */
#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* Main Game Wrapper */
.game-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 16px;
}

/* Top Header */
.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: rgba(18, 9, 36, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.back-to-lobby {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-bright);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--font-luxury);
  text-decoration: none;
  transition: all 0.2s;
}

.back-to-lobby:hover {
  background: var(--gold-primary);
  color: #000;
}

.game-title {
  font-family: var(--font-luxury);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF3A8 30%, #D4AF37 70%, #8B6508 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.balance-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--gold-primary);
  border-radius: 20px;
  padding: 4px 12px;
}

.balance-pill small {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-luxury);
}

.balance-pill b {
  font-size: 0.95rem;
  color: var(--gold-bright);
}

.btn-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a1b4e, #120924);
  border: 1px solid var(--gold-primary);
  color: var(--gold-bright);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-icon-circle:hover {
  transform: scale(1.08);
  border-color: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold-primary);
}

/* Status Banner */
.status-banner {
  text-align: center;
  padding: 8px 16px;
  font-family: var(--font-luxury);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 8px;
  margin: 6px auto;
  width: 90%;
  max-width: 600px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.banner-normal {
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.banner-spinning {
  color: var(--cyan-glow);
  background: rgba(125, 235, 255, 0.08);
  border: 1px solid rgba(125, 235, 255, 0.3);
}

.banner-win {
  color: #FFF;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.3), rgba(255, 217, 102, 0.5), rgba(212, 175, 55, 0.3));
  border: 1px solid var(--gold-bright);
  box-shadow: 0 0 20px rgba(255, 217, 102, 0.5);
  animation: pulse-glow 1s infinite alternate;
}

.banner-respin {
  color: #FFF;
  background: linear-gradient(90deg, rgba(0, 162, 255, 0.4), rgba(125, 235, 255, 0.6), rgba(0, 162, 255, 0.4));
  border: 1px solid var(--cyan-glow);
  box-shadow: 0 0 25px rgba(125, 235, 255, 0.7);
  animation: pulse-glow 0.8s infinite alternate;
}

.banner-freespin {
  color: #FFF;
  background: linear-gradient(90deg, rgba(157, 0, 255, 0.4), rgba(125, 235, 255, 0.6), rgba(157, 0, 255, 0.4));
  border: 1px solid var(--cyan-glow);
  box-shadow: 0 0 30px rgba(125, 235, 255, 0.9);
  animation: pulse-glow 0.6s infinite alternate;
}

.banner-error {
  color: #FF5252;
  background: rgba(255, 82, 82, 0.1);
  border: 1px solid #FF5252;
}

/* Cabinet Stage */
.cabinet-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto 0;
  width: 100%;
  padding: 8px 0;
}

.slot-cabinet-casing {
  position: relative;
  width: 100%;
  max-width: 760px;
  background: linear-gradient(180deg, #1f1138 0%, #0d0619 40%, #06030c 100%);
  border: 4px solid var(--gold-primary);
  border-radius: 24px;
  padding: 18px 22px;
  box-shadow: 
    0 0 30px rgba(212, 175, 55, 0.4),
    inset 0 0 25px rgba(255, 217, 102, 0.2),
    0 25px 60px rgba(0, 0, 0, 0.95);
}

.cabinet-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  background: radial-gradient(circle, #FFF 10%, #7DEBFF 50%, #00A2FF 100%);
  border: 2px solid var(--gold-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--cyan-glow);
  z-index: 5;
}
.corner-tl { top: -11px; left: -11px; }
.corner-tr { top: -11px; right: -11px; }
.corner-bl { bottom: -11px; left: -11px; }
.corner-br { bottom: -11px; right: -11px; }

.cabinet-top-header {
  text-align: center;
  margin-bottom: 10px;
}

.cabinet-jackpot-marquee {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.15), rgba(255, 217, 102, 0.35), rgba(212, 175, 55, 0.15));
  border: 1px solid var(--gold-bright);
  border-radius: 20px;
  padding: 4px 18px;
  font-family: var(--font-luxury);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #FFF;
  text-shadow: 0 0 10px var(--gold-bright);
}

/* Reels Viewport */
.reels-viewport-frame {
  position: relative;
  background: #000000;
  border: 3px solid #3d2366;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 1), 0 0 20px rgba(0, 0, 0, 0.8);
}

.reels-glass-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 60%);
  pointer-events: none;
  z-index: 10;
}

.reels-depth-shadow-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 25px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  z-index: 9;
  pointer-events: none;
}

.reels-depth-shadow-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  z-index: 9;
  pointer-events: none;
}

.slot-reels-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 12px;
  background: #080410;
  position: relative;
}

.slot-reel {
  position: relative;
  height: 180px;
  background: radial-gradient(circle at 50% 50%, #150a29 0%, #080312 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.9);
  transition: all 0.3s ease;
}

.slot-reel.locked-wild {
  border: 2px solid var(--cyan-glow);
  box-shadow: 0 0 25px var(--cyan-glow), inset 0 0 20px rgba(125, 235, 255, 0.5);
  animation: pulse-locked 1.2s infinite alternate;
}

.slot-reel.locked-wild::before {
  content: 'LOCKED';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan-deep);
  color: #FFF;
  font-family: var(--font-luxury);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 1px 6px;
  border-radius: 3px;
  z-index: 12;
  box-shadow: 0 0 8px var(--cyan-glow);
}

.reel-strip {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.symbol-cell {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
}

.sym-svg {
  width: 100%;
  height: 100%;
  max-width: 130px;
  max-height: 130px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease;
}

.payline-bar {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-bright) 20%, #FFF 50%, var(--gold-bright) 80%, transparent 100%);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 8;
  opacity: 0.4;
  box-shadow: 0 0 8px var(--gold-primary);
  transition: all 0.3s ease;
}

.payline-win-active .payline-bar {
  opacity: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-deep), #FFF, var(--cyan-glow));
  box-shadow: 0 0 20px var(--cyan-glow), 0 0 40px #FFF;
  animation: pulse-payline 0.6s infinite alternate;
}

.payline-pointer-left, .payline-pointer-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  z-index: 11;
  pointer-events: none;
}
.payline-pointer-left { left: 2px; border-left: 10px solid var(--gold-bright); }
.payline-pointer-right { right: 2px; border-right: 10px solid var(--gold-bright); }

/* Control Deck */
.game-controls-deck {
  background: linear-gradient(180deg, rgba(22, 13, 46, 0.85) 0%, rgba(7, 7, 11, 0.95) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deck-meters-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
}

.meter-box {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.meter-label {
  font-size: 0.7rem;
  font-family: var(--font-luxury);
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
}

.meter-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.meter-box.win-meter .meter-value {
  color: var(--cyan-glow);
}

.meter-box.win-glow {
  border-color: var(--cyan-glow);
  box-shadow: 0 0 15px rgba(125, 235, 255, 0.5);
  animation: pulse-glow 0.8s infinite alternate;
}

.deck-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.bet-stepper {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--gold-primary);
  border-radius: 30px;
  padding: 4px;
  gap: 8px;
}

.btn-step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37, #8B6508);
  border: none;
  color: #FFF;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-step:hover:not(:disabled) {
  transform: scale(1.1);
  box-shadow: 0 0 10px var(--gold-bright);
}

.btn-step:disabled { opacity: 0.3; cursor: not-allowed; }

.bet-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px;
  min-width: 85px;
}

.bet-display-label { font-size: 0.65rem; font-family: var(--font-luxury); color: rgba(255, 255, 255, 0.5); }
.bet-display-val { font-size: 1rem; font-weight: 700; color: var(--gold-bright); }

.spin-button-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-spin-luxury {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF3A8 0%, #FFD700 35%, #D4AF37 70%, #6B4E00 100%);
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.8), 0 8px 15px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-luxury);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #2b1800;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-spin-luxury:hover:not(:disabled) {
  transform: scale(1.06);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.9);
}

.btn-spin-luxury:active:not(:disabled) { transform: scale(0.95); }
.btn-spin-luxury:disabled { opacity: 0.5; cursor: not-allowed; filter: grayscale(0.6); }

.side-modes { display: flex; gap: 10px; }

.btn-mode {
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-bright);
  font-family: var(--font-luxury);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-mode.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(255, 217, 102, 0.6));
  border-color: var(--gold-bright);
  color: #FFF;
}

.autospin-badge {
  background: #FF0055;
  color: #FFF;
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 0.65rem;
  font-weight: bold;
}

/* Animations */
.blur-motion { filter: blur(4px); will-change: transform, filter; }

@keyframes reel-bounce {
  0% { transform: translateY(0); }
  40% { transform: translateY(10px); }
  75% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.reel-bounce { animation: reel-bounce 0.25s cubic-bezier(0.25, 1, 0.5, 1); }

@keyframes symbol-win-pulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 5px var(--gold-bright)); }
  50% { transform: scale(1.12); filter: drop-shadow(0 0 25px var(--cyan-glow)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 5px var(--gold-bright)); }
}

.symbol-win-pulse .sym-svg { animation: symbol-win-pulse 1.2s infinite ease-in-out; }

@keyframes pulse-locked {
  0% { box-shadow: 0 0 15px var(--cyan-glow), inset 0 0 10px rgba(125, 235, 255, 0.4); }
  100% { box-shadow: 0 0 35px var(--cyan-deep), inset 0 0 25px rgba(125, 235, 255, 0.8); }
}

@keyframes pulse-glow {
  0% { filter: brightness(1); opacity: 0.9; }
  100% { filter: brightness(1.3); opacity: 1; }
}

@keyframes pulse-payline {
  0% { filter: brightness(1); height: 3px; }
  100% { filter: brightness(1.6); height: 5px; }
}

@keyframes modal-pop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Modals */
.modal-container {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-container.hidden { display: none; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 10, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  background: linear-gradient(180deg, #190e32 0%, #0c071a 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modal-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.btn-close-modal {
  background: none;
  border: none;
  color: var(--gold-bright);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-primary-luxury {
  padding: 10px 24px;
  background: linear-gradient(180deg, #FFD966 0%, #D4AF37 60%, #8B6508 100%);
  border: 1px solid #FFF;
  border-radius: 25px;
  color: #261700;
  font-family: var(--font-luxury);
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.btn-secondary-luxury {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 25px;
  color: var(--gold-bright);
  font-family: var(--font-luxury);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

/* Paytable styling */
.paytable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.pay-item {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.pay-item.top-jackpot {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(125, 235, 255, 0.2));
  border: 1px solid var(--gold-bright);
}

.pay-sym { font-size: 1.4rem; }
.pay-name { font-size: 0.75rem; color: rgba(255, 255, 255, 0.8); }
.pay-payout { font-size: 0.9rem; font-weight: bold; color: var(--gold-bright); }

.feature-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.feature-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(125, 235, 255, 0.3);
  border-radius: 10px;
  padding: 12px;
}

.feature-badge {
  display: inline-block;
  background: var(--cyan-deep);
  color: #FFF;
  font-family: var(--font-luxury);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.info-rules-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-rule-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  font-size: 0.8rem;
}

.gold-gradient-text {
  font-family: var(--font-luxury);
  font-weight: 900;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFD966 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cyan-gradient-text {
  font-family: var(--font-luxury);
  font-weight: 900;
  background: linear-gradient(180deg, #FFFFFF 0%, #7DEBFF 60%, #00A2FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spin-count-selector { display: flex; gap: 10px; margin-top: 8px; }

.btn-spin-count {
  flex: 1;
  padding: 12px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  color: var(--gold-bright);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.btn-spin-count.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(255, 217, 102, 0.6));
  border-color: var(--gold-bright);
  color: #FFF;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

/* Big Win */
.bigwin-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  animation: modal-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bigwin-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(18, 9, 36, 0.95) 0%, rgba(5, 4, 10, 0.98) 100%);
  backdrop-filter: blur(12px);
}

.bigwin-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.bigwin-banner {
  font-family: var(--font-luxury);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF3A8 30%, #FFD700 70%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: banner-throb 1s infinite alternate ease-in-out;
}

.bigwin-amount {
  font-family: var(--font-main);
  font-size: 4rem;
  font-weight: 900;
  color: var(--cyan-glow);
  text-shadow: 0 0 35px var(--cyan-deep);
}

.bigwin-tap-hint {
  font-family: var(--font-luxury);
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
}

@keyframes banner-throb {
  0% { transform: scale(0.95); }
  100% { transform: scale(1.05); }
}

.bigwin-overlay.fade-out { opacity: 0; transition: opacity 0.4s ease; }

/* Debug */
.debug-container { position: fixed; bottom: 12px; left: 12px; z-index: 90; }

.btn-debug-toggle {
  background: #2a1b4e;
  border: 1px solid #7DEBFF;
  color: #7DEBFF;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
}

.debug-panel-drawer {
  position: absolute;
  bottom: 36px;
  left: 0;
  width: 280px;
  background: #0d071a;
  border: 1px solid #7DEBFF;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.debug-panel-drawer.hidden { display: none; }

.debug-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #7DEBFF;
  font-weight: bold;
}

.btn-close-debug { background: none; border: none; color: #FFF; cursor: pointer; }
.debug-group-title { font-size: 0.7rem; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; }

.btn-debug-action {
  background: rgba(125, 235, 255, 0.1);
  border: 1px solid rgba(125, 235, 255, 0.3);
  color: #FFF;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-align: left;
  cursor: pointer;
}
.btn-debug-action:hover { background: rgba(125, 235, 255, 0.3); }

@media (max-width: 768px) {
  .game-wrapper { padding: 8px; }
  .slot-cabinet-casing { padding: 10px 12px; border-width: 2px; }
  .slot-reel { height: 130px; }
  .btn-spin-luxury { width: 70px; height: 70px; font-size: 0.95rem; }
  .bigwin-banner { font-size: 2rem; }
  .bigwin-amount { font-size: 2.5rem; }
}
