/* DMT Lab Orbitron Yoyos - Super Modern Psychedelic Theme */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #121218;
  --bg-card: #16161e;
  --accent-violet: #a78bfa;
  --accent-cyan: #67f6ff;
  --accent-magenta: #f472b6;
  --text-primary: #f1f1f4;
  --text-secondary: #a1a1aa;
  --neon-glow: 0 0 10px rgb(167 139 250 / 0.5), 0 0 20px rgb(103 246 255 / 0.3);
}

body {
  font-family: 'Inter', system_ui, sans-serif;
}

.font-orbitron {
  font-family: 'Orbitron', 'Inter', system_ui, sans-serif;
  letter-spacing: 0.025em;
}

/* Hero particles canvas */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.6;
  pointer-events: none;
}

/* Modern Card Styles */
.yoyo-card {
  background: var(--bg-card);
  transition: all 0.4s cubic-bezier(0.23, 1.0, 0.32, 1);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.yoyo-card:hover {
  transform: translateY(-12px) scale(1.015);
  border-color: var(--accent-violet);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4), var(--neon-glow);
}

.yoyo-card img {
  transition: transform 0.6s cubic-bezier(0.23, 1.0, 0.32, 1);
}

.yoyo-card:hover img {
  transform: scale(1.08);
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(167,139,250,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.yoyo-card:hover .card-glow {
  opacity: 1;
}

/* Neon Buttons */
.btn-neon {
  background: transparent;
  border: 1px solid var(--accent-violet);
  color: var(--accent-violet);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-neon:hover {
  background: var(--accent-violet);
  color: #0a0a0f;
  box-shadow: 0 0 20px rgb(167 139 250 / 0.6);
  transform: translateY(-1px);
}

.btn-neon-cyan {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-neon-cyan:hover {
  background: var(--accent-cyan);
  color: #0a0a0f;
  box-shadow: 0 0 20px rgb(103 246 255 / 0.6);
}

/* Modal Styles */
.modal {
  animation: modalEnter 0.2s cubic-bezier(0.23, 1.0, 0.32, 1);
}

@keyframes modalEnter {
  from { opacity: 0; transform: translateY(20px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.1);
}

.modal-header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Tabs */
.tab-button {
  position: relative;
  padding-bottom: 12px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.tab-button.active {
  color: var(--text-primary);
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent-violet), var(--accent-cyan));
}

/* Spin Simulator */
.spin-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
  border-radius: 9999px;
  background: radial-gradient(circle, #1a1a24 0%, #0a0a0f 80%);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.6), 0 0 30px rgba(0,0,0,0.3);
}

.spin-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s linear;
  border-radius: 9999px;
}

.spin-container.spinning img {
  animation: yoyo-spin linear infinite;
}

@keyframes yoyo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, transparent 40%, rgba(167,139,250,0.15) 60%, transparent 80%);
  pointer-events: none;
  z-index: 2;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Cart */
.cart-item {
  transition: all 0.2s ease;
}

.toast {
  animation: toastSlide 0.3s ease forwards;
}

@keyframes toastSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .yoyo-card:hover {
    transform: none;
  }
  
  .spin-container {
    width: 220px;
    height: 220px;
  }
}

/* Scrollbar for modals */
.modal-content::-webkit-scrollbar {
  width: 6px;
}
.modal-content::-webkit-scrollbar-thumb {
  background: var(--accent-violet);
  border-radius: 3px;
}