/* Trophy Toast Notification */
.trophy-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 350px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trophy-toast:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.98);
}

.trophy-toast .toast-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    flex-shrink: 0;
}

/* Colors based on props */
.trophy-toast.text-yellow-500 .toast-icon,
.trophy-toast.text-yellow-600 .toast-icon {
    background: linear-gradient(135deg, #eab308, #d97706);
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.5);
}

.trophy-toast.text-orange-400 .toast-icon,
.trophy-toast.text-orange-500 .toast-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.5);
}

.trophy-toast.text-green-500 .toast-icon,
.trophy-toast.text-emerald-500 .toast-icon {
    background: linear-gradient(135deg, #22c55e, #10b981);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.5);
}

.trophy-toast.text-purple-500 .toast-icon {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.trophy-toast .toast-content {
    flex: 1;
}

.trophy-toast .toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.trophy-toast .toast-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 600;
}

.trophy-toast .toast-xp {
    font-size: 0.75rem;
    font-weight: 800;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.trophy-toast .toast-title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    line-height: 1.2;
}

.trophy-toast .toast-desc {
    color: #cbd5e1;
    font-size: 0.85rem;
    margin: 4px 0 0;
    line-height: 1.3;
}

.trophy-toast .toast-close {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    align-self: flex-start;
    transition: color 0.2s;
}

.trophy-toast .toast-close:hover {
    color: white;
}

/* Shine Effect */
.trophy-toast .toast-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    animation: shine 2s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Transitions */
.slide-fade-enter-active {
    transition: all 0.4s ease-out;
}

.slide-fade-leave-active {
    transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-enter-from,
.slide-fade-leave-to {
    transform: translateX(20px);
    opacity: 0;
}