.vortex-bg {
    background-color: #000;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(76, 29, 149, 0.4) 0%, transparent 60%),
        conic-gradient(from 0deg, #312e81, #4c1d95, #312e81, #1e1b4b, #312e81);
    position: relative;
    overflow: hidden;
}

/* Stars / Dust */
.vortex-bg::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: zoom 20s infinite linear;
}

@keyframes zoom {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.holo-panel {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid #a855f7;
    box-shadow:
        0 0 10px rgba(168, 85, 247, 0.3),
        inset 0 0 20px rgba(168, 85, 247, 0.1);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}

.holo-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    animation: scan 3s infinite ease-in-out;
}

@keyframes scan {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.card-drag {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border: 2px solid #6366f1;
    color: #e0e7ff;
    box-shadow: 0 0 5px #6366f1;
    transition: all 0.2s;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
}

.card-drag:hover {
    box-shadow: 0 0 15px #818cf8;
    transform: translateY(-2px);
    z-index: 10;
}

.card-drag.sortable-ghost {
    opacity: 0.2;
    border: 2px dashed #a855f7;
}

.card-drag.sortable-drag {
    cursor: grabbing;
    opacity: 0.9;
    transform: scale(1.05);
    box-shadow: 0 0 20px #a855f7;
    z-index: 50;
}

.timeline-line {
    height: 4px;
    background: linear-gradient(90deg, transparent, #a855f7, transparent);
    box-shadow: 0 0 10px #a855f7;
}

.warp-btn {
    background: linear-gradient(90deg, #7c3aed, #4f46e5);
    border: 1px solid #a78bfa;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    transition: all 0.2s;
    letter-spacing: 2px;
}

.warp-btn:hover {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.warp-btn:active {
    transform: scale(0.95);
}

.card {
    cursor: grab;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:active {
    cursor: grabbing;
    transform: scale(1.05);
    z-index: 50;
}

.card.shake {
    animation: shake 0.5s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.slot {
    transition: background-color 0.3s;
}

.slot.drag-over {
    background-color: rgba(59, 130, 246, 0.3);
    /* blue-500/30 */
}

/* High-quality claymation background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('clay_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}