/* DeSocialPrize Slot Module - Luxury Minimalist Style */

.luxury-slot {
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--gaming-gradient);
  border: 3px solid var(--luxury-gold);
  border-radius: 15px;
  box-shadow: var(--gaming-shadow), var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.luxury-slot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.luxury-slot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gold-gradient);
  z-index: -1;
  border-radius: 18px;
  animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
  0% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
  100% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.6); }
}

.luxury-slot:hover {
  transform: translateY(-4px);
  box-shadow: var(--deep-shadow);
}

.luxury-slot__title {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--luxury-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: var(--gold-glow);
  text-align: center;
  position: relative;
  z-index: 1;
}

.luxury-slot__frame {
  background: var(--gaming-dark);
  border: 2px solid var(--luxury-gold);
  padding: 2rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 10px;
  box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.luxury-slot__frame::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: var(--gold-gradient);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.luxury-slot--spinning .luxury-slot__frame::before {
  opacity: 1;
}

.luxury-slot__reel {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.luxury-slot__cell {
  width: 90px;
  height: 90px;
  background: var(--gaming-gradient);
  border: 2px solid var(--luxury-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--luxury-gold);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--gold-glow);
}

.luxury-slot__cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
  transition: left 0.5s ease;
}

.luxury-slot__cell:hover::before {
  left: 100%;
}

.luxury-slot__cell--spin {
  animation: luxuryCellSpin 0.15s ease-in-out;
  background: var(--luxury-light-gray);
  border-color: var(--luxury-gold);
  transform: scale(1.05);
}

@keyframes luxuryCellSpin {
  0% { 
    transform: scale(1) rotateY(0deg); 
    opacity: 1;
  }
  50% { 
    transform: scale(1.1) rotateY(90deg); 
    opacity: 0.7;
  }
  100% { 
    transform: scale(1.05) rotateY(180deg); 
    opacity: 1;
  }
}

.luxury-slot__spin {
  background: var(--gold-gradient);
  color: var(--gaming-dark);
  border: 3px solid var(--luxury-gold);
  padding: 1.5rem 4rem;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Orbitron', monospace;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: 50px;
  box-shadow: var(--neon-glow);
  width: 100%;
  max-width: 300px;
  margin: 0 auto 1.5rem auto;
  display: block;
}

.luxury-slot__spin::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.luxury-slot__spin:hover::before {
  left: 100%;
}

.luxury-slot__spin:hover {
  background: var(--luxury-gold-light);
  color: var(--gaming-darker);
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--neon-glow), 0 10px 30px rgba(255, 215, 0, 0.4);
  border-color: var(--luxury-gold-light);
}

.luxury-slot__spin:active {
  transform: translateY(0);
}

.luxury-slot__spin:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  background: var(--luxury-medium-gray);
  border-color: var(--luxury-medium-gray);
  color: rgba(255, 255, 255, 0.7);
}

.luxury-slot__note {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 1.5rem 0;
  font-weight: 400;
  text-align: center;
  position: relative;
  z-index: 1;
}

.luxury-slot__status {
  background: var(--gaming-gradient);
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 2px solid var(--luxury-gold);
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  border-radius: 8px;
  box-shadow: var(--gold-glow);
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.luxury-slot__status--active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--luxury-black);
  border-left-color: var(--luxury-gold-dark);
}

/* Demo Header */
.demo-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--luxury-light-gray);
  border-left: 4px solid var(--luxury-gold);
}

.demo-header h2 {
  color: var(--luxury-black);
  margin-bottom: 0.8rem;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
}

.demo-header p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
}

/* Luxury Symbols Styling */
.symbol-fragment { 
  color: var(--luxury-gold); 
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.symbol-light { 
  color: var(--luxury-gold-light); 
  text-shadow: 0 0 8px rgba(230, 200, 102, 0.4);
}

.symbol-arc { 
  color: var(--luxury-gold-dark); 
  text-shadow: 0 0 6px rgba(184, 148, 31, 0.3);
}

.symbol-crystal { 
  color: var(--luxury-black); 
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.symbol-minimal { 
  color: var(--text-secondary); 
  text-shadow: none;
}

/* Special Effects */
.luxury-slot--winning {
  animation: luxuryWinGlow 1.5s ease-in-out 3;
}

@keyframes luxuryWinGlow {
  0%, 100% { 
    box-shadow: var(--luxury-shadow);
    transform: translateY(-4px);
  }
  50% { 
    box-shadow: var(--gold-shadow), var(--deep-shadow);
    transform: translateY(-6px);
  }
}

.luxury-slot__cell--winning {
  animation: luxuryCellWin 0.8s ease-in-out 3;
}

@keyframes luxuryCellWin {
  0%, 100% { 
    transform: scale(1.05);
    background: var(--luxury-white);
    border-color: var(--luxury-gold);
  }
  50% { 
    transform: scale(1.15);
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--luxury-gold-dark);
    box-shadow: var(--gold-shadow);
  }
}

/* Elegant Particles Effect */
.luxury-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--luxury-gold);
  border-radius: 50%;
  animation: luxuryParticleFall 2s ease-out forwards;
  opacity: 0.8;
}

@keyframes luxuryParticleFall {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(200px) rotate(360deg);
    opacity: 0;
  }
}

/* Luxury Loading State */
.luxury-slot--loading .luxury-slot__frame {
  background: linear-gradient(45deg, var(--luxury-light-gray) 25%, transparent 25%, transparent 75%, var(--luxury-light-gray) 75%);
  background-size: 20px 20px;
  animation: luxuryLoading 1s linear infinite;
}

@keyframes luxuryLoading {
  0% { background-position: 0 0; }
  100% { background-position: 20px 20px; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .luxury-slot {
    padding: 2rem;
    margin: 0 0.5rem;
  }
  
  .luxury-slot__title {
    font-size: 1.5rem;
  }
  
  .luxury-slot__cell {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }
  
  .luxury-slot__frame {
    gap: 0.8rem;
    padding: 1.5rem;
  }
  
  .luxury-slot__reel {
    gap: 0.6rem;
  }
  
  .luxury-slot__spin {
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .luxury-slot {
    padding: 1.5rem;
    margin: 0;
  }
  
  .luxury-slot__title {
    font-size: 1.3rem;
  }
  
  .luxury-slot__cell {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
  
  .luxury-slot__frame {
    gap: 0.6rem;
    padding: 1.2rem;
  }
  
  .luxury-slot__reel {
    gap: 0.5rem;
  }
  
  .luxury-slot__spin {
    padding: 0.9rem 1.8rem;
    font-size: 0.85rem;
  }
  
  .luxury-slot__note {
    font-size: 0.85rem;
  }
  
  .luxury-slot__status {
    font-size: 0.9rem;
    padding: 1rem;
  }
}

@media (max-width: 360px) {
  .luxury-slot__cell {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .luxury-slot__frame {
    gap: 0.5rem;
    padding: 1rem;
  }
  
  .luxury-slot__reel {
    gap: 0.4rem;
  }
}

/* Premium Hover Effects */
.luxury-slot__cell:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: var(--luxury-gold);
  transform: translateY(-2px);
}

/* Elegant Transitions */
.luxury-transition {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Luxury Glow Effect */
.luxury-glow {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Premium Border Animation */
.luxury-border-animate {
  position: relative;
  overflow: hidden;
}

.luxury-border-animate::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  animation: luxuryBorderSlide 2s ease-in-out infinite;
}

@keyframes luxuryBorderSlide {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: -100%; }
}
