:root { --accent: #FFD700; --infinity: #7C4DFF; --teal: #00BFA5; --text-light: #FFF8F0; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Bricolage Grotesque', sans-serif;
  background: linear-gradient(135deg, #04201C 0%, #2A0845 30%, #6441A5 55%, #E55A00 85%, #CC4400 100%);
  min-height: 100vh; color: var(--text-light); overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse at 15% 15%, rgba(0,191,165,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(233,30,99,0.18) 0%, transparent 50%),
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,0.025) 0deg 6deg, transparent 6deg 12deg);
}
#root { position: relative; z-index: 1; }
.glass { background: rgba(0,0,0,0.25); backdrop-filter: blur(10px); }
.vfx-mono, .vfx-num, .vfx-select { font-family: 'JetBrains Mono', monospace; }

@keyframes glitch1 { 0%,100% { clip-path: inset(0 0 95% 0); transform: translate(-2px,0);} 50% { clip-path: inset(50% 0 30% 0); transform: translate(3px,0);} }
@keyframes glitch2 { 0%,100% { clip-path: inset(95% 0 0 0); transform: translate(2px,0);} 50% { clip-path: inset(30% 0 50% 0); transform: translate(-3px,0);} }
@keyframes titlePulse { 0%,100% { text-shadow: 0 0 20px rgba(255,215,0,0.5);} 50% { text-shadow: 0 0 40px rgba(0,191,165,0.7), 0 0 80px rgba(124,77,255,0.4);} }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px);} to { opacity: 1; transform: none;} }
@keyframes progressStripe { to { background-position: 40px 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(-20px);} to { opacity: 1; transform: translateX(-50%);} }
@keyframes insanePulse { 50% { box-shadow: 0 0 20px 4px rgba(255,0,60,0.6);} }
@keyframes infinityPulse { 50% { box-shadow: 0 0 24px 6px rgba(124,77,255,0.8); filter: hue-rotate(40deg);} }
@keyframes infinitySpin { 50% { transform: rotate(180deg) scale(1.15);} 100% { transform: rotate(360deg);} }
@keyframes slotSpin { 0%,100% { transform: rotate(-12deg);} 50% { transform: rotate(12deg) scale(1.1);} }
@keyframes confusionWobble { 25% { transform: rotate(-0.6deg);} 75% { transform: rotate(0.6deg);} }
@keyframes jackpotFlash { 50% { transform: scale(1.1); box-shadow: 0 0 18px 4px rgba(255,215,0,0.9);} }
@keyframes singularityPulse { 50% { opacity: 1; letter-spacing: 1.5px;} }
@keyframes marqueeBulbs { to { background-position: 30px 0, -30px 100%, 0 30px, 100% -30px; } }
@keyframes swirl41 { 0% { transform: rotate(0) skewX(0);} 25% { transform: rotate(-90deg) skewX(8deg);} 50% { transform: rotate(-180deg) skewX(0);} 75% { transform: rotate(-270deg) skewX(-8deg);} 100% { transform: rotate(-360deg);} }
@keyframes attn { 50% { box-shadow: 0 0 0 3px rgba(0,229,192,0.8); background: rgba(0,229,192,0.12);} }
@keyframes gmGlow { 50% { box-shadow: 0 0 26px rgba(0,191,165,0.55);} }

