@keyframes winPulse {
  0% { box-shadow: 0 0 10px var(--gold); transform: scale(1); }
  50% { box-shadow: 0 0 40px var(--gold-light), 0 0 20px #fff; transform: scale(1.02); }
  100% { box-shadow: 0 0 10px var(--gold); transform: scale(1); }
}
.win-animation {
  animation: winPulse 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  border-color: var(--gold-light) !important;
}


.slot-symbol {
  font-size: 60px;
  line-height: 100px;
  text-align: center;
  background-image: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}


.theme-main {
  background: linear-gradient(to bottom, #16213E, #0F3460);
  border: 4px solid var(--gold);
  border-radius: 20px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 10px 40px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
}
.theme-main::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
  animation: rotateGlow 10s linear infinite;
  pointer-events: none;
}
@keyframes rotateGlow {
  100% { transform: rotate(360deg); }
}
.theme-main .slot-header {
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.theme-main .reel {
  background: linear-gradient(to right, #111, #222, #111);
  box-shadow: inset 0 0 15px rgba(0,0,0,1);
  border: 1px solid #333;
}

.theme-main .slot-symbol {
  text-shadow: 0 0 10px rgba(255,215,0,0.5);
}


.theme-neon {
  background: #050510;
  border: 2px solid #FF00FF;
  box-shadow: 0 0 15px #FF00FF, inset 0 0 15px #FF00FF;
  border-radius: 12px;
}
.theme-neon .slot-title {
  color: #00FFFF;
  font-family: monospace;
  text-shadow: 0 0 10px #00FFFF;
}
.theme-neon .slot-coins { color: #FF00FF; }
.theme-neon .btn-spin {
  background: transparent;
  border: 2px solid #00FFFF;
  color: #00FFFF;
  box-shadow: 0 0 10px #00FFFF;
}
.theme-neon .btn-spin:hover {
  background: #00FFFF;
  color: #000;
  box-shadow: 0 0 20px #00FFFF;
}
.theme-neon .reel {
  background: #000;
  border-color: #FF00FF;
}
.theme-neon.win-animation {
  animation: winPulseNeon 1s infinite;
}
@keyframes winPulseNeon {
  0% { box-shadow: 0 0 15px #FF00FF; }
  50% { box-shadow: 0 0 40px #00FFFF, inset 0 0 20px #00FFFF; border-color: #00FFFF; }
  100% { box-shadow: 0 0 15px #FF00FF; }
}

.theme-neon .slot-symbol {
  filter: drop-shadow(0 0 8px #FF00FF) brightness(1.2);
}


.theme-egypt {
  background: #2D1A00;
  border: 4px solid #E6B800;
  border-radius: 0;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.9);
}
.theme-egypt .slot-title {
  color: #FFCC00;
  font-family: serif;
}
.theme-egypt .btn-spin {
  background: #E6B800;
  color: #2D1A00;
  border-radius: 0;
  font-weight: 900;
  border: 2px solid #FFF;
}
.theme-egypt .btn-spin:hover {
  background: #FFF;
}
.theme-egypt .reel {
  background: #F4E4C1;
  border: 2px solid #E6B800;
}
.theme-egypt.win-animation {
  animation: winPulseEgypt 1s infinite;
}
@keyframes winPulseEgypt {
  0% { box-shadow: inset 0 0 30px rgba(0,0,0,0.9); }
  50% { box-shadow: inset 0 0 30px rgba(0,0,0,0.9), 0 0 50px #E6B800; }
  100% { box-shadow: inset 0 0 30px rgba(0,0,0,0.9); }
}


.theme-classic {
  background: #DD0000;
  border: 4px solid silver;
  border-radius: 16px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}
.theme-classic .slot-header {
  background: #fff;
  padding: 5px 15px;
  border-radius: 8px;
  color: #000;
  border: 2px solid #222;
}
.theme-classic .btn-spin {
  background: radial-gradient(circle at 30% 30%, #ff3b30, #b30000);
  color: #fff;
  border-radius: 50%;
  width: 85px;
  height: 85px;
  margin: 15px auto;
  border: 6px solid #dcdcdc; 
  outline: 2px solid #555;
  font-size: 1.3rem;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), inset 0 3px 5px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.1s ease;
}
.theme-classic .btn-spin:hover {
  background: radial-gradient(circle at 30% 30%, #ff4f45, #cc0000);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), inset 0 4px 6px rgba(255, 255, 255, 0.5);
}
.theme-classic .btn-spin:active {
  transform: translateY(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.6);
}
.theme-classic .btn-spin:disabled {
  background: radial-gradient(circle at 30% 30%, #888, #555);
  border-color: #aaa;
  color: #ccc;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
}
.theme-classic .reel {
  background: #fff;
  border-color: #ccc;
  border: 2px solid #555;
}
.theme-classic.win-animation {
  animation: winPulseClassic 0.5s infinite;
}
@keyframes winPulseClassic {
  0% { background: #DD0000; }
  50% { background: #FFD700; border-color: #FFF; }
  100% { background: #DD0000; }
}