/* Daily Pack Games Styles */
.ms-daily-pack-container {
  background: linear-gradient(135deg, #1a3a2e 0%, #2d5a47 50%, #1a3a2e 100%);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(76, 175, 80, 0.1) 0%, transparent 50%);
  padding: 40px 24px;
  border-radius: 12px;
  margin: 20px 0;
  text-align: center;
}

.ms-daily-pack-empty {
  padding: 20px;
  text-align: center;
  color: #a1a1aa;
  font-style: italic;
  background: #0f1720;
  border-radius: 8px;
  margin: 20px 0;
}

.ms-spinning-wheel-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.ms-game-title {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 800;
  color: #d4af37;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ms-game-subtitle {
  margin: 0 0 30px 0;
  font-size: 16px;
  color: #e5e7eb;
}

.ms-wheel-container {
  position: relative;
  display: inline-block;
  margin: 20px 0;
}

.ms-wheel-canvas {
  display: block;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  background: transparent;
  margin: 0 auto;
}

.ms-spin-button {
  margin-top: 30px;
  padding: 16px 48px;
  background: linear-gradient(90deg, #d4af37 0%, #f4d03f 100%);
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

.ms-spin-button:hover:not(:disabled) {
  background: linear-gradient(90deg, #f4d03f 0%, #d4af37 100%);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.ms-spin-button:active:not(:disabled) {
  transform: scale(0.98);
}

.ms-spin-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ms-game-result {
  margin-top: 30px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.ms-result-success h4 {
  margin: 0 0 12px 0;
  font-size: 24px;
  color: #d4af37;
  font-weight: 800;
}

.ms-result-reward {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.ms-result-description {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #e5e7eb;
}

.ms-result-note {
  margin: 12px 0 0 0;
  font-size: 12px;
  color: #d4af37;
  font-style: italic;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.ms-result-error {
  color: #fca5a5;
  font-size: 16px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .ms-daily-pack-container {
    padding: 30px 16px;
  }

  .ms-game-title {
    font-size: 24px;
  }

  .ms-wheel-canvas {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 1 / 1; /* Maintain square aspect ratio */
  }

  .ms-spin-button {
    padding: 14px 36px;
    font-size: 16px;
  }
}

/* Ensure canvas maintains square on all devices */
.ms-wheel-canvas {
  aspect-ratio: 1 / 1;
  max-width: 100%;
}