.title-glitch { position: relative; font-family: 'Archivo Black', sans-serif; animation: titlePulse 3s ease-in-out infinite; }
.title-glitch::before, .title-glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0.6; }
.title-glitch::before { color: #ff0040; animation: glitch1 3s infinite linear; }
.title-glitch::after { color: #00ffff; animation: glitch2 3s infinite linear; }
.infinity-spin { display: inline-block; animation: infinitySpin 4s ease-in-out infinite; }
.slot-spin { display: inline-block; animation: slotSpin 1.4s ease-in-out infinite; }
.jackpot-flash { animation: jackpotFlash 0.7s ease-in-out infinite; }
.singularity-pulse { opacity: 0.6; animation: singularityPulse 1s ease-in-out infinite; }

.badge-41 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  font-family: 'Archivo Black', sans-serif; font-size: 22px; color: #002;
  background: conic-gradient(#00BFA5, #7C4DFF, #FFD700, #00BFA5);
  animation: swirl41 6s linear infinite; box-shadow: 0 0 18px rgba(0,191,165,0.6);
}
.mini-swirl { display: inline-block; animation: swirl41 3s linear infinite; }
.gm41-card { animation: gmGlow 2.5s ease-in-out infinite; }

.vegas-marquee {
  background-image:
    repeating-linear-gradient(90deg, #FFD700 0 6px, transparent 6px 18px), repeating-linear-gradient(90deg, #FFD700 0 6px, transparent 6px 18px),
    repeating-linear-gradient(0deg, #E91E63 0 6px, transparent 6px 18px), repeating-linear-gradient(0deg, #E91E63 0 6px, transparent 6px 18px);
  background-size: 100% 3px, 100% 3px, 3px 100%, 3px 100%;
  background-position: 0 0, 0 100%, 0 0, 100% 0; background-repeat: no-repeat;
  animation: marqueeBulbs 0.8s linear infinite;
}
.gm41-marquee { border-radius: 1rem; outline: 3px dashed #FFD700; outline-offset: 4px; filter: invert(1) hue-rotate(306deg); }

.fade-in { animation: fadeInUp 0.6s ease-out forwards; }
.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.progress-bar-animated {
  background-image: linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%);
  background-size: 40px 40px; animation: progressStripe 1s linear infinite;
}
.card-glow { transition: all 0.3s ease; }
.card-glow:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.card-glow.selected { box-shadow: 0 0 0 3px var(--accent), 0 0 30px rgba(255,215,0,0.3); }
.confusion-card { animation: confusionWobble 3.5s ease-in-out infinite; }
.btn-fire { transition: all 0.3s ease; }
.btn-fire:hover:not(:disabled) { transform: scale(1.05); box-shadow: 0 0 40px rgba(255,215,0,0.5); }
.btn-fire:disabled { opacity: 0.4; cursor: not-allowed; }
.insane-btn { animation: insanePulse 1.6s ease-in-out infinite; }
.infinity-btn { animation: infinityPulse 2s ease-in-out infinite; }
.drop-zone { border: 3px dashed rgba(255,255,255,0.4); transition: all 0.3s; }
.drop-zone:hover, .drop-zone.drag-over { border-color: var(--accent); background: rgba(255,215,0,0.1) !important; }
.spinner { animation: spin 1s linear infinite; }
.toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #FFD700, #00BFA5); color: #1a0a00;
  padding: 12px 24px; border-radius: 999px; font-weight: 800; z-index: 100;
  font-family: 'Archivo Black', sans-serif; box-shadow: 0 8px 30px rgba(0,0,0,0.4); animation: toastIn 0.4s ease-out;
}

/* Vegas Pro plugin chain window */
.vfx-window { background: #2b2b2e; border: 1px solid #555; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 #666; color: #e8e8e8; overflow: hidden; }
.vfx-titlebar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; font-size: 13px; font-weight: 700; background: linear-gradient(#5a5a60, #3c3c42); border-bottom: 1px solid #222; text-align: left; }
.vfx-chip { display: flex; align-items: center; gap: 6px; padding: 5px 10px; font-size: 12px; cursor: pointer; background: linear-gradient(#4a4a50, #38383d); border: 1px solid #222; border-radius: 3px; box-shadow: inset 0 1px 0 #666; }
.vfx-chip.active { background: linear-gradient(#00a08a, #00705f); color: #fff; }
.vfx-chip.bypassed span { text-decoration: line-through; opacity: 0.5; }
.vfx-panel { background: #1f1f22; border: 1px inset #444; padding: 12px; border-radius: 3px; }
.vfx-select, .vfx-num { background: #111; color: #9ff5e6; border: 1px solid #555; border-radius: 3px; padding: 3px 6px; font-size: 12px; }
.vfx-num { width: 84px; }
.vfx-range { accent-color: #00BFA5; }
.vfx-btn { background: linear-gradient(#5a5a60, #3c3c42); border: 1px solid #222; }
.vfx-btn:hover { filter: brightness(1.2); }
.pulse-attn { animation: attn 1s ease-in-out infinite; }