/* Slots specific styles */

.slots-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.slots-header {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 15px;
  border: 2px solid #ffd700;
}

.slots-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 3em;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 
    0 0 10px #ffd700,
    0 0 20px #ffd700,
    0 0 30px #ff8c00,
    0 0 40px #ff8c00;
  margin: 0;
  animation: goldPulse 2s ease-in-out infinite;
}

.slots-subtitle {
  margin-top: 10px;
  font-size: 1.2em;
  color: #00ff88;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px #00ff88;
}

@keyframes goldPulse {
  0%, 100% {
    text-shadow: 
      0 0 10px #ffd700,
      0 0 20px #ffd700,
      0 0 30px #ff8c00;
  }
  50% {
    text-shadow: 
      0 0 20px #ffd700,
      0 0 30px #ffd700,
      0 0 40px #ff8c00,
      0 0 50px #ff8c00;
  }
}

.slots-display {
  background: linear-gradient(135deg, #1e1e2f 0%, #2a2a40 100%);
  border: 3px solid #ffd700;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 
    0 0 20px rgba(255, 215, 0, 0.3),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.win-display {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.win-label {
  font-size: 1em;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.win-amount {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5em;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 
    0 0 10px #ffd700,
    0 0 20px #ff8c00;
}

.win-multiplier {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5em;
  font-weight: 700;
  color: #00ff88;
  text-shadow: 0 0 10px #00ff88;
}

/* Slots Machine */
.slots-machine {
  background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
  border-radius: 20px;
  padding: 30px;
  border: 3px solid #ffd700;
  box-shadow: 
    0 0 30px rgba(255, 215, 0, 0.3),
    inset 0 0 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.slots-machine::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 215, 0, 0.1) 50%,
    transparent 70%
  );
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.slots-screen {
  background: linear-gradient(135deg, #000 0%, #111 100%);
  border-radius: 15px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  border: 2px solid #333;
}

.slots-reels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  position: relative;
}

.reel {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid #ffd700;
  border-radius: 10px;
  height: 360px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.reel-strip {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  will-change: transform;
}

.symbol {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a2a40 0%, #1e1e2f 100%);
  border-bottom: 1px solid #333;
  position: relative;
  padding: 10px;
}

.symbol-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.symbol::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 215, 0, 0.1) 50%, transparent 100%);
  opacity: 0;
  animation: symbolShimmer 2s ease-in-out infinite;
}

@keyframes symbolShimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.symbol.winning {
  animation: winningSymbol 0.5s ease-in-out 3;
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  z-index: 10;
}

@keyframes winningSymbol {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

/* Spinning Animation */
.reel.spinning .reel-strip {
  animation: spin 0.08s linear infinite; /* Reduced from 0.15s to 0.08s for faster, more exciting animation */
}

@keyframes spin {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-120px);
  }
}

/* Win Lines */
.win-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 5;
}

.win-line {
  position: absolute;
  height: 4px;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, transparent 0%, #ffd700 50%, transparent 100%);
  animation: winLinePulse 1s ease-in-out infinite;
  box-shadow: 0 0 10px #ffd700;
}

@keyframes winLinePulse {
  0%, 100% {
    opacity: 0.8;
    box-shadow: 0 0 10px #ffd700;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 20px #ffd700;
  }
}

/* Bet Controls */
.slots-bet-controls {
  border-radius: 15px;
  padding: 20px;
  border: 2px solid #333;
  margin-bottom: 20px;
}

.slots-bet-controls label {
  display: block;
  color: #fff;
  font-size: 0.9em;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slots-bet-controls input[type="number"] {
  width: 100%;
  padding: 12px;
  background: rgba(35, 41, 56, 0.3);
  border: 2px solid #333;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1em;
  margin-bottom: 15px;
  font-family: 'Orbitron', sans-serif;
}

.slots-bet-controls input[type="number"]:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.spin-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  border: none;
  border-radius: 10px;
  color: #000;
  font-size: 1.2em;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  margin-top: 10px;
}

.spin-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.spin-btn:active:not(:disabled) {
  transform: translateY(0);
}

.spin-btn:disabled {
  background: linear-gradient(135deg, #444 0%, #333 100%);
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Auto Spin Controls */
.auto-spin-controls {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #333;
}

.auto-spin-btn,
.stop-auto-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #00ff88 0%, #00cc77 100%);
  border: none;
  border-radius: 8px;
  color: #000;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
  margin-top: 10px;
}

.stop-auto-btn {
  background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
  box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

.auto-spin-btn:hover:not(:disabled),
.stop-auto-btn:hover {
  transform: translateY(-2px);
}

.auto-spin-btn:active:not(:disabled),
.stop-auto-btn:active {
  transform: translateY(0);
}

.auto-spin-btn:disabled {
  background: linear-gradient(135deg, #444 0%, #333 100%);
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
}

/* Paytable */
.paytable {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 15px;
  padding: 20px;
  border: 2px solid #333;
}

.paytable h3 {
  color: #fff;
  font-size: 1.5em;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

.paytable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.paytable-item {
  background: linear-gradient(135deg, #2a2a40 0%, #1e1e2f 100%);
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.paytable-item:hover {
  border-color: #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  transform: translateY(-2px);
}

.paytable-symbol {
  min-width: 60px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paytable-symbol img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.paytable-info {
  flex: 1;
  font-size: 0.9em;
  color: #888;
}

.paytable-info div {
  margin-bottom: 5px;
}

.multiplier {
  color: #ffd700;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 5px #ffd700;
}

/* Big Win Overlay */
.big-win-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.big-win-content {
  text-align: center;
  animation: bigWinScale 1s ease infinite;
}

@keyframes bigWinScale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.big-win-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 5em;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 
    0 0 20px #ffd700,
    0 0 40px #ffd700,
    0 0 60px #ff8c00,
    0 0 80px #ff8c00;
  animation: bigWinTitlePulse 1s ease-in-out infinite;
  margin-bottom: 30px;
}

@keyframes bigWinTitlePulse {
  0%, 100% {
    text-shadow: 
      0 0 20px #ffd700,
      0 0 40px #ffd700,
      0 0 60px #ff8c00;
  }
  50% {
    text-shadow: 
      0 0 30px #ffd700,
      0 0 60px #ffd700,
      0 0 90px #ff8c00,
      0 0 120px #ff8c00;
  }
}

.big-win-amount {
  font-family: 'Orbitron', sans-serif;
  font-size: 6em;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 
    0 0 20px #ffd700,
    0 0 40px #ff8c00;
  margin-bottom: 20px;
}

.big-win-multiplier {
  font-family: 'Orbitron', sans-serif;
  font-size: 3em;
  font-weight: 700;
  color: #00ff88;
  text-shadow: 0 0 20px #00ff88;
}

/* Game Info */
.game-info {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 15px;
  padding: 15px;
  border: 2px solid #333;
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.info-item span:first-child {
  color: #888;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-item span:last-child {
  color: #fff;
  font-size: 1.1em;
  font-weight: 600;
  font-family: 'Orbitron', sans-serif;
}

.hash {
  font-size: 0.9em !important;
  color: #888 !important;
  font-family: 'Courier New', monospace !important;
  word-break: break-all;
}

/* Quick Bets */
.quick-bets {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Changed from 4 to 3 columns */
  gap: 8px;
  margin-bottom: 15px;
}

.quick-bet {
  padding: 10px;
  background: linear-gradient(135deg, #2a2a40 0%, #1e1e2f 100%);
  border: 2px solid #333;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.quick-bet:hover {
  border-color: #ffd700;
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.quick-bet:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .slots-title {
    font-size: 2em;
  }
  
  .symbol {
    font-size: 3em;
    height: 100px;
  }
  
  .reel {
    height: 300px;
  }
  
  .paytable-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .slots-title {
    font-size: 1.5em;
  }
  
  .slots-reels {
    gap: 5px;
  }
  
  .symbol {
    font-size: 2em;
    height: 80px;
  }
  
  .reel {
    height: 240px;
  }
  
  .paytable-grid {
    grid-template-columns: 1fr;
  }
  
  .big-win-title {
    font-size: 3em;
  }
  
  .big-win-amount {
    font-size: 4em;
  }
  
  .big-win-multiplier {
    font-size: 2em;
  }
}

/* Notification Animations */
@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.error-notification,
.success-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: 600;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  animation: slideInRight 0.3s ease;
}

.error-notification {
  background: #ff4444;
  color: white;
}

.success-notification {
  background: #00ff88;
  color: #000;
}

/* Stats Card */
.stats-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 15px;
  padding: 20px;
  border: 2px solid #333;
}

.stats-card h4 {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #333;
  color: #888;
  font-size: 0.95em;
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-row span:last-child {
  color: #fff;
  font-weight: 600;
  font-family: 'Orbitron', sans-serif;
}

/* Promo Button */
.promo-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.promo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.promo-button:active {
  transform: translateY(0);
}

/* Game History Styles */
.game-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 400px;
  overflow-y: auto;
}

.history-item {
  background: linear-gradient(135deg, #2a2a40 0%, #1e1e2f 100%);
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #333;
  transition: all 0.3s ease;
}

.history-item:hover {
  border-color: #ffd700;
  transform: translateX(5px);
}

.history-item div {
  padding: 3px 0;
  color: #888;
}

.history-item div strong {
  color: #fff;
}

.verify-form {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.verify-form input {
  flex: 1;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid #333;
  border-radius: 8px;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}

.verify-form input:focus {
  outline: none;
  border-color: #ffd700;
}

.verify-details {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row span:first-child {
  color: #888;
  font-weight: 600;
}

.detail-row span:last-child {
  color: #fff;
  text-align: right;
  font-family: 'Orbitron', sans-serif;
}

/* Free Spins Styles */
.bonus-buy-btn {
  width: 100%;
  padding: 15px;
  margin: 15px 0;
  background: linear-gradient(135deg, #ff8c00 0%, #ffd700 100%);
  border: none;
  border-radius: 12px;
  color: #1a1a2e;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1em;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 15px rgba(255, 215, 0, 0.4),
    inset 0 2px 5px rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.bonus-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(255, 215, 0, 0.6),
    inset 0 2px 5px rgba(255, 255, 255, 0.4);
}

.bonus-buy-btn:active {
  transform: translateY(0);
  box-shadow: 
    0 2px 10px rgba(255, 215, 0, 0.4),
    inset 0 2px 5px rgba(255, 255, 255, 0.2);
}

.bonus-buy-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.free-spins-display {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  border: 3px solid #ffd700;
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
  box-shadow: 
    0 0 30px rgba(106, 17, 203, 0.6),
    inset 0 0 20px rgba(255, 215, 0, 0.2);
  animation: freeSpinsPulse 2s ease-in-out infinite;
}

@keyframes freeSpinsPulse {
  0%, 100% {
    box-shadow: 
      0 0 30px rgba(106, 17, 203, 0.6),
      inset 0 0 20px rgba(255, 215, 0, 0.2);
  }
  50% {
    box-shadow: 
      0 0 40px rgba(106, 17, 203, 0.9),
      inset 0 0 30px rgba(255, 215, 0, 0.4);
  }
}

.free-spins-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5em;
  font-weight: 900;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-shadow: 
    0 0 10px #ffd700,
    0 0 20px #ffd700,
    0 0 30px #ff8c00;
}

.free-spins-counter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

#freeSpinsCounter {
  font-family: 'Orbitron', sans-serif;
  font-size: 4em;
  font-weight: 900;
  color: #fff;
  text-shadow: 
    0 0 10px #00ff88,
    0 0 20px #00ff88,
    0 0 30px #00ff88,
    0 0 40px #00ff88;
  animation: counterPulse 1s ease-in-out infinite;
}

@keyframes counterPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.free-spins-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.free-spins-multiplier-info {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1em;
  font-weight: 700;
  color: #00ff88;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px #00ff88;
}

/* Free Spins Overlay */
.free-spins-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
}

.free-spins-modal {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 5px solid #ffd700;
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  box-shadow: 
    0 0 50px rgba(255, 215, 0, 0.8),
    inset 0 0 30px rgba(255, 215, 0, 0.2);
  animation: modalZoom 0.5s ease-out;
}

@keyframes modalZoom {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.free-spins-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 4em;
  font-weight: 900;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 30px;
  text-shadow: 
    0 0 20px #ffd700,
    0 0 40px #ffd700,
    0 0 60px #ff8c00,
    0 0 80px #ff8c00;
  animation: titleGlow 1.5s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow: 
      0 0 20px #ffd700,
      0 0 40px #ffd700,
      0 0 60px #ff8c00;
  }
  50% {
    text-shadow: 
      0 0 30px #ffd700,
      0 0 60px #ffd700,
      0 0 90px #ff8c00,
      0 0 120px #ff8c00;
  }
}

.free-spins-count {
  font-family: 'Orbitron', sans-serif;
  font-size: 3em;
  font-weight: 900;
  color: #00ff88;
  text-shadow: 
    0 0 15px #00ff88,
    0 0 30px #00ff88,
    0 0 45px #00ff88;
  margin-bottom: 20px;
  animation: countBounce 0.6s ease-in-out;
}

@keyframes countBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.free-spins-multiplier {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2em;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 10px #fff;
}

.free-spins-info {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5em;
  font-weight: 600;
  color: #fff;
  margin-top: 20px;
}

/* Scatter Symbol Glow Effect */
.scatter-glow {
  animation: scatterGlow 1s ease-in-out infinite;
  position: relative;
}

.scatter-glow::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  animation: scatterPulse 1s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes scatterGlow {
  0%, 100% {
    filter: brightness(1) drop-shadow(0 0 10px #ffd700);
  }
  50% {
    filter: brightness(1.5) drop-shadow(0 0 20px #ffd700);
  }
}

@keyframes scatterPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Responsive adjustments for free spins */
@media (max-width: 768px) {
  .free-spins-title {
    font-size: 2.5em;
  }
  
  .free-spins-count {
    font-size: 2em;
  }
  
  .free-spins-modal {
    padding: 40px;
  }
  
  #freeSpinsCounter {
    font-size: 3em;
  }
}

/* ========== SOUND CONTROLS ========== */
.sound-controls {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sound-controls label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}

.sound-control-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sound-toggle-btn {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  border: 2px solid #00ffff;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 200, 255, 0.1));
  color: #00ffff;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sound-toggle-btn:hover {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(0, 200, 255, 0.2));
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.sound-toggle-btn:active {
  transform: scale(0.95);
}

.volume-slider {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #00ffff 0%, #00ff00 100%);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00ffff;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
  transition: all 0.2s;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(0, 255, 255, 1);
}

.volume-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00ffff;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
  transition: all 0.2s;
}

.volume-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(0, 255, 255, 1);
}

#volumePercent {
  min-width: 45px;
  text-align: center;
  color: #00ffff;
  font-weight: 600;
  font-size: 14px;
}

/* ========== 5 PAYLINE SUPPORT ========== */

/* Line-specific colors for 5 paylines */
.symbol.winning.line-0 {
  box-shadow: 0 0 25px 8px rgba(255, 215, 0, 0.95) !important;
  border: 3px solid gold;
  animation: line0-glow 0.8s ease-in-out infinite;
}

.symbol.winning.line-1 {
  box-shadow: 0 0 25px 8px rgba(0, 255, 255, 0.95) !important;
  border: 3px solid cyan;
  animation: line1-glow 0.8s ease-in-out infinite;
}

.symbol.winning.line-2 {
  box-shadow: 0 0 25px 8px rgba(50, 255, 50, 0.95) !important;
  border: 3px solid lime;
  animation: line2-glow 0.8s ease-in-out infinite;
}

.symbol.winning.line-3 {
  box-shadow: 0 0 25px 8px rgba(255, 0, 255, 0.95) !important;
  border: 4px solid magenta;
  animation: line3-glow 0.8s ease-in-out infinite;
}

.symbol.winning.line-4 {
  box-shadow: 0 0 25px 8px rgba(255, 165, 0, 0.95) !important;
  border: 4px solid orange;
  animation: line4-glow 0.8s ease-in-out infinite;
}

@keyframes line0-glow {
  0%, 100% { box-shadow: 0 0 20px 6px rgba(255, 215, 0, 0.7); }
  50% { box-shadow: 0 0 35px 12px rgba(255, 215, 0, 1); }
}

@keyframes line1-glow {
  0%, 100% { box-shadow: 0 0 20px 6px rgba(0, 255, 255, 0.7); }
  50% { box-shadow: 0 0 35px 12px rgba(0, 255, 255, 1); }
}

@keyframes line2-glow {
  0%, 100% { box-shadow: 0 0 20px 6px rgba(50, 255, 50, 0.7); }
  50% { box-shadow: 0 0 35px 12px rgba(50, 255, 50, 1); }
}

@keyframes line3-glow {
  0%, 100% { box-shadow: 0 0 20px 6px rgba(255, 0, 255, 0.7); }
  50% { box-shadow: 0 0 35px 12px rgba(255, 0, 255, 1); }
}

@keyframes line4-glow {
  0%, 100% { box-shadow: 0 0 20px 6px rgba(255, 165, 0, 0.7); }
  50% { box-shadow: 0 0 35px 12px rgba(255, 165, 0, 1); }
}

/* Payline info display */
.payline-info {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 15px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.payline-info h4 {
  margin: 0 0 8px 0;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.payline-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  font-size: 12px;
}

.payline-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.payline-color.line-0 { background: gold; }
.payline-color.line-1 { background: cyan; }
.payline-color.line-2 { background: lime; }
.payline-color.line-3 { background: magenta; }
.payline-color.line-4 { background: orange; }

/* Mobile responsive for sound controls */
@media (max-width: 768px) {
  .sound-controls {
    padding: 12px;
  }
  
  .sound-control-buttons {
    flex-wrap: wrap;
  }
  
  .sound-toggle-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .volume-slider {
    min-width: 120px;
  }
  
  #volumePercent {
    min-width: 40px;
    font-size: 12px;
  }
}

/* Enhanced mega win animation */
@keyframes megaWinPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.1);
    filter: brightness(1.5);
  }
}

.mega-win-overlay {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 165, 0, 0.95));
  animation: megaWinPulse 1s ease-in-out infinite;
}
